PR c++/9197:
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2013-03-25 Tom Tromey <tromey@redhat.com>
2
3 * gdb.cp/m-static.exp: Add constructor ptype tests.
4 * gdb.cp/m-static.cc (single_constructor): New class.
5 (main): Make instance of single_constructor.
6
7 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8 Pedro Alves <palves@redhat.com>
9
10 * gdb.server/server-kill.c: New file.
11 * gdb.server/server-kill.exp: New file.
12
13 2013-03-21 Pedro Alves <palves@redhat.com>
14
15 * gdb.trace/trace-buffer-size.exp (get default buffer size):
16 Expect $gdb_prompt in gdb_test_multiple.
17
18 2013-03-21 Doug Evans <dje@google.com>
19
20 * gdb.base/maint.exp: Update tests for per-command stats.
21
22 2013-03-21 Tom Tromey <tromey@redhat.com>
23
24 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
25 * gdb.cp/misc.exp: Add test for FILENAME:: case.
26
27 2013-03-20 Pedro Alves <palves@redhat.com>
28
29 PR gdb/15289
30
31 * gdb.base/remote.exp: Test
32 "set remote hardware-watchpoint-limit -1",
33 "set remote hardware-breakpoint-limit -1",
34 "set remote hardware-watchpoint-limit 2147483647" and
35 "set remote hardware-breakpoint-limit 2147483647".
36
37 2013-03-20 Pedro Alves <palves@redhat.com>
38 Yao Qi <yao@codesourcery.com>
39
40 * gdb.trace/tfile.c: Add comments.
41 (nonconstglob): New global.
42 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
43 global that is not covered by the trace frame. Test
44 disassembling.
45
46 2013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
47
48 * gdb.base/valgrind-infcall.exp
49 (continue #$continue_count) <remote connection closed>
50 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
51 $valgrind_pid.
52
53 2013-03-15 Tom Tromey <tromey@redhat.com>
54
55 * gdb.cp/overload.cc (intintfunc): New.
56 * gdb.cp/overload.exp: Add regression test.
57
58 2013-03-15 Yao Qi <yao@codesourcery.com>
59
60 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
61 using with_test_prefix.
62 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
63 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
64 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
65 * gdb.threads/watchpoint-fork.exp (test): Likewise.
66 * gdb.base/break-interp.exp (test_core): Likewise.
67 (test_attach_gdb): Likewise.
68 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
69 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
70 Likewise.
71 * gdb.base/jit-so.exp (one_jit_test): Likewise.
72 * gdb.base/jit.exp (one_jit_test): Likewise.
73 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
74 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
75 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
76 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
77 Likewise.
78 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
79 Likewise.
80 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
81 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
82 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
83 (tracepoint_change_loc_2): Likewise.
84 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
85 Likewise.
86 (disconnected_tfind): Likewise.
87 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
88 Likewise.
89 (test_tfind_remote): Likewise.
90 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
91 Likewise.
92 (test_pending_resolved): Likewise.
93 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
94 Likewise.
95 (test_upload_tsv): Likewise.
96 * gdb.trace/pending.exp (pending_tracepoint_resolved):
97 Likewise.
98 (pending_tracepoint_works): Likewise.
99 * gdb.trace/report.exp (use_collected_data): Likewise.
100 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
101 Likewise.
102 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
103 * gdb.trace/strace.exp (strace_info_marker): Likewise.
104 (strace_trace_on_same_addr): Likewise.
105 (strace_trace_on_diff_addr): Likewise.
106 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
107 (gdb_collect_locals_test): Likewise.
108 (gdb_unavailable_registers_test): Likewise.
109 (gdb_collect_globals_test): Likewise.
110
111 2013-03-15 Yao Qi <yao@codesourcery.com>
112
113 * gdb.base/condbreak.exp: Add semicolon back which was removed
114 by my previous commit.
115
116 2013-03-14 Yao Qi <yao@codesourcery.com>
117
118 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
119 'return'.
120 (gdb_target_monitor, gdb_load): Likewise.
121 * config/sid.exp (gdb_load): Likewise.
122 * config/slite.exp (gdb_load): Likewise.
123 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
124 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
125 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
126 (single_step_until): Likewise.
127 * gdb.arch/powerpc-d128-regs.exp: Likewise.
128 * gdb.arch/system-gcore.exp: Likewise.
129 * gdb.base/bigcore.exp (extract_heap): Likewise.
130 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
131 * gdb.base/call-ar-st.exp: Likewise.
132 * gdb.base/call-rt-st.exp: Likewise.
133 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
134 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
135 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
136 * gdb.base/corefile.exp: Likewise.
137 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
138 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
139 * gdb.base/fixsection.exp: Likewise.
140 * gdb.base/funcargs.exp: Likewise.
141 * gdb.base/gcore-buffer-overflow.exp: Likewise.
142 * gdb.base/gcore-relro.exp: Likewise.
143 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
144 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
145 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
146 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
147 * gdb.base/list.exp: Likewise.
148 (set_listsize): Likewise.
149 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
150 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
151 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
152 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
153 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
154 * gdb.base/setvar.exp: Likewise.
155 (test_set): Likewise.
156 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
157 * gdb.base/solib-overlap.exp: Likewise.
158 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
159 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
160 * gdb.base/watchpoint.exp (initialize): Likewise.
161 (test_simple_watchpoint): Likewise.
162 (test_disabling_watchpoints): Likewise.
163 (test_watchpoint_triggered_in_syscall): Likewise.
164 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
165 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
166 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
167 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
168 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
169 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
170 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
171 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
172 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
173 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
174 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
175 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
176 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
177 * gdb.mi/gdb792.exp: Likewise.
178 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
179 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
180 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
181 * gdb.threads/gcore-thread.exp: Likewise.
182 (load_core): Likewise.
183 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
184 (test_startup, check_control_c): Likewise.
185 * gdb.threads/sigstep-threads.exp: Likewise.
186 * gdb.threads/thread_check.exp: Likewise.
187 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
188 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
189 (set_a_tracepoint, trace_buffer_normal): Likewise.
190 (gdb_trace_circular_tests): Likewise.
191 * gdb.trace/collection.exp: Likewise.
192 * gdb.trace/disconnected-tracing.exp: Likewise.
193 * gdb.trace/infotrace.exp: Likewise.
194 * gdb.trace/mi-traceframe-changed.exp: Likewise.
195 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
196 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
197 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
198 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
199 * gdb.trace/stap-trace.exp: Likewise.
200 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
201 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
202 * gdb.trace/trace-buffer-size.exp: Likewise.
203 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
204 * gdb.trace/unavailable.exp: Likewise.
205 * gdb.trace/while-dyn.exp: Likewise.
206 * lib/fortran.exp (set_lang_fortran): Likewise.
207 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
208 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
209 (default_gdb_start, get_compiler_info): Likewise.
210 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
211 (get_debug_format, setup_xfail_format): Likewise.
212 (rerun_to_main, gdb_skip_float_test): Likewise.
213 (build_id_debug_filename_get, get_remotetimeout): Likewise.
214 * lib/java.exp (set_lang_java): Likewise.
215 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
216 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
217 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
218 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
219 * lib/objc.exp (set_lang_objc): Likewise.
220 * lib/pascal.exp (set_lang_pascal): Likewise.
221 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
222 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
223 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
224
225 2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
226
227 PR c++/15203
228 PR c++/15210
229 * gdb.cp/m-static.cc (keepalive_int): New function.
230 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
231 * gdb.cp/m-static.exp: New test for `sintvar'.
232
233 2013-03-14 Yao Qi <yao@codesourcery.com>
234
235 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
236 of 'tstatus' into tstatus_output.
237 (top level): Save the trace data to tfile. Read trace file in
238 tfile target. Check the trace status.
239
240 2013-03-13 Yao Qi <yao@codesourcery.com>
241
242 * gdb.trace/tsv.exp (check_tsv): New.
243 (top level): Save a tfile on current trace session. Call
244 check_tsv on live target. Load the tfile with target tfile
245 and call check_tsv again.
246
247 2013-03-13 Yao Qi <yao@codesourcery.com>
248
249 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
250 Replace some "gdb_test" with "gdb_test_no_output".
251
252 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
253
254 * gdb.ada/expr_delims.exp: New file.
255 * gdb.ada/expr_delims/foo.adb: New file.
256 * gdb.ada/expr_delims/pck.ads: New file.
257 * gdb.ada/expr_delims/pck.adb: New file.
258
259 2013-03-11 Keith Seitz <keiths@redhat.com>
260
261 * watchpoint.exp (test_no_hw_watchpoints): Add test using
262 both condition and thread. Then delete the watchpoint.
263
264 2013-03-11 Christian Himpel <christian.himpel@intel.com>
265
266 * Makefile.in: Add btrace testsuite.
267 * configure: Regenerated.
268 * configure.ac: Add btrace testsuite.
269 * gdb.btrace/Makefile.in: New file.
270 * gdb.btrace/enable.c: New file.
271 * gdb.btrace/enable.exp: New file.
272 * gdb.btrace/function_call_history.c: New file.
273 * gdb.btrace/function_call_history.exp: New file.
274 * gdb.btrace/instruction_history.c: New file.
275 * gdb.btrace/instruction_history.exp: New file.
276 * gdb.btrace/instruction_history.S: New file.
277 * lib/gdb.exp: Add btrace skip proc.
278
279 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
280
281 Fix entry-values if the callee called a noreturn function.
282 * gdb.arch/amd64-tailcall-noret.S: New file.
283 * gdb.arch/amd64-tailcall-noret.c: New file.
284 * gdb.arch/amd64-tailcall-noret.exp: New file.
285
286 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
287
288 Fix entry-values in C++ across CUs.
289 * gdb.arch/amd64-tailcall-cxx.exp: New file.
290 * gdb.arch/amd64-tailcall-cxx1.S: New file.
291 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
292 * gdb.arch/amd64-tailcall-cxx2.S: New file.
293 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
294
295 2013-03-08 Stan Shebs <stan@codesourcery.com>
296 Hafiz Abid Qadeer <abidh@codesourcery.com>
297
298 gdb/testsuite/
299 * gdb.trace/trace-buffer-size.exp: New file.
300 * gdb.trace/trace-buffer-size.c: New file.
301
302 2013-03-06 Pedro Alves <palves@redhat.com>
303
304 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
305 doesn't support the tested optional feature, call "unsupported"
306 with the same test message as the "pass" case, instead of calling
307 "pass" with a different message. Use the same text for the "fail"
308 cases too.
309
310 2013-03-06 Yao Qi <yao@codesourcery.com>
311
312 * gdb.trace/tstatus.exp: Remove the invocation of
313 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
314 (test_tracepoints): Don't set fast tracepoint.
315 (top level): Don't check agent library is loaded or not.
316
317 2013-03-06 Yao Qi <yao@codesourcery.com>
318
319 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
320 parentheses by "\\".
321
322 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
323
324 * gdb.linespec/base/one/thefile.cc (twodup): New.
325 (m): Call it.
326 * gdb.linespec/base/two/thefile.cc (dupname): New.
327 (n): Call it.
328 * gdb.linespec/break-ask.exp: New file.
329 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
330
331 2013-02-28 Yao Qi <yao@codesourcery.com>
332
333 * gdb.trace/report.exp: Move some code to ...
334 (use_collected_data): New.
335 (top level): Call use_collected_data once on the live target.
336 Save at file of the current trace session, load it with target
337 tfile, and call use_collected_data again.
338
339 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
340
341 * gdb.threads/fork-thread-pending.c (main): Add alarm.
342
343 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
344
345 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
346 Add final kill of ${valgrind_pid}.
347
348 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
349
350 * gdb.python/py-arch.c: New test case
351 * gdb.python/py-arch.exp: New tests to test
352 gdb.Architecture.disassemble
353 * gdb.python/Makefile.in: Add py-arch to the list of
354 EXECUTABLES.
355
356 2013-02-18 Tom Tromey <tromey@redhat.com>
357
358 * gdb.dwarf2/subrange.exp: New file.
359
360 2013-02-15 Pedro Alves <pedro@codesourcery.com>
361 Hafiz Abid Qadeer <abidh@codesourcery.com>
362
363 * gdb.trace/tfile.exp: Add test for -trace-status command.
364
365 2013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
366
367 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
368 nanosleep by sleep.
369
370 2013-02-14 Pedro Alves <palves@redhat.com>
371
372 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
373
374 2013-02-14 Pedro Alves <pedro@codesourcery.com>
375 Hafiz Abid Qadeer <abidh@codesourcery.com>
376
377 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
378
379 2013-02-12 Tom Tromey <tromey@redhat.com>
380
381 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
382 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
383
384 2013-02-12 Pedro Alves <palves@redhat.com>
385
386 * gdb.base/catch-signal.c: Update copyright years.
387 * gdb.base/catch-signal.exp: Update copyright years.
388 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
389 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
390 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
391 * gdb.dwarf2/dw2-error.S: Update copyright years.
392 * gdb.dwarf2/dw2-error.c: Update copyright years.
393 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
394 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
395 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
396
397 2013-02-12 Pedro Alves <palves@redhat.com>
398
399 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
400 message.
401 * gdb.base/sigaltstack.exp: Ditto.
402 * gdb.base/siginfo.exp: Ditto.
403 * gdb.base/sizeof.exp: Ditto.
404
405 2013-02-12 Pedro Alves <palves@redhat.com>
406
407 * gdb.mi/mi-basics.exp: Tweak intro comment.
408 * gdb.mi/mi-break.exp: Tweak intro comment.
409 * gdb.mi/mi-console.exp: Tweak intro comment.
410 * gdb.mi/mi-file.exp: Tweak intro comment.
411 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
412 * gdb.mi/mi-return.exp: Tweak intro comment.
413 * gdb.mi/mi-stepi.exp: Tweak intro comment.
414 * gdb.mi/mi-until.exp: Tweak intro comment.
415 * gdb.mi/mi-watch.exp: Tweak intro comment.
416
417 2013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
418
419 * gdb.server/no-thread-db.exp: New file.
420 * gdb.server/no-thread-db.c: New file.
421 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
422
423 2013-02-11 Doug Evans <dje@google.com>
424
425 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
426 two decfloats.
427
428 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
429
430 * gdb.base/bitfields.c (struct internalvartest): New declaration.
431 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
432
433 2013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
434
435 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
436
437 2013-02-06 Yao Qi <yao@codesourcery.com>
438
439 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
440 to ...
441 (test_create_delete_modify_tsv): ... here. New test on modifying
442 the initial value of a tsv.
443
444 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
445
446 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
447 (cd .../rdir): ... here.
448
449 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
450
451 * gdb.linespec/base/one/header.h: New file.
452 * gdb.linespec/base/two/header.h: New file.
453 * gdb.linespec/macro-relative.c: New file.
454 * gdb.linespec/macro-relative.exp: New file.
455
456 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
457
458 * gdb.base/fullpath-expand-func.c: New file.
459 * gdb.base/fullpath-expand.c: New file.
460 * gdb.base/fullpath-expand.exp: New file.
461 * gdb.base/realname-expand-real.c: New file.
462 * gdb.base/realname-expand.c: New file.
463 * gdb.base/realname-expand.exp: New file.
464
465 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
466
467 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
468 * gdb.dwarf2/dw2-dir-file-name.c: New file.
469
470 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
471
472 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
473 (compare_filenames_for_search does not match)
474 (compare_filenames_for_search does match): New tests.
475
476 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
477
478 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
479
480 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
481
482 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
483
484 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
485
486 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
487 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
488 ${binfile}.mini_debuginfo-debuglink and
489 ${binfile}.mini_debuginfo-debuglink.xz.
490
491 2013-02-01 Tom Tromey <tromey@redhat.com>
492
493 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
494 attributes.
495
496 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
497 Tom Tromey <tromey@redhat.com>
498
499 * gdb.dwarf2/method-ptr.exp: Link with c++.
500 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
501
502 2013-01-31 Tom Tromey <tromey@redhat.com>
503
504 * gdb.base/jit.exp (compile_jit_test): New proc.
505 Add PIE tests.
506
507 2013-01-31 Tom Tromey <tromey@redhat.com>
508
509 * gdb.dwarf2/method-ptr.cc: New file.
510 * gdb.dwarf2/method-ptr.exp: New file.
511
512 2013-01-31 Tom Tromey <tromey@redhat.com>
513
514 * lib/dwarf.exp (namespace Dwarf): New.
515
516 2013-01-29 Tom Tromey <tromey@redhat.com>
517
518 * gdb.dwarf2/fission-reread.exp: Add unload test.
519
520 2013-01-28 Doug Evans <dje@google.com>
521
522 * gdb.dwarf2/fission-loclists.exp: New file.
523 * gdb.dwarf2/fission-loclists.S: New file.
524
525 2013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
526
527 Code cleanup.
528 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
529 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
530 and prepare_for_testing.
531 * gdb.base/store.exp: Likewise.
532
533 2013-01-25 Tom Tromey <tromey@redhat.com>
534
535 * gdb.python/py-explore.exp: Expect the gdb prompt.
536
537 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
538
539 * gdb.base/gnu_vector.c: New variable for use in tests.
540 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
541 changes in scalar to vector casting and widening.
542 * gdb.python/py-type.c: New variables for use in tests.
543 * gdb.python/py-type.exp: Update vector related tests to reflect
544 changes in scalar to vector casting and widening.
545
546 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
547
548 * gdb.base/prologue-include.c: New file.
549 * gdb.base/prologue-include.exp: New file.
550 * gdb.base/prologue-include.h: New file.
551
552 2013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
553
554 PR gdb/13443
555 * gdb.mi/mi-var-block.exp: Make test messages unique.
556
557 2013-01-23 Tom Tromey <tromey@redhat.com>
558
559 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
560
561 2013-01-23 Tom Tromey <tromey@redhat.com>
562
563 * gdb.cp/converts.cc (main): Initialize 'a'.
564
565 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
566
567 * testsuite/gdb.python/frame.exp: Add a test for
568 gdb.Frame.architecture() method.
569
570 2013-01-22 Pedro Alves <palves@redhat.com>
571
572 * gdb.base/annota1.exp (signal sent): No longer expect
573 breakpoints-invalid.
574 * gdb.cp/annota2.exp (continue until exit)
575 (watch triggered on a.x): Ditto.
576
577 2013-01-22 Pedro Alves <palves@redhat.com>
578
579 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
580 Adjust tests to breakpoints-invalid changes.
581 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
582 variables.
583 Adjust tests to breakpoints-invalid changes.
584
585 2013-01-22 Pedro Alves <palves@redhat.com>
586
587 * gdb.base/annota1.exp (annotate ignore count change): Add
588 expected output for failure case.
589
590 2013-01-22 Tom Tromey <tromey@redhat.com>
591
592 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
593 call.
594
595 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
596
597 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
598 * gdb.mi/mi-catch-load.exp: Ditto.
599 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
600 Also handle 'thread' field.
601 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
602 * gdb.mi/mi-watch.exp: Ditto.
603 * lib/mi-support.exp: Ditto.
604
605 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
606
607 * gdb.python/py-explore.exp: Improve a test
608
609 2013-01-18  David Blaikie  <dblaikie@gmail.com>
610
611 * gdb.base/label.c (main): Correct the type of the second
612 parameter.
613
614 2013-01-18 Tom Tromey <tromey@redhat.com>
615
616 * gdb.dwarf2/trace-crash.s: New file.
617 * gdb.dwarf2/trace-crash.exp: New file.
618
619 2013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
620
621 PR gdb/13443
622 * gdb.base/checkpoint.exp: Update test messages to make them
623 unique.
624
625 2013-01-18 Yao Qi <yao@codesourcery.com>
626
627 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
628 output of 'info tracepoints'.
629 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
630 Likewise.
631 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
632 * gdb.trace/disconnected-tracing.c (struct foo): New.
633
634 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
635
636 * gdb.dwarf2/dw2-dos-drive.S: New file.
637 * gdb.dwarf2/dw2-dos-drive.exp: New file.
638
639 2013-01-17 Doug Evans <dje@google.com>
640
641 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
642 CXX_FOR_TARGET.
643
644 * boards/cc-with-tweaks.exp: New file.
645
646 2013-01-17 Tom Tromey <tromey@redhat.com>
647
648 * gdb.base/completion.exp: Add "set cp-abi" completion test.
649
650 2013-01-17 Pedro Alves <palves@redhat.com>
651
652 Merge dg-extract-results.sh from upstream (svn 195224).
653
654 2013-01-15 David Blaikie <dblaikie@gmail.com>
655 * dg-extract-results.sh: Fix order of summary counts.
656
657 2013-01-15 David Blaikie <dblaikie@gmail.com>
658 * dg-extract-results.sh: Constrain the start-of-log pattern.
659
660 2013-01-15 David Blaikie <dblaikie@gmail.com>
661 * dg-extract-results.sh: Handle KPASSes.
662
663 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
664 * dg-extract-results.sh: Redirect grep output to /dev/null instead
665 of grep -q.
666
667 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
668
669 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
670 interface.
671 * gdb.base/jithost.c: New file.
672 * gdb.base/jithost.h: New file.
673 * gdb.base/jitreader.c : New file.
674 * gdb.base/jit-protocol.h: New file.
675
676 2013-01-16 Tom Tromey <tromey@redhat.com>
677
678 * gdb.base/catch-signal.c: New file.
679 * gdb.base/catch-signal.exp: New file.
680
681 2013-01-16 Tom Tromey <tromey@redhat.com>
682
683 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
684
685 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
686
687 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
688
689 2013-01-14 Tom Tromey <tromey@redhat.com>
690
691 * gdb.base/completion.exp: Add "set gnutarget" test.
692
693 2013-01-14 Tom Tromey <tromey@redhat.com>
694
695 * gdb.dwarf2/dw2-restrict.S: New file.
696 * gdb.dwarf2/dw2-restrict.c: New file.
697 * gdb.dwarf2/dw2-restrict.exp: New file.
698
699 2013-01-14 Tom Tromey <tromey@redhat.com>
700
701 * gdb.dwarf2/dw2-error.exp: New file.
702 * gdb.dwarf2/dw2-error.c: New file.
703 * gdb.dwarf2/dw2-error.S: New file.
704
705 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
706
707 * gdb.cp/parse-lang.cc: New file.
708 * gdb.cp/parse-lang.exp: New file.
709
710 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
711
712 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
713 (set substitute-path): New test.
714 (fullname present): Remove content.
715 (substituted fullname): New test.
716
717 2013-01-13 Joel Brobecker <brobecker@adacore.com>
718
719 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
720 check. Move $gdb_py_is_py24 value check right after.
721
722 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
723
724 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
725 targets.
726
727 2013-01-11 Yao Qi <yao@codesourcery.com>
728
729 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
730 for dprintf.
731 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
732 Check the fields in "=breakpoint-created" for dprintf.
733
734 2012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
735
736 * gdb.mi/mi-fullname-deleted.exp: New file.
737
738 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
739
740 * gdb.base/skip-solib.exp (info skip with pending file): Update the
741 expected output.
742 (info skip with pending file): Remove.
743 (ignoring function in solib, info skip for function multiply): Update
744 the expected output.
745 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
746 (info skip (delete 1), info skip after disabling all)
747 (info skip after enabling all, info skip after disabling 4 2-3)
748 (info skip after enabling 2-3, info skip 2-3)
749 (info skip after deleting 2 3): Update the expected output.
750 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
751 statement to its initialization and return.
752 * gdb.linespec/skip-two.exp: New file.
753
754 2012-12-19 Doug Evans <dje@google.com>
755
756 * gdb.base/maint.exp: Handle testing with .gdb_index.
757
758 2012-12-19 Joel Brobecker <brobecker@adacore.com>
759
760 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
761 Cavium to FSF.
762
763 2012-12-19 Joel Brobecker <brobecker@adacore.com>
764
765 * dg-extract-results.sh: Update contact info in copyright notice.
766 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
767 GPL v3 or later. Update contact info.
768 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
769 gdb.threads/watchpoint-fork-mt.c,
770 gdb.threads/watchpoint-fork-parent.c,
771 gdb.threads/watchpoint-fork-st.c,
772 gdb.threads/watchpoint-fork.h: Likewise.
773
774 2012-12-15 Yao Qi <yao@codesourcery.com>
775
776 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
777 'installed' field in '=breakpoint-modified'.
778 (test_reconnect): Check 'installed' field in
779 '=breakpoint-modified' and '=breakpoint-created'.
780
781 * gdb.trace/actions.exp: Update test for 'installed' field.
782 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
783 (tracepoint_change_loc_2): Likewise.
784 Check 'info tracepoint' display nothing else.
785 * gdb.trace/deltrace.exp: Likewise.
786 * gdb.trace/infotrace.exp: Likewise.
787 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
788 Likewise.
789 * gdb.trace/passcount.exp: Likewise.
790 * gdb.trace/tracecmd.exp: Likewise.
791 * gdb.trace/while-stepping.exp: Likewise.
792
793 2012-12-14 Tom Tromey <tromey@redhat.com>
794
795 * gdb.cp/member-name.exp: New file.
796 * gdb.cp/member-name.cc: New file.
797
798 2012-12-14 Tom Tromey <tromey@redhat.com>
799
800 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
801
802 2012-12-14 Doug Evans <dje@google.com>
803
804 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
805 DW_OP_GNU_implicit_pointer is section-relative.
806
807 2012-12-14 Tom Tromey <tromey@redhat.com>
808
809 * gdb.base/info-proc.exp: Add core file tests.
810
811 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
812
813 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
814
815 2012-12-13 Doug Evans <dje@google.com>
816
817 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
818 * gdb.multi/multi-arch.exp: Ditto.
819
820 2012-12-12 Keven Boell <keven.boell@intel.com>
821
822 * gdb.mi/mi-catch-load-so.c: New. Clone of the
823 catch load test library source file.
824 * gdb.mi/mi-catch-load.c: New. Clone of the catch
825 load test source file.
826 * gdb.mi/mi-catch-load.exp: New. Test file for
827 basic MI -catch-load and -catch-unload tests.
828
829 2012-12-11 Paul Koning <paul_koning@dell.com>
830
831 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
832 exception.
833 (_iterator_except): New function.
834 (ArrayPrinter): Use _iterator function instead of local _iterator
835 class for Python 3 compatibility.
836 (NoStringContainerPrinter): Use _iterator_except instead of
837 _iterator.
838 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
839 execfile for Python 3 compatibility.
840 * gdb.python/python.exp: Handle Python 2.4 exception traceback
841 format in error_prompt test.
842
843 2012-12-10 Paul Koning <paul_koning@dell.com>
844
845 * gdb.base/charset.exp: Change print syntax for Python 3
846 compatibility.
847 * gdb.python/py-block.exp: Ditto.
848 * gdb.python/py-breakpoint.exp: Ditto.
849 * gdb.python/py-cmd.exp: Ditto.
850 * gdb.python/py-events.py: Ditto.
851 * gdb.python/py-finish-breakpoint.py: Ditto.
852 * gdb.python/py-finish-breakpoint2.exp: Ditto.
853 * gdb.python/py-finish-breakpoint2.py: Ditto.
854 * gdb.python/py-frame-inline.exp: Ditto.
855 * gdb.python/py-frame.exp: Ditto.
856 * gdb.python/py-infthread.exp: Ditto.
857 * gdb.python/py-objfile.exp: Ditto.
858 * gdb.python/py-parameter.exp: Ditto.
859 * gdb.python/py-progspace.exp: Ditto.
860 * gdb.python/py-prompt.exp: Ditto.
861 * gdb.python/py-symbol.exp: Ditto.
862 * gdb.python/py-symtab.exp: Ditto.
863 * gdb.python/py-template.exp: Ditto.
864 * gdb.python/py-value-cc.exp: Ditto.
865 * gdb.python/python.exp: Ditto.
866 * gdb.python/source2.py: Ditto.
867 * gdb.python/lib-types.exp: Change print syntax for Python 3
868 compatibility.
869 Use sorted() function rather than sort() method.
870 Accept either int or long values for enum values.
871 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
872 execfile for Python 3 compatibility.
873 * gdb.python/py-evsignal.exp: Ditto.
874 * gdb.python/py-evthreads.exp: Ditto.
875 * gdb.python/py-mi.exp: Ditto.
876 * gdb.python/py-pp-maint.exp: Ditto.
877 * gdb.python/py-prettyprint.exp: Ditto.
878 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
879 Python 3 compatibility.
880 Skip tests for Python 2.4.
881 * gdb.python/py-inferior.exp: Change print syntax for
882 Python 3 compatibility.
883 Use byte string rather than character string in memory write test
884 if Python 3.
885 * gdb.python/py-pp-maint.py: Change class declarations to "new
886 class" syntax.
887 * gdb.python/py-prettyprint.py: Change iterator class to generator
888 function for Python 3 compatibility.
889 Make all classes "new style".
890 Fix indentation issue and stray semicolon.
891 * gdb.python/py-shared.expChange print syntax for Python 3
892 compatibility.
893 Define "long" if Python 3.
894 * gdb.python/py-type.exp: Change print syntax for Python 3
895 compatibility.
896 Accept either int or long values for enum values.
897 * gdb.python/py-value.exp: Change print syntax for Python 3
898 compatibility.
899 Skip "long" and "unicode" tests if Python 3.
900 Accept either "type" or "class" in type checks.
901 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
902 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
903
904 2012-12-10 Tom Tromey <tromey@redhat.com>
905
906 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
907 (test): Add "two_cu" argument.
908 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
909 for types; allow two CUs.
910
911 2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
912
913 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
914 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
915
916 2012-12-08 Yao Qi <yao@codesourcery.com>
917 Pedro Alves <palves@redhat.com>
918
919 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
920 '=breakpoint-created' when GDB merges the tracepoints of both
921 sides.
922
923 2012-12-07 Tom Tromey <tromey@redhat.com>
924
925 * gdb.base/break1.c (enum some_enum, union some_union): New.
926 (some_enum_global, some_union_global, some_value): New globals.
927 * gdb.base/completion.exp: Add tag completion tests.
928
929 2012-12-07 Tom Tromey <tromey@redhat.com>
930
931 * gdb.base/completion.exp: Add tests for ptype and whatis
932 completion.
933
934 2012-12-07 Joel Brobecker <brobecker@adacore.com>
935
936 * gdb.base/stale-infcall.exp: Fix copyright line.
937
938 2012-12-07 Joel Brobecker <brobecker@adacore.com>
939
940 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
941
942 2012-12-06 Pedro Alves <palves@redhat.com>
943 Tom Tromey <tromey@redhat.com>
944
945 * gdb.base/exprs.exp: Add tests for cast to void.
946
947 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
948
949 * gdb.python/py-mi.exp: Correct expected results for attribute
950 "dynamic" returned by -var-update.
951 Add test case for correct handling of "diplayhint" for children
952 of dynamic varobjs.
953 * gdb.python/py-prettyprint.c (set_itme): New function.
954 (bug_14741) New function.
955 (main) Add call to bug_14741().
956 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
957
958 2012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
959
960 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
961 ${binfile}.funcsyms list.
962
963 2012-12-04 Yao Qi <yao@codesourcery.com>
964
965 PR gdb/13443
966 * gdb.trace/actions.exp: Make test messages unique.
967
968 2012-11-29 Tom Tromey <tromey@redhat.com>
969
970 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
971
972 2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
973
974 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
975 * gdb.opencl/datatypes.exp: Likewise.
976 * gdb.opencl/operators.exp: Likewise.
977 * gdb.opencl/vec_comps.exp: Likewise.
978
979 2012-11-29 Jerome Guitton <guitton@adacore.com>
980
981 * gdb.ada/iwide: New testcase.
982
983 2012-11-29 Jerome Guitton <guitton@adacore.com>
984
985 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
986 ptype test.
987
988 2012-11-29 Jerome Guitton <guitton@adacore.com>
989
990 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
991 form {VARIANT_TYPE}ADDRESS.
992
993 2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
994
995 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
996 (func): New function.
997 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
998 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
999 pointers to members with pointer-to-function type.
1000
1001 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1002 Tom Tromey <tromey@redhat.com>
1003
1004 * gdb.base/gnu-debugdata.exp: New file.
1005 * gdb.base/gnu-debugdata.c: New file.
1006 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
1007 (gdb_unload): Return 0 on success.
1008
1009 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1010
1011 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
1012
1013 2012-11-26 Joel Brobecker <brobecker@adacore.com>
1014
1015 * gdb.base/empty_exe.exp: New testcase.
1016
1017 2012-11-20 Mike Frysinger <vapier@gentoo.org>
1018
1019 * gdb.base/completion.exp: Add test for help aliases completion.
1020
1021 2012-11-20 Yao Qi <yao@codesourcery.com>
1022
1023 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1024 Don't test 'maint set show-debug-regs'.
1025 Use command 'set remotecache' instead of
1026 'set circular-trace-buffer'.
1027
1028 2012-11-16 Keith Seitz <keiths@redhat.com>
1029
1030 PR c++/13615
1031 * gdb.cp/baseenum.cc: New file.
1032 * gdb.cp/baseenum.exp: New file.
1033 * gdb.cp/derivation.cc (A): Add copyright.
1034 Add a typedef.
1035 (B): Use A::value_type instead of int. Change all references.
1036 (D): Use value_type instead of int. Change all references.
1037 (E): Likewise.
1038 (F); Likewise.
1039 (Z): New class.
1040 (ZZ): New class.
1041 (N, Base, Derived): New namespace and classes.
1042 (main): Add instances of Z and ZZ.
1043 Make sure all symbols from N are kept.
1044 * gdb.cp/derivation.exp: Update typedef changes in tests.
1045 Add tests for class typedefs both before and after starting
1046 the inferior.
1047 Add tests for searching for a typedef while stopped in a
1048 method.
1049
1050 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
1051
1052 * gdb.mi/mi-var-create-rtti.c: New file.
1053 * gdb.mi/mi-var-create-rtti.exp: New file.
1054
1055 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
1056
1057 * gdb.base/structs3.exp: Run to main before doing any tests.
1058
1059 2012-11-14 Andrew Burgess <aburgess@broadcom.com>
1060
1061 * gdb.python/py-type.exp: Uniquify test names.
1062
1063 2012-11-14 Yao Qi <yao@codesourcery.com>
1064
1065 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
1066 (thread_function) [DEBUG]: Call 'printf'.
1067 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
1068 command line if 'DEBUG=1' is passed to test.
1069 Remove a pattern to match inferior's output.
1070
1071 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
1072
1073 * gdb.mi/mi-fill-memory.exp: New test.
1074
1075 2012-11-12 Tom Tromey <tromey@redhat.com>
1076
1077 * gdb.base/completion.exp: Update for "info type-printers".
1078 * gdb.python/py-typeprint.cc: New file.
1079 * gdb.python/py-typeprint.exp: New file.
1080 * gdb.python/py-typeprint.py: New file.
1081
1082 2012-11-12 Tom Tromey <tromey@redhat.com>
1083
1084 * gdb.base/call-sc.exp: Use "ptype/r".
1085 * gdb.base/volatile.exp: Don't expect "int".
1086 * gdb.cp/ptype-flags.cc: New file.
1087 * gdb.cp/ptype-flags.exp: New file.
1088 * gdb.cp/templates.exp: Use ptype/r.
1089 (test_ptype_of_templates, test_template_typedef): Likewise.
1090 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
1091 argument. Handle template names and template parameters.
1092 * gdb.mi/mi-var-cmd.exp: Accept "long".
1093 * gdb.mi/mi-var-child.exp: Accept "long".
1094 * gdb.mi/mi-var-display.exp: Accept "long".
1095 * gdb.mi/mi2-var-child.exp: Accept "long".
1096
1097 2012-11-12 Tom Tromey <tromey@redhat.com>
1098
1099 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
1100 "ptype" from calls to cp_test_ptype_class.
1101 (test_enums): Likewise.
1102 * gdb.cp/derivation.exp: Remove "ptype" from calls to
1103 cp_test_ptype_class.
1104 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
1105 calls to cp_test_ptype_class.
1106 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
1107 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
1108 from calls to cp_test_ptype_class.
1109 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
1110 command here. Change "in_command" argument to "in_exp".
1111
1112 2012-11-10 Keith Seitz <keiths@redhat.com>
1113
1114 PR gdb/14288
1115 * gdb.base/printcmds.c: Add invalid_XXX globals
1116 for repeated byte tests.
1117 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
1118 * gdb.base/wchar.c (main): Add and construct a wchar_t
1119 array with repeated characters.
1120 * gdb.base/wchar.exp: Add repeated character tests.
1121
1122 2012-11-09 Andrew Burgess <aburgess@broadcom.com>
1123
1124 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
1125 disassembly output.
1126
1127 2012-11-09 Pedro Alves <palves@redhat.com>
1128
1129 PR gdb/14306
1130
1131 * gdb.multi/multi-arch-exec.c: New file.
1132 * gdb.multi/multi-arch-exec.exp: New file.
1133
1134 2012-11-09 Yao Qi <yao@codesourcery.com>
1135
1136 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
1137 (top level): Call it.
1138
1139 2012-11-09 Yao Qi <yao@codesourcery.com>
1140
1141 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
1142 typo.
1143
1144 2012-11-09 Pedro Alves <palves@redhat.com>
1145
1146 * gdb.multi/multi-arch.exp: New.
1147
1148 2012-11-08 Tom Tromey <tromey@redhat.com>
1149
1150 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
1151 core files, if possible.
1152 * gdb.base/siginfo-thread.c: New file
1153 * gdb.base/siginfo-thread.exp: New file
1154
1155 2012-11-08 Tom Tromey <tromey@redhat.com>
1156
1157 * gdb.base/comprdebug.exp: New file.
1158
1159 2012-11-06 Pedro Alves <palves@redhat.com>
1160
1161 PR gdb/14810
1162
1163 * gdb.base/disabled-location.c: New file.
1164 * gdb.base/disabled-location.exp: New file.
1165
1166 2012-11-06 Tom Tromey <tromey@redhat.com>
1167
1168 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
1169 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
1170 gdb_gcore_cmd.
1171 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
1172 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
1173 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
1174 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
1175 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
1176 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
1177 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
1178 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
1179 * lib/gdb.exp (gdb_gcore_cmd): New proc.
1180
1181 2012-11-05 Pedro Alves <palves@redhat.com>
1182
1183 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
1184 procedure.
1185 (do_vfork_and_follow_child_tests_exec)
1186 (do_vfork_and_follow_child_tests_exit): Call it.
1187
1188 2012-11-05 Pedro Alves <palves@redhat.com>
1189
1190 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
1191 fails.
1192
1193 2012-11-03 Yao Qi <yao@codesourcery.com>
1194
1195 Fix PR gdb/14617.
1196 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1197 Remove setup_kfail, and update test.
1198
1199 2012-11-02 Tom Tromey <tromey@redhat.com>
1200
1201 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
1202 test.
1203
1204 2012-11-02 Pedro Alves <palves@redhat.com>
1205
1206 PR gdb/14766
1207
1208 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
1209 setup_kfail.
1210 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
1211 get registers".
1212
1213 2012-11-02 Pedro Alves <palves@redhat.com>
1214
1215 * gdb.base/foll-vfork-exit.c: New file.
1216 * gdb.base/foll-vfork.exp (top level): New file-describing
1217 comment.
1218 (vfork_child_follow_to_exit): New procedure.
1219 (tcatch_vfork_then_child_follow): Rename as ...
1220 (tcatch_vfork_then_child_follow_exec): ... this.
1221 (tcatch_vfork_then_child_follow_exit): New procedure.
1222 (do_vfork_and_follow_parent_tests): New procedure, factored out
1223 from do_vfork_and_exec_tests.
1224 (do_vfork_and_follow_child_tests_exec): Ditto.
1225 (do_vfork_and_exec_tests): Delete.
1226 (do_vfork_and_follow_child_tests_exit): New procedure.
1227 (top level): Run tests with both the program that has the vfork
1228 child execing, and the program has the vfork child exiting.
1229
1230 2012-11-02 Pedro Alves <palves@redhat.com>
1231
1232 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
1233 (check_vfork_catchpoints, vfork_parent_follow_through_step)
1234 (vfork_parent_follow_to_bp): Call it.
1235 (kill_child): Delete.
1236 (vfork_and_exec_child_follow_to_main_bp)
1237 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
1238 longer call kill_child.
1239 (tcatch_vfork_then_parent_follow): Call setup_gdb.
1240 (do_vfork_and_exec_tests): Don't runto_main before calling each
1241 test procedure.
1242 (top level): Don't clean restart and set verbose before running
1243 each test procedure.
1244
1245 2012-11-02 Pedro Alves <palves@redhat.com>
1246
1247 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
1248 (vfork_parent_follow_to_bp)
1249 (vfork_and_exec_child_follow_to_main_bp)
1250 (vfork_and_exec_child_follow_through_step)
1251 (tcatch_vfork_then_parent_follow)
1252 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1253 Use with_test_prefix.
1254
1255 2012-11-02 Pedro Alves <palves@redhat.com>
1256
1257 * gdb.base/foll-vfork.c: Add copyright header.
1258 * gdb.base/vforked-prog.c: Add copyright header.
1259
1260 2012-11-02 Pedro Alves <palves@redhat.com>
1261
1262 * gdb.base/foll-vfork.exp
1263 (vfork_and_exec_child_follow_through_step): Don't skip on
1264 non-HP/UX targets. Expect the next to only step one line on
1265 non-HP/UX targets, rather than stopping only after the exec.
1266
1267 2012-11-02 Pedro Alves <palves@redhat.com>
1268
1269 Don't hard code line numbers.
1270
1271 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
1272 Expect text from the sources instead of a line number.
1273 (vfork_parent_follow_to_bp)
1274 (vfork_and_exec_child_follow_to_main_bp)
1275 (vfork_and_exec_child_follow_through_step)
1276 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1277 Use gdb_get_line_number.
1278
1279 2012-11-02 Pedro Alves <palves@redhat.com>
1280
1281 Modernize.
1282
1283 * gdb.base/foll-vfork.exp: Use standard_testfile and
1284 build_executable. Pass descriptive string to untested.
1285 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
1286 (vfork_and_exec_child_follow_to_main_bp)
1287 (vfork_and_exec_child_follow_through_step)
1288 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
1289 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
1290 of send_gdb/gdb_expect.
1291
1292 (kill_child): New procedure.
1293 (vfork_and_exec_child_follow_to_main_bp)
1294 (vfork_and_exec_child_follow_through_step): Use it.
1295
1296 2012-11-02 Yao Qi <yao@codesourcery.com>
1297
1298 * gdb.base/setvar.exp: Test setting nested struct.
1299 * gdb.base/setvar.c (v_struct3): New.
1300
1301 2012-11-01 Doug Evans <dje@google.com>
1302
1303 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
1304 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
1305 use them.
1306
1307 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
1308
1309 PR cli/14772
1310 * gdb.base/gnu_vector.c (union_with_vector_1)
1311 (struct_with_vector_1): Add new struct and union for testing
1312 ptype.
1313 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
1314 structs / unions containing vectors.
1315
1316 2012-10-25 Yao Qi <yao@codesourcery.com>
1317
1318 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
1319 'setup_kfail' instead of 'setup_kfail_for_target'.
1320 * gdb.base/varargs.exp: Likewise.
1321 * lib/gdb.exp (setup_kfail_for_target): Remove.
1322
1323 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
1324
1325 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
1326
1327 2012-10-25 Mark Kettenis <kettenis@gnu.org>
1328
1329 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
1330
1331 2012-10-24 Joel Brobecker <brobecker@adacore.com>
1332
1333 * gdb.ada/set_wstr: New testcase.
1334
1335 2012-10-24 Joel Brobecker <brobecker@adacore.com>
1336
1337 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
1338
1339 2012-10-24 Joel Brobecker <brobecker@adacore.com>
1340
1341 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
1342
1343 2012-10-24 Mark Kettenis <kettenis@gnu.org>
1344
1345 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
1346
1347 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1348
1349 * gdb.base/callfuncs.exp (do_function_calls): Fix
1350 setup_kfail_for_target for -m32 mode.
1351
1352 2012-10-23 Mark Kettenis <kettenis@gnu.org>
1353
1354 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
1355 are now fixed.
1356
1357 2012-10-23 Yao Qi <yao@codesourcery.com>
1358
1359 * gdb.base/info-os.exp: Resume the inferior until it exits.
1360
1361 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
1362
1363 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
1364 * gdb.base/print-file-var.exp: Likewise.
1365 * gdb.base/type-opaque.exp: Likewise.
1366
1367 2012-10-17 Yao Qi <yao@codesourcery.com>
1368
1369 * gdb.mi/mi-memory-changed.exp: New.
1370
1371 2012-10-16 Yao Qi <yao@codesourcery.com>
1372
1373 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
1374 returns true.
1375 Call gdb_load_shlibs.
1376 * gdb.reverse/solib-reverse.exp: Likewise.
1377
1378 2012-10-15 Keith Seitz <keiths@redhat.com>
1379
1380 * lib/cp-support.exp (cp_test_ptype_class): Add support
1381 for class typedefs.
1382
1383 * gdb.cp/derivation.exp: Add tests for g_instance.
1384
1385 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1386
1387 Fix entry values resolving in inlined frames.
1388 * gdb.arch/amd64-entry-value-inline.S: New file.
1389 * gdb.arch/amd64-entry-value-inline.c: New file.
1390 * gdb.arch/amd64-entry-value-inline.exp: New file.
1391
1392 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1393 Doug Evans <dje@google.com>
1394
1395 Fix recent gdb_breakpoint regression.
1396 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
1397 braces from the parameter.
1398 * gdb.java/jprint.exp: Likewise.
1399
1400 2012-10-15 Doug Evans <dje@google.com>
1401
1402 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
1403
1404 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
1405
1406 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
1407
1408 2012-10-15 Tom Tromey <tromey@redhat.com>
1409
1410 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
1411
1412 2012-10-15 Tom Tromey <tromey@redhat.com>
1413
1414 * gdb.python/py-symbol.exp: Test symbol destructor.
1415
1416 2012-10-14 Yao Qi <yao@codesourcery.com>
1417
1418 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
1419 * gdb.mi/mi-cli.exp: New.
1420
1421 * gdb.mi/mi2-basics.exp: Remove.
1422 * gdb.mi/mi2-break.exp: Remove.
1423 * gdb.mi/mi2-console.exp: Remove.
1424 * gdb.mi/mi2-disassemble.exp: Remove.
1425 * gdb.mi/mi2-eval.exp: Remove.
1426 * gdb.mi/mi2-file.exp: Remove.
1427 * gdb.mi/mi2-hack-cli.exp: Remove.
1428 * gdb.mi/mi2-pthreads.exp: Remove.
1429 * gdb.mi/mi2-read-memory.exp: Remove.
1430 * gdb.mi/mi2-regs.exp: Remove.
1431 * gdb.mi/mi2-return.exp: Remove.
1432 * gdb.mi/mi2-simplerun.exp: Remove.
1433 * gdb.mi/mi2-stack.exp: Remove.
1434 * gdb.mi/mi2-stepi.exp: Remove.
1435 * gdb.mi/mi2-syn-frame.exp: Remove.
1436 * gdb.mi/mi2-until.exp: Remove.
1437 * gdb.mi/mi2-watch.exp: Remove.
1438 * gdb.mi/mi2-var-block.exp: Remove.
1439 * gdb.mi/mi2-var-cmd.exp: Remove.
1440 * gdb.mi/mi2-var-display.exp: Remove.
1441
1442 2012-10-12 Yao Qi <yao@codesourcery.com>
1443
1444 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
1445 trail '.*' on matching patterns.
1446
1447 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1448
1449 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
1450 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
1451 * gdb.arch/i386-disp-step.exp: Likewise.
1452 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1453 * gdb.arch/i386-prologue.exp: Likewise.
1454 * gdb.arch/i386-size-overlap.exp: Likewise.
1455 * gdb.arch/i386-size.exp: Likewise.
1456 * gdb.arch/i386-unwind.exp: Likewise.
1457
1458 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1459
1460 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
1461 * gdb.arch/i386-word.exp: Likewise.
1462
1463 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1464
1465 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
1466 is_ilp32_target to set nr_regs.
1467 * gdb.arch/i386-sse.exp: Likewise.
1468
1469 2012-10-11 Doug Evans <dje@google.com>
1470
1471 PR breakpoints/14643.
1472 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
1473 * gdb.linespec/thread.c: New file.
1474 * gdb.linespec/thread.exp: New file.
1475
1476 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
1477 Recognize "message" -> print pass and fail. Add eof case.
1478 (runto): Recognize message, no-message. Print pass/fail if requested,
1479 with same treatment as gdb_breakpoint.
1480 (runto_main): Pass no-message to runto.
1481 (gdb_internal_error_resync): Add log message.
1482 (gdb_file_cmd): Tweak internal error fail text for consistency.
1483
1484 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1485
1486 Fix crash during stepping on ppc32.
1487 * gdb.base/step-symless.c: New file.
1488 * gdb.base/step-symless.exp: New file.
1489
1490 2012-10-03 Doug Evans <dje@google.com>
1491
1492 PR symtab/14601
1493 * gdb.cp/using-crash.exp: New file.
1494 * gdb.cp/using-crash.cc: New file.
1495
1496 2012-10-02 Doug Evans <dje@google.com>
1497
1498 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
1499 more consistent.
1500 (runto,gdb_debug_format): Ditto.
1501 (gdb_file_cmd): Watch for eof in nested gdb_expect.
1502 Clean up logging and error messages.
1503
1504 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
1505
1506 Test find command on unmapped memory.
1507 * gdb.base/find-unmapped.c: New file.
1508 * gdb.base/find-unmapped.exp: New file.
1509
1510 2012-09-29 Yao Qi <yao@codesourcery.com>
1511
1512 * gdb.trace/mi-tracepoint-changed.exp: New.
1513 * gdb.mi/mi-breakpoint-changed.exp: New.
1514 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
1515 * gdb.mi/pendshr2.c: New.
1516
1517 2012-09-28 Yao Qi <yao@codesourcery.com>
1518
1519 * gdb.mi/pr11022.exp: New.
1520 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
1521
1522 2012-09-27 Tom Tromey <tromey@redhat.com>
1523
1524 * gdb.cp/derivation.exp: Add regression test.
1525 * gdb.cp/derivation.cc (class V_base, class V_inter, class
1526 V_derived): New.
1527 (vderived): New global.
1528
1529 2012-09-26 Tom Tromey <tromey@redhat.com>
1530
1531 * gdb.dwarf2/dw2-common-block.S: New file.
1532 * gdb.dwarf2/dw2-common-block.exp: New file.
1533
1534 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1535
1536 * gdb.fortran/common-block.exp: New file.
1537 * gdb.fortran/common-block.f90: New file.
1538
1539 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
1540
1541 * gdb.base/duplicate-bp.c: New file.
1542 * gdb.base/duplicate-bp.exp: New file.
1543
1544 2012-09-26 Yao Qi <yao@codesourcery.com>
1545
1546 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
1547
1548 Revert:
1549 2012-09-21 Yao Qi <yao@codesourcery.com>
1550
1551 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1552
1553 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1554
1555 * gdb.base/longest-types.c: New test case.
1556 * gdb.base/longest-types.exp: New test case.
1557
1558 2012-09-25 Yao Qi <yao@codesourcery.com>
1559
1560 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
1561
1562 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1563
1564 Fix internal error on canonicalization of clang types.
1565 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
1566 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
1567 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
1568
1569 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1570
1571 Fix disassemble without parameters in tailcall frame.
1572 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
1573
1574 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
1575
1576 * gdb.dwarf2/dw2-op-out-param.S: New file.
1577 * gdb.dwarf2/dw2-op-out-param.exp: New file.
1578
1579 2012-09-21 Yao Qi <yao@codesourcery.com>
1580
1581 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1582
1583 2012-09-21 Yao Qi <yao@codesourcery.com>
1584
1585 * gdb.mi/mi-cli.exp: Remove.
1586 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
1587
1588 2012-09-21 Yao Qi <yao@codesourcery.com>
1589
1590 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
1591 "=record-started" notification.
1592
1593 2012-09-21 Yao Qi <yao@codesourcery.com>
1594
1595 * gdb.mi/mi-record-changed.exp: New.
1596 * gdb.mi/mi-reverse.exp: Adjust expected output.
1597
1598 2012-09-20 Tom Tromey <tromey@redhat.com>
1599
1600 * gdb.python/python.exp: Test atexit.register.
1601
1602 2012-09-20 Doug Evans <dje@google.com>
1603
1604 * boards/dwarf4-gdb-index.exp: New file.
1605
1606 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
1607 while running the tests.
1608
1609 2012-09-18 Joel Brobecker <brobecker@adacore.com>
1610
1611 * gdb.ada/bp_reset: New testcase.
1612
1613 2012-09-18 Yao Qi <yao@codesourcery.com>
1614
1615 * gdb.trace/mi-tsv-changed.exp: New.
1616
1617 2012-09-18 Yao Qi <yao@codesourcery.com>
1618
1619 * gdb.trace/mi-traceframe-changed.exp: New.
1620
1621 2012-09-17 Yao Qi <yao@codesourcery.com>
1622
1623 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
1624 when it is less than 0.
1625
1626 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1627
1628 PR 14119
1629 * gdb.arch/amd64-tailcall-ret.S: New file.
1630 * gdb.arch/amd64-tailcall-ret.c: New file.
1631 * gdb.arch/amd64-tailcall-ret.exp: New file.
1632 * gdb.reverse/amd64-tailcall-reverse.S: New file.
1633 * gdb.reverse/amd64-tailcall-reverse.c: New file.
1634 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
1635
1636 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1637
1638 PR 14548
1639 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
1640 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
1641 * gdb.reverse/singlejmp-reverse.S: New file.
1642 * gdb.reverse/singlejmp-reverse.c: New file.
1643 * gdb.reverse/singlejmp-reverse.exp: New file.
1644
1645 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1646
1647 Fix compatibility with old GCC (~4.1).
1648 * gdb.cp/converts.cc (my_enum_var): New variable.
1649
1650 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
1651
1652 * gdb.xml/tdesc-regs.exp: Update expected output for new
1653 vector_size syntax of vector types.
1654
1655 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
1656
1657 Refactor Python "gdb" module into a proper Python package, by
1658 introducing a new "_gdb" module for code implemented in C, and
1659 using reload/__import__ instead of exec.
1660 * gdb.python/python.exp (Test stderr location): Update module
1661 location of GDB-specific sys.stderr.
1662 (Test stdout location): Ditto for sys.stdout.
1663
1664 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1665
1666 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
1667
1668 2012-09-12 Keith Seitz <keiths@redhat.com>
1669
1670 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
1671 conversion statement.
1672
1673 2012-09-12 Doug Evans <dje@google.com>
1674
1675 * gdb.base/help.exp: Remove testing of individual command help text,
1676 too much of a maintenance burden. Instead, test the functionality
1677 of "help" itself.
1678
1679 2012-09-11 Doug Evans <dje@google.com>
1680
1681 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
1682 breakpoint.
1683
1684 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
1685 * gdb.dwarf2/fission-reread.S: Ditto.
1686 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
1687 * gdb.dwarf2/fission-reread.exp: Ditto.
1688
1689 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
1690
1691 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
1692
1693 2012-09-10 Joel Brobecker <brobecker@adacore.com>
1694
1695 * gdb.ada/optim_drec: New testcase.
1696
1697 2012-09-10 Doug Evans <dje@google.com>
1698
1699 * boards/fission.exp: Explicitly mark "board" as not remote.
1700
1701 2012-09-10 Keith Seitz <keiths@redhat.com>
1702
1703 PR gdb/13483
1704 * gdb.cp/converts.cc (A::A): Add ctor.
1705 (A::member_): Add member.
1706 (enum my_enum): New enumeration.
1707 (main): Add calls to foo1_7 with various
1708 permitted arguments.
1709 * gdb.cp/converts.exp: Add tests for boolean
1710 conversions permitted by the standard.
1711
1712 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
1713
1714 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
1715 avoid spurious results due to ~/.gdbinit.
1716 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
1717 $INTERNAL_GDBFLAGS in run command.
1718 * gdb.gdb/observer.exp (setup_test): Ditto.
1719 * gdb.gdb/selftest.exp (test_with_self): Ditto.
1720 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
1721
1722 2012-09-06 Doug Evans <dje@google.com>
1723
1724 * boards/fission.exp: New file.
1725
1726 * gdb.python/py-value.exp: Use clean_restart.
1727
1728 2012-09-05 Doug Evans <dje@google.com>
1729
1730 * gdb.base/info-macros.c: Fix whitespace.
1731
1732 2012-08-28 Pedro Alves <palves@redhat.com>
1733
1734 PR gdb/14428
1735
1736 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
1737
1738 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1739
1740 * gdb.base/break-caller-line.c: New file.
1741 * gdb.base/break-caller-line.exp: New file.
1742
1743 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1744
1745 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
1746 * gdb.arch/i386-cfi-notcurrent.S: New file.
1747 * gdb.arch/i386-cfi-notcurrent.exp: New file.
1748
1749 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
1750 Yao Qi <yao@codesourcery.com>
1751 Pedro Alves <palves@redhat.com>
1752
1753 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
1754 New procedures.
1755 (top level): Add overlap checking tests.
1756
1757 2012-08-24 Tom Tromey <tromey@redhat.com>
1758
1759 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
1760 gdb_test_multiple fails for other reasons.
1761
1762 2012-08-24 Yao Qi <yao@codesourcery.com>
1763
1764 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
1765
1766 2012-08-23 Pedro Alves <palves@redhat.com>
1767
1768 * gdb.base/help.exp: Adjust to "handle" help text change.
1769
1770 2012-08-23 Yao Qi <yao@codesourcery.com>
1771
1772 * gdb.trace/disconnected-tracing.c (start, end): New.
1773 (main): Call start and end.
1774 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
1775 existing tests into this proc.
1776 (disconnected_tfind): New.
1777
1778 2012-08-23 Yao Qi <yao@codesourcery.com>
1779
1780 * boards/native-gdbserver.exp (${board}_upload): New.
1781 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
1782 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
1783 Execute tfile on remote target.
1784 Copy trace file from target to host.
1785
1786 2012-08-22 Joseph Myers <joseph@codesourcery.com>
1787
1788 * gdb.arch/thumb-bx-pc.S: New file.
1789 * gdb.arch/thumb-bx-pc.exp: New file.
1790
1791 2012-08-22 Tom Tromey <tromey@redhat.com>
1792
1793 * gdb.base/maint.exp: Update.
1794
1795 2012-08-22 Tom Tromey <tromey@redhat.com>
1796
1797 * lib/gdb.exp (skip_unwinder_tests): New proc.
1798 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
1799 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
1800
1801 2012-08-21 Tom Tromey <tromey@redhat.com>
1802
1803 * gdb.hp/gdb.aCC/exception.exp: Remove.
1804
1805 012-08-19 Andrew Pinski <apinski@cavium.com>
1806
1807 * gdb.arch/mips-octeon-bbit.c: New file.
1808 * gdb.arch/mips-octeon-bbit.exp: New Test.
1809
1810 012-08-19 Keith Seitz <keiths@redhat.com>
1811
1812 PR c++/14365
1813 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
1814 * gdb.dwarf2/dw2-anon-mptr.S: New file.
1815
1816 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1817
1818 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
1819 verbose -log by more specific untested call.
1820
1821 2012-08-18 Yao Qi <yao@codesourcery.com>
1822
1823 * gdb.trace/tfind.exp: Move tests on various command help before
1824 checking target supports trace.
1825 Fix the expected output of 'help tfind end'.
1826
1827 2012-08-17 Keith Seitz <keiths@redhat.com>
1828
1829 PR c++/13356
1830 * gdb.base/default.exp: Update all "check type" tests.
1831 * gdb.base/help.exp: Likewise.
1832 * gdb.base/setshow.exp: Likewise.
1833 * gdb.cp/converts.cc (foo1_type_check): New function.
1834 (foo2_type_check): New function.
1835 (foo3_type_check): New function.
1836 (main): Call new functions.
1837 * converts.exp: Add tests for integer-to-pointer conversions
1838 with/without strict type-checking.
1839
1840 2012-08-16 Mike Frysinger <vapier@gentoo.org>
1841
1842 * gdb.base/help.exp: Update expected output.
1843
1844 2012-08-16 Joel Brobecker <brobecker@adacore.com>
1845
1846 * gdb.ada/rdv_wait: New testcase.
1847
1848 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1849
1850 * gdb.base/attach-twice.exp: Remove excessive ps exec.
1851
1852 2012-08-13 Doug Evans <dje@google.com>
1853
1854 * gdb.base/help.exp: Update expected output.
1855 * gdb.base/default.exp: Update expected output of "show convenience".
1856
1857 2012-08-10 Doug Evans <dje@google.com>
1858
1859 * gdb.python/py-strfns.c: New file.
1860 * gdb.python/py-strfns.exp: New file.
1861 * gdb.python/py-type.exp (test_fields): Add vector tests.
1862
1863 2012-08-10 Mike Frysinger <vapier@gentoo.org>
1864
1865 PR cli/10436:
1866 * gdb.base/completion.exp: Add tests for handle completion.
1867
1868 2012-08-09 Yao Qi <yao@codesourcery.com>
1869
1870 * gdb.mi/mi-cmd-param-changed.exp: New.
1871 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
1872 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
1873 * gdb.mi/mi2-prompt.exp: Likewise.
1874
1875 2012-08-08 Doug Evans <dje@google.com>
1876
1877 * gdb.base/debug-expr.c: New file.
1878 * gdb.base/debug-expr.exp: New file.
1879 * gdb.base/exprs.exp: Test {type} casts.
1880 * gdb.cp/debug-expr.exp: New file.
1881
1882 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1883
1884 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
1885 global variable loop, not a 'break'. Add loop count limit to 100.
1886 Add new fail case for terminated vgdb.
1887
1888 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1889 Jean-Marc Saffroy <saffroy@gmail.com>
1890
1891 PR 11804
1892 * gdb.base/gcore-relro.exp: New file.
1893 * gdb.base/gcore-relro-main.c: New file.
1894 * gdb.base/gcore-relro-lib.c: New file.
1895
1896 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1897
1898 Do not false FAIL with old GCCs.
1899 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
1900 GCC < 4.5 in $no_hw mode.
1901
1902 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1903
1904 * gdb.base/default.exp (cd): Accept new directory with no arguments.
1905
1906 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1907
1908 * gdb.base/list.exp (test_only_end): New function.
1909 Call it.
1910
1911 2012-08-06 Tom Tromey <tromey@redhat.com>
1912
1913 * gdb.python/py-mi.exp: Add test for printer whose children
1914 are a list.
1915 * gdb.python/py-prettyprint.c (struct children_as_list): New.
1916 (main): New variable children_as_list.
1917 * gdb.python/py-prettyprint.py (class pp_children_as_list):
1918 New.
1919 (register_pretty_printers): Register new printer.
1920
1921 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1922
1923 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
1924 symbols. Abort if vgdb remote connection is closed.
1925
1926 2012-08-02 Doug Evans <dje@google.com>
1927
1928 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
1929
1930 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
1931
1932 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
1933 s390x, PowerPC 64 and m68k-linux.
1934
1935 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1936
1937 * gdb.base/annota1.exp: Accept no frames-invalid notification
1938 when starting up the program.
1939 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
1940 show a symbolic value as well.
1941 * gdb.server/server-exec-info.exp: Skip test when skipping
1942 gdbserver test and/or when skipping shared library tests.
1943 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
1944 avoid name conflicts with other tests.
1945
1946 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1947
1948 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
1949 Fix wrong output on big-endian systems.
1950 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
1951 4-byte pointer types on 64-bit s390x.
1952
1953 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1954
1955 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
1956 marker comment at the beginning (after intialization).
1957 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
1958 breakpoint on marker comment instead of function begin.
1959 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
1960 PowerPC.
1961 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
1962 or 64-bit PowerPC.
1963 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
1964 gdb,no_hardware_watchpoints flag is set.
1965 (initialize): Remove now redundant can-use-hw-watchpoints change.
1966
1967 2012-08-02 Yao Qi <yao@codesourcery.com>
1968 Pedro Alves <palves@redhat.com>
1969
1970 * boards/local-remote-host.exp: New.
1971
1972 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1973
1974 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
1975 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
1976 * gdb.base/print-file-var.exp: Likewise.
1977 * gdb.server/solib-list.exp: Skip on remote targets.
1978
1979 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1980
1981 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
1982 watchpoints on ARM. When expecting software watchpoints, tolerate
1983 (remote) targets that report unsupported hardware watchpoint only
1984 at continue time.
1985 (test_wide_location_2): Likewise.
1986
1987 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1988
1989 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
1990 valgrind versions.
1991
1992 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
1993
1994 * gdb.base/valgrind-infcall.c: New file.
1995 * gdb.base/valgrind-infcall.exp: New file.
1996
1997 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
1998
1999 2012-07-30 Keith Seitz <keiths@redhat.com>
2000
2001 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
2002 linespecs.
2003
2004 2012-07-30 Doug Evans <dje@google.com>
2005
2006 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
2007 * gdb.dwarf2/pr13961.S: Ditto.
2008
2009 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
2010
2011 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
2012
2013 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
2014 change its format immediately after reloading the binary.
2015
2016 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2017
2018 Fix testsuite regression after --use-deprecated-index-sections removal.
2019 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
2020 string.
2021 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
2022
2023 2012-07-27 Yao Qi <yao@codesourcery.com>
2024
2025 KFAIL for PR remote/14161.
2026 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
2027 Cleanup socket files.
2028 (strace_info_marker): Detach inferior.
2029
2030 2012-07-26 Tom Tromey <tromey@redhat.com>
2031
2032 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
2033
2034 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
2035
2036 * gdb.python/py-inferior.c (thread): New function.
2037 (check_threads): New function.
2038 (test_threads): New function.
2039 * gdb.python/py-inferior.exp: Added test.
2040 Replaced runto with continue to breakpoint.
2041
2042 2012-07-26 Tom Tromey <tromey@redhat.com>
2043
2044 * lib/ada.exp (standard_ada_testfile): New proc.
2045 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
2046 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
2047 * gdb.ada/array_return.exp: Use standard_ada_testfile.
2048 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
2049 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
2050 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
2051 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
2052 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
2053 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
2054 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
2055 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
2056 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
2057 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
2058 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
2059 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
2060 * gdb.ada/char_param.exp: Use standard_ada_testfile.
2061 * gdb.ada/complete.exp: Use standard_ada_testfile.
2062 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
2063 standard_output_file.
2064 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
2065 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
2066 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
2067 standard_output_file.
2068 * gdb.ada/exprs.exp: Use standard_ada_testfile.
2069 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
2070 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
2071 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
2072 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
2073 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
2074 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
2075 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
2076 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
2077 * gdb.ada/homonym.exp: Use standard_ada_testfile.
2078 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
2079 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
2080 * gdb.ada/interface.exp: Use standard_ada_testfile.
2081 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
2082 standard_output_file
2083 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
2084 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
2085 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
2086 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
2087 * gdb.ada/nested.exp: Use standard_ada_testfile.
2088 * gdb.ada/null_array.exp: Use standard_ada_testfile.
2089 * gdb.ada/null_record.exp: Use standard_ada_testfile.
2090 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
2091 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
2092 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
2093 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
2094 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
2095 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
2096 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
2097 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
2098 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
2099 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
2100 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
2101 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
2102 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
2103 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
2104 * gdb.ada/start.exp: Use standard_ada_testfile.
2105 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
2106 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
2107 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
2108 * gdb.ada/tagged.exp: Use standard_ada_testfile.
2109 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
2110 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
2111 * gdb.ada/tasks.exp: Use standard_ada_testfile.
2112 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
2113 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
2114 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
2115 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
2116 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
2117 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
2118 * gdb.ada/widewide.exp: Use standard_ada_testfile.
2119
2120 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2121
2122 Fix testsuite regression after --use-deprecated-index-sections removal.
2123 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
2124
2125 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2126
2127 Fix compatibility with Tcl before 7.5.
2128 * lib/future.exp (lreverse): New function if it does not exist.
2129
2130 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
2131
2132 * gdb.mi/mi-pending.c: New method to set a second pending
2133 breakpoint.
2134 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
2135 condition.
2136
2137 2012-07-20 Pedro Alves <palves@redhat.com>
2138
2139 PR threads/11692
2140 PR gdb/12203
2141
2142 * gdb.threads/create-fail.c: New file.
2143 * gdb.threads/create-fail.exp: New file.
2144
2145 2012-07-19 Pedro Alves <palves@redhat.com>
2146
2147 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
2148 * config/vx.exp (gdb_start): Likewise.
2149 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
2150 * gdb.base/setvar.exp (test_set): Likewise.
2151 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
2152 * gdb.reverse/sigall-precsave.exp: Likewise.
2153 * gdb.reverse/sigall-reverse.exp: Likewise.
2154
2155 2012-07-19 Pedro Alves <palves@redhat.com>
2156
2157 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
2158 handler before recording.
2159
2160 2012-07-19 Tom Tromey <tromey@redhat.com>
2161
2162 * gdb.cp/casts.exp: Add tests for typeof and decltype.
2163 * gdb.cp/casts.cc (decltype): New function.
2164 (main): Use it.
2165
2166 2012-07-19 Pedro Alves <palves@redhat.com>
2167
2168 * gdb.base/sigall.exp (signals): New list.
2169 <top level>: Loop over signals in the $signals list instead of
2170 calling a test function once per signal.
2171 * gdb.reverse/sigall-precsave.exp (signals): New list.
2172 <top level>: Loop over signals in the $signals list instead of
2173 calling a test function once per signal.
2174 * gdb.reverse/sigall-reverse.exp (signals): New list.
2175 <top level>: Loop over signals in the $signals list instead of
2176 calling a test function once per signal.
2177
2178 2012-07-19 Yao Qi <yao@codesourcery.com>
2179
2180 * gdb.base/setshow.exp: Test 'set args ~'.
2181
2182 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2183
2184 * gdb.base/store.exp (check_set): Import gdb_prompt.
2185 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
2186 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
2187
2188 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2189
2190 PR 11914
2191 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
2192 (main): Call eval_sub.
2193 * gdb.python/py-prettyprint.exp:
2194 (python execfile ('py-prettyprint.py')): Move it earlier.
2195 New breakpoint for eval-break.
2196 (continue to breakpoint: eval-break, info locals): New test.
2197 (python execfile ('py-prettyprint.py')): Move it from here.
2198 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
2199 (register_pretty_printers): Register pp_eval_type.
2200
2201 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2202
2203 Fix a testcase regression by me.
2204 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
2205 DW_FORM_data4.
2206
2207 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2208 Doug Evans <dje@google.com>
2209
2210 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
2211 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
2212
2213 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2214
2215 Fix gdbserver run regression.
2216 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
2217
2218 2012-07-12 Tom Tromey <tromey@redhat.com>
2219
2220 * lib/gdb.exp (standard_testfile): Don't declare objdir.
2221 (clean_restart): Likewise.
2222 (core_find): Use standard_output_file.
2223
2224 2012-07-12 Tom Tromey <tromey@redhat.com>
2225
2226 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
2227 * gdb.dwarf2/dw2-anonymous-func.exp: Use
2228 prepare_for_testing_full.
2229 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
2230 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
2231 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
2232 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
2233 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
2234 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
2235 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
2236 prepare_for_testing_full.
2237 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
2238 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
2239 prepare_for_testing_full.
2240 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
2241 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
2242 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
2243
2244 2012-07-12 Tom Tromey <tromey@redhat.com>
2245
2246 * lib/gdb.exp (build_executable_from_specs): New proc, from
2247 build_executable.
2248 (build_executable): Use it.
2249 (prepare_for_testing_full): New proc.
2250
2251 2012-07-11 Tom Tromey <tromey@redhat.com>
2252
2253 * gdb.reverse/break-precsave.exp: Use standard_output_file.
2254 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
2255 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
2256 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
2257 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
2258 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
2259 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
2260 * gdb.reverse/step-precsave.exp: Use standard_output_file.
2261 * gdb.reverse/until-precsave.exp: Use standard_output_file.
2262 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
2263
2264 2012-07-10 Tom Tromey <tromey@redhat.com>
2265
2266 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
2267 standard_output_file.
2268 * gdb.mi/gdb2549.exp: Use standard_testfile.
2269 * gdb.mi/gdb669.exp: Use standard_testfile.
2270 * gdb.mi/gdb701.exp: Use standard_testfile.
2271 * gdb.mi/gdb792.exp: Use standard_testfile.
2272 * gdb.mi/mi-async.exp: Use standard_testfile.
2273 * gdb.mi/mi-basics.exp: Use standard_testfile.
2274 * gdb.mi/mi-break.exp: Use standard_testfile.
2275 * gdb.mi/mi-cli.exp: Use standard_testfile.
2276 * gdb.mi/mi-console.exp: Use standard_testfile.
2277 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
2278 * gdb.mi/mi-eval.exp: Use standard_testfile.
2279 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
2280 * gdb.mi/mi-file.exp: Use standard_testfile.
2281 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
2282 * gdb.mi/mi-logging.exp: Use standard_testfile.
2283 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
2284 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
2285 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
2286 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
2287 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
2288 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
2289 * gdb.mi/mi-pending.exp: Use standard_testfile,
2290 standard_output_file.
2291 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
2292 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
2293 * gdb.mi/mi-regs.exp: Use standard_testfile.
2294 * gdb.mi/mi-return.exp: Use standard_testfile.
2295 * gdb.mi/mi-reverse.exp: Use standard_testfile.
2296 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
2297 * gdb.mi/mi-solib.exp: Use standard_testfile,
2298 standard_output_file.
2299 * gdb.mi/mi-stack.exp: Use standard_testfile.
2300 * gdb.mi/mi-stepi.exp: Use standard_testfile.
2301 * gdb.mi/mi-stepn.exp: Use standard_testfile.
2302 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
2303 * gdb.mi/mi-until.exp: Use standard_testfile.
2304 * gdb.mi/mi-var-block.exp: Use standard_testfile.
2305 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
2306 * gdb.mi/mi-var-child.exp: Use standard_testfile.
2307 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
2308 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
2309 * gdb.mi/mi-var-display.exp: Use standard_testfile.
2310 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
2311 standard_output_file.
2312 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
2313 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
2314 * gdb.mi/mi-watch.exp: Use standard_testfile.
2315 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
2316 * gdb.mi/mi2-basics.exp: Use standard_testfile.
2317 * gdb.mi/mi2-break.exp: Use standard_testfile.
2318 * gdb.mi/mi2-cli.exp: Use standard_testfile.
2319 * gdb.mi/mi2-console.exp: Use standard_testfile.
2320 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
2321 * gdb.mi/mi2-eval.exp: Use standard_testfile.
2322 * gdb.mi/mi2-file.exp: Use standard_testfile.
2323 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
2324 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
2325 * gdb.mi/mi2-regs.exp: Use standard_testfile.
2326 * gdb.mi/mi2-return.exp: Use standard_testfile.
2327 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
2328 * gdb.mi/mi2-stack.exp: Use standard_testfile.
2329 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
2330 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
2331 * gdb.mi/mi2-until.exp: Use standard_testfile.
2332 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
2333 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
2334 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
2335 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
2336 * gdb.mi/mi2-watch.exp: Use standard_testfile.
2337
2338 2012-07-10 Tom Tromey <tromey@redhat.com>
2339
2340 * gdb.cp/abstract-origin.exp: Use standard_testfile.
2341 * gdb.cp/ambiguous.exp: Use standard_testfile,
2342 prepare_for_testing.
2343 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
2344 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
2345 * gdb.cp/anon-ns.exp: Use standard_testfile.
2346 * gdb.cp/anon-struct.exp: Use standard_testfile.
2347 * gdb.cp/anon-union.exp: Use standard_testfile,
2348 prepare_for_testing.
2349 * gdb.cp/arg-reference.exp: Use standard_testfile,
2350 prepare_for_testing.
2351 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
2352 * gdb.cp/breakpoint.exp: Use standard_testfile,
2353 prepare_for_testing.
2354 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
2355 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
2356 standard_output_file.
2357 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
2358 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
2359 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
2360 (test_static_members): Update.
2361 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
2362 * gdb.cp/converts.exp: Use standard_testfile.
2363 * gdb.cp/cp-relocate.exp: Use standard_testfile.
2364 * gdb.cp/cpcompletion.exp: Use standard_testfile,
2365 prepare_for_testing.
2366 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
2367 * gdb.cp/cplabel.exp: Use standard_testfile.
2368 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
2369 prepare_for_testing.
2370 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
2371 * gdb.cp/derivation.exp: Use standard_testfile,
2372 prepare_for_testing.
2373 * gdb.cp/destrprint.exp: Use standard_testfile.
2374 * gdb.cp/dispcxx.exp: Use standard_testfile.
2375 * gdb.cp/exception.exp: Use standard_testfile,
2376 prepare_for_testing.
2377 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
2378 * gdb.cp/extern-c.exp: Use standard_testfile,
2379 prepare_for_testing.
2380 * gdb.cp/formatted-ref.exp: Use standard_testfile,
2381 prepare_for_testing.
2382 * gdb.cp/fpointer.exp: Use standard_testfile.
2383 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
2384 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
2385 standard_output_file.
2386 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
2387 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
2388 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
2389 standard_output_file.
2390 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
2391 (do_tests): Update.
2392 * gdb.cp/koenig.exp: Use standard_testfile.
2393 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
2394 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
2395 * gdb.cp/m-static.exp: Use standard_testfile,
2396 prepare_for_testing.
2397 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
2398 * gdb.cp/mb-inline.exp: Use standard_testfile,
2399 prepare_for_testing.
2400 * gdb.cp/mb-templates.exp: Use standard_testfile,
2401 prepare_for_testing.
2402 * gdb.cp/member-ptr.exp: Use standard_testfile,
2403 prepare_for_testing.
2404 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
2405 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
2406 * gdb.cp/method2.exp: Use standard_testfile.
2407 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
2408 standard_output_file.
2409 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
2410 (do_tests): Update.
2411 * gdb.cp/namespace-enum.exp: Use standard_testfile,
2412 prepare_for_testing.
2413 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
2414 prepare_for_testing.
2415 * gdb.cp/namespace.exp: Use standard_testfile,
2416 prepare_for_testing.
2417 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
2418 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
2419 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
2420 * gdb.cp/nsimport.exp: Use standard_testfile,
2421 prepare_for_testing.
2422 * gdb.cp/nsnested.exp: Use standard_testfile.
2423 * gdb.cp/nsnoimports.exp: Use standard_testfile.
2424 * gdb.cp/nsrecurs.exp: Use standard_testfile,
2425 prepare_for_testing.
2426 * gdb.cp/nsstress.exp: Use standard_testfile,
2427 prepare_for_testing.
2428 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
2429 * gdb.cp/operator.exp: Use standard_testfile.
2430 * gdb.cp/oranking.exp: Use standard_testfile.
2431 * gdb.cp/overload-const.exp: Use standard_testfile.
2432 * gdb.cp/overload.exp: Use standard_testfile,
2433 prepare_for_testing.
2434 * gdb.cp/ovldbreak.exp: Use standard_testfile.
2435 * gdb.cp/ovsrch.exp: Use standard_testfile.
2436 * gdb.cp/paren-type.exp: Use standard_testfile.
2437 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
2438 prepare_for_testing.
2439 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
2440 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
2441 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
2442 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
2443 * gdb.cp/pr10728.exp: Use standard_testfile,
2444 standard_output_file.
2445 * gdb.cp/pr12028.exp: Use standard_testfile.
2446 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
2447 * gdb.cp/pr9167.exp: Use standard_testfile.
2448 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
2449 * gdb.cp/printmethod.exp: Use standard_testfile,
2450 prepare_for_testing.
2451 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
2452 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
2453 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
2454 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
2455 standard_output_file.
2456 * gdb.cp/readnow-language.exp: Use standard_testfile.
2457 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
2458 (gdb_start_again): Use clean_restart.
2459 * gdb.cp/ref-types.exp: Use standard_testfile,
2460 prepare_for_testing.
2461 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
2462 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
2463 * gdb.cp/smartp.exp: Use standard_testfile.
2464 * gdb.cp/static-method.exp: Use standard_testfile.
2465 * gdb.cp/static-print-quit.exp: Use standard_testfile.
2466 * gdb.cp/temargs.exp: Use standard_testfile.
2467 * gdb.cp/templates.exp: Use standard_testfile,
2468 prepare_for_testing.
2469 (do_tests): Update.
2470 * gdb.cp/try_catch.exp: Use standard_testfile,
2471 prepare_for_testing.
2472 * gdb.cp/typedef-operator.exp: Use standard_testfile.
2473 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
2474 * gdb.cp/virtbase.exp: Use standard_testfile,
2475 prepare_for_testing.
2476 * gdb.cp/virtfunc.exp: Use standard_testfile,
2477 prepare_for_testing.
2478 (do_tests): Update.
2479 * gdb.cp/virtfunc2.exp: Use standard_testfile,
2480 prepare_for_testing.
2481
2482 2012-07-10 Tom Tromey <tromey@redhat.com>
2483
2484 * lib/gdb.exp (standard_testfile): Unset output variables from
2485 earlier invocations.
2486
2487 2012-07-10 Yao Qi <yao@codesourcery.com>
2488
2489 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
2490 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
2491 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
2492 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
2493 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
2494 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
2495 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
2496 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
2497 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
2498 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
2499 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
2500 * gdb.mi/mi-var-display.exp: Likewise.
2501 * gdb.mi/mi-var-invalidate.exp: Likewise.
2502 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
2503 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
2504 * gdb.mi/mi2-console.exp: Likewise.
2505 * gdb.mi/mi2-disassemble.exp: Likewise.
2506 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
2507 * gdb.mi/mi2-read-memory.exp: Likewise.
2508 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
2509 * gdb.mi/mi2-simplerun.exp: Likewise.
2510 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
2511 * gdb.mi/mi2-syn-frame.exp: Likewise.
2512 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
2513 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
2514 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
2515
2516 2012-07-09 Tom Tromey <tromey@redhat.com>
2517
2518 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
2519 * gdb.base/callfuncs.exp: Add cast-based test.
2520 * gdb.base/callfuncs.c (voidfunc): New function.
2521
2522 2012-07-08 Doug Evans <dje@google.com>
2523
2524 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
2525
2526 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2527
2528 Fix XFAIL compatibility with old i386 systems.
2529 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
2530 Check also 'Cannot insert breakpoint 0'.
2531
2532 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2533
2534 PR 14321
2535 * gdb.base/find.exp
2536 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
2537
2538 2012-07-06 Tom Tromey <tromey@redhat.com>
2539
2540 * gdb.base/whatis.exp: Add test.
2541
2542 2012-07-06 Tom Tromey <tromey@redhat.com>
2543
2544 * gdb.base/whatis.exp: Add regression test.
2545
2546 2012-07-06 Tom Tromey <tromey@redhat.com>
2547
2548 * gdb.base/whatis.exp: Add tests.
2549
2550 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2551
2552 PR 12649
2553 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
2554 gdb_test_multiple $gdb_prompt terminator.
2555
2556 2012-07-04 Pedro Alves <palves@redhat.com>
2557
2558 * gdb.mi/mi-reverse.exp: Use supports_reverse and
2559 supports_process_record.
2560
2561 2012-07-04 Pedro Alves <palves@redhat.com>
2562
2563 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
2564 endings.
2565 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
2566
2567 2012-07-03 Stan Shebs <stan@codesourcery.com>
2568
2569 * gdb.base/info-os.c (main): Retry resource acquisition until an
2570 available one is found.
2571 * gdb.base/info-os.exp: Collect resource keys from the program
2572 and use them in matching.
2573
2574 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2575
2576 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
2577 Wrap the test into loop for corefile and core0file.
2578
2579 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2580
2581 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
2582 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
2583 .note.GNU-stack.
2584
2585 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
2586
2587 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
2588
2589 * gdb.base/help.exp (help b, help br, help bre, help brea, help
2590 break): Include help message for the new `-probe' and `-probe-stap'
2591 options.
2592
2593 2012-07-02 Stan Shebs <stan@codesourcery.com>
2594
2595 * gdb.base/dprintf.exp: Add agent style tests.
2596
2597 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2598
2599 * gdb.base/stale-infcall.c (infcall): New label test-next.
2600 (main): New labels test-pass and test-fail.
2601 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
2602 $test_fail_bpnum to test-fail.
2603 (test system longjmp tracking support): New test.
2604 Delete $test_fail_bpnum.
2605 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
2606 breakpoint.
2607
2608 2012-06-30 Doug Evans <dje@google.com>
2609
2610 * gdb.dwarf2/fission-reread.S: New file.
2611 * gdb.dwarf2/fission-reread.exp: New file.
2612
2613 2012-06-28 Stan Shebs <stan@codesourcery.com>
2614
2615 * gdb.mi/mi-logging.exp: New file.
2616
2617 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2618 Pedro Alves <palves@redhat.com>
2619
2620 * gdb.threads/siginfo-threads.exp: New file.
2621 * gdb.threads/siginfo-threads.c: New file.
2622 * gdb.threads/sigstep-threads.exp: New file.
2623 * gdb.threads/sigstep-threads.c: New file.
2624
2625 2012-06-28 Tom Tromey <tromey@redhat.com>
2626
2627 * gdb.go/package.exp: Partially revert earlier patch; use
2628 gdb_compile again. Use standard_output_file.
2629
2630 2012-06-27 Doug Evans <dje@google.com>
2631
2632 * gdb.dwarf2/fission-base.c: New file.
2633 * gdb.dwarf2/fission-base.S: New file.
2634 * gdb.dwarf2/fission-base.exp: New file.
2635
2636 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2637
2638 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
2639
2640 2012-06-27 Tom Tromey <tromey@redhat.com>
2641
2642 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
2643 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
2644
2645 2012-06-27 Tom Tromey <tromey@redhat.com>
2646
2647 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
2648 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
2649 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
2650 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
2651 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
2652 prepare_for_testing.
2653 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
2654 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
2655 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
2656 standard_testfile.
2657 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
2658 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
2659 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
2660 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
2661 prepare_for_testing.
2662 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
2663 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
2664 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
2665 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
2666 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
2667 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
2668 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
2669 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
2670 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
2671 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
2672 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
2673 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
2674 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
2675 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
2676 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
2677 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
2678 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
2679 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
2680 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
2681 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
2682 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
2683 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
2684 standard_output_file.
2685 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
2686 standard_output_file.
2687 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
2688 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
2689 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
2690 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
2691 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
2692 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
2693 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
2694 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
2695 * gdb.dwarf2/implptr.exp: Use standard_testfile.
2696 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
2697 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
2698 * gdb.dwarf2/pieces.exp: Use standard_testfile.
2699 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
2700 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
2701 * gdb.dwarf2/valop.exp: Use standard_testfile,
2702 prepare_for_testing.
2703
2704 2012-06-27 Tom Tromey <tromey@redhat.com>
2705
2706 * gdb.python/python.exp: Fix regexps in pagination tests.
2707
2708 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
2709
2710 * gdb.python/py-symtab.exp: Add tests to test the new attribute
2711 'last' of gdb.Symtab_and_line.
2712 * gdb.python/py-symbol.c: Move break point comment to enable
2713 testing of gdb.Symtab_and_line.last.
2714
2715 2012-06-26 Tom Tromey <tromey@redhat.com>
2716
2717 * gdb.threads/step.c: Remove.
2718 * gdb.threads/step.exp: Remove.
2719 * gdb.threads/step2.exp: Remove.
2720
2721 2012-06-26 Tom Tromey <tromey@redhat.com>
2722
2723 * gdb.threads/watchpoint-fork.exp (test): Use
2724 standard_output_file. Don't declare objdir.
2725 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
2726 standard_output_file.
2727 * gdb.threads/attach-stopped.exp: Use standard_testfile.
2728 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
2729 clean_restart. Remove incdir.
2730 * gdb.threads/corethreads.exp: Use standard_testfile.
2731 * gdb.threads/execl.exp: Use standard_testfile,
2732 standard_output_file, clean_restart.
2733 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
2734 clean_restart.
2735 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
2736 clean_restart.
2737 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
2738 incdir.
2739 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
2740 clean_restart. Remove incdir.
2741 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
2742 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
2743 clean_restart. Remove incdir.
2744 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
2745 Remove incdir.
2746 * gdb.threads/leader-exit.exp: Use standard_testfile.
2747 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
2748 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
2749 clean_restart.
2750 * gdb.threads/manythreads.exp: Use standard_testfile,
2751 clean_restart. Remove incdir.
2752 * gdb.threads/multi-create.exp: Use standard_testfile,
2753 clean_restart.
2754 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
2755 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
2756 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
2757 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
2758 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
2759 * gdb.threads/pending-step.exp: Use standard_testfile,
2760 clean_restart. Remove incdir.
2761 * gdb.threads/print-threads.exp: Use standard_testfile,
2762 clean_restart. Remove incdir.
2763 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
2764 clean_restart. Remove incdir.
2765 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
2766 Remove incdir.
2767 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
2768 incdir.
2769 * gdb.threads/sigthread.exp: Use standard_testfile,
2770 clean_restart.
2771 * gdb.threads/staticthreads.exp: Use standard_testfile,
2772 clean_restart. Remove incdir.
2773 * gdb.threads/switch-threads.exp: Use standard_testfile,
2774 clean_restart. Remove incdir.
2775 * gdb.threads/thread-execl.exp: Use standard_testfile,
2776 clean_restart. Remove incdir.
2777 * gdb.threads/thread-find.exp: Use standard_testfile,
2778 clean_restart.
2779 * gdb.threads/thread-specific.exp: Use standard_testfile,
2780 clean_restart. Remove incdir.
2781 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
2782 clean_restart. Remove incdir.
2783 * gdb.threads/thread_check.exp: Use standard_testfile,
2784 clean_restart. Remove incdir.
2785 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
2786 incdir.
2787 * gdb.threads/threadapply.exp: Use standard_testfile,
2788 clean_restart. Remove incdir.
2789 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
2790 clean_restart. Remove incdir.
2791 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
2792 clean_restart.
2793 * gdb.threads/tls-shared.exp: Use standard_testfile,
2794 clean_restart, standard_output_file.
2795 * gdb.threads/tls-var.exp: Use standard_testfile,
2796 standard_output_file.
2797 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
2798 Remove incdir.
2799 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
2800 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
2801 incdir.
2802 * gdb.threads/watchthreads2.exp: Use standard_testfile,
2803 clean_restart. Remove incdir.
2804
2805 2012-06-26 Tom Tromey <tromey@redhat.com>
2806
2807 * gdb.trace/actions.exp: Use standard_testfile.
2808 * gdb.trace/ax.exp: Use standard_testfile.
2809 * gdb.trace/backtrace.exp: Use standard_testfile.
2810 * gdb.trace/change-loc.exp: Use standard_testfile.
2811 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
2812 * gdb.trace/collection.exp: Use standard_testfile,
2813 prepare_for_testing.
2814 * gdb.trace/deltrace.exp: Use standard_testfile.
2815 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
2816 * gdb.trace/ftrace.exp: Use standard_testfile.
2817 * gdb.trace/infotrace.exp: Use standard_testfile.
2818 * gdb.trace/packetlen.exp: Use standard_testfile.
2819 * gdb.trace/passc-dyn.exp: Use standard_testfile.
2820 * gdb.trace/passcount.exp: Use standard_testfile.
2821 * gdb.trace/pending.exp: Use standard_testfile.
2822 * gdb.trace/report.exp: Use standard_testfile.
2823 * gdb.trace/save-trace.exp: Use standard_testfile.
2824 * gdb.trace/stap-trace.exp: Use standard_testfile.
2825 * gdb.trace/status-stop.exp: Use standard_testfile.
2826 * gdb.trace/strace.exp: Use standard_testfile.
2827 * gdb.trace/tfile.exp: Use standard_testfile.
2828 * gdb.trace/tfind.exp: Use standard_testfile.
2829 * gdb.trace/trace-break.exp: Use standard_testfile.
2830 * gdb.trace/trace-mt.exp: Use standard_testfile.
2831 * gdb.trace/tracecmd.exp: Use standard_testfile.
2832 * gdb.trace/tspeed.exp: Use standard_testfile.
2833 * gdb.trace/tstatus.exp: Use standard_testfile.
2834 * gdb.trace/tsv.exp: Use standard_testfile.
2835 * gdb.trace/unavailable.exp: Use standard_testfile,
2836 prepare_for_testing.
2837 * gdb.trace/while-dyn.exp: Use standard_testfile.
2838 * gdb.trace/while-stepping.exp: Use standard_testfile.
2839
2840 2012-06-26 Tom Tromey <tromey@redhat.com>
2841
2842 * gdb.reverse/break-precsave.exp: Use standard_testfile.
2843 * gdb.reverse/break-reverse.exp: Use standard_testfile.
2844 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
2845 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
2846 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
2847 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
2848 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
2849 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
2850 prepare_for_testing.
2851 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
2852 prepare_for_testing.
2853 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
2854 prepare_for_testing.
2855 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
2856 prepare_for_testing.
2857 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
2858 prepare_for_testing
2859 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
2860 * gdb.reverse/machinestate.exp: Use standard_testfile.
2861 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
2862 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
2863 build_executable.
2864 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
2865 build_executable.
2866 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
2867 standard_output_file.
2868 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
2869 standard_output_file.
2870 * gdb.reverse/step-precsave.exp: Use standard_testfile.
2871 * gdb.reverse/step-reverse.exp: Use standard_testfile.
2872 * gdb.reverse/until-precsave.exp: Use standard_testfile.
2873 * gdb.reverse/until-reverse.exp: Use standard_testfile.
2874 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
2875 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
2876
2877 2012-06-26 Tom Tromey <tromey@redhat.com>
2878
2879 * gdb.stabs/weird.exp: Remove directory-checking code. Use
2880 standard_output_file.
2881 * gdb.stabs/exclfwd.exp: Use standard_testfile,
2882 prepare_for_testing. Remove directory-checking code.
2883
2884 2012-06-25 Tom Tromey <tromey@redhat.com>
2885
2886 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
2887 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
2888 build_executable, not prepare_for_testing.
2889 * gdb.multi/base.exp: Use standard_output_file. Use
2890 build_executable, not prepare_for_testing.
2891
2892 2012-06-25 Tom Tromey <tromey@redhat.com>
2893
2894 * gdb.fortran/subarray.exp: Use standard_testfile,
2895 prepare_for_testing.
2896 * gdb.fortran/multi-dim.exp: Use standard_testfile.
2897 * gdb.fortran/module.exp: Use standard_testfile.
2898 * gdb.fortran/logical.exp: Use standard_testfile.
2899 * gdb.fortran/library-module.exp: Use standard_testfile,
2900 standard_output_file.
2901 * gdb.fortran/derived-type.exp: Use standard_testfile,
2902 prepare_for_testing.
2903 * gdb.fortran/complex.exp: Use standard_testfile,
2904 prepare_for_testing.
2905 * gdb.fortran/charset.exp: Use standard_testfile.
2906 * gdb.fortran/array-element.exp: Use standard_testfile,
2907 prepare_for_testing.
2908
2909 2012-06-25 Keith Seitz <keiths@redhat.com>
2910
2911 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
2912 Change rbreak-related tests to KFAIL and add bugzilla numbers.
2913
2914 2012-06-25 Tom Tromey <tromey@redhat.com>
2915
2916 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
2917 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
2918 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
2919 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
2920
2921 2012-06-25 Tom Tromey <tromey@redhat.com>
2922
2923 * gdb.linespec/ls-errs.exp: Use standard_testfile.
2924 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
2925 * gdb.linespec/linespec.exp: Use standard_testfile.
2926
2927 2012-06-25 Tom Tromey <tromey@redhat.com>
2928
2929 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
2930 prepare_for_testing.
2931
2932 2012-06-25 Tom Tromey <tromey@redhat.com>
2933
2934 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
2935 prepare_for_testing.
2936 * gdb.opt/inline-break.exp: Use standard_testfile,
2937 prepare_for_testing.
2938 * gdb.opt/inline-bt.exp: Use standard_testfile,
2939 prepare_for_testing.
2940 * gdb.opt/inline-cmds.exp: Use standard_testfile,
2941 prepare_for_testing.
2942 * gdb.opt/inline-locals.exp: Use standard_testfile,
2943 prepare_for_testing.
2944
2945 2012-06-25 Tom Tromey <tromey@redhat.com>
2946
2947 * gdb.asm/asm-source.exp: Use standard_output_file,
2948 standard_testfile. Construct .o files in proper subdir.
2949
2950 2012-06-25 Tom Tromey <tromey@redhat.com>
2951
2952 * gdb.server/ext-attach.exp: Use standard_testfile,
2953 prepare_for_testing.
2954 * gdb.server/ext-run.exp: Use standard_testfile,
2955 build_executable.
2956 * gdb.server/file-transfer.exp: Use standard_testfile,
2957 prepare_for_testing.
2958 * gdb.server/server-exec-info.exp: Use standard_testfile.
2959 * gdb.server/server-mon.exp: Use standard_testfile,
2960 prepare_for_testing.
2961 * gdb.server/server-run.exp: Use standard_testfile,
2962 build_executable.
2963 * gdb.server/solib-list.exp: Use standard_testfile,
2964 standard_output_file.
2965
2966 2012-06-25 Tom Tromey <tromey@redhat.com>
2967
2968 * lib/gdb.exp (standard_output_file): Use "file join".
2969 * gdb.go/chan.exp: Use standard_testfile.
2970 * gdb.go/handcall.exp: Use standard_testfile.
2971 * gdb.go/hello.exp: Use standard_testfile.
2972 * gdb.integers/chan.exp: Use standard_testfile.
2973 * gdb.go/methods.exp: Use standard_testfile.
2974 * gdb.go/package.exp: Use standard_testfile.
2975 * gdb.go/strings.exp: Use standard_testfile.
2976 * gdb.go/types.exp: Use standard_testfile.
2977 * gdb.go/unsafe.exp: Use standard_testfile.
2978
2979 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
2980
2981 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
2982
2983 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2984
2985 Fix regression by the previous commit.
2986 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
2987
2988 2012-06-22 Tom Tromey <tromey@redhat.com>
2989
2990 * gdb.python/lib-types.exp: Use standard_testfile,
2991 prepare_for_testing.
2992 * gdb.python/py-block.exp: Use standard_testfile.
2993 * gdb.python/py-breakpoint.exp: Use standard_testfile.
2994 * gdb.python/py-events.exp: Use standard_testfile,
2995 standard_output_file.
2996 * gdb.python/py-evsignal.exp: Use standard_testfile.
2997 * gdb.python/py-evethreads.exp: Use standard_testfile.
2998 * gdb.python/py-explore-cc.exp: Use standard_testfile.
2999 * gdb.python/py-explore.exp: Use standard_testfile.
3000 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
3001 standard_output_file.
3002 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
3003 prepare_for_testing.
3004 * gdb.python/py-frame-inline.exp: Use standard_testfile.
3005 * gdb.python/py-frame.exp: Use standard_testfile.
3006 * gdb.python/py-inferior.exp: Use standard_testfile.
3007 * gdb.python/py-infthread.exp: Use standard_testfile.
3008 * gdb.python/py-mi.exp: Use standard_testfile.
3009 * gdb.python/py-objfile-script.exp: Use standard_testfile,
3010 build_executable.
3011 * gdb.python/py-objfile.exp: Use standard_testfile.
3012 * gdb.python/py-pp-maint.exp: Use standard_testfile,
3013 prepare_for_testing.
3014 * gdb.python/py-prettyprint.exp: Use standard_testfile.
3015 * gdb.python/py-progspace.exp: Use standard_testfile,
3016 build_executable.
3017 * gdb.python/py-prompt.exp: Use standard_testfile,
3018 build_executable.
3019 * gdb.python/py-section-script.exp: Use standard_testfile,
3020 build_executable.
3021 * gdb.python/py-shared.exp: Use standard_testfile,
3022 standard_output_file, clean_restart.
3023 * gdb.python/py-symbol.exp: Use standard_output_file,
3024 prepare_for_testing.
3025 * gdb.python/py-symtab.exp: Use standard_output_file,
3026 prepare_for_testing
3027 * gdb.python/py-template.exp: Use standard_testfile.
3028 * gdb.python/py-type.exp: Use standard_testfile.
3029 * gdb.python/py-value-cc.exp: Use standard_testfile.
3030 * gdb.python/py-value.exp: Use standard_testfile.
3031 * gdb.python/python.exp: Use standard_testfile, build_executable.
3032
3033 2012-06-22 Tom Tromey <tromey@redhat.com>
3034
3035 * gdb.objc/basicclass.exp: Use standard_testfile.
3036 (do_objc_tests): Don't declare objdir.
3037 * gdb.objc/nondebug.exp: Use standard_testfile.
3038 (do_objc_tests): Don't declare objdir.
3039 * gdb.objc/objcdecode.exp: Use standard_testfile.
3040 (do_objc_tests): Don't declare objdir.
3041
3042 2012-06-22 Tom Tromey <tromey@redhat.com>
3043
3044 * gdb.java/jmain.exp: Use standard_testfile.
3045 * gdb.java/jmisc.exp: Use standard_testfile.
3046 * gdb.java/jnpe.exp: Use standard_testfile.
3047 * gdb.java/jprint.exp: Use standard_testfile.
3048
3049 2012-06-22 Tom Tromey <tromey@redhat.com>
3050
3051 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
3052 (standard_output_file, standard_testfile): New procs.
3053 (build_executable, clean_restart): Use standard_output_file.
3054
3055 2012-06-22 Yao Qi <yao@codesourcery.com>
3056
3057 * boards/native-gdbserver.exp: New proc ${board}_exec.
3058 * boards/native-stdio-gdbserver.exp: Likewise.
3059
3060 2012-06-21 Tom Tromey <tromey@redhat.com>
3061
3062 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
3063 (build_executable): Update.
3064 (get_compiler_info): Remove 'binfile' argument.
3065 * gdb.ada/arrayidx.exp: Update.
3066 * gdb.ada/null_array.exp: Update.
3067 * gdb.arch/altivec-abi.exp: Update.
3068 * gdb.arch/altivec-regs.exp: Update.
3069 * gdb.arch/amd64-byte.exp: Update.
3070 * gdb.arch/amd64-dword.exp: Update.
3071 * gdb.arch/amd64-word.exp: Update.
3072 * gdb.arch/i386-avx.exp: Update.
3073 * gdb.arch/i386-byte.exp: Update.
3074 * gdb.arch/i386-sse.exp: Update.
3075 * gdb.arch/i386-word.exp: Update.
3076 * gdb.arch/ppc-dfp.exp: Update.
3077 * gdb.arch/ppc-fp.exp: Update.
3078 * gdb.arch/vsx-regs.exp: Update.
3079 * gdb.base/all-bin.exp: Update.
3080 * gdb.base/annota1.exp: Update.
3081 * gdb.base/async.exp: Update.
3082 * gdb.base/attach.exp: Update.
3083 * gdb.base/break-interp.exp: Update.
3084 * gdb.base/call-ar-st.exp: Update.
3085 * gdb.base/call-rt-st.exp: Update.
3086 * gdb.base/call-sc.exp: Update.
3087 * gdb.base/callfuncs.exp: Update.
3088 * gdb.base/catch-load.exp: Update.
3089 * gdb.base/completion.exp: Update.
3090 * gdb.base/complex.exp: Update.
3091 * gdb.base/condbreak.exp: Update.
3092 * gdb.base/consecutive.exp: Update.
3093 * gdb.base/constvars.exp: Update.
3094 * gdb.base/corefile.exp: Update.
3095 * gdb.base/eval-skip.exp: Update.
3096 * gdb.base/expand-psymtabs.exp: Update.
3097 * gdb.base/exprs.exp: Update.
3098 * gdb.base/fileio.exp: Update.
3099 * gdb.base/fixsection.exp: Update.
3100 * gdb.base/funcargs.exp: Update.
3101 * gdb.base/gdb11530.exp: Update.
3102 * gdb.base/gdb1555.exp: Update.
3103 * gdb.base/gnu-ifunc.exp: Update.
3104 * gdb.base/gnu_vector.exp: Update.
3105 * gdb.base/info-macros.exp: Update.
3106 * gdb.base/jit-simple.exp: Update.
3107 * gdb.base/jit-so.exp: Update.
3108 * gdb.base/jit.exp: Update.
3109 * gdb.base/langs.exp: Update.
3110 * gdb.base/list.exp: Update.
3111 * gdb.base/logical.exp: Update.
3112 * gdb.base/long_long.exp: Update.
3113 * gdb.base/longjmp.exp: Update.
3114 * gdb.base/macscp.exp: Update.
3115 * gdb.base/mips_pro.exp: Update.
3116 * gdb.base/miscexprs.exp: Update.
3117 * gdb.base/morestack.exp: Update.
3118 * gdb.base/nodebug.exp: Update.
3119 * gdb.base/opaque.exp: Update.
3120 * gdb.base/pc-fp.exp: Update.
3121 * gdb.base/pending.exp: Update.
3122 * gdb.base/permissions.exp: Update.
3123 * gdb.base/pointers.exp: Update.
3124 * gdb.base/prelink.exp: Update.
3125 * gdb.base/printcmds.exp: Update.
3126 * gdb.base/psymtab.exp: Update.
3127 * gdb.base/ptype.exp: Update.
3128 * gdb.base/relational.exp: Update.
3129 * gdb.base/scope.exp: Update.
3130 * gdb.base/setvar.exp: Update.
3131 * gdb.base/shlib-call.exp: Update.
3132 * gdb.base/shreloc.exp: Update.
3133 * gdb.base/signals.exp: Update.
3134 * gdb.base/sizeof.exp: Update.
3135 * gdb.base/so-impl-ld.exp: Update.
3136 * gdb.base/so-indr-cl.exp: Update.
3137 * gdb.base/solib-disc.exp: Update.
3138 * gdb.base/solib-display.exp: Update.
3139 * gdb.base/solib-nodir.exp: Update.
3140 * gdb.base/solib-overlap.exp: Update.
3141 * gdb.base/solib-symbol.exp: Update.
3142 * gdb.base/solib-weak.exp: Update.
3143 * gdb.base/solib.exp: Update.
3144 * gdb.base/store.exp: Update.
3145 * gdb.base/structs.exp: Update.
3146 * gdb.base/structs2.exp: Update.
3147 * gdb.base/type-opaque.exp: Update.
3148 * gdb.base/unload.exp: Update.
3149 * gdb.base/varargs.exp: Update.
3150 * gdb.base/volatile.exp: Update.
3151 * gdb.base/watch_thread_num.exp: Update.
3152 * gdb.base/watchpoint-solib.exp: Update.
3153 * gdb.base/watchpoint.exp: Update.
3154 * gdb.base/watchpoints.exp: Update.
3155 * gdb.base/whatis.exp: Update.
3156 * gdb.cell/arch.exp: Update.
3157 * gdb.cell/break.exp: Update.
3158 * gdb.cell/bt.exp: Update.
3159 * gdb.cell/core.exp: Update.
3160 * gdb.cell/data.exp: Update.
3161 * gdb.cell/ea-cache.exp: Update.
3162 * gdb.cell/f-regs.exp: Update.
3163 * gdb.cell/fork.exp: Update.
3164 * gdb.cell/gcore.exp: Update.
3165 * gdb.cell/mem-access.exp: Update.
3166 * gdb.cell/ptype.exp: Update.
3167 * gdb.cell/registers.exp: Update.
3168 * gdb.cell/sizeof.exp: Update.
3169 * gdb.cell/solib-symbol.exp: Update.
3170 * gdb.cell/solib.exp: Update.
3171 * gdb.cp/ambiguous.exp: Update.
3172 * gdb.cp/breakpoint.exp: Update.
3173 * gdb.cp/bs15503.exp: Update.
3174 * gdb.cp/casts.exp: Update.
3175 * gdb.cp/class2.exp: Update.
3176 * gdb.cp/cpexprs.exp: Update.
3177 * gdb.cp/cplusfuncs.exp: Update.
3178 * gdb.cp/ctti.exp: Update.
3179 * gdb.cp/dispcxx.exp: Update.
3180 * gdb.cp/gdb1355.exp: Update.
3181 * gdb.cp/gdb2384.exp: Update.
3182 * gdb.cp/gdb2495.exp: Update.
3183 * gdb.cp/infcall-dlopen.exp: Update.
3184 * gdb.cp/local.exp: Update.
3185 * gdb.cp/m-data.exp: Update.
3186 * gdb.cp/m-static.exp: Update.
3187 * gdb.cp/mb-ctor.exp: Update.
3188 * gdb.cp/mb-inline.exp: Update.
3189 * gdb.cp/mb-templates.exp: Update.
3190 * gdb.cp/member-ptr.exp: Update.
3191 * gdb.cp/method.exp: Update.
3192 * gdb.cp/namespace.exp: Update.
3193 * gdb.cp/nextoverthrow.exp: Update.
3194 * gdb.cp/nsdecl.exp: Update.
3195 * gdb.cp/nsrecurs.exp: Update.
3196 * gdb.cp/nsstress.exp: Update.
3197 * gdb.cp/nsusing.exp: Update.
3198 * gdb.cp/pr-1023.exp: Update.
3199 * gdb.cp/pr-1210.exp: Update.
3200 * gdb.cp/pr-574.exp: Update.
3201 * gdb.cp/pr9631.exp: Update.
3202 * gdb.cp/printmethod.exp: Update.
3203 * gdb.cp/psmang.exp: Update.
3204 * gdb.cp/re-set-overloaded.exp: Update.
3205 * gdb.cp/rtti.exp: Update.
3206 * gdb.cp/shadow.exp: Update.
3207 * gdb.cp/templates.exp: Update.
3208 * gdb.cp/try_catch.exp: Update.
3209 * gdb.dwarf2/dw2-ranges.exp: Update.
3210 * gdb.dwarf2/pr10770.exp: Update.
3211 * gdb.fortran/library-module.exp: Update.
3212 * gdb.hp/gdb.aCC/optimize.exp: Update.
3213 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
3214 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
3215 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
3216 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
3217 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
3218 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
3219 * gdb.hp/gdb.compat/xdb1.exp: Update.
3220 * gdb.hp/gdb.compat/xdb2.exp: Update.
3221 * gdb.hp/gdb.compat/xdb3.exp: Update.
3222 * gdb.hp/gdb.defects/bs14602.exp: Update.
3223 * gdb.hp/gdb.defects/solib-d.exp: Update.
3224 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
3225 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
3226 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
3227 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
3228 * gdb.mi/gdb792.exp: Update.
3229 * gdb.mi/mi-pending.exp: Update.
3230 * gdb.mi/mi-solib.exp: Update.
3231 * gdb.mi/mi-var-cp.exp: Update.
3232 * gdb.opt/clobbered-registers-O2.exp: Update.
3233 * gdb.opt/inline-bt.exp: Update.
3234 * gdb.opt/inline-cmds.exp: Update.
3235 * gdb.opt/inline-locals.exp: Update.
3236 * gdb.python/py-events.exp: Update.
3237 * gdb.python/py-finish-breakpoint.exp: Update.
3238 * gdb.python/py-type.exp: Update.
3239 * gdb.reverse/solib-precsave.exp: Update.
3240 * gdb.reverse/solib-reverse.exp: Update.
3241 * gdb.server/solib-list.exp: Update.
3242 * gdb.stabs/weird.exp: Update.
3243 * gdb.threads/attach-into-signal.exp: Update.
3244 * gdb.threads/attach-stopped.exp: Update.
3245 * gdb.threads/tls-shared.exp: Update.
3246 * gdb.trace/change-loc.exp: Update.
3247 * gdb.trace/strace.exp: Update.
3248
3249 2012-06-19 Tom Tromey <tromey@redhat.com>
3250
3251 * gdb.base/whatis.exp: Add tests.
3252
3253 2012-06-19 Tom Tromey <tromey@redhat.com>
3254
3255 * gdb.cp/m-static.cc (keepalive): New function.
3256 (gnu_obj_1::method): Use it.
3257
3258 2012-06-18 Doug Evans <dje@google.com>
3259
3260 * gdb.base/info-fun.exp: New file.
3261 * gdb.base/info-fun.c: New file.
3262 * gdb.base/info-fun-solib.c: New file.
3263
3264 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3265
3266 Remove stale dummy frames.
3267 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
3268 (maintenance info breakpoints): New tests.
3269 * gdb.base/stale-infcall.c: New file.
3270 * gdb.base/stale-infcall.exp: New file.
3271
3272 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3273
3274 * gdb.arch/amd64-entry-value-param.S: New file.
3275 * gdb.arch/amd64-entry-value-param.c: New file.
3276 * gdb.arch/amd64-entry-value-param.exp: New file.
3277
3278 2012-06-15 Tom Tromey <tromey@redhat.com>
3279
3280 * gdb.cp/namespace.exp: Add "show lang" test.
3281
3282 2012-06-15 Iain Sandoe <iain@codesourcery.com>
3283
3284 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
3285 case. (top level): Use gdb_file_cmd instead of gdb_load.
3286
3287 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3288
3289 PR tdep/14222
3290 * gdb.arch/i386-sse-stack-align.S: New file.
3291 * gdb.arch/i386-sse-stack-align.c: New file.
3292 * gdb.arch/i386-sse-stack-align.exp: New file.
3293
3294 2012-06-13 Keith Seitz <keiths@redhat.com>
3295
3296 PR breakpoints/13798 and mi/11541
3297 * gdb.linespec/ls-errs.exp: Add a few more tests for
3298 filenames with spaces and colons.
3299
3300 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3301
3302 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
3303 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
3304 (test_function): Call CV_f.
3305 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
3306 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
3307 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
3308 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
3309 (p CV_f(CV::i)): New tests.
3310
3311 2012-06-13 Tom Tromey <tromey@redhat.com>
3312
3313 * gdb.base/condbreak.exp: Add tests for "condition" completion.
3314
3315 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3316
3317 Fix regression by the "ambiguous linespec" series.
3318 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
3319 tests.
3320
3321 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3322
3323 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
3324 missing.
3325
3326 2012-06-11 Tom Tromey <tromey@redhat.com>
3327
3328 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
3329 location...
3330 (main): ...here.
3331
3332 2012-06-07 Yao Qi <yao@codesourcery.com>
3333
3334 * gdb.trace/strace.exp: Shorten some too-long lines.
3335
3336 2012-06-06 Pedro Alves <palves@redhat.com>
3337
3338 * gdb.threads/clone-new-thread-event.c: New file.
3339 * gdb.threads/clone-new-thread-event.exp: New file.
3340
3341 2012-06-06 Yao Qi <yao@codesourcery.com>
3342
3343 * gdb.base/dprintf.c (main): Add extra parameter when calling
3344 printf and fprintf.
3345 (bar): New function. It is a dead function, but to ensure
3346 'malloc' is linked explicitly.
3347
3348 2012-06-06 Yao Qi <yao@codesourcery.com>
3349
3350 * gdb.base/info-proc.exp: Return if target doesn't support
3351 'info proc'.
3352
3353 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3354
3355 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
3356 (run program with breakpoint commands): XFAIl if it is not.
3357
3358 2012-06-05 Joel Brobecker <brobecker@adacore.com>
3359
3360 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
3361 and add comment.
3362 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
3363 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
3364 "STOP" marker. Adjust testing strategy to make it work on
3365 all targets.
3366
3367 * gdb.base/print-file-var-main.c (main): Rewrite using local
3368 variables and adjust get_version_2's return value check.
3369 Add small comment.
3370 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
3371 marker. Adjust testing strategy to make it work on all targets.
3372
3373 2012-06-05 Joel Brobecker <brobecker@adacore.com>
3374
3375 * gdb.ada/bad-task-bp-keyword: New testcase.
3376
3377 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3378
3379 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
3380 Simplify it to ...
3381 (symbol-file ${testfile1}): ... here.
3382 (test eliminated var my_global_symbol)
3383 (test eliminated var my_static_symbol)
3384 (test eliminated var my_global_func, get address of main): Wrap them to
3385 'single psymtabs' and 'single symtabs'
3386 (get address of my_global_symbol, get address of my_static_symbol)
3387 (get address of my_global_func, get address of main): Wrap them to
3388 'order1' and 'order2'.
3389
3390 * gdb.base/code_elim.exp
3391 (add-symbol-file ${testfile1} 0x100000)
3392 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
3393 'order2'.
3394 (order1: add-symbol-file ${testfile1} 0x100000)
3395 (order1: add-symbol-file ${testfile2} 0x200000)
3396 (order2: add-symbol-file ${testfile2} 0x200000)
3397 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
3398 .bss as appropriate.
3399
3400 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3401
3402 * gdb.server/solib-list-lib.c: New file.
3403 * gdb.server/solib-list-main.c: New file.
3404 * gdb.server/solib-list.exp: New file.
3405
3406 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
3407
3408 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
3409 for 'set print symbol' change.
3410
3411 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3412
3413 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
3414 .debug_abbrev_seg3.
3415
3416 2012-05-24 John Steele Scott <toojays@toojays.net>
3417
3418 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
3419 * gdb.dwarf2/dw2-icc-opaque.S: New file.
3420 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
3421
3422 2012-05-23 Stan Shebs <stan@codesourcery.com>
3423
3424 * gdb.mi/mi-info-os.exp: New file.
3425
3426 2012-05-23 Keith Seitz <keiths@redhat.com>
3427
3428 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
3429 return -1 to suppress the rest of the tests.
3430 (compile_stap_bin): Return boolean success value.
3431
3432 2012-05-21 Tom Tromey <tromey@redhat.com>
3433
3434 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
3435 Remove kfails.
3436 (test_print_mi_member_types): Likewise.
3437
3438 2012-05-21 Tom Tromey <tromey@redhat.com>
3439
3440 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
3441 print symbol' change.
3442
3443 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
3444
3445 * gdb.python/py-prompt.exp: Quit if the target is remote.
3446
3447 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3448
3449 Fix ERROR: internal buffer is full.
3450 * gdb.base/info-os.exp (expect_multiline): New function.
3451 (get process list, get process groups, get threads)
3452 (get file descriptors, get internet-domain sockets)
3453 (get shared-memory regions, get semaphores, get message queues): Use
3454 it for these tests.
3455
3456 2012-05-18 Tom Tromey <tromey@redhat.com>
3457
3458 * gdb.mi/mi-var-cmd.exp: Update.
3459 * gdb.objc/basicclass.exp (do_objc_tests): Update.
3460 * gdb.cp/virtbase.exp: Update.
3461 * gdb.cp/classes.exp (test_static_members): Update.
3462 * gdb.cp/casts.exp: Update.
3463 * gdb.base/pointers.exp: Update.
3464 * gdb.base/funcargs.exp (pointer_args): Update.
3465 (structs_by_reference): Update.
3466 * gdb.base/find.exp: Update.
3467 * gdb.base/call-strs.exp: Send "set print symbol off".
3468 * gdb.base/call-ar-st.exp: Update.
3469 * gdb.ada/fun_addr.exp: Update.
3470 * gdb.base/printcmds.exp (test_print_symbol): New proc.
3471 Call it.
3472 (test_print_repeats_10, test_print_strings)
3473 (test_print_char_arrays): Update.
3474
3475 2012-05-18 Tom Tromey <tromey@redhat.com>
3476
3477 * gdb.base/charset.exp (string_display): Update.
3478
3479 2012-05-18 Tom Tromey <tromey@redhat.com>
3480
3481 * gdb.mi/mi2-var-display.exp: Update.
3482 * gdb.mi/mi-var-display.exp: Update.
3483 * gdb.mi/mi-var-child.exp: Update.
3484 * gdb.cp/expand-psymtabs-cxx.exp: Update.
3485 * gdb.cp/cp-relocate.exp (get_func_address): Update.
3486
3487 2012-05-17 Doug Evans <dje@google.com>
3488
3489 * info-macros.exp: Pass "debug" to prepare_for_testing.
3490
3491 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
3492 * gdb.ada/Makefile.in (clean): Ditto.
3493 * gdb.arch/Makefile.in (clean): Ditto.
3494 * gdb.asm/Makefile.in (clean): Ditto.
3495 * gdb.base/Makefile.in (clean): Ditto.
3496 * gdb.cell/Makefile.in (clean): Ditto.
3497 * gdb.cp/Makefile.in (clean): Ditto.
3498 * gdb.disasm/Makefile.in (clean): Ditto.
3499 * gdb.dwarf2/Makefile.in (clean): Ditto.
3500 * gdb.fortran/Makefile.in (clean): Ditto.
3501 * gdb.go/Makefile.in (clean): Ditto.
3502 * gdb.hp/Makefile.in (clean): Ditto.
3503 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
3504 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
3505 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
3506 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
3507 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
3508 * gdb.java/Makefile.in (clean): Ditto.
3509 * gdb.linespec/Makefile.in (clean): Ditto.
3510 * gdb.mi/Makefile.in (clean): Ditto.
3511 * gdb.modula2/Makefile.in (clean): Ditto.
3512 * gdb.multi/Makefile.in (clean): Ditto.
3513 * gdb.objc/Makefile.in (clean): Ditto.
3514 * gdb.opencl/Makefile.in (clean): Ditto.
3515 * gdb.opt/Makefile.in (clean): Ditto.
3516 * gdb.pascal/Makefile.in (clean): Ditto.
3517 * gdb.python/Makefile.in (clean): Ditto.
3518 * gdb.reverse/Makefile.in (clean): Ditto.
3519 * gdb.server/Makefile.in (clean): Ditto.
3520 * gdb.stabs/Makefile.in (clean): Ditto.
3521 * gdb.threads/Makefile.in (clean): Ditto.
3522 * gdb.trace/Makefile.in (clean): Ditto.
3523 * gdb.xml/Makefile.in (clean): Ditto.
3524
3525 2012-05-16 Tom Tromey <tromey@redhat.com>
3526
3527 * gdb.base/macscp1.c (macscp_expr): Add comment.
3528 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
3529
3530 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3531
3532 * gdb.base/return-nodebug.exp: Also test float and double types.
3533
3534 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3535
3536 PR testsuite/12649
3537 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
3538
3539 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
3540
3541 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
3542
3543 * gdb.base/stap-probe.exp (stap_test): Remove calls to
3544 `rerun_to_main'.
3545 (stap_test_no_debuginfo): Likewise.
3546
3547 2012-05-14 Stan Shebs <stan@codesourcery.com>
3548
3549 * gdb.base/dprintf.c: New file.
3550 * gdb.base/dprintf.exp: New file.
3551
3552 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
3553
3554 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
3555 * gdb.trace/disconnected-tracing.c: New file.
3556 * gdb.trace/disconnected-tracing.exp: New file.
3557
3558 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
3559
3560 * gdb.python/python.c: Add a new breakpoint comment.
3561 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
3562
3563 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
3564
3565 * gdb.base/info-os.exp: New file.
3566 * gdb.base/info-os.c: New file.
3567
3568 2012-05-10 Joel Brobecker <brobecker@adacore.com>
3569
3570 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
3571 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
3572 New files.
3573
3574 2012-05-10 Joel Brobecker <brobecker@adacore.com>
3575
3576 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
3577 gdb.base/ctxobj.exp: New files.
3578
3579 2012-05-09 Tom Tromey <tromey@redhat.com>
3580
3581 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
3582
3583 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
3584
3585 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
3586
3587 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
3588
3589 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
3590 before using it.
3591
3592 2012-05-04 Tristan Gingold <gingold@adacore.com>
3593
3594 * gdb.base/set-noassign.exp: New test.
3595
3596 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
3597
3598 * gdb.python/py-symbol.exp: Add tests to test the new methods
3599 gdb.Symtab.global_block() and gdb.Symtab.static_block().
3600 * gdb.python/py-symbol.c: Add new struct to help test
3601 gdb.Symtab.static_block().
3602
3603 2012-05-03 Doug Evans <dje@google.com>
3604
3605 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
3606 commented out.
3607
3608 2012-05-03 Yao Qi <yao@codesourcery.com>
3609
3610 * gdb.base/catch-syscall.exp: Skip it before compilation if target
3611 doesn't support.
3612 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
3613 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
3614
3615 2012-05-03 Yao Qi <yao@codesourcery.com>
3616
3617 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
3618
3619 2012-04-30 Doug Evans <dje@google.com>
3620
3621 PR testsuite/13961
3622 * gdb.dwarf2/pr13961.S: New file.
3623 * gdb.dwarf2/pr13961.exp: New file.
3624
3625 2012-04-29 Yao Qi <yao@codesourcery.com>
3626
3627 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
3628
3629 2012-04-28 Doug Evans <dje@google.com>
3630
3631 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
3632 .Ltype_int_in_cu2. Use name "int2" instead of "int".
3633 All uses updated.
3634 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
3635 "ptype func_cu1" to expand cu2 before cu1.
3636
3637 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
3638 Tom Tromey <tromey@redhat.com>
3639
3640 * gdb.base/default.exp: Add `$_probe_arg*' convenience
3641 variables.
3642 * gdb.base/stap-probe.c: New file.
3643 * gdb.base/stap-probe.exp: New file.
3644 * gdb.trace/stap-trace.c: New file.
3645 * gdb.trace/stap-trace.exp: New file.
3646 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
3647 libgcc's unwinder.
3648
3649 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
3650
3651 * gdb.arch/mips16-thunks-inmain.c: New file.
3652 * gdb.arch/mips16-thunks-main.c: New file.
3653 * gdb.arch/mips16-thunks-sin.c: New file.
3654 * gdb.arch/mips16-thunks-sinfrob.c: New file.
3655 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
3656 * gdb.arch/mips16-thunks-sinmain.c: New file.
3657 * gdb.arch/mips16-thunks-sinmips16.c: New file.
3658 * gdb.arch/mips16-thunks.exp: New file.
3659
3660 2012-04-25 Doug Evans <dje@google.com>
3661
3662 * configure.ac: Create gdb.go/Makefile.
3663 * configure: Regenerate.
3664 * gdb.base/default.exp: Add "go" to "set language" testing.
3665 * gdb.go/Makefile.in: New file.
3666 * gdb.go/basic-types.exp: New file.
3667 * gdb.go/chan.exp: New file.
3668 * gdb.go/chan.go: New file.
3669 * gdb.go/handcall.exp: New file.
3670 * gdb.go/handcall.go: New file.
3671 * gdb.go/hello.exp: New file.
3672 * gdb.go/hello.go: New file.
3673 * gdb.go/integers.exp: New file.
3674 * gdb.go/integers.go: New file.
3675 * gdb.go/methods.exp: New file.
3676 * gdb.go/methods.go: New file.
3677 * gdb.go/package.exp: New file.
3678 * gdb.go/package1.go: New file.
3679 * gdb.go/package2.go: New file.
3680 * gdb.go/print.exp: New file.
3681 * gdb.go/strings.exp: New file.
3682 * gdb.go/strings.go: New file.
3683 * gdb.go/types.exp: New file.
3684 * gdb.go/types.go: New file.
3685 * gdb.go/unsafe.exp: New file.
3686 * gdb.go/unsafe.go: New file.
3687 * lib/future.exp: Add Go support.
3688 (gdb_find_go, gdb_find_go_linker): New procs.
3689 (gdb_default_target_compile): Add Go support.
3690 * lib/gdb.exp (skip_go_tests): New proc.
3691 * lib/go.exp: New file.
3692
3693 2012-04-25 Tom Tromey <tromey@redhat.com>
3694
3695 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
3696
3697 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3698 Jan Kratochvil <jan.kratochvil@redhat.com>
3699
3700 PR symtab/7259:
3701 * gdb.base/enumval.c: New test case.
3702 * gdb.base/enumval.exp: New test case.
3703 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
3704 field.bitpos.
3705
3706 2012-04-17 Pedro Alves <palves@redhat.com>
3707
3708 * Makefile.in (site.exp): Make site.exp source
3709 $srcdir/lib/append_gdb_boards_dir.exp.
3710 * lib/append_gdb_boards_dir.exp: New file.
3711
3712 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3713
3714 New option "set auto-load safe-path".
3715 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
3716 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
3717
3718 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3719
3720 auto-load: Implementation.
3721 * gdb.base/help.exp (test set height): Increase the height.
3722 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
3723 to ...
3724 (info auto-load python-scripts): ... here.
3725 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
3726 to ...
3727 (info auto-load python-scripts *): ... here.
3728
3729 2012-04-16 Yao Qi <yao@codesourcery.com>
3730
3731 * lib/trace-support.exp (get_in_proc_agent): New.
3732 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
3733 of in process trace agent.
3734 * gdb.trace/ftrace.exp: Likewise.
3735 * gdb.trace/pending.exp: Likewise.
3736 * gdb.trace/trace-break.exp: Likewise.
3737 * gdb.trace/trace-mt.exp
3738 * gdb.trace/tspeed.exp: Likewise.
3739 * gdb.trace/tstatus.exp
3740 * gdb.trace/strace.exp: Likewise.
3741
3742 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
3743
3744 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
3745 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
3746
3747 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
3748
3749 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
3750
3751 PR mi/13393
3752 * gdb.mi/mi-var-rtti.cc: New file.
3753 * gdb.mi/mi-var-rtti.exp: New file.
3754 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
3755 function.
3756 (mi_varobj_update_with_type_change): updated to avoid code duplication.
3757
3758 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
3759
3760 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
3761 EXECUTABLES.
3762 * gdb.python/py-explore.c: C program used for testing the new
3763 'explore' command on C constructs.
3764 * gdb.python/py-explore.cc: C++ program used for testing the new
3765 'explore' command on C++ constructs.
3766 * gdb-python/py-explore.exp: Tests for the new 'explore'
3767 command on C constructs.
3768 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
3769 command on C++ constructs.
3770
3771 2012-04-07 Mark Kettenis <kettenis@gnu.org>
3772
3773 * gdb.base/funcargs.exp (complex_args): Fix typo.
3774
3775 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3776
3777 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
3778 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
3779
3780 2012-04-05 Keith Seitz <keiths@redhat.com>
3781
3782 * gdb.base/advance.exp: Update error message for
3783 "advance malformed" test.
3784 * gdb.base/break.exp: Likewise for "breakpoint with
3785 trailing garbage" test.
3786 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
3787 with trailing garbage" test.
3788 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
3789 trailng garbage" test.
3790 * gdb.base/until.exp: Likewise for "malformed until" test.
3791 * gdb.cp/ovldbreak.exp: Create the breakpoint table
3792 for "breakpoint info (after setting on all)".
3793 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
3794 tests.
3795 * gdb.cp/cplabel.cc: New file.
3796 * gdb.cp/cplabel.exp: New test.
3797 * gdb.linespec/ls-errs.c: New file.
3798 * gdb.linespec/ls-errs.exp: New test.
3799
3800 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3801
3802 * gdb.trace/unavailable.exp
3803 (collect globals: print object on: print derived_partial)
3804 (collect globals: print object on: print derived_whole)
3805 (collect globals: print object off: print derived_partial)
3806 (collect globals: print object off: print derived_whole): Update
3807 expected output.
3808
3809 2012-03-30 Keith Seitz <keiths@redhat.com>
3810
3811 * gdb.python: Add test for linespecs with commas.
3812
3813 2012-03-28 Keith Seitz <keiths@redhat.com>
3814
3815 * gdb.linespec/ls-dollar.cc: New file.
3816 * gdb.linespec/ls-dollar.exp: New test.
3817
3818 2012-03-28 Keith Seitz <keiths@redhat.com>
3819
3820 * gdb.cp/namespace.exp: Add breakpoint tests for functions
3821 starting with the global namespace.
3822
3823 2012-03-23 Doug Evans <dje@google.com>
3824
3825 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
3826
3827 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
3828
3829 * gdb.python/py-value.cc: Add test case for testing the
3830 methodology exposing C++ values to Python.
3831 * gdb.python/py-value-cc.exp: Add tests testing the methodology
3832 exposing C++ values to Python.
3833 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
3834
3835 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3836 Siddhesh Poyarekar <siddhesh@redhat.com>
3837
3838 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
3839 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
3840 (generate native core dump): Make the test unsupported if core cannot
3841 be generated.
3842
3843 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3844
3845 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
3846 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
3847 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
3848
3849 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3850
3851 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
3852
3853 2012-03-17 Doug Evans <dje@google.com>
3854
3855 * dg-extract-results.sh: Handle KFAILs.
3856
3857 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3858
3859 PR symtab/13777
3860 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
3861
3862 2012-03-16 Joel Brobecker <brobecker@adacore.com>
3863
3864 * gdb.ada/set_pckd_arr_elt: New testcase.
3865
3866 2012-03-16 Gary Benson <gbenson@redhat.com>
3867
3868 PR breakpoints/10738
3869 * gdb.opt/inline-break.exp: New file.
3870 * gdb.opt/inline-break.c: Likewise.
3871 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
3872 * gdb.dwarf2/dw2-inline-break.S: Likewise.
3873 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
3874 * gdb.base/async-shell.exp: Likewise.
3875 * lib/mi-support.exp (library_loaded_re): Likewise.
3876
3877 2012-03-15 Tom Tromey <tromey@redhat.com>
3878
3879 * gdb.cp/virtfunc2.exp: Update expected output.
3880 * gdb.cp/pr9631.exp: Update expected output.
3881 * gdb.cp/member-ptr.exp: Update expected output.
3882 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
3883 output.
3884 * gdb.cp/casts.exp: Update expected output.
3885
3886 2012-03-15 Tom Tromey <tromey@redhat.com>
3887
3888 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
3889 (test_info_vtbl): Likewise.
3890 (do_tests): Call test_info_vtbl.
3891 * gdb.cp/virtfunc.cc (va): New global.
3892
3893 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
3894
3895 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
3896 describing DWARF data structures.
3897 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
3898 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
3899 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
3900 * gdb.dwarf2/dw2-entry-value.S: Likewise.
3901 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3902 * gdb.dwarf2/dw2-param-error.S: Likewise.
3903 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
3904 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
3905 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
3906 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
3907 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
3908 * gdb.dwarf2/pr11465.S: Likewise.
3909
3910 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3911
3912 * gdb.mi/mi2-prompt.exp: New file.
3913
3914 2012-03-13 Joel Brobecker <brobecker@adacore.com>
3915
3916 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
3917
3918 2012-03-13 Joel Brobecker <brobecker@adacore.com>
3919
3920 * gdb.ada/bp_range_type: New testcase.
3921
3922 2012-03-13 Doug Evans <dje@google.com>
3923
3924 * gdb.base/default.exp: Delete tests for symbol-reloading.
3925 * gdb.base/help.exp: Ditto.
3926 * gdb.base/setshow.exp: Ditto.
3927 * gdb.base/gdb_history: Delete references to symbol-reloading.
3928
3929 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3930
3931 * gdb.base/attach-twice.c: New files.
3932 * gdb.base/attach-twice.exp: New files.
3933
3934 2012-03-08 Keith Seitz <keiths@redhat.com>
3935
3936 * lib/gdb.exp (gdb_get_line_number): Throw an
3937 error instead of returning -1.
3938 * gdb.base/break.exp: Remove unused variable
3939 bp_location5.
3940 * gdb.base/hbreak2.exp: Likewise.
3941 * gdb.base/sepdebug.exp: Likewise.
3942
3943 2012-03-08 Yao Qi <yao@codesourcery.com>
3944 Pedro Alves <palves@redhat.com>
3945
3946 Fix PR server/13392.
3947 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
3948 (tracepoint_change_loc_2): Remove kfail. Return if failed to
3949 download tracepoints.
3950 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
3951 (pending_tracepoint_resolved_during_trace): Likewise.
3952 (pending_tracepoint_installed_during_trace): Likewise.
3953 (pending_tracepoint_with_action_resolved): Likewise.
3954
3955 2012-03-08 Keith Seitz <keiths@redhat.com>
3956
3957 * gdb.ada/array_bounds.exp: Get breakpoint for line
3958 with "START", not "STOP".
3959 * gdb.python/py-infthread.exp: Do not continue to
3960 line marked "Break here.", which is undefined.
3961
3962 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
3963
3964 Revert:
3965
3966 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3967
3968 Implement testsuite workaround for PR breakpoints/13781.
3969 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
3970 (set breakpoint condition-evaluation host): New conditional command.
3971
3972 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3973
3974 Fix CU relative vs. absolute DIE offsets.
3975 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
3976 one.
3977
3978 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3979
3980 Fix false FAIL on distros with relro linkage as default.
3981 * gdb.reverse/solib-precsave.exp: Try to compile the test using
3982 -Wl,-z,norelro first.
3983
3984 2012-03-06 Joel Brobecker <brobecker@adacore.com>
3985
3986 * gdb.ada/bp_on_var: New testcase.
3987
3988 2012-03-06 Joel Brobecker <brobecker@adacore.com>
3989
3990 * gdb.ada/bp_enum_homonym: New testcase.
3991
3992 2012-03-06 Yao Qi <yao@codesourcery.com>
3993
3994 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
3995 x86_64-*-* and i?86-*-*.
3996 Set up KFAIL for gdb/13808.
3997
3998 2012-03-05 Tom Tromey <tromey@redhat.com>
3999
4000 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
4001 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
4002
4003 2012-03-05 Tom Tromey <tromey@redhat.com>
4004
4005 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
4006
4007 2012-03-04 Yao Qi <yao@codesourcery.com>
4008
4009 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
4010 messages for KFAIL.
4011
4012 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4013
4014 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
4015 (print one_two_three, indexes off, print few_reps, indexes off)
4016 (print many_reps, indexes off, print empty, indexes off)
4017 (print one_two_three, print few_reps, print many_reps, print empty):
4018 Call setup_xfail if $gcc_old.
4019
4020 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4021
4022 Implement testsuite workaround for PR breakpoints/13781.
4023 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
4024 (set breakpoint condition-evaluation host): New conditional command.
4025
4026 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4027
4028 Code cleanup.
4029 * gdb.cp/mb-templates.exp: New variables executable. Use it for
4030 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
4031 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
4032 number 1 by $bpnum. Four times.
4033
4034 2012-03-03 Yao Qi <yao@codesourcery.com>
4035
4036 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
4037
4038 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4039
4040 Setup KFAIL for PR server/13796.
4041 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
4042
4043 2012-03-02 Joel Brobecker <brobecker@adacore.com>
4044
4045 * gdb.ada/operator_bp: New testcase.
4046
4047 2012-03-02 Joel Brobecker <brobecker@adacore.com>
4048
4049 * gdb.ada/info_locals_renaming: New testcase.
4050
4051 2012-03-02 Tom Tromey <tromey@redhat.com>
4052
4053 * gdb.base/nextoverexit.c: New file.
4054 * gdb.base/nextoverexit.exp: New file.
4055
4056 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
4057
4058 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
4059 parameter.
4060
4061 2012-03-01 Maciej W. Rozycki <macro@mips.com>
4062
4063 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
4064 core registers.
4065
4066 2012-03-01 Maciej W. Rozycki <macro@mips.com>
4067 Maciej W. Rozycki <macro@codesourcery.com>
4068 Daniel Jacobowitz <dan@codesourcery.com>
4069
4070 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
4071
4072 2012-03-01 Pedro Alves <palves@redhat.com>
4073
4074 PR gdb/13767
4075
4076 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
4077 (gdb_collect_globals_test): Call it.
4078
4079 2012-03-01 Keith Seitz <keiths@redhat.com>
4080
4081 * gdb.cp/method2.exp: Output of overload menu is now
4082 alphabetized. Update tests for "break A::method".
4083 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
4084 of hard-coding them.
4085 Overload menu is alphabetized: rewrite to accommodate.
4086 Unset variables LINE and TYPES which are used in other tests.
4087 Compute the output of "info break".
4088 Update the breakpoint table after all breakpoints are deleted.
4089 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
4090 compute ACTUALS and the method body based on parameters.
4091 Update expected output accordingly.
4092 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
4093 unique comments to allow the use of gdb_get_line_number.
4094
4095 2012-03-01 Keith Seitz <keiths@redhat.com>
4096
4097 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
4098 some Tcl syntax.
4099 * gdb.cp/ovldbreak.exp: Likewise.
4100
4101 2012-03-01 Keith Seitz <keiths@redhat.com>
4102
4103 * gdb.base/help.exp (help show user): Update expected result
4104 for new doc string changes (add "non-python").
4105
4106 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
4107
4108 * gdb.python/py-cmd.exp: Add test to verify that python commands can
4109 be put in the user-defined category and that the commands appear in
4110 "help user-defined".
4111
4112 2012-02-29 Joel Brobecker <brobecker@adacore.com>
4113
4114 * gdb.ada/tagged_not_init: New testcase.
4115
4116 2012-02-29 Joel Brobecker <brobecker@adacore.com>
4117
4118 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
4119 * gdb.ada/enum_idx_packed: New testcase.
4120
4121 2012-02-29 Joel Brobecker <brobecker@adacore.com>
4122
4123 * gdb.ada/aliased_array: New testcase.
4124
4125 2012-02-29 Joel Brobecker <brobecker@adacore.com>
4126
4127 * gdb.ada/whatis_array_val: New testcase.
4128
4129 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4130
4131 Fix disp-step-syscall.exp: fork: single step over fork.
4132 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
4133 whitespaces.
4134 (single step over $syscall): Remove its check.
4135 (single step over $syscall final pc): New check.
4136
4137 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4138
4139 Support processors without SSSE3.
4140 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
4141 pabsd into ...
4142 (ssse3_test): ... a new function.
4143 (main): Call ssse3_test.
4144 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
4145 Update expected values everywhere.
4146 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
4147 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
4148 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
4149 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
4150 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
4151 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
4152 Move these tests lower.
4153 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
4154 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
4155 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
4156 New tests.
4157
4158 2012-02-29 Yao Qi <yao@codesourcery.com>
4159 Pedro Alves <palves@redhat.com>
4160
4161 * gdb.trace/trace-mt.c: New.
4162 * gdb.trace/trace-mt.exp: New.
4163
4164 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
4165
4166 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
4167 numbers instead of hardcoding them.
4168 * gdb.base/annota1.c: Provide suitable markers.
4169 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
4170 numbers instead of hardcoding them.
4171 * gdb.base/annota3.c: Provide suitable markers.
4172
4173 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
4174 * gdb.base/annota3.c: Likewise.
4175 * gdb.base/sigall.c: Likewise.
4176 * gdb.base/signals.c: Likewise.
4177 * gdb.reverse/sigall-reverse.c: Likewise.
4178
4179 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
4180
4181 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
4182 failure return path.
4183
4184 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
4185
4186 * gdb.base/save-bp.exp: Account for new condition evaluator output.
4187
4188 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
4189
4190 * gdb.base/cond-eval-mode.exp: New file.
4191
4192 2012-02-24 Pedro Alves <palves@redhat.com>
4193
4194 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
4195 (top level): Use with_test_prefix.
4196
4197 2012-02-24 Pedro Alves <palves@redhat.com>
4198
4199 * gdb.threads/attach-into-signal.exp (corefunc): Use
4200 with_test_prefix.
4201
4202 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4203
4204 Fix false FAILs on old CPUs without SSE.
4205 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
4206 Return untested for Illegal instruction.
4207
4208 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4209
4210 Fix false FAILs with glibc debug infos installed.
4211 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
4212 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
4213
4214 2012-02-22 Sterling Augustine <saugustine@google.com>
4215
4216 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
4217 constant with cast.
4218
4219 2012-02-21 Pedro Alves <palves@redhat.com>
4220
4221 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
4222
4223 2012-02-21 Pedro Alves <palves@redhat.com>
4224
4225 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
4226
4227 2012-02-21 Pedro Alves <palves@redhat.com>
4228
4229 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
4230 with_test_prefix.
4231
4232 2012-02-21 Pedro Alves <palves@redhat.com>
4233
4234 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
4235 with_test_prefix here.
4236 (top level): Do it here instead. Remove `:' from the
4237 with_test_prefix string.
4238 * gdb.base/attach-pie-misread.exp: Remove the leading space the
4239 the suffix `:' from the with_test_prefix prefix string.
4240 * gdb.base/break-interp.exp: Ditto.
4241 * gdb.base/catch-load.exp: Ditto.
4242 * gdb.base/disp-step-syscall.exp: Ditto.
4243 * gdb.base/jit-so.exp: Ditto.
4244 * gdb.base/jit.exp: Ditto.
4245 * gdb.base/sepdebug.exp: Ditto.
4246 * gdb.base/solib-display.exp: Ditto.
4247 * gdb.base/solib-overlap.exp: Ditto.
4248 * gdb.base/watch-cond-infcall.exp: Ditto.
4249 * gdb.base/watchpoint.exp: Ditto.
4250 * gdb.dwarf2/dw2-noloc.exp: Ditto.
4251 * gdb.mi/mi-watch.exp: Ditto.
4252 * gdb.mi/mi2-watch.exp: Ditto.
4253 * gdb.threads/non-ldr-exc-1.exp: Ditto.
4254 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4255 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4256 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4257 * gdb.threads/watchpoint-fork.exp: Ditto.
4258 * gdb.threads/watchthreads-reorder.exp: Ditto.
4259 * gdb.trace/change-loc.exp: Ditto.
4260 * gdb.trace/pending.exp: Ditto.
4261 * gdb.trace/status-stop.exp: Ditto.
4262 * gdb.trace/strace.exp: Ditto.
4263 * gdb.trace/trace-break.exp: Ditto.
4264 * gdb.trace/unavailable.exp: Ditto.
4265 * lib/gdb.exp (with_test_prefix): Always prefix with space and
4266 suffix with colon. Adjust leading comments.
4267
4268 2012-02-21 Pedro Alves <palves@redhat.com>
4269 Tom Tromey <tromey@redhat.com>
4270
4271 * lib/gdb.exp: Add description of test prefixes.
4272 (with_test_prefix): New procedure.
4273 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
4274 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
4275 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
4276 instead of lappend to append to pf_prefix.
4277 * gdb.base/catch-load.exp: Use with_test_prefix.
4278 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
4279 * gdb.base/jit-so.exp: Use with_test_prefix.
4280 * gdb.base/jit.exp: Use with_test_prefix.
4281 * gdb.base/return-nodebug.exp (do_test): Use append instead of
4282 lappend to append to pf_prefix.
4283 * gdb.base/sepdebug.exp: Use with_test_prefix.
4284 * gdb.base/solib-display.exp: Use with_test_prefix.
4285 * gdb.base/solib-overlap.exp: Use with_test_prefix.
4286 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
4287 * gdb.base/watchpoint.exp: Use with_test_prefix.
4288 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
4289 * gdb.mi/mi-watch.exp: Use with_test_prefix.
4290 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
4291 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
4292 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
4293 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
4294 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
4295 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
4296 append instead of lappend to append to pf_prefix.
4297 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
4298 * gdb.trace/change-loc.exp: Use with_test_prefix.
4299 * gdb.trace/pending.exp: Use with_test_prefix.
4300 * gdb.trace/status-stop.exp: Use with_test_prefix.
4301 * gdb.trace/strace.exp: Use with_test_prefix.
4302 * gdb.trace/trace-break.exp: Use with_test_prefix.
4303 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
4304 instead of lappend to append to pf_prefix.
4305
4306 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4307
4308 Fix racy FAILs.
4309 * gdb.base/inferior-died.c (main): Add return of 0.
4310 * gdb.base/inferior-died.exp (continue): Fix expectation of
4311 asynchronous events.
4312 (p 1): New test.
4313
4314 2012-02-20 Pedro Alves <palves@redhat.com>
4315
4316 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
4317 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
4318 gdb's internal debug output. For the non-threaded case, look for
4319 "Program received signal SIGLARM", for the threaded case, peek at
4320 the thread's siginfo.
4321
4322 2012-02-20 Pedro Alves <palves@redhat.com>
4323
4324 General cleanup, make output test messages unique, and build
4325 different executable files for the non-threaded and threaded
4326 cases.
4327
4328 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
4329 Delete.
4330 (executable_nothr, executable_thr): New globals.
4331 (top level): Adjust to delete both executables.
4332 (corefunc): New parameter $executable. Set $pf_prefix instead of
4333 hand writing a prefix in tests. Issue a clean_restart and enable
4334 lin-lwp debug output here.
4335 (top level): Adjust. Use build_executable. Don't start gdb here,
4336 and don't enable lin-lwp debug output here.
4337 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
4338
4339 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4340
4341 Fix racy FAILs.
4342 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
4343 "continue" command.
4344
4345 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4346
4347 Fix for gdbserver non-extended mode.
4348 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
4349 and gdb_run_cmd.
4350
4351 2012-02-17 Tom Tromey <tromey@redhat.com>
4352
4353 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
4354 * gdb.python/py-events.exp: Check 'dir' output.
4355 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
4356
4357 2012-02-17 Yao Qi <yao@codesourcery.com>
4358
4359 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
4360
4361 2012-02-16 Tom Tromey <tromey@redhat.com>
4362
4363 * gdb.base/inferior-died.c: Don't include stdio.h.
4364
4365 2012-02-16 Tom Tromey <tromey@redhat.com>
4366
4367 * gdb.base/inferior-died.c: New file.
4368 * gdb.base/inferior-died.exp: New file.
4369
4370 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
4371
4372 * gdb.base/break-inline.exp: New file.
4373 * gdb.base/break-inline.c: New file.
4374
4375 2012-02-15 Tom Tromey <tromey@redhat.com>
4376
4377 * gdb.base/pc-fp.exp: Add "info register" tests.
4378
4379 2012-02-15 Tom Tromey <tromey@redhat.com>
4380
4381 * gdb.base/regs.exp: Remove.
4382
4383 2012-02-15 Pedro Alves <palves@redhat.com>
4384
4385 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
4386 the target doesn't support tracepoints.
4387 * gdb.trace/circ.exp: Ditto.
4388 * gdb.trace/collection.exp: Ditto.
4389 * gdb.trace/packetlen.exp: Ditto.
4390 * gdb.trace/passc-dyn.exp: Ditto.
4391 * gdb.trace/report.exp: Ditto.
4392 * gdb.trace/tfind.exp: Ditto.
4393 * gdb.trace/tspeed.exp: Ditto.
4394 * gdb.trace/tsv.exp: Ditto.
4395 * gdb.trace/unavailable.exp: Ditto.
4396 * gdb.trace/while-dyn.exp: Ditto.
4397
4398 2012-02-15 Pedro Alves <palves@redhat.com>
4399
4400 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
4401 gdb_test_multiple, and call unsupported instead of fail, if the
4402 remote side does not support the request.
4403
4404 2012-02-15 Pedro Alves <palves@redhat.com>
4405
4406 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
4407 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
4408 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
4409 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
4410 * gdb.server/server-run.exp: Make sure gdb is disconnected.
4411 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
4412 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
4413 doesn't start with "extended-" already.
4414
4415 2012-02-15 Pedro Alves <palves@redhat.com>
4416
4417 Support extended-remote. Avoid cascading timeouts.
4418
4419 * gdb.base/attach.exp (do_attach_tests): Add expected output for
4420 the extended-remote target. If attaching with no file fails, load
4421 the file manually.
4422 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
4423
4424 2012-02-14 Stan Shebs <stan@codesourcery.com>
4425
4426 * gdb.base/ena-dis-br.exp: Add enable count test.
4427
4428 2012-02-13 Pedro Alves <palves@redhat.com>
4429
4430 * config/mips-idt.exp: Delete.
4431 * gdb.base/a2-run.exp: Remove mips-idt xfails.
4432 * gdb.base/bitfields.exp: Remove mips-idt restarts.
4433 * gdb.base/break.exp: Remove mips-idt references.
4434 * gdb.base/chng-syms.exp: Ditto.
4435 * gdb.base/default.exp: Ditto.
4436 * gdb.base/funcargs.exp (funcargs_reload): Delete.
4437 (top level): Don't call it.
4438 * gdb.base/opaque.exp: Remove mips-idt restarts.
4439 * gdb.base/ptype.exp: Remove mips-idt xfails.
4440 * gdb.base/scope.exp: Remove mips-idt restarts.
4441 * gdb.base/sepdebug.exp: Remove mips-idt references.
4442 * gdb.base/watchpoint.exp (maybe_clean_restart)
4443 (maybe_reinitialize): Delete.
4444 (test_disabling_watchpoints, test_disabling_watchpoints)
4445 (test_watchpoint_triggered_in_syscall)
4446 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4447 Don't call them.
4448
4449 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4450
4451 * gdb.server/server-exec-info.exp: New file.
4452
4453 2012-02-10 Pedro Alves <palves@redhat.com>
4454
4455 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
4456 always non-empty.
4457 (test_attach): Always pass $exec to test_attach_gdb.
4458
4459 2012-02-08 Tom Tromey <tromey@redhat.com>
4460
4461 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
4462 before inferior is started.
4463
4464 2012-02-07 Tom Tromey <tromey@redhat.com>
4465
4466 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
4467 Symbol.value.
4468 * gdb.python/py-symbol.c (qq): Set default value.
4469
4470 2012-02-07 Tom Tromey <tromey@redhat.com>
4471
4472 * gdb.python/py-symbol.c (qq): New global.
4473 * gdb.python/py-symbol.exp: Add test for frame-less
4474 lookup_symbol.
4475 * gdb.python/py-symtab.exp: Fix line number.
4476
4477 2012-02-03 Joel Brobecker <brobecker@adacore.com>
4478
4479 * gdb.ada/mi_task_arg: New testcase.
4480
4481 2012-02-02 Pedro Alves <palves@redhat.com>
4482
4483 * gdb.reverse/until-precsave.exp: Also put "record save" under the
4484 extended timeout.
4485
4486 2012-02-02 Pedro Alves <palves@redhat.com>
4487
4488 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
4489 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
4490
4491 2012-02-02 Pedro Alves <palves@redhat.com>
4492
4493 * gdb.base/term.exp: Rewrite.
4494 * gdb.base/term.c: New.
4495
4496 2012-02-02 Pedro Alves <palves@redhat.com>
4497
4498 * gdb.base/default.exp (run "r" abbreviation, run): Add
4499 extended-remote expected output.
4500
4501 2012-02-02 Tom Tromey <tromey@redhat.com>
4502
4503 * gdb.cp/dispcxx.exp: New file.
4504 * gdb.cp/dispcxx.cc: New file.
4505
4506 2012-02-01 Tom Tromey <tromey@redhat.com>
4507
4508 * gdb.base/jit-simple.exp: New file.
4509 * gdb.base/jit-simple.c: New file.
4510
4511 2012-01-30 Yao Qi <yao@codesourcery.com>
4512
4513 * gdb.base/skip.exp: Make test result unique.
4514
4515 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4516
4517 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
4518 compatibility with valgrind-3.7.0.
4519
4520 2012-01-27 Pedro Alves <palves@redhat.com>
4521
4522 * gdb.base/watchpoint.exp (no_hw): New global.
4523 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
4524 disable hw watchpoints.
4525 (test_wide_location_1, test_wide_location_2): If no_hw is set,
4526 don't expect hw watchpoints.
4527 (no_hw_watchpoints): Always clean restart.
4528 (do_tests): New procedure, factored out from the top level.
4529 (top level): Run tests twice. Once with hw watchpoints enabled,
4530 another time with hw watchpoints disabled.
4531
4532 2012-01-27 Pedro Alves <palves@redhat.com>
4533
4534 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
4535 out from the top level.
4536 (top level): Call it instead.
4537
4538 2012-01-27 Pedro Alves <palves@redhat.com>
4539
4540 * gdb.base/watchpoint.exp (top level): Re-enable hardware
4541 watchpoints sooner.
4542
4543 2012-01-27 Pedro Alves <palves@redhat.com>
4544
4545 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
4546
4547 2012-01-27 Pedro Alves <palves@redhat.com>
4548
4549 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
4550 "You may have requested too many hardware
4551 breakpoints/watchpoints".
4552
4553 2012-01-27 Pedro Alves <palves@redhat.com>
4554
4555 * gdb.base/watchpoint.exp (maybe_clean_restart)
4556 (maybe_reinitialize): New.
4557 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
4558 expect "hit N times".
4559 (test_disabling_watchpoints, test_complex_watchpoint)
4560 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4561 Call maybe_clean_restart.
4562 (top level): Use clean_restart. Remove "mips-idt-*"
4563 reinitialization.
4564
4565 2012-01-27 Pedro Alves <palves@redhat.com>
4566
4567 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
4568
4569 2012-01-27 Pedro Alves <palves@redhat.com>
4570
4571 * gdb.base/watchpoint.exp: Clean restart after tests that don't
4572 require `initialize' anymore. Remove unnecessary `initialize'
4573 calls.
4574
4575 2012-01-27 Pedro Alves <palves@redhat.com>
4576
4577 * gdb.base/watchpoint.exp (wp_set): Delete.
4578 (initialize, test_simple_watchpoint, top level): Remove dead code.
4579
4580 2012-01-27 Pedro Alves <palves@redhat.com>
4581
4582 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
4583 typo.
4584
4585 2012-01-27 Pedro Alves <palves@redhat.com>
4586
4587 * config/extended-gdbserver.exp: New file.
4588 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
4589 comment.
4590 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
4591 * boards/native-extended-gdbserver.exp: New file.
4592
4593 2012-01-26 Pedro Alves <palves@redhat.com>
4594
4595 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
4596 and gdb_test_multiple.
4597
4598 2012-01-26 Pedro Alves <palves@redhat.com>
4599
4600 Make test messages unique, and more identifiable.
4601 * gdb.multi/watchpoint-multi.exp: Change test messages.
4602
4603 2012-01-25 Tom Tromey <tromey@redhat.com>
4604
4605 * gdb.base/solib-disc.exp: Fix regexps.
4606
4607 2012-01-24 Tom Tromey <tromey@redhat.com>
4608
4609 * lib/mi-support.exp (mi_expect_stop): Add special case for
4610 solib-event.
4611 * gdb.base/catch-load-so.c: New file.
4612 * gdb.base/catch-load.exp: New file.
4613 * gdb.base/catch-load.c: New file.
4614 * gdb.base/break-interp.exp (reach_1): Update regexp.
4615
4616 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4617
4618 Fix fuzzy results.
4619 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
4620 lpsimple and func.
4621
4622 2012-01-24 Gary Benson <gbenson@redhat.com>
4623
4624 Delete #if 0'd out code.
4625 * gdb.base/default.exp (info catch): Remove.
4626 * gdb.base/gdb_history (info catch): Likewise.
4627 * gdb.base/help.exp (info catch): Likewise.
4628
4629 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4630
4631 Fix watchpoints to be specific for each inferior.
4632 * gdb.multi/watchpoint-multi.c: New file.
4633 * gdb.multi/watchpoint-multi.exp: New file.
4634
4635 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4636
4637 Fix watchpoints across inferior fork.
4638 * gdb.threads/watchpoint-fork-child.c: New file.
4639 * gdb.threads/watchpoint-fork-mt.c: New file.
4640 * gdb.threads/watchpoint-fork-parent.c: New file.
4641 * gdb.threads/watchpoint-fork-st.c: New file.
4642 * gdb.threads/watchpoint-fork.exp: New file.
4643 * gdb.threads/watchpoint-fork.h: New file.
4644
4645 2012-01-23 Pedro Alves <palves@redhat.com>
4646
4647 * gdb.base/call-signal-resume.exp: Allow output after "return".
4648
4649 2012-01-20 Pedro Alves <palves@redhat.com>
4650
4651 * gdb.python/py-finish-breakpoint.py: Fix typo.
4652
4653 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
4654
4655 * gdb.base/info-proc.exp: Also run on remote targets. Main
4656 "info proc" command is now always present; whether target supports
4657 actual info proc operation is detected when attempting to issue
4658 the command.
4659
4660 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4661
4662 * .gdbinit: Remove.
4663
4664 2012-01-19 Pedro Alves <palves@redhat.com>
4665
4666 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
4667 look at the funtions' returns.
4668 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
4669 (jprint.print(int, int)): Change return type to int. Adjust.
4670
4671 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4672
4673 PR gdb/9538
4674 * gdb.base/sepdebug.exp: New test.
4675
4676 2012-01-18 Pedro Alves <palves@redhat.com>
4677
4678 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
4679 Allow output before ^done.
4680
4681 2012-01-16 Tom Tromey <tromey@redhat.com>
4682
4683 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
4684 Add tests for relative directory.
4685
4686 2012-01-16 Tom Tromey <tromey@redhat.com>
4687
4688 * gdb.base/printcmds.c (enum flag_enum): New.
4689 (three): New global.
4690 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
4691 enum printing.
4692 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
4693 FlagEnumerationPrinter.
4694 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
4695 * gdb.python/py-pp-maint.c (enum flag_enum): New.
4696 (fval): New global.
4697
4698 2012-01-16 Pedro Alves <palves@redhat.com>
4699
4700 * lib/gdb.exp (banned_procedures): New variable.
4701 (banned_variables_traced): Rename to ...
4702 (banned_traced): ... this.
4703 (gdb_init): Also trace banned procedures.
4704 (gdb_finish): Also untrace banned procedures.
4705
4706 2012-01-16 Pedro Alves <palves@redhat.com>
4707
4708 Remove all calls to strace.
4709
4710 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4711
4712 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
4713 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
4714
4715 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4716
4717 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
4718 * gdb.base/pie-execl.exp: Likewise.
4719
4720 2012-01-12 Keith Seitz <keiths@redhat.com>
4721
4722 PR mi/10586
4723 * gdb.mi/var-cmd.c (struct anonymous): New structure.
4724 (do_anonymous_type_tests): New function.
4725 (main): Call do_anonymous_type_tests.
4726 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
4727 (verify_everything): New procedure.
4728 * gdb.mi/mi-var-cp.cc (class A): New class.
4729 (anonymous_structs_and_unions): New function.
4730 (main): Call anonymous_structs_and_unions.
4731 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
4732 (verify_everything): New procedure.
4733
4734 2012-01-12 Keith Seitz <keiths@redhat.com>
4735
4736 * lib/mi-support.exp: Expand comments about PATH_EXPR.
4737 (varobj_tree::get_path_expr): Assume that all varobjs are
4738 compound unless they are known simple types.
4739 Adjust path expressions based on parent type, path parent type,
4740 and tree language.
4741 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
4742 the root varobj.
4743 (mi_walk_varobj_tree): Add LANGUAGE parameter.
4744
4745 2012-01-11 Pedro Alves <palves@redhat.com>
4746
4747 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
4748 core files on this machine" anymore.
4749
4750 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
4751
4752 * gdb.base/watchpoint.c (recurser): Initialize local_x.
4753 (main): Repeat recurser call.
4754 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
4755 equivalent to 'local_x'.
4756
4757 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
4758 Joel Brobecker <brobecker@adacore.com>
4759
4760 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
4761
4762 2012-01-05 Pedro Alves <alves.ped@gmail.com>
4763
4764 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
4765 * gdb.python/py-events.c (first): Add bits for new "step N" test.
4766 * gdb.python/py-events.exp: Test that "step N" tripping on a
4767 breakpoint emits a breakpoint event.
4768
4769 2012-01-03 Joel Brobecker <brobecker@adacore.com>
4770
4771 * gdb.base/auxv.exp: Reformat the copyright notice.
4772
4773 2012-01-03 Yao Qi <yao@codesourcery.com>
4774
4775 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
4776 (strace_trace_on_diff_addr): New.
4777 * gdb.trace/strace.c: (main): Add two local variables.
4778
4779 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
4780
4781 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
4782 * gdb.cell/gcore.exp: Likewise.
4783 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
4784 to verify the correct instance of main is selected.
4785
4786 2012-01-02 Joel Brobecker <brobecker@adacore.com>
4787
4788 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
4789 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
4790 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
4791 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
4792 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
4793 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
4794 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
4795 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
4796 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
4797 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
4798 gdb.threads/thread_check.c: Reformat copyright header.
4799
4800 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
4801
4802 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
4803 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
4804 is not enabled.
4805
4806 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4807
4808 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
4809 parameter to self_exec, adjust the function.
4810 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
4811 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
4812 (set var do_exit = 0): Remove test.
4813 (newline at end of file): Add one.
4814
4815 2011-12-27 Joel Brobecker <brobecker@adacore.com>
4816
4817 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
4818 New files.
4819
4820 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4821
4822 Fix racy FAILs.
4823 * gdb.threads/fork-thread-pending.c (barrier): New variable.
4824 (thread_function, thread_forker): Call pthread_barrier_wait for it.
4825 (main): Call pthread_barrier_init for it.
4826
4827 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4828
4829 Fix double send_gdb leading to racy FAILs.
4830 * gdb.base/break.exp (set silent break bp_location1): Replace
4831 3x send_gdb and gdb_expect by gdb_test.
4832 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
4833 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
4834 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
4835 instead of send_gdb. Twice.
4836 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
4837 3x send_gdb and gdb_expect by gdb_test.
4838 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
4839
4840 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4841
4842 * gdb.linespec/linespec.exp: Compile using {c++}.
4843
4844 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4845
4846 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
4847 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
4848 (verify GCC PR debug/51668): New test.
4849
4850 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
4851
4852 Introduce gdb.FinishBreakpoint in Python.
4853 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
4854 py-finish-breakpoint2
4855 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
4856 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
4857 instead of line number.
4858 * gdb.python/py-finish-breakpoint.c: New file.
4859 * gdb.python/py-finish-breakpoint.exp: New file.
4860 * gdb.python/py-finish-breakpoint.py: New file.
4861 * gdb.python/py-finish-breakpoint2.cc: New file.
4862 * gdb.python/py-finish-breakpoint2.exp: New file.
4863 * gdb.python/py-finish-breakpoint2.py: New file.
4864
4865 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4866
4867 Partial fix of compatibility with gcc-4.7.
4868 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
4869 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
4870 Add comment to add a PASS case in the future.
4871
4872 Fix compatibility with gcc-4.7.
4873 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
4874
4875 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
4876
4877 PR tdep/12797
4878 * gdb.base/callfuncs.exp: Remove KFAIL.
4879
4880 2011-12-21 Joel Brobecker <brobecker@adacore.com>
4881
4882 * gdb.ada/task_bp: New testcase.
4883
4884 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4885
4886 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
4887 -DNO_SECTIONS.
4888 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
4889
4890 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4891
4892 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
4893 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
4894 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
4895 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
4896 conditional for gcc <= 4.5.
4897
4898 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4899
4900 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
4901 by XFAIL.
4902 * gdb.cp/static-method.exp (info addr A::func())
4903 (list static-method.cc:xxx::(anonymous namespace)::A::func)
4904 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
4905 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
4906 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
4907 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
4908 (test value of F in k3_m): Likewise.
4909 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
4910 Likewise.
4911
4912 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4913
4914 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
4915 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
4916 Remove.
4917 * gdb.threads/attachstop-mt.c: Remove.
4918 * gdb.threads/attachstop-mt.exp: Remove.
4919
4920 2011-12-17 Mark Kettenis <kettenis@gnu.org>
4921
4922 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
4923
4924 2011-12-16 Doug Evans <dje@google.com>
4925
4926 * boards/native-stdio-gdbserver.exp: New file.
4927 * boards/native-gdbserver.exp: New file.
4928
4929 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
4930 gdbserver output.
4931 (gdbserver_default_get_remote_address): New function.
4932 (gdbserver_start): Call gdb,get_remote_address to compute argument
4933 to "target remote" command.
4934
4935 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
4936
4937 * gdb.python/py-function.exp: Change "on" to "full" for
4938 python print-stack. Add set/show python print-stack
4939 off|full|message tests.
4940
4941 2011-12-15 Yao Qi <yao@codesourcery.com>
4942
4943 * gdb.trace/strace.c: New
4944 * gdb.trace/strace.exp: New.
4945
4946 2011-12-14 Tom Tromey <tromey@redhat.com>
4947
4948 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
4949
4950 2011-12-14 Doug Evans <dje@google.com>
4951
4952 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
4953
4954 2011-12-14 Pedro Alves <pedro@codesourcery.com>
4955
4956 PR threads/10729
4957
4958 * gdb.mi/watch-nonstop.c: New file.
4959 * gdb.mi/mi-watch-nonstop.exp: New file.
4960
4961 2011-12-13 Pedro Alves <pedro@codesourcery.com>
4962 Doug Evans <dje@google.com>
4963
4964 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
4965 (clean_restart): Remove references to the gdb_stub target board
4966 variable.
4967 (gdb_step_for_stub): Delete.
4968
4969 * gdb.base/annota1.exp: Remove all references to [target_info
4970 exists gdb_stub], gdb_step_for_stub and usestubs.
4971 * gdb.base/annota3.exp: Ditto.
4972 * gdb.base/async.exp: Ditto.
4973 * gdb.base/break.exp: Ditto.
4974 * gdb.base/code-expr.exp: Ditto.
4975 * gdb.base/commands.exp: Ditto.
4976 * gdb.base/completion.exp: Ditto.
4977 * gdb.base/condbreak.exp: Ditto.
4978 * gdb.base/consecutive.exp: Ditto.
4979 * gdb.base/cvexpr.exp: Ditto.
4980 * gdb.base/define.exp: Ditto.
4981 * gdb.base/display.exp: Ditto.
4982 * gdb.base/ena-dis-br.exp: Ditto.
4983 * gdb.base/environ.exp: Ditto.
4984 * gdb.base/gnu-ifunc.exp: Ditto.
4985 * gdb.base/maint.exp: Ditto.
4986 * gdb.base/pending.exp: Ditto.
4987 * gdb.base/sect-cmd.exp: Ditto.
4988 * gdb.base/sepdebug.exp: Ditto.
4989 * gdb.base/unload.exp: Ditto.
4990 * gdb.base/watchpoint-solib.exp: Ditto.
4991 * gdb.cp/annota2.exp: Ditto.
4992 * gdb.cp/annota3.exp: Ditto.
4993 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
4994 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
4995 * gdb.mi/mi-pending.exp: Ditto.
4996 * gdb.trace/circ.exp: Ditto.
4997 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
4998 * gdb.base/list.exp: Ditto.
4999
5000 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
5001 breakpoint function and all references to the usestubs macro.
5002 * gdb.base/exprs.c: Ditto.
5003 * gdb.base/freebpcmd.c: Ditto.
5004 * gdb.base/bitfields.c: Ditto.
5005 * gdb.base/bitfields2.c: Ditto.
5006 * gdb.base/break.c: Ditto.
5007 * gdb.base/call-sc.c: Ditto.
5008 * gdb.base/call-signals.c: Ditto.
5009 * gdb.base/callfuncs.c: Ditto.
5010 * gdb.base/charset.c: Ditto.
5011 * gdb.base/consecutive.c: Ditto.
5012 * gdb.base/constvars.c: Ditto.
5013 * gdb.base/funcargs.c: Ditto.
5014 * gdb.base/int-type.c: Ditto.
5015 * gdb.base/interrupt.c: Ditto.
5016 * gdb.base/langs0.c: Ditto.
5017 * gdb.base/list0.c: Ditto.
5018 * gdb.base/mips_pro.c: Ditto.
5019 * gdb.base/miscexprs.c: Ditto.
5020 * gdb.base/nodebug.c: Ditto.
5021 * gdb.base/opaque0.c: Ditto.
5022 * gdb.base/pointers.c: Ditto.
5023 * gdb.base/printcmds.c: Ditto.
5024 * gdb.base/ptype.c: Ditto.
5025 * gdb.base/recurse.c: Ditto.
5026 * gdb.base/reread1.c: Ditto.
5027 * gdb.base/reread2.c: Ditto.
5028 * gdb.base/restore.c: Ditto.
5029 * gdb.base/return.c: Ditto.
5030 * gdb.base/run.c: Ditto.
5031 * gdb.base/scope0.c: Ditto.
5032 * gdb.base/sepdebug.c: Ditto.
5033 * gdb.base/setshow.c: Ditto.
5034 * gdb.base/setvar.c: Ditto.
5035 * gdb.base/sigall.c: Ditto.
5036 * gdb.base/signals.c: Ditto.
5037 * gdb.base/structs.c: Ditto.
5038 * gdb.base/structs2.c: Ditto.
5039 * gdb.base/testenv.c: Ditto.
5040 * gdb.base/twice.c: Ditto.
5041 * gdb.base/unwindonsignal.c: Ditto.
5042 * gdb.base/watchpoint.c: Ditto.
5043 * gdb.base/watchpoints.c: Ditto.
5044 * gdb.base/whatis.c: Ditto.
5045 * gdb.cp/classes.cc: Ditto.
5046 * gdb.cp/cplusfuncs.cc: Ditto.
5047 * gdb.cp/derivation.cc: Ditto.
5048 * gdb.cp/formatted-ref.cc: Ditto.
5049 * gdb.cp/misc.cc: Ditto.
5050 * gdb.cp/overload.cc: Ditto.
5051 * gdb.cp/ovldbreak.cc: Ditto.
5052 * gdb.cp/ref-params.cc: Ditto.
5053 * gdb.cp/ref-types.cc: Ditto.
5054 * gdb.cp/templates.cc: Ditto.
5055 * gdb.cp/virtfunc.cc: Ditto.
5056 * gdb.hp/gdb.aCC/run.c: Ditto.
5057 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
5058 * gdb.hp/gdb.compat/xdb0.c: Ditto.
5059 * gdb.reverse/consecutive-reverse.c: Ditto.
5060 * gdb.reverse/sigall-reverse.c: Ditto.
5061 * gdb.reverse/until-reverse.c: Ditto.
5062 * gdb.reverse/watch-reverse.c: Ditto.
5063 * gdb.trace/actions.c: Ditto.
5064 * gdb.trace/circ.c: Ditto.
5065 * gdb.trace/collection.c: Ditto.
5066
5067 2011-12-13 Pedro Alves <pedro@codesourcery.com>
5068
5069 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
5070 (func6, func7): New.
5071 (main): Call func6 and func7.
5072 * gdb.base/watchpoint.exp (test_wide_location_1)
5073 (test_wide_location_2): New.
5074 (top level): Re-enable hardware watchpoints if necessary. Call
5075 test_wide_location_1 and test_wide_location_2.
5076
5077 2011-12-11 Yao Qi <yao@codesourcery.com>
5078
5079 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
5080
5081 2011-12-11 Joel Brobecker <brobecker@adacore.com>
5082
5083 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
5084 expected output for unsupported case.
5085
5086 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5087
5088 PR testsuite/12649
5089 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
5090 Protect gdb_test_multiple by final $gdb_prompt match.
5091
5092 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5093
5094 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
5095 New variable, new test.
5096 (list static-method.cc:xxx::(anonymous namespace)::A::func)
5097 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5098 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5099 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
5100 them if HAVE_GCC_45682_FIXED is not set.
5101
5102 2011-12-10 Yao Qi <yao@codesourcery.com>
5103
5104 * gdb.trace/status-stop.exp: New.
5105 * gdb.trace/status-stop.c: New.
5106
5107 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5108
5109 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
5110 timeout.
5111
5112 2011-12-08 Tom Tromey <tromey@redhat.com>
5113
5114 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
5115 condition.
5116
5117 2011-12-07 Stan Shebs <stan@codesourcery.com>
5118
5119 * gdb.trace/tfind.exp: Update for output changes.
5120
5121 2011-12-07 Pedro Alves <pedro@codesourcery.com>
5122
5123 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
5124 throws "Cannot insert catchpoints in this configuration".
5125 * gdb.ada/mi_catch_ex.exp: Likewise.
5126
5127 2011-12-06 Pedro Alves <pedro@codesourcery.com>
5128
5129 * gdb.base/break-always.exp: Test changing memory at addresses
5130 with breakpoints inserted.
5131
5132 2011-12-06 Joel Brobecker <brobecker@acacore.com>
5133
5134 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
5135 involving a fully qualified function name.
5136
5137 2011-12-06 Tom Tromey <tromey@redhat.com>
5138
5139 * gdb.ada/homonym.exp: Add three breakpoint tests.
5140
5141 2011-12-06 Tom Tromey <tromey@redhat.com>
5142
5143 * gdb.base/solib-weak.exp (do_test): Remove kfail.
5144 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
5145 * gdb.objc/objcdecode.exp: Update for output changes.
5146 * gdb.linespec/linespec.exp: New file.
5147 * gdb.linespec/lspec.cc: New file.
5148 * gdb.linespec/lspec.h: New file.
5149 * gdb.linespec/body.h: New file.
5150 * gdb.linespec/base/two/thefile.cc: New file.
5151 * gdb.linespec/base/one/thefile.cc: New file.
5152 * gdb.linespec/Makefile.in: New file.
5153 * gdb.cp/templates.exp (test_template_breakpoints): Update for
5154 output changes.
5155 * gdb.cp/re-set-overloaded.exp: Remove kfail.
5156 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
5157 makes one breakpoint.
5158 * gdb.cp/method2.exp (test_break): Update for output changes.
5159 * gdb.cp/mb-templates.exp: Update for output changes.
5160 * gdb.cp/mb-inline.exp: Update for output changes.
5161 * gdb.cp/mb-ctor.exp: Update for output changes.
5162 * gdb.cp/ovsrch.exp: Use fully-qualified names.
5163 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
5164 has multiple matches.
5165 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
5166 error message change.
5167 * gdb.base/list.exp (test_list_filename_and_number): Update for
5168 error message change.
5169 * gdb.base/break.exp: Disable pending breakpoints. Update for
5170 output changes.
5171 * configure.ac: Add gdb.linespec.
5172 * configure: Rebuild.
5173 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
5174
5175 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
5176
5177 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
5178 last_break register on s390*-*-* targets.
5179
5180 2011-12-06 Joel Brobecker <brobecker@adacore.com>
5181
5182 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
5183 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
5184 of parameter X in procedure Foo.
5185
5186 2011-12-05 Stan Shebs <stan@codesourcery.com>
5187
5188 * gdb.trace/tfind.exp: Update help string matches.
5189
5190 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5191
5192 * gdb.server/ext-run.exp (get process list): Accept also systemd
5193 as PID 1.
5194
5195 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5196 Pedro Alves <pedro@codesourcery.com>
5197
5198 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
5199 starting GDB.
5200 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
5201 $use_gdb_stub.
5202 * gdb.base/display.exp: Likewise.
5203 * gdb.base/ending-run.exp: Likewise.
5204 * gdb.base/list.exp (test_listsize): Likewise.
5205 * gdb.base/setshow.exp: Likewise.
5206 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
5207 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
5208 check by global $use_gdb_stub.
5209 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
5210 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
5211 (default_gdb_init): Unset global $use_gdb_stub.
5212 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
5213 by global $use_gdb_stub.
5214 * lib/gdbserver-support.exp: Extend comments for set_board_info
5215 gdb_protocol and gdb,socketport.
5216 (gdbserver_start_extended): Set global gdbserver_protocol and
5217 gdbserver_gdbport. Clear global use_gdb_stub.
5218 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
5219 from target use_gdb_stub.
5220 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
5221
5222 2011-12-03 Doug Evans <dje@google.com>
5223
5224 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
5225 (gdb_step_for_stub): Add comments.
5226
5227 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
5228
5229 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
5230 to the caller.
5231 (gdb_test_multiple): Likewise.
5232
5233 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5234
5235 Fix gdb.mi/mi-solib.exp without system debug info installed.
5236 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
5237 expect attribute, return 0 for it. Update comments.
5238
5239 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5240
5241 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
5242 (corrupted list): Adjust the expectation.
5243
5244 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5245
5246 PR threads/13448
5247 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
5248 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
5249 * gdb.threads/tls-var-main.c: New file.
5250 * gdb.threads/tls-var.c: New file.
5251 * gdb.threads/tls-var.exp: New file.
5252
5253 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5254
5255 PR testsuite/12649
5256 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
5257 Protect gdb_test_multiple by final $gdb_prompt match.
5258 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
5259 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
5260 (test_tracepoints): Likewise.
5261
5262 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5263
5264 PR breakpoints/13346
5265 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
5266 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
5267 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
5268
5269 2011-12-01 Joel Brobecker <brobecker@adacore.com>
5270
5271 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
5272 * gdb.ada/homonym/homonym.adb: For use of all types defined
5273 locally inside both Get_Value subprograms.
5274
5275 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5276
5277 Fix racy FAILs.
5278 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
5279 of send_gdb.
5280
5281 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5282
5283 * gdb.base/testenv.exp: Skip on remote targets. Unset global
5284 environment variable after test completed.
5285
5286 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5287
5288 * gdb.base/solib-nodir.exp: Skip if remote target.
5289 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
5290 application. Call gdb_load_shlibs.
5291 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
5292
5293 2011-11-29 Joel Brobecker <brobecker@adacore.com>
5294
5295 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
5296
5297 2011-11-28 Joel Brobecker <brobecker@adacore.com>
5298
5299 * gdb.ada/fullname_bp: New testcase.
5300
5301 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5302
5303 PR testsuite/12649
5304 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
5305 Wrap send_gdb into a new gdb_test.
5306
5307 Code cleanup.
5308 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
5309 Convert send_gdb and gdb_expect to gdb_test_multiple.
5310
5311 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5312
5313 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
5314
5315 2011-11-23 Keith Seitz <keiths@redhat.com>
5316
5317 * lib/mi-support.exp (varobj_tree): New namespace and procs.
5318 (mi_varobj_tree_test_children_callback): New proc.
5319 (mi_walk_varobj_tree): New proc.
5320
5321 2011-11-22 Tom Tromey <tromey@redhat.com>
5322
5323 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
5324 Add "use_mi_command" argument.
5325 (mi_run_cmd, mi_run_with_cli): New procs.
5326 * gdb.mi/solib-lib.c: New file.
5327 * gdb.mi/solib-main.c: New file.
5328 * gdb.mi/mi-solib.exp: New file.
5329
5330 2011-11-21 Doug Evans <dje@google.com>
5331
5332 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
5333 _Unwind_DebugHook is missing.
5334
5335 2011-11-20 Stan Shebs <stan@codesourcery.com>
5336
5337 * gdb.trace/tstatus.exp: New.
5338 * gdb.trace/actions.c: Include string.h.
5339
5340 2011-11-18 Yao Qi <yao@codesourcery.com>
5341
5342 * gdb.trace/pending.exp: New.
5343 * gdb.trace/pending.c: New.
5344 * gdb.trace/pendshr1.c: New.
5345 * gdb.trace/pendshr2.c: New.
5346 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
5347 tracepoint location becomes pending.
5348 (tracepoint_change_loc_2): New.
5349
5350 2011-11-16 David S. Miller <davem@davemloft.net>
5351
5352 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
5353 target is sparc*-*-linux*
5354
5355 2011-11-15 Paul Koning <paul_koning@dell.com>
5356
5357 * gdb.python/py-type.exp: New testcases for exceptions on scalar
5358 types.
5359
5360 2011-11-14 Doug Evans <dje@google.com>
5361
5362 * gdb.base/shell.exp: New file.
5363
5364 2011-11-14 Stan Shebs <stan@codesourcery.com>
5365
5366 * gdb.trace/ftrace.c: New.
5367 * gdb.trace/ftrace.exp: New.
5368
5369 2011-11-14 Yao Qi <yao@codesourcery.com>
5370
5371 * gdb.trace/change-loc-1.c: New.
5372 * gdb.trace/change-loc-2.c: New.
5373 * gdb.trace/change-loc.c: New.
5374 * gdb.trace/change-loc.exp: New.
5375 * gdb.trace/change-loc.h: New.
5376 * gdb.trace/trace-break.c (marker): Define new symbol.
5377 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
5378 New.
5379 (break_trace_same_addr_6): New.
5380
5381 2011-11-12 Matt Rice <ratmice@gmail.com>
5382
5383 * gdb.base/info-macros.exp: Make tests for info definitions
5384 test info macro. Add tests for info macro argument processing.
5385 Rename a few tests.
5386
5387 2011-11-11 Keith Seitz <keiths@redhat.com>
5388
5389 PR gdb/12843
5390 * gdb.base/linespecs.exp: New file.
5391
5392 2011-11-11 Doug Evans <dje@google.com>
5393
5394 * gdb.threads/print-threads.exp: Extend timeout for slower
5395 tests.
5396
5397 2011-11-10 Doug Evans <dje@google.com>
5398
5399 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
5400 "record to end of main" test.
5401
5402 * gdb.python/py-type.c (TS): New typedef.
5403 (ts): New global.
5404 * gdb.python/py-type.exp: Test field list of typedef.
5405
5406 2011-11-10 Joel Brobecker <brobecker@adacore.com>
5407
5408 * gdb.ada/small_reg_param: New testcase.
5409
5410 2011-11-09 Tom Tromey <tromey@redhat.com>
5411
5412 * gdb.cp/destrprint.exp: New file.
5413 * gdb.cp/destrprint.cc: New file.
5414
5415 2011-11-08 Meador Inge <meadori@codesourcery.com>
5416
5417 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
5418 (switch_stack_to_other): New test function.
5419 * gdb.arch/thumb-prologue.exp: New test cases.
5420
5421 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
5422
5423 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
5424
5425 2011-11-08 Yao Qi <yao@codesourcery.com>
5426
5427 * gdb.exp (supports_process_record): New.
5428 (supports_reverse): New.
5429 * gdb.reverse/break-precsave.exp: Call support_process_record
5430 to run test conditionally.
5431 * gdb.reverse/consecutive-precsave.exp: Likewise.
5432 * gdb.reverse/i386-precsave.exp: Likewise.
5433 * gdb.reverse/machinestate-precsave.exp: Likewise.
5434 * gdb.reverse/solib-precsave.exp: Likewise.
5435 * gdb.reverse/step-precsave.exp: Likewise.
5436 * gdb.reverse/until-precsave.exp: Likewise.
5437 * gdb.reverse/watch-precsave.exp: Likewise.
5438 * gdb.reverse/break-reverse.exp: Call support_reverse to run
5439 test conditionally.
5440 * gdb.reverse/consecutive-reverse.exp: Likewise.
5441 * gdb.reverse/finish-precsave.exp: Likewise.
5442 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5443 * gdb.reverse/finish-reverse.exp: Likewise.
5444 * gdb.reverse/i386-reverse.exp: Likewise.
5445 * gdb.reverse/i386-sse-reverse.exp: Likewise.
5446 * gdb.reverse/machinestate.exp: Likewise.
5447 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
5448 * gdb.reverse/sigall-precsave.exp: Likewise.
5449 * gdb.reverse/sigall-reverse.exp: Likewise.
5450 * gdb.reverse/solib-reverse.exp: Likewise.
5451 * gdb.reverse/step-reverse.exp: Likewise.
5452 * gdb.reverse/until-reverse.exp: Likewise.
5453 * gdb.reverse/watch-reverse.exp: Likewise.
5454
5455 2011-11-05 Yao Qi <yao@codesourcery.com>
5456
5457 * gdb.trace/trace-break.exp: Add test on setting two
5458 fast tracepoints at the same address.
5459
5460 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5461
5462 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
5463
5464 2011-11-02 Stan Shebs <stan@codesourcery.com>
5465
5466 * gdb.trace/collection.c: Add code using strings.
5467 * gdb.trace/collection.exp: Add tests of string collection.
5468
5469 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5470
5471 * gdb.base/skip-solib.exp (executable_main): New variable.
5472 (binfile_main): Base it on that.
5473 Use $executable_main in clean_restart calls. Drop gdb_exit and
5474 gdb_start calls.
5475
5476 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5477
5478 Fix racy FAILs.
5479 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
5480 breakpoint_re globals import by async. Set string_regex to .* for
5481 async. Remove the optional thread_selected_re and breakpoint_re
5482 globals expectations.
5483
5484 2011-11-01 Joseph Myers <joseph@codesourcery.com>
5485
5486 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
5487 well as Cygwin.
5488
5489 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
5490
5491 Add tests for skip command.
5492 * gdb.base/skip-solib-lib.c: New
5493 * gdb.base/skip-solib-main.c: New
5494 * gdb.base/skip-solib.exp: New
5495 * gdb.base/skip.c: New
5496 * gdb.base/skip.exp: New
5497 * gdb.base/skip1.c: New
5498 * gdb.base/Makefile.in: Adding new files.
5499
5500 2011-10-31 Yao Qi <yao@codesourcery.com>
5501 Pedro Alves <pedro@codesourcery.com>
5502
5503 * gdb.trace/trace-break.c: New.
5504 * gdb.trace/trace-break.exp: New.
5505
5506 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5507
5508 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
5509 break-here-2.
5510
5511 2011-10-28 Pedro Alves <pedro@codesourcery.com>
5512
5513 * gdb.threads/no-unwaited-for-left.c: New.
5514 * gdb.threads/no-unwaited-for-left.exp: New.
5515 * gdb.threads/non-ldr-exc-1.c: New.
5516 * gdb.threads/non-ldr-exc-1.exp: New.
5517 * gdb.threads/non-ldr-exc-2.c: New.
5518 * gdb.threads/non-ldr-exc-2.exp: New.
5519 * gdb.threads/non-ldr-exc-3.c: New.
5520 * gdb.threads/non-ldr-exc-3.exp: New.
5521 * gdb.threads/non-ldr-exc-4.c: New.
5522 * gdb.threads/non-ldr-exc-4.exp: New.
5523
5524 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5525
5526 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
5527 * gdb.base/attach-pie-misread.exp: Likewise.
5528 * gdb.base/break-interp.exp: Likewise.
5529 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
5530 testcases for use_gdb_stub.
5531 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
5532 (continue): New testcase.
5533 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
5534 * gdb.threads/attach-into-signal.exp: Likewise.
5535 * gdb.threads/attach-stopped.exp: Likewise.
5536 * gdb.threads/attachstop-mt.exp: Likewise.
5537
5538 2011-10-28 Paul Koning <paul_koning@dell.com>
5539
5540 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
5541
5542 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5543
5544 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
5545 (mi_gdb_test): Import globals thread_selected_re
5546 and breakpoint_re. Expect them optionally at the regex start.
5547
5548 2011-10-27 Doug Evans <dje@google.com>
5549
5550 * gdb.python/python.exp: Test source -s.
5551
5552 2011-10-26 Paul Koning <paul_koning@dell.com>
5553
5554 * gdb.python/lib-types.cc (struct A): New structure.
5555 * gdb.python/lib-types.exp (deepitems): New tests.
5556
5557 2011-10-25 Paul Koning <paul_koning@dell.com>
5558
5559 PR python/13327
5560
5561 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
5562 fetch_lazy method.
5563
5564 2011-10-24 Yao Qi <yao@codesourcery.com>
5565
5566 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
5567 target is tic6x-*-*.
5568
5569 2011-10-21 Joel Brobecker <brobecker@adacore.com>
5570
5571 * gdb.ada/mi_task_info/task_switch.adb: New file.
5572 * gdb.ada/mi_task_info.exp: New file.
5573
5574 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5575
5576 * gdb.cp/expand-psymtabs-cxx.exp: New file.
5577 * gdb.cp/expand-psymtabs-cxx.cc: New file.
5578
5579 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
5580
5581 PR python/12656
5582
5583 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
5584 global_block tests.
5585
5586 2011-10-18 Tom Tromey <tromey@redhat.com>
5587
5588 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
5589
5590 2011-10-18 Tom Tromey <tromey@redhat.com>
5591
5592 * gdb.base/source.exp: Don't include full file name in test name.
5593 * gdb.python/python.exp: Don't include full file name in test
5594 name.
5595
5596 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5597
5598 * gdb.base/attach-pie-noexec.c: New files.
5599 * gdb.base/attach-pie-noexec.exp: New files.
5600
5601 2011-10-17 Joseph Myers <joseph@codesourcery.com>
5602
5603 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
5604 prompt for each extra line in command.
5605
5606 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5607
5608 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
5609 Revert the part of:
5610 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5611 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
5612 Change the expected string.
5613
5614 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5615
5616 Fix results with system glibc debug info installed.
5617 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
5618 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
5619 Accept also __libc_ symbol prefix and no prefix.
5620
5621 2011-10-14 Keith Seitz <keiths@redhat.com>
5622
5623 PR c++/13225
5624 * gdb.cp/converts.cc (foo3_1): New function.
5625 (foo3_2): New functions.
5626 * gdb.cp/converts.exp: Add tests for int to pointer conversion
5627 and null pointer conversions of integer constant zero.
5628 Add test to check if all arguments are checked for incompatible
5629 conversion BADNESS.
5630
5631 2011-10-14 Tom Tromey <tromey@redhat.com>
5632
5633 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
5634 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
5635 linespec.
5636
5637 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5638
5639 Fix internal error regression.
5640 * gdb.dwarf2/implptr-optimized-out.S: New file.
5641 * gdb.dwarf2/implptr-optimized-out.exp: New file.
5642
5643 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5644
5645 Fix empty DWARF expressions DATA vs. SIZE conditionals.
5646 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
5647 (loclist): New.
5648 (4): New abbrev.
5649 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
5650 Use prepare_for_testing, remove clean_restart.
5651 (p arraynoloc, p arraycallnoloc): New tests.
5652
5653 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5654
5655 * gdb.cp/namespace-enum.exp (executable): New variable.
5656 (binfile): Use ${objdir}/${subdir}/ prefix.
5657 Use ${executable} for clean_restart.
5658
5659 2011-10-11 Sterling Augustine <saugustine@google.com>
5660
5661 * gdb.cp/Makefile.in: Add namespace-enum test.
5662 * gdb.cp/namespace-enum.exp: New file.
5663 * gdb.cp/namespace-enum.c: New file.
5664 * gdb.cp/namespace-enum-main.c: New file.
5665
5666 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
5667
5668 * gdb.python/py-shared.exp: Relax filename check to handle remote:
5669 sysroot.
5670
5671 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5672
5673 Reimplement @entry in input expressions.
5674 * gdb.base/exprs.c (v_int_array_init): New variable.
5675 * gdb.base/exprs.exp (print v_int_array_init)
5676 (print *v_int_array_init@1, print *v_int_array_init@2)
5677 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
5678 (print v_int_array_init[1]@1): New tests.
5679
5680 2011-10-10 Joseph Myers <joseph@codesourcery.com>
5681
5682 * gdb.cp/gdb2495.exp: Do not include directories in filename in
5683 expected message.
5684
5685 2011-10-09 Doug Evans <dje@google.com>
5686
5687 * gdb.base/alias.exp: Add tests for alias command.
5688
5689 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5690
5691 * gdb.arch/amd64-entry-value.s: New file.
5692 * gdb.mi/mi2-amd64-entry-value.s: New file.
5693
5694 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5695
5696 Display @entry parameter values even for references.
5697 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
5698 functions.
5699 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
5700 reference and datap_input.
5701 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
5702 breakpoints.
5703 (continue to breakpoint: entry_reference: reference)
5704 (entry_reference: bt at entry)
5705 (continue to breakpoint: entry_reference: breakhere_reference)
5706 (entry_reference: bt, entry_reference: ptype regparam)
5707 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
5708 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
5709 (entry_reference: p regcopy, entry_reference: p nodataparam)
5710 (entry_reference: p nodataparam@entry): New tests.
5711
5712 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5713
5714 Support @entry in input expressions.
5715 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
5716 (entry_stack: p s1@entry, entry_stack: p s2@entry)
5717 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
5718 (tailcall: p j@entry): New tests.
5719 * gdb.cp/koenig.cc (A::entry): New function.
5720 (main): Call it.
5721 * gdb.cp/koenig.exp (p entry (c)): New test.
5722
5723 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5724
5725 Display @entry parameter values (without references).
5726 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
5727 (different, validity, invalid): New functions.
5728 (main): Call them.
5729 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
5730 stacktest, breakhere_stacktest, different, breakhere_different,
5731 breakhere_validity and breakhere_invalid.
5732 (entry: bt): Update for @entry.
5733 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
5734 (entry_validity: *, entry_invalid: *): Many new tests.
5735 * gdb.base/break.exp
5736 (run until breakpoint set at small function, optimized file): Accept
5737 also the @entry suffix.
5738 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
5739 * gdb.mi/mi2-amd64-entry-value.c: New files.
5740 * gdb.mi/mi2-amd64-entry-value.exp: New files.
5741
5742 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5743
5744 Protect entry values against self tail calls.
5745 * gdb.arch/amd64-entry-value.cc (self2, self): New.
5746 (main): Call self.
5747 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
5748 (set debug entry-values 1, self: bt debug entry-values): New tests.
5749
5750 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5751
5752 Recognize virtual tail call frames.
5753 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
5754 (amb_b, amb_a): New.
5755 (main): Call a and b.
5756 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
5757 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
5758 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
5759 New tests.
5760
5761 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5762
5763 Implement basic support for DW_TAG_GNU_call_site.
5764 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
5765 * gdb.arch/amd64-entry-value.cc: New file.
5766 * gdb.arch/amd64-entry-value.exp: New file.
5767
5768 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5769
5770 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
5771 * gdb.dwarf2/implptr-64bit.S: New file.
5772 * gdb.dwarf2/implptr-64bit.exp: New file.
5773
5774 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5775
5776 Fix initial language detection with -readnow.
5777 * gdb.cp/readnow-language.cc: New file.
5778 * gdb.cp/readnow-language.exp: New file.
5779
5780 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5781
5782 Fix printed anonymous struct name.
5783 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
5784
5785 2011-10-09 Joseph Myers <joseph@codesourcery.com>
5786
5787 * gdb.base/solib-symbol.exp: Do not include directories in
5788 filenames in expected messages.
5789
5790 2011-10-07 Doug Evans <dje@google.com>
5791
5792 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
5793
5794 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
5795
5796 Allow Python notification of new object-file loadings.
5797 * gdb.python/py-events.exp: Test newobjfile event.
5798 * gdb.python/py-events.py: Register newobjfile callback.
5799 * gdb.python/py-events.c: Add call to shared library
5800 * gdb.python/py-events-shlib.c: New file.
5801
5802 2011-10-06 Joseph Myers <joseph@codesourcery.com>
5803
5804 * gdb.base/fixsection.exp: Do not include directories in filename
5805 in expected message.
5806
5807 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5808
5809 Add tests for passing of environment variables to inferior.
5810 * gdb.base/testenv.c: New test source.
5811 * gdb.base/testenv.exp: New expect test.
5812
5813 2011-10-04 Paul Koning <paul_koning@dell.com>
5814
5815 * gdb.python/py-value.c (main): Break before return.
5816
5817 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
5818
5819 PR python/12691: Add the inferior to Python exited event
5820 * gdb.python/py-events.exp: Test the inferior attribute of exited
5821 event with a fork.
5822 * gdb.python/py-events.py: Print inferior number on exit.
5823 * gdb.python/py-events.c: Fork the inferior.
5824
5825 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
5826
5827 * gdb.base/jit.exp: Add testcase name to log message
5828
5829 2011-10-03 Paul Koning <paul_koning@dell.com>
5830 Jan Kratochvil <jan.kratochvil@redhat.com>
5831
5832 * gdb.python/py-value.exp
5833 (python inval = gdb.parse_and_eval('*(int*)0'))
5834 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
5835 (set argc=2, python print argc_lazy): New tests.
5836
5837 2011-10-02 Joel Brobecker <brobecker@adacore.com>
5838
5839 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
5840
5841 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5842 Pedro Alves <pedro@codesourcery.com>
5843
5844 * gdb.python/py-value.exp (test_value_in_inferior): New variable
5845 can_read_0, test for it.
5846 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
5847 (parse_and_eval with memory error): ... here, make it untested if
5848 can_read_0.
5849
5850 2011-09-30 Marek Polacek <mpolacek@redhat.com>
5851
5852 * gdb.python/python.exp (verify pagination beforehand)
5853 (verify pagination afterwards): Fix race by splitting the line.
5854
5855 2011-09-29 Joseph Myers <joseph@codesourcery.com>
5856
5857 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
5858 for 64-bit multilibs from i?86-* targets.
5859
5860 2011-09-29 Marek Polacek <mpolacek@redhat.com>
5861
5862 * lib/gdb.exp: Fix a typo in one of the comments.
5863
5864 2011-09-29 Marek Polacek <mpolacek@redhat.com>
5865
5866 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
5867 matching pattern.
5868
5869 2011-09-28 Paul Koning <paul_koning@dell.com>
5870
5871 * gdb.python/py-type.c (enum E): New.
5872 * gdb.python/py-type.exp (test_fields): Add tests for Python
5873 mapping access to fields.
5874 (test_enums): New test for field access on enums.
5875
5876 2011-09-27 Stan Shebs <stan@codesourcery.com>
5877
5878 * gdb.trace/collection.exp: Test collection of $_ret.
5879
5880 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
5881
5882 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
5883 list of compilation switches for <*-*-freebsd*>.
5884
5885 2011-09-19 Stan Shebs <stan@codesourcery.com>
5886
5887 * gdb.trace/tspeed.exp: New file.
5888 * gdb.trace/tspeed.c: New file.
5889
5890 2011-09-18 Yao Qi <yao@codesourcery.com>
5891
5892 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
5893 instructions.
5894 (test_adr_32bit, test_pop_pc): Likewise.
5895 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
5896 Thumb instructions.
5897 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
5898 in gdb_test_multiple.
5899 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
5900
5901 2011-09-17 Yao Qi <yao@codesourcery.com>
5902
5903 * lib/gdb.exp (can_single_step_to_signal_handler): New.
5904 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
5905 support single step to signal handler.
5906
5907 2011-09-17 Yao Qi <yao@codesourcery.com>
5908
5909 * gdb.base/disp-step-fork.c: New.
5910 * gdb.base/disp-step-syscall.exp: New.
5911 * gdb.base/disp-step-vfork.c: New.
5912
5913 2011-09-16 Joel Brobecker <brobecker@adacore.com>
5914
5915 * gdb.ada/tasks.exp: Make the expected output for
5916 the `info tasks' tests more resilient to spacing
5917 changes.
5918
5919 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5920
5921 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
5922 (reached breakpoint 2, reached breakpoint 3): Update expected output.
5923
5924 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
5925
5926 PR Python/12692 Add gdb.selected_inferior() to Python interface.
5927 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
5928
5929 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
5930
5931 Handle multiple breakpoint hits in Python interface:
5932 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
5933 presence.
5934 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
5935 breakpoint hits.
5936
5937 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
5938 Jan Kratochvil <jan.kratochvil@redhat.com>
5939
5940 * gdb.python/py-events.exp: Remove pretty printing comment.
5941 * gdb.python/py-evsignal.exp: New file.
5942 * gdb.python/py-evthreads.c: Include signal.h.
5943 (thread3): Remove variable count3. Remove variable bad and use raise
5944 instead.
5945 (thread2): Remove variable count2. Move thread3 pthread_create here,
5946 merge pthread_join to a single line.
5947 (main): Remove variable count1. Merge pthread_join with pthread_create
5948 to a single line.
5949 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
5950 KFAIL python/12966 for gdbserver. Test return value of
5951 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
5952 gdb_expect by gdb_test and gdb_test_multiple.
5953 (thread 2, thread 3): New tests.
5954
5955 2011-09-12 Matt Rice <ratmice@gmail.com>
5956 Pedro Alves <pedro@codesourcery.com>
5957
5958 PR gdb/13175
5959
5960 * gdb.base/interp.exp: New tests.
5961 * gdb.base/interp.c: New file.
5962
5963 2011-09-12 Doug Evans <dje@google.com>
5964
5965 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
5966 * gdb.dwarf2/typeddwarf.exp: Ditto.
5967
5968 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5969
5970 Fix compatibility with x32 arch.
5971 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
5972 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
5973 is_x86_like_target.
5974 * testsuite/gdb.trace/collection.exp: Likewise.
5975 * testsuite/gdb.trace/report.exp: Likewise.
5976 * testsuite/gdb.trace/unavailable.exp: Likewise.
5977 * testsuite/gdb.trace/while-dyn.exp: Likewise.
5978 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
5979 (is_x86_like_target): Check also is_amd64_regs_target.
5980
5981 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5982
5983 PR breakpoints/12435
5984 * gdb.arch/amd64-prologue-xmm.c: New file.
5985 * gdb.arch/amd64-prologue-xmm.exp: New file.
5986 * gdb.arch/amd64-prologue-xmm.s: New file.
5987
5988 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5989
5990 * gdb.dwarf2/dw2-param-error-main.c: New file.
5991 * gdb.dwarf2/dw2-param-error.S: New file.
5992 * gdb.dwarf2/dw2-param-error.exp: New file.
5993
5994 2011-09-08 Pedro Alves <pedro@codesourcery.com>
5995
5996 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
5997 inferior's pid and look for a core dump named core.$pid. Use
5998 `remote_file' commands on the host instead of hand coding shell
5999 commands on the build.
6000 * gdb.base/valgrind-db-attach.exp: Kill the program before
6001 finishing the test.
6002
6003 2011-09-02 Matt Rice <ratmice@gmail.com>
6004
6005 * lib/prompt.exp: New file for testing the first prompt.
6006 * gdb.python/py-prompt.exp: Ditto.
6007 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
6008
6009 2011-09-02 Pedro Alves <pedro@codesourcery.com>
6010
6011 * gdb.threads/gcore-thread.exp: Set the global core_supported to
6012 0, before testing gcore.
6013
6014 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6015
6016 * dw2-ifort-parameter-debug.S: Update copyright year.
6017 * dw2-ifort-parameter.c: Update copyright year.
6018 * dw2-ifort-parameter.exp: Update copyright year.
6019
6020 * dw2-ifort-parameter-debug.S: New file.
6021 * dw2-ifort-parameter.c: New file.
6022 * dw2-ifort-parameter.exp: New file.
6023
6024 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6025
6026 * gdb.base/commands.exp (error_clears_commands_left): New function.
6027 (): Call it.
6028
6029 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6030
6031 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
6032 (C): Initialize `a'.
6033 * gdb.mi/mi-inheritance-syntax-error.exp
6034 (-data-evaluate-expression $path): Expect `a' as 5.
6035
6036 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
6037
6038 PR mi/11912
6039 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
6040 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
6041 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
6042 keyword in output of -var-info-path-expression.
6043
6044 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6045
6046 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
6047 * gdb.trace/collection.exp: Likewise.
6048 * gdb.trace/report.exp: Likewise.
6049 * gdb.trace/unavailable.exp: Likewise.
6050 * gdb.trace/while-dyn.exp: Likewise.
6051
6052 2011-08-18 Keith Seitz <keiths@redhat.com>
6053
6054 PR c++/12266
6055 * gdb.cp/meth-typedefs.cc: New file.
6056 * gdb.cp/meth-typedefs.exp: New file.
6057
6058 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
6059
6060 * gdb.python/python.exp: Add extended-prompt tests.
6061
6062 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6063
6064 * gdb.arch/i386-dr3-watch.exp
6065 (watchpoint on gap1 does not fit debug registers)
6066 (delete all watchpoints): Fix racy expect strings.
6067
6068 2011-08-14 Yao Qi <yao@codesourcery.com>
6069
6070 * gdb.base/maint.exp: set data_section to ".neardata".
6071 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
6072 * gdb.base/savedregs.exp: Handle SIGILL.
6073 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
6074 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
6075
6076 2011-08-12 Doug Evans <dje@google.com>
6077
6078 * gdb.python/py-symbol.exp: Add test for symbol.type.
6079
6080 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
6081
6082 * gdb.threads/pthreads.exp: Enable on non-native configurations.
6083 * gdb.mi/mi-pthreads.exp: Likewise.
6084 * gdb.mi/mi2-pthreads.exp: Likewise.
6085 * gdb.mi/gdb669.exp.exp: Likewise.
6086
6087 2011-08-09 Pedro Alves <pedro@codesourcery.com>
6088
6089 * lib/mi-support.exp (detect_async): Rename to...
6090 (mi_detect_async): ... this.
6091 * gdb.mi/mi-nonstop-exit.exp: Adjust.
6092 * gdb.mi/mi-nonstop.exp: Adjust.
6093 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
6094 * gdb.mi/mi-nsintrall.exp: Adjust.
6095 * gdb.mi/mi-nsmoribund.exp: Adjust.
6096 * gdb.mi/mi-nsthrexec.exp: Adjust.
6097
6098 2011-08-09 Pedro Alves <pedro@codesourcery.com>
6099
6100 * gdb.base/display.c (do_loops): New `p_i' local.
6101 * gdb.base/display.exp: Test displaying a variable that is
6102 temporarily at a bad address.
6103
6104 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6105
6106 * gdb.dwarf2/dw2-op-stack-value.S: New file.
6107 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
6108
6109 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6110
6111 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
6112 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
6113 (p fuNC_symtab): Permit also ppc64 leading dot.
6114
6115 2011-08-05 Pedro Alves <pedro@codesourcery.com>
6116
6117 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
6118 procedure.
6119 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
6120
6121 2011-08-05 Yao Qi <yao@codesourcery.com>
6122
6123 * gdb.base/callfuncs.exp: Set language after main.
6124 * gdb.cp/cplusfuncs.exp: Likewise.
6125 * gdb.cp/inherit.exp: Likewise.
6126
6127 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6128
6129 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
6130 * gdb.base/watch-vfork.exp: Skip on remote targets.
6131
6132 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6133
6134 * gdb.threads/thread-find.exp: Support remote targets.
6135
6136 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6137
6138 * gdb.base/jit.exp: Download solib_binfile to target.
6139 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
6140 and call dlopen without full path name.
6141 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
6142 dlopen without full path name.
6143
6144 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6145
6146 * gdb.base/break-always.exp: Complete the test
6147 with duplicated breakpoints and enabling/disabling them.
6148
6149 2011-08-02 Tom Tromey <tromey@redhat.com>
6150
6151 PR gdb/11289:
6152 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
6153
6154 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6155
6156 PR gdb/13045
6157 * gdb.base/float.exp: Add new test case for PR gdb/13045
6158 * gdb.base/float.c: New file.
6159
6160 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
6161
6162 * gdb.python/py-mi.exp: Test printers returning string hint, and
6163 also not returning a value.
6164 * gdb.python/py-prettyprint.c: Add testcase for above.
6165 * gdb.python/py-prettyprint.py: Add test printer for above.
6166
6167 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6168
6169 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
6170 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
6171 (.Ldie30) Add as field "data4".
6172 (.Ldie32) Rename field "b" to "shl".
6173 (abbrev4) Change for the "data4" field.
6174 (abbrev5, abbrev6) Remove.
6175 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
6176 (p &s.shl): ... here. Add comment.
6177 (p &s.data4): New.
6178
6179 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6180
6181 Fix crash on lval_computed values.
6182 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
6183
6184 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6185
6186 * gdb.base/help.exp (help whatis): Update the expected string.
6187
6188 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6189
6190 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
6191 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
6192 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6193 Change the expected string.
6194
6195 2011-07-26 Pedro Alves <pedro@codesourcery.com>
6196
6197 * gdb.base/watchpoint.exp
6198 (test_disable_enable_software_watchpoint): New procedure.
6199 (top level): Run it.
6200
6201 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
6202
6203 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
6204 executable file "${binfile}", C++ version "${binfile}-cxx".
6205 * gdb.python/py-prettyprint.exp: Likewise.
6206 * gdb.python/py-symbol.exp: Likewise.
6207 * gdb.python/py-type.exp: Likewise.
6208 * gdb.python/py-value.exp: Likewise.
6209 * gdb.python/py-template.exp (test_template_arg): Pass full executable
6210 file name instead of just suffix.
6211
6212 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6213
6214 Fix implicit pointer offsets.
6215 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
6216 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
6217 (continue to breakpoint: continue to baz breakpoint for implptr)
6218 (sanity check element 0, sanity check element 1)
6219 (enter the inlined function, check element 0 for the offset)
6220 (check element 1 for the offset)
6221 (continue to breakpoint: ignore the second baz breakpoint): New tests.
6222 (set foo breakpoint for implptr): Update the breakpoint number.
6223
6224 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6225
6226 * gdb.python/py-mi.exp: Use different file names for different
6227 versions of the executable under test.
6228 * gdb.python/py-prettyprint.exp: Likewise.
6229 * gdb.python/py-symbol.exp: Likewise.
6230 * gdb.python/py-template.exp: Likewise.
6231 * gdb.python/py-type.exp: Likewise.
6232 * gdb.python/py-value.exp: Likewise.
6233
6234 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6235
6236 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
6237 flag after restarting GDB if necessary.
6238
6239 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6240
6241 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
6242
6243 2011-07-22 Pedro Alves <pedro@codesourcery.com>
6244
6245 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
6246 backend doesn't leave used debug registers behind.
6247
6248 2011-07-22 Tom Tromey <tromey@redhat.com>
6249
6250 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
6251 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
6252 argument.
6253 * gdb.dwarf2/typeddwarf-amd64.S: New file.
6254
6255 2011-07-21 Matt Rice <ratmice@gmail.com>
6256
6257 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
6258 in mostlyclean rule. Add files ending in .core.
6259
6260 2011-07-21 Matt Rice <ratmice@gmail.com>
6261
6262 PR macros/12999
6263 * gdb.base/info-macros.c: New test sources.
6264 * gdb.base/info-macros.exp: New tests.
6265
6266 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
6267
6268 * gdb.python/python.exp: Add prompt substitution tests.
6269
6270 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6271
6272 Fix crash if referenced CU is aged out.
6273 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
6274 New.
6275 * gdb.dwarf2/implptr.exp: Likewise.
6276
6277 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6278
6279 * gdb.dwarf2/implptr.S: Rebuilt.
6280 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
6281 (bar): Use them for j, k, l.
6282 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
6283 COMPILE.
6284 (print j in implptr:bar): Update for the intp typedef.
6285 (print p[0].x in implptr:foo): Use more exact regex.
6286
6287 2011-07-18 Tom Tromey <tromey@redhat.com>
6288
6289 * gdb.cp/static-method.exp: Add missing single quote.
6290
6291 2011-07-18 Yao Qi <yao@codesourcery.com>
6292
6293 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
6294 supported.
6295 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6296 * gdb.mi/mi-nonstop.exp: Likewise.
6297 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6298 * gdb.mi/mi-nsintrall.exp: Likewise.
6299 * gdb.mi/mi-nsmoribund.exp: Likewise.
6300 * gdb.mi/mi-nsthrexec.exp: Likewise.
6301 * gdb.python/py-evthreads.exp: Likewise.
6302
6303 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6304
6305 Code cleanup.
6306 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
6307 it. Substitute it instead of test_compiler_info everywhere.
6308
6309 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6310
6311 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
6312 remote targets as well.
6313
6314 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6315
6316 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
6317 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
6318
6319 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6320
6321 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
6322 a remote machine, not the host.
6323 (gdb_compile_shlib): Set soname if target is remote.
6324
6325 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6326
6327 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
6328
6329 2011-07-13 Matt Rice <ratmice@gmail.com>
6330
6331 * gdb.python/py-objfile-script-gdb.py: Renamed to
6332 py-objfile-script-gdb.py.in.
6333 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
6334 py-objfile-script-gdb.py.
6335 * gdb.python/py-objfile-script.exp: Update reference to
6336 py-objfile-script-gdb.py.
6337
6338 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6339
6340 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
6341 reference undefined label.
6342
6343 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6344
6345 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
6346 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
6347 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
6348 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
6349
6350 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
6351
6352 PR python/12438
6353 * gdb.python/python.exp: Add maint set/show python print-stack
6354 deprecated tests. Add set/show python print-backtrace tests.
6355
6356 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6357
6358 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
6359 debug info.
6360
6361 2011-07-06 Matt Rice <ratmice@gmail.com>
6362
6363 * gdb.python/python.exp: Update filename paths.
6364 * gdb.python/py-symtab.exp: Ditto.
6365
6366 2011-07-06 Marek Polacek <mpolacek@redhat.com>
6367
6368 * gdb.python/py-evthreads.exp: Add missing `$'.
6369
6370 2011-07-06 Jie Zhang <jie.zhang@analog.com>
6371
6372 * config/bfin.exp: New file.
6373 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
6374 * gdb.asm/bfin.inc: New file.
6375
6376 2011-07-06 Marek Polacek <mpolacek@redhat.com>
6377
6378 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
6379 the whole output.
6380
6381 2011-07-05 Tom Tromey <tromey@redhat.com>
6382
6383 * gdb.java/jprint.java (jprint.hi): New field.
6384 * gdb.java/jprint.exp: Print string.
6385
6386 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
6387
6388 * gdb.base/call-sc.c: Fix typos.
6389 * gdb.base/ifelse.exp: Likewise.
6390 * gdb.base/structs.c: Likewise.
6391
6392 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6393
6394 * gdb.base/jit-so.exp: New test.
6395 * gdb.base/jit-dlmain.c: New file.
6396 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
6397
6398 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6399
6400 * gdb.cp/m-static.exp: Call get_compiler_info.
6401 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
6402 * gdb.cp/pr9167.exp (p b): Likewise.
6403 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
6404 (test value of P in inner_m, test type of Z in inner_m): Call
6405 setup_xfail for gcc <= 4.5.
6406
6407 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6408
6409 * gdb.cp/paren-type.cc: New files.
6410 * gdb.cp/paren-type.exp: New files.
6411
6412 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6413
6414 Stop on first linespec terminator instead of eating what we can.
6415 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
6416 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
6417 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
6418 (break C::f()): ... this one.
6419 (break C::operator()()): New test.
6420 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
6421 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
6422 test.
6423
6424 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6425
6426 Fall back linespec to minimal symbols.
6427 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
6428 error message.
6429 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
6430 * gdb.cp/minsym-fallback-main.cc: New file.
6431 * gdb.cp/minsym-fallback.cc: New file.
6432 * gdb.cp/minsym-fallback.exp: New file.
6433 * gdb.cp/minsym-fallback.h: New file.
6434
6435 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6436
6437 * gdb.cp/no-dmgl-verbose.cc: New file.
6438 * gdb.cp/no-dmgl-verbose.exp: New file.
6439
6440 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6441
6442 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
6443 __GI_.
6444 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
6445 (f): New function.
6446 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
6447 (complete p 'func<short>(): ... here.
6448 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
6449 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
6450 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
6451 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
6452 Make them KFAIL gcc/49546.
6453
6454 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6455
6456 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
6457
6458 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6459
6460 Test GCC PR debug/49546.
6461 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
6462 (test type of F in k3_m, test value of F in k3_m): New.
6463 * gdb.cp/temargs.cc (struct S3, struct K3): New.
6464 (main): New variable k3. Call k3.k3_m.
6465
6466 2011-07-01 Jean-Charles Delay <delay@adacore.com>
6467
6468 * gdb.ada/packed_array.exp: Fix expected outout.
6469
6470 2011-07-01 Jean-Charles Delay <delay@adacore.com>
6471
6472 * gdb.ada/packed_array.exp: fixed expected output.
6473
6474 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6475
6476 * gdb.ada/same_enum: New testcase.
6477
6478 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6479
6480 * gdb.ada/ptr_typedef: New testcase.
6481
6482 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6483
6484 * gdb.ada/arrayptr.exp: Add ptype test.
6485
6486 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6487
6488 * gdb.ada/char_enum: New testcase.
6489
6490 2011-07-01 Yao Qi <yao@codesourcery.com>
6491
6492 * gdb.base/dump.exp (capture_pointer_with_type): New.
6493 Get value from address instead of name.
6494 Start GDB once, and do `dump' and `restore'
6495 tests together.
6496
6497 2011-06-30 Jie Zhang <jie.zhang@analog.com>
6498 Mike Frysinger <vapier@gentoo.org>
6499
6500 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
6501 helper functions for getting/setting remotetimeout variable.
6502 * lib/gdb.exp (gdb_load): If the target is remote, set
6503 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
6504 with $loadtimeout. Set $load_ok to 0 before doing the load.
6505 Instead of returning, immediately, set $load_ok to 0. Call
6506 set_remotetimeout with $oldremotetimeout, and then return if
6507 $load_ok is 1.
6508
6509 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
6510
6511 * gdb.python/py-template.exp: Don't run this test if the target
6512 does not support c++ tests.
6513
6514 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6515
6516 Fix non-only rename list for Fortran modules import.
6517 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
6518 tests.
6519 * gdb.fortran/module.f90 (module moduse): New.
6520 (program module): use moduse, test var_x, var_y and var_z.
6521
6522 2011-06-29 Tom Tromey <tromey@redhat.com>
6523
6524 PR testsuite/12040:
6525 * gdb.fortran/array-element.exp: Use f90, not f77.
6526 * gdb.fortran/complex.exp: Use f90, not f77.
6527 * gdb.fortran/derived-type.exp: Use f90, not f77.
6528 * gdb.fortran/library-module.exp: Use f90, not f77.
6529 * gdb.fortran/logical.exp: Use f90, not f77.
6530 * gdb.fortran/module.exp: Use f90, not f77.
6531 * gdb.fortran/multi-dim.exp: Use f90, not f77.
6532 * gdb.fortran/subarray.exp: Use f90, not f77.
6533
6534 2011-06-29 Tom Tromey <tromey@redhat.com>
6535
6536 * gdb.fortran/charset.exp: New file.
6537 * gdb.fortran/charset.f90: New file.
6538
6539 2011-06-29 Tom Tromey <tromey@redhat.com>
6540
6541 PR testsuite/12040:
6542 * lib/future.exp: New file, mostly extracted from ada.exp.
6543 Rewrote compatibility code to use rename.
6544 (gdb_find_gfortran): New proc.
6545 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
6546 gfortran patch.
6547 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
6548 Move to future.exp.
6549 * lib/gdb.exp: Always load future.exp.
6550
6551 2011-06-28 Yao Qi <yao@codesourcery.com>
6552
6553 * gdb.cp/exception.cc: Don't include iostream.
6554 (bar): Remove print statement.
6555 (catcher): New.
6556 (main): Remove print statements. Call function catcher.
6557 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
6558 Set breakpoint on catcher, and check the value of parameter.
6559
6560 2011-06-23 Yao Qi <yao@codesourcery.com>
6561
6562 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
6563 breakpoint 1.2 is disabled. KFAIL for uclinux.
6564
6565 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6566
6567 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
6568 mi_gdb_test.
6569
6570 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6571
6572 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
6573
6574 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6575
6576 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
6577
6578 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6579
6580 * gdb.mi/mi2-basics.exp: Fix races. Honour the
6581 `test_exec_and_symbol_mi_operatons' return value.
6582 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6583 gdb_test_multiple.
6584 (test_exec_and_symbol_mi_operatons): Likewise.
6585 (test_path_specification): Likewise.
6586
6587 2011-06-23 Yao Qi <yao@codesourcery.com>
6588
6589 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
6590 supported.
6591 * lib/gdb.exp (support_displaced_stepping): New.
6592
6593 2011-06-23 Yao Qi <yao@codesourcery.com>
6594
6595 * gdb.threads/execl.exp: Skip on remote target.
6596
6597 2011-06-21 Marek Polacek <mpolacek@redhat.com>
6598
6599 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
6600 mi_gdb_test.
6601
6602 2011-06-20 Marek Polacek <mpolacek@redhat.com>
6603
6604 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
6605
6606 2011-06-20 Marek Polacek <mpolacek@redhat.com>
6607
6608 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
6609 mi_gdb_test.
6610
6611 2011-06-20 Marek Polacek <mpolacek@redhat.com>
6612
6613 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
6614
6615 2011-06-14 Yao Qi <yao@codesourcery.com>
6616
6617 gdb/testsuite/
6618 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
6619
6620 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6621
6622 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
6623
6624 2011-06-10 Tom Tromey <tromey@redhat.com>
6625
6626 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
6627 Add tests for pointer-to-member-function.
6628 * gdb.cp/temargs.cc (S::somefunc): New function.
6629 (K2): New class.
6630 (main): Instantiate K2; call method.
6631
6632 2011-06-08 Joel Brobecker <brobecker@adacore.com>
6633
6634 * gdb.python/py-inferior.c (f2): Make str an array rather
6635 than a pointer.
6636 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
6637
6638 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6639
6640 * gdb.base/async-shell.c: New file.
6641 * gdb.base/async-shell.exp: New file.
6642
6643 2011-06-06 Pedro Alves <pedro@codesourcery.com>
6644
6645 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
6646
6647 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
6648
6649 From Stephen Kitt <steve@sk2.org>
6650 * gdb.base/help.exp: Adjust following some spelling corrections
6651 in GDB.
6652
6653 2011-06-01 Yao Qi <yao@codesourcery.com>
6654
6655 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
6656
6657 2010-05-31 Keith Seitz <keiths@redhat.com>
6658
6659 PR c++/12750
6660 * gdb.cp/static-method.cc: New file.
6661 * gdb.cp/static-method.exp: New file.
6662
6663 2010-05-31 Keith Seitz <keiths@redhat.com>
6664
6665 PR symtab/12704
6666 * gdb.cp/anon-ns.cc: New file.
6667 * gdb.cp/anon-ns.exp: New file.
6668
6669 2011-05-31 Pedro Alves <pedro@codesourcery.com>
6670
6671 * gdb.arch/i386-dr3-watch.c: New file.
6672 * gdb.arch/i386-dr3-watch.exp: New file.
6673
6674 2011-05-30 Yao Qi <yao@codesourcery.com>
6675
6676 * gdb.base/callfuncs.c (t_structs_fc): New.
6677 (t_structs_dc, t_structs_ldc): New.
6678 (t_double_many_args):
6679 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
6680 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
6681 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
6682 * gdb.base/callfuncs.exp: Call new functions.
6683
6684 2011-05-30 Yao Qi <yao@codesourcery.com>
6685
6686 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
6687 Call rerun_and_prepare for each test to isolate effects.
6688
6689 2011-05-30 Yao Qi <yao@codesourcery.com>
6690
6691 * gdb.base/varargs.c (find_max_float_real): New.
6692 (find_max_double_real, find_max_long_double_real): New.
6693 * gdb.base/varargs.exp: Call these new added functions.
6694 * lib/gdb.exp (setup_kfail_for_target): New.
6695
6696 2011-05-30 Yao Qi <yao@codesourcery.com>
6697
6698 * gdb.base/funcargs.c (callca, callcb, callcc): New.
6699 (callcd, callce, callcf, callc1a, callc1b): New.
6700 (callc2a, callc2b): New.
6701 * gdb.base/funcargs.exp (complex_args): New.
6702 (complex_integral_args, complex_float_integral_args): New.
6703 * lib/gdb.exp (support_complex_tests): New. Determine
6704 whether to run test cases on _Complex types.
6705
6706 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6707
6708 * gdb.threads/leader-exit.c: New file.
6709 * gdb.threads/leader-exit.exp: New file.
6710
6711 2011-05-27 Marek Polacek <mpolacek@redhat.com>
6712
6713 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6714
6715 2011-05-27 Marek Polacek <mpolacek@redhat.com>
6716
6717 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
6718 remove the `supported' variable.
6719 * gdb.mi/mi-nonstop.exp: Likewise.
6720 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6721 * gdb.mi/mi-nsintrall.exp: Likewise.
6722 * gdb.mi/mi-nsmoribund.exp: Likewise.
6723 * gdb.mi/mi-nsthrexec.exp: Likewise.
6724
6725 2011-05-26 Pedro Alves <pedro@codesourcery.com>
6726
6727 * gdb.reverse/finish-reverse-bkpt.exp: New test.
6728
6729 2011-05-26 Pedro Alves <pedro@codesourcery.com>
6730
6731 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
6732
6733 2011-05-24 Keith Seitz <keiths@redhat.com>
6734
6735 PR breakpoint/12803
6736 * gdb.cp/cmpd-minsyms.cc (a): New method.
6737 (b): New method.
6738 (c): New method.
6739 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
6740
6741 2011-05-24 Pedro Alves <pedro@codesourcery.com>
6742
6743 * gdb.base/commands.exp (watchpoint_command_test): Check that the
6744 watchpoint's command list didn't execute when the watchpoint went
6745 out of scope.
6746
6747 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
6748
6749 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
6750 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
6751 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
6752 * gdb.arch/i386-gnu-cfi.exp: Likewise.
6753 * gdb.arch/i386-permbkpt.exp: Likewise.
6754 * gdb.arch/i386-prologue.exp: Likewise.
6755 * gdb.arch/i386-size-overlap.exp: Likewise.
6756 * gdb.arch/i386-size.exp: Likewise.
6757 * gdb.arch/i386-unwind.exp: Likewise.
6758 * gdb.reverse/i386-precsave.exp: Likewise.
6759 * gdb.reverse/i386-reverse.exp: Likewise.
6760 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6761 * gdb.reverse/i387-env-reverse.exp: Likewise.
6762 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6763
6764 2011-05-24 Pedro Alves <pedro@codesourcery.com>
6765
6766 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
6767 file doesn't error, using MI.
6768
6769 2011-05-23 Tom Tromey <tromey@redhat.com>
6770
6771 * gdb.base/charset.exp (string_display): Add tests to assign to
6772 arrays.
6773 * gdb.base/charset.c (short_array, int_array, long_array): New.
6774
6775 2011-05-20 Pedro Alves <pedro@codesourcery.com>
6776
6777 Cope with async mode.
6778
6779 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
6780 into gdb_test + mi_expect_stop.
6781
6782 2011-05-20 Pedro Alves <pedro@codesourcery.com>
6783
6784 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
6785 (callme): Remove printf call.
6786
6787 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
6788
6789 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
6790 quote pattern to avoid problems with Cygwin/mingw expect versions.
6791 * gdb.base/default.exp (show convenience): Use double
6792 quote pattern for regular expressions.
6793
6794 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6795
6796 Fix -readnow for -gdwarf-4 unused type units.
6797 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
6798 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
6799
6800 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6801
6802 * gdb.base/kill-after-signal.c: New file.
6803 * gdb.base/kill-after-signal.exp: New file.
6804
6805 2011-05-16 Pedro Alves <pedro@codesourcery.com>
6806
6807 * gdb.ada/start.exp: Call untested with the correct test filename.
6808 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
6809 test filename. Make the test's binary unique.
6810 * gdb.arch/i386-signal.exp: Call untested with the correct test
6811 filename.
6812 * gdb.arch/i386-size-overlap.exp: Ditto.
6813 * gdb.arch/Makefile.in (EXECUTABLES): Update.
6814 * gdb.base/gcore-buffer-overflow.exp: Ditto.
6815 * gdb.cp/call-c.exp: Ditto.
6816 * gdb.mi/mi-reverse.exp: Call untested with the correct test
6817 filename. Make the test's binary unique.
6818 * gdb.mi/Makefile.in (EXECUTABLES): Update.
6819 * gdb.python/py-mi.exp: Ditto.
6820 * gdb.python/Makefile.in (EXECUTABLES): Update.
6821 * gdb.reverse/i386-precsave.exp: Ditto.
6822 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
6823 test filename.
6824 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6825 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
6826 unique.
6827 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
6828 test filename.
6829 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
6830 * gdb.trace/tfile.exp: Ditto.
6831
6832 2011-05-14 Yao Qi <yao@codesourcery.com>
6833
6834 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
6835 type.
6836
6837 2011-05-13 Doug Evans <dje@google.com>
6838
6839 * gdb.python/py-objfile-script.exp: New file.
6840 * gdb.python/py-objfile-script.c: New file.
6841 * gdb.python/py-objfile-script-gdb.py: New file.
6842 * testsuite/gdb.python/py-section-script.exp: Test
6843 "info auto-load-scripts".
6844
6845 2011-05-13 Tom Tromey <tromey@redhat.com>
6846
6847 * gdb.dwarf2/clztest.exp: New file.
6848 * gdb.dwarf2/clztest.c: New file.
6849 * gdb.dwarf2/clztest.S: New file.
6850
6851 2011-05-13 Doug Evans <dje@google.com>
6852
6853 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
6854 String16 tests.
6855
6856 2011-05-13 Tom Tromey <tromey@redhat.com>
6857
6858 * lib/gdb.exp (is_x86_like_target): New proc.
6859 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
6860 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
6861 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
6862 -nostdlib to compiler.
6863 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
6864 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
6865 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
6866 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
6867 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
6868
6869 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
6870
6871 * gdb.python/py-function.exp: Test setting a value from a function
6872 which executes a command.
6873
6874 2011-05-12 Tom Tromey <tromey@redhat.com>
6875
6876 * gdb.dwarf2/typeddwarf.S: New file.
6877 * gdb.dwarf2/typeddwarf.c: New file.
6878 * gdb.dwarf2/typeddwarf.exp: New file.
6879
6880 2011-05-12 Marek Polacek <mpolacek@redhat.com>
6881
6882 * gdb.mi/mi-basics.exp: Fix races. Honour the
6883 `test_exec_and_symbol_mi_operatons' return value.
6884 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6885 gdb_test_multiple.
6886 (test_exec_and_symbol_mi_operatons): Likewise.
6887 (test_path_specification): Likewise.
6888
6889 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6890
6891 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
6892 (gdb_touch_execfile): Remove catch wrappers. New variable time.
6893 Replace `file copy' and `file rename' by `file mtime'. Twice.
6894
6895 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6896
6897 * gdb.base/readline-ask.c: New file.
6898 * gdb.base/readline-ask.exp: New file.
6899 * gdb.base/readline-ask.inputrc: New file.
6900
6901 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
6902
6903 * gdb.cell/bt.exp: Delete breakpoints before running to signal
6904 to avoid race condition.
6905 * gdb.cell/coremaker.c: Use small stack size.
6906 * gdb.cell/ea-standalone.exp: Use file name without path as
6907 argument to c_to.
6908 * gdb.cell/fork.exp: Allow other output when continuing to end.
6909
6910 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6911
6912 * gdb.threads/corethreads.c: New file.
6913 * gdb.threads/corethreads.exp: New file.
6914
6915 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6916
6917 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
6918 Try to compile the test using -Wl,-z,norelro first.
6919 (load_core): New variable libthread_db_seen, initialize it.
6920 (zeroed-threads cannot be listed): Protect it by XFAIL on
6921 !$libthread_db_seen.
6922
6923 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6924
6925 PR 12573
6926 * gdb.dwarf2/dw2-skip-prologue.S: New file.
6927 * gdb.dwarf2/dw2-skip-prologue.c: New file.
6928 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
6929
6930 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6931
6932 * gdb.cp/psymtab-parameter.cc: New file.
6933 * gdb.cp/psymtab-parameter.exp: New file.
6934
6935 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6936
6937 Fix a race.
6938 * gdb.cp/static-print-quit.exp (print c): Split to ...
6939 (print c - <return>, print c - q <return>, print c - to quit):
6940 ... these. Make the testfile untested on gdb-7.1.
6941
6942 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
6943
6944 * lib/gdb.exp (exec_target_file, exec_symbol_file,
6945 gdb_rename_execfile, gdb_touch_execfile): New.
6946 * gdb.base/reread.exp: Use new procs to handle multiple
6947 exec files.
6948
6949 2011-05-05 Yao Qi <yao@codesourcery.com>
6950
6951 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
6952 (test_adr_32bit, test_pop_pc): New.
6953 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
6954 (test_adr_32bit, test_pop_pc): New.
6955
6956 2011-05-04 Joseph Myers <joseph@codesourcery.com>
6957
6958 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
6959 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
6960 targets.
6961 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
6962 handle targets.
6963
6964 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6965
6966 * gdb.base/completion.exp (complete help info wat): Rename to ...
6967 (complete 'help info wat'): ... here.
6968 Remove all `-re ".*' and `-re "^.*' redundant regexes.
6969 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
6970
6971 2011-05-04 Pedro Alves <pedro@codesourcery.com>
6972
6973 * gdb.base/completion.exp: Use gdb_test_multiple instead of
6974 gdb_test and explicit $gdb_prompt/timeout matches.
6975
6976 2011-05-04 Yao Qi <yao@codesourcery.com>
6977
6978 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
6979 and __thumb2__.
6980
6981 2011-05-03 Marek Polacek <mpolacek@redhat.com>
6982
6983 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
6984 in place of `gdb_test "delete breakpoints"'. This eliminates two
6985 testcases.
6986
6987 2011-05-02 Pedro Alves <pedro@codesourcery.com>
6988
6989 PR testsuite/12649
6990 Fix races.
6991
6992 * gdb.base/completion.exp: Remove all sleep calls. Remove
6993 unnecessary regexs. Don't explicitly expect anything after the
6994 prompt. Eat the prompt if necessary.
6995
6996 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
6997
6998 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
6999 accept to show the caller line again as well as the line after.
7000
7001 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
7002
7003 PR mi/12531
7004
7005 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
7006 compile target.
7007 * gdb.python/py-prettyprint.exp: Add C++ object for
7008 CPLUS_FAKE_CHILD test.
7009
7010 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
7011
7012 * gdb.base/signest.exp: New file.
7013 * gdb.base/signest.c: Likewise.
7014
7015 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7016
7017 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
7018 thread and breakpoint notifications.
7019
7020 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7021
7022 * gdb.base/fortran-sym-case.c: New file.
7023 * gdb.base/fortran-sym-case.exp: New file.
7024 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
7025 * gdb.dwarf2/dw2-case-insensitive.c: New file.
7026 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
7027
7028 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7029
7030 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
7031 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
7032 false #1', `if true else false #2' and `if true else false #3'.
7033
7034 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
7035
7036 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
7037 while delivering signal.
7038
7039 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
7040
7041 MI breakpoint notifications.
7042
7043 * testsuite/gdb.mi/mi-cli.exp: Adust.
7044 * testsuite/gdb.mi/mi2-cli.exp: Adust.
7045 * testsuite/gdb.mi/mi-watch.exp: Adust.
7046 * testsuite/gdb.mi/mi2-watch.exp: Adust.
7047 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
7048 notifications.
7049
7050 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7051
7052 * gdb.base/gdbindex-stabs-dwarf.c: New file.
7053 * gdb.base/gdbindex-stabs.c: New file.
7054 * gdb.base/gdbindex-stabs.exp: New file.
7055
7056 2011-04-25 Yao Qi <yao@codesourcery.com>
7057
7058 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
7059 with /*...*/.
7060 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
7061
7062 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7063
7064 * gdb.python/py-value.exp (test_objfiles): Name the first test
7065 `py-value in file.filename'.
7066
7067 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7068
7069 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
7070 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
7071 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
7072 !gdbserver_reconnect_p..
7073 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
7074
7075 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7076
7077 * gdb.cp/cpcompletion.exp (complete class methods)
7078 (complete class methods beginning with F): Move them above runto. New
7079 comment about the runto delimiter.
7080
7081 2011-04-20 Pedro Alves <pedro@codesourcery.com>
7082
7083 * gdb.base/maint.exp: Test that "maint print registers" works
7084 without a running program.
7085
7086 2011-04-20 Marek Polacek <mpolacek@redhat.com>
7087
7088 * gdb.base/setshow.exp: Fix racy tests.
7089 ($old_gdb_prompt): New variable.
7090
7091 2011-04-19 Tom Tromey <tromey@redhat.com>
7092
7093 * gdb.mi/mi-nsmoribund.exp:
7094 * gdb.hp/gdb.objdbg/objdbg01.exp:
7095 * gdb.base/structs.exp (test_struct_returns):
7096 * gdb.base/call-sc.exp (test_scalar_returns):
7097 * gdb.base/bigcore.exp: Remove duplicate words.
7098
7099 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7100
7101 * gdb.base/break-interp-lib.c (v, vptr): New variables.
7102 * gdb.base/break-interp.exp (test_attach): New comment.
7103
7104 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7105
7106 * gdb.threads/gcore-thread.exp ($core0file): New variable.
7107 (clear __stack_user.next, clear stack_used.next)
7108 (save a zeroed-threads corefile): New test.
7109 Call core_load for $core0file.
7110 (zeroed-threads cannot be listed): New test.
7111
7112 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7113
7114 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
7115 filename.
7116 ($srcfile): Preserve the original value.
7117 ($testfile): Match it the .exp filename.
7118 ($corefile): New variable. Substitute it around.
7119 Use clean_restart.
7120 ($prev_timeout): Remove.
7121 (load_core): Move core loading into this proc.
7122 Fix restore of $timeout if load_core fails.
7123
7124 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7125
7126 * gdb.base/eu-strip-infcall.c: New file.
7127 * gdb.base/eu-strip-infcall.exp: New file.
7128
7129 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7130
7131 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
7132 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
7133
7134 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7135
7136 Fix Python access to inlined frames.
7137 * gdb.python/py-frame-inline.c: New file.
7138 * gdb.python/py-frame-inline.exp: New file.
7139
7140 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
7141
7142 * gdb.base/gdb1090.exp: Change breakpoint location to read the
7143 content of 's24' correctly (avoiding "optimized out").
7144 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
7145
7146 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7147
7148 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
7149
7150 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
7151
7152 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
7153 expect a colon in watch -location output.
7154
7155 2011-04-13 Marek Polacek <mpolacek@redhat.com>
7156
7157 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
7158 New testcase `expect response to define backtrace'. Also remove
7159 redundant `default' block.
7160
7161 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7162
7163 * gdb.python/py-prettyprint.c (struct hint_error): New.
7164 (main): New variable hint_error.
7165 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
7166 "print hint_error".
7167 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
7168 (register_pretty_printers): Register it.
7169
7170 2011-04-04 Tom Tromey <tromey@redhat.com>
7171
7172 * gdb.cp/maint.exp (test_help): Update.
7173 (test_namespace): Likewise.
7174
7175 2011-04-01 Joel Brobecker <brobecker@adacore.com>
7176
7177 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
7178 * gdb.ada/arrayptr.exp: Add new tests.
7179
7180 2011-04-01 Joel Brobecker <brobecker@adacore.com>
7181
7182 * gdb.ada/mi_catch_ex: New testcase.
7183
7184 2011-04-01 Pedro Alves <pedro@codesourcery.com>
7185
7186 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
7187 base::overload(void) method without specifying "const".
7188
7189 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
7190
7191 * gdb.arch/thumb-singlestep.S: New file.
7192 * gdb.arch/thumb-singlestep.exp: Likewise.
7193
7194 2011-03-31 Tom Tromey <tromey@redhat.com>
7195
7196 * gdb.python/py-prettyprint.py (exception_flag): New global.
7197 (NoStringContainerPrinter._iterator.next): Check it.
7198 * gdb.python/py-prettyprint.c (main): New variable nstype2.
7199 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
7200
7201 2011-03-29 Tom Tromey <tromey@redhat.com>
7202
7203 * gdb.cp/anon-struct.cc: New file.
7204 * gdb.cp/anon-struct.exp: New file.
7205
7206 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7207
7208 Test STT_GNU_IFUNC support.
7209 * gdb.base/gnu-ifunc-lib.c: New file.
7210 * gdb.base/gnu-ifunc.c: New file.
7211 * gdb.base/gnu-ifunc.exp: New file.
7212
7213 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7214
7215 Support a ring of related breakpoints.
7216 * gdb.base/watchpoint-delete.c: New file.
7217 * gdb.base/watchpoint-delete.exp: New file.
7218
7219 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7220
7221 * gdb.ada/arrayparam.exp (print first after function call): Use
7222 explicit package name. Add a comment
7223 (print lasta after function call): Rename ...
7224 (print last after function call): ... it and use explicit package
7225 name.
7226 (print length after function call): Use explicit package name.
7227 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
7228 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
7229 (multiple matches for symbol i): Rename ...
7230 (multiple matches for symbol integervar): ... it.
7231 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
7232 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
7233
7234 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
7235
7236 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
7237 environment variable to make grep output more predictable. Move
7238 all the environment setup into gdb_init so it's done once per test
7239 case rather than each time we start gdb.
7240
7241 2011-03-24 Tom Tromey <tromey@redhat.com>
7242
7243 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
7244 test.
7245
7246 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7247
7248 * gdb.dwarf2/dw2-entry-value-main.c: New file.
7249 * gdb.dwarf2/dw2-entry-value.S: New file.
7250 * gdb.dwarf2/dw2-entry-value.exp: New file.
7251
7252 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
7253
7254 PR python/12183
7255
7256 * gdb.python/py-function.exp: Add GdbError tests.
7257
7258 2011-03-18 Pedro Alves <pedro@codesourcery.com>
7259
7260 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
7261 (reglocal_test_func, statlocal_test_func): New functions.
7262 (globals_test_func): Call new functions.
7263 * gdb.trace/unavailable.exp (gdb_collect_args_test)
7264 (gdb_collect_locals_test): New procedure.
7265 (gdb_trace_collection_test): Call new procedures.
7266
7267 2011-03-18 Pedro Alves <pedro@codesourcery.com>
7268
7269 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
7270 (test_register, test_register_unavailable): New procedures.
7271 (gdb_unavailable_registers_test): New procedure.
7272 (gdb_trace_collection_test): Call it.
7273
7274 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
7275
7276 PR python/12149
7277
7278 * gdb.python/python.exp: Add gdb.write tests.
7279
7280 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
7281
7282 * gdb.python/Makefile.in: Add py-objfile.
7283 * gdb.python/py-objfile.exp: New file.
7284 * gdb.python/py-objfile.c: New file.
7285 * gdb.python/py-block.exp: Add is_valid tests.
7286 * gdb.python/py-inferior.exp: Ditto.
7287 * gdb.python/py-infthread.exp: Ditto.
7288 * gdb.python/py-symbol.exp: Ditto.
7289 * gdb.python/py-symtab.exp: Ditto.
7290
7291 2011-03-16 Keith Seitz <keiths@redhat.com>
7292
7293 PR c++/12273
7294 * gdb.cp/cmpd-minsyms.exp: New test.
7295 * gdb.cp/cmpd-minsyms.cc: New file.
7296
7297 PR c++/11734
7298 * gdb.cp/ovsrch.exp: New test.
7299 * gdb.cp/ovsrch.h: New file.
7300 * gdb.cp/ovsrch1.cc: New file.
7301 * gdb.cp/ovsrch2.cc: New file.
7302 * gdb.cp/ovsrch3.cc: New file.
7303 * gdb.cp/ovsrch4.cc: New file.
7304
7305 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7306
7307 PR gdb/12528
7308 * gdb.base/Makefile.in: Adjust EXECUTABLES.
7309 * gdb.base/break-on-linker-gcd-function.exp: New test.
7310 * gdb.base/break-on-linker-gcd-function.cc: New file.
7311
7312 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
7313
7314 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
7315
7316 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
7317
7318 * lib/gdb.exp (gdb_unload): Add another termination case.
7319
7320 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7321
7322 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
7323 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
7324 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
7325 Provide a stub byte there.
7326 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
7327 DW_AT_entry_pc.
7328 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
7329
7330 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
7331
7332 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
7333 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
7334 "generic ABI, auto".
7335 (altivec_abi_tests): Accept vectors returned by reference.
7336
7337 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
7338
7339 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
7340
7341 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
7342
7343 * gdb.python/py-section-script.exp: Skip test if no Python support.
7344
7345 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
7346
7347 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
7348
7349 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
7350
7351 * gdb.python/py-parameter.exp: Update tests to the new Python
7352 parameter API. Add "no documentation" test. Add deprecated API
7353 backward compatibility test.
7354
7355 2011-03-09 Tom Tromey <tromey@redhat.com>
7356
7357 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
7358 gdb_continue_to_end.
7359
7360 2011-03-09 Mark Kettenis <kettenis@gnu.org>
7361
7362 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
7363 tabs.
7364
7365 2011-03-09 Tom Tromey <tromey@redhat.com>
7366
7367 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
7368 parentheses.
7369 (gdb_continue_to_end): Add "allow_extra" parameter. Use
7370 $command.
7371 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
7372 argument to gdb_continue_to_end.
7373 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
7374 argument to gdb_continue_to_end.
7375 * gdb.cp/annota3.exp: Fix regex.
7376 * gdb.cp/annota2.exp: Fix regex.
7377 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
7378 gdb_continue_to_end.
7379 * gdb.base/call-signal-resume.exp: Revert earlier patch.
7380 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
7381 gdb_continue_to_end.
7382
7383 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7384
7385 * gdb.server/ext-run.exp
7386 (load new file without any gdbserver inferior): New test.
7387
7388 2011-03-07 Tom Tromey <tromey@redhat.com>
7389
7390 * Makefile.in (TAGS): Rewrite.
7391
7392 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7393
7394 * gdb.trace/report.exp (12.1: trace report #1): New match for the
7395 initial commands echo. New match for `Found trace'. Anchor all the
7396 other matches. Anchor and match for `No trace frame found' the final
7397 match.
7398
7399 2011-03-07 Tom Tromey <tromey@redhat.com>
7400
7401 * Makefile.in (TAGS): New target.
7402
7403 2011-03-07 Tom Tromey <tromey@redhat.com>
7404
7405 * lib/opencl.exp (skip_opencl_tests): Update for exit message
7406 change.
7407 * lib/mi-support.exp (mi_gdb_test): Update for exit message
7408 change.
7409 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
7410 exit message change.
7411 (skip_altivec_tests): Update for exit message change.
7412 (skip_vsx_tests): Likewise.
7413 (gdb_continue_to_end): Likewise. Add 'command' argument.
7414 * lib/cell.exp (skip_cell_tests): Update for exit message change.
7415 * gdb.threads/tls.exp: Update for exit message change.
7416 * gdb.threads/thread-unwindonsignal.exp: Use
7417 gdb_continue_to_end.
7418 * gdb.threads/step.exp (step_it): Update for exit message change.
7419 (continue_all): Likewise.
7420 * gdb.threads/print-threads.exp (test_all_threads): Update for
7421 exit message change.
7422 * gdb.threads/interrupted-hand-call.exp: Use
7423 gdb_continue_to_end.
7424 * gdb.threads/execl.exp: Use gdb_continue_to_end.
7425 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
7426 gdb_continue_to_end.
7427 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
7428 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
7429 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
7430 * gdb.cp/method.exp: Update for exit message change.
7431 * gdb.cp/mb-templates.exp: Update for exit message change.
7432 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
7433 * gdb.cp/annota3.exp: Update for exit message change.
7434 * gdb.cp/annota2.exp: Update for exit message change.
7435 * gdb.cell/fork.exp: Use gdb_continue_to_end.
7436 * gdb.base/term.exp: Update for exit message change.
7437 * gdb.base/step-test.exp (test_i): Update for exit message change.
7438 * gdb.base/sigstep.exp (advance): Update for exit message change.
7439 (advancei): Likewise.
7440 * gdb.base/siginfo.exp: Update for exit message change.
7441 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
7442 * gdb.base/reread.exp: Use gdb_continue_to_end.
7443 * gdb.base/langs.exp: Use gdb_continue_to_end.
7444 * gdb.base/interrupt.exp: Update for exit message change.
7445 * gdb.base/gdb1555.exp: Update for exit message change.
7446 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
7447 * gdb.base/ending-run.exp: Update for exit message change.
7448 * gdb.base/chng-syms.exp: Update for exit message change.
7449 * gdb.base/checkpoint.exp: Update for exit message change.
7450 * gdb.base/catch-syscall.exp (check_for_program_end): Use
7451 gdb_continue_to_end.
7452 (test_catch_syscall_with_wrong_args): Likewise.
7453 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
7454 * gdb.base/break-interp.exp (test_ld): Update for exit message
7455 change.
7456 * gdb.base/bang.exp: Update for exit message change.
7457 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
7458 (do_call_attach_tests): Likewise.
7459 * gdb.base/a2-run.exp: Update for exit message change.
7460 * gdb.arch/ppc-dfp.exp: Update for exit message change.
7461 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
7462 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
7463
7464 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7465
7466 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
7467
7468 2011-03-03 Tom Tromey <tromey@redhat.com>
7469
7470 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
7471 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
7472 * gdb.hp/gdb.aCC/configure.ac: Remove.
7473 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
7474 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
7475 * gdb.hp/gdb.base-hp/configure.ac: Remove.
7476 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
7477 * gdb.hp/gdb.compat/configure (Makefile): Remove.
7478 * gdb.hp/gdb.compat/configure.ac: Remove.
7479 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
7480 * gdb.hp/gdb.defects/configure (Makefile): Remove.
7481 * gdb.hp/gdb.defects/configure.ac: Remove.
7482 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
7483 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
7484 * gdb.hp/gdb.objdbg/configure.ac: Remove.
7485 * gdb.hp/configure.ac: Remove.
7486 * gdb.hp/configure: Remove.
7487 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
7488 substitution.
7489 (Makefile): Remove rule.
7490 * gdb.cell/configure.ac: Remove.
7491 * gdb.cell/configure: Remove.
7492 * gdb.stabs/Makefile.in (Makefile): Remove.
7493 (distclean): Don't remove config.status or config.log.
7494 * gdb.stabs/configure (Makefile): Remove.
7495 * gdb.stabs/configure.ac: Remove.
7496 * configure: Rebuild.
7497 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
7498 Remove stabs- and cell-specific logic. Test for existence of
7499 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
7500 subdirectories, gdb.cell, and and gdb.stabs.
7501 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
7502
7503 2011-03-03 Joel Brobecker <brobecker@adacore.com>
7504
7505 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
7506 end of buffer.
7507
7508 2011-03-02 Joel Brobecker <brobecker@adacore.com>
7509
7510 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
7511 gdb_test when running a test where we expected no output back.
7512
7513 2011-02-28 Michael Snyder <msnyder@vmware.com>
7514
7515 * gdb.cp/overload.cc: Change initializer value to integer.
7516
7517 2011-02-27 Michael Snyder <msnyder@vmware.com>
7518
7519 * gdb.multi/base.exp: Add test for remove-inferiors.
7520
7521 2011-02-26 Joel Brobecker <brobecker@adacore.com>
7522
7523 * gdb.python/py-frame.exp: Simplify the initialization phase
7524 using prepare_for_testing.
7525
7526 2011-02-25 Michael Snyder <msnyder@vmware.com>
7527
7528 * gdb.multi/base.exp: Add tests for info inferiors with args.
7529
7530 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7531
7532 * gdb.dwarf2/dw2-ranges.S: Rename to ...
7533 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
7534 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
7535 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
7536 asmfile3. Comment the STABS (#3) file compilation. Compile
7537 everything through assembler. Provide KFAIL for symtab/12497.
7538 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
7539 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
7540 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
7541 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
7542
7543 2011-02-24 Michael Snyder <msnyder@vmware.com>
7544
7545 * gdb.base/break.exp: Add tests for delete breakpoints using
7546 convenience variables and value history references.
7547
7548 2011-02-24 Michael Snyder <msnyder@vmware.com>
7549
7550 * gdb.base/break.exp: Remove debugging 'printf' accidentally
7551 left behind in previous check-in.
7552
7553 2011-02-23 Michael Snyder <msnyder@vmware.com>
7554
7555 * gdb.base/break.exp: Add tests for "info break" with arguments.
7556 * gdb.trace/infotrace.exp: Update patterns for error and help.
7557 * gdb.base/completion.exp: Update pattern.
7558 * gdb.base/ena-dis-br.exp: Update pattern.
7559 * gdb.base/help.exp: Update patterns.
7560
7561 2011-02-23 Michael Snyder <msnyder@vmware.com>
7562
7563 * gdb.base/memattr.exp: New test.
7564 * gdb.base/memattr.c: Test load for memattr.exp.
7565
7566 2011-02-22 Doug Evans <dje@google.com>
7567
7568 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
7569
7570 2011-02-22 Michael Snyder <msnyder@vmware.com>
7571
7572 * Makefile.in: Make more clean.
7573 * gdb.ada/Makefile.in: Ditto.
7574 * gdb.arch/Makefile.in: Ditto.
7575 * gdb.asm/Makefile.in: Ditto.
7576 * gdb.base/Makefile.in: Ditto.
7577 * gdb.cp/Makefile.in: Ditto.
7578 * gdb.dwarf2/Makefile.in: Ditto.
7579 * gdb.java/Makefile.in: Ditto.
7580 * gdb.mi/Makefile.in: Ditto.
7581 * gdb.modula2/Makefile.in: Ditto.
7582 * gdb.python/Makefile.in: Ditto.
7583 * gdb.server/Makefile.in: Ditto.
7584 * gdb.stabs/Makefile.in: Ditto.
7585 * gdb.threads/Makefile.in: Ditto.
7586 * gdb.trace/Makefile.in: Ditto.
7587
7588 2011-02-22 Michael Snyder <msnyder@vmware.com>
7589
7590 * gdb.threads/thread-find.exp: Add tests for bad input to
7591 info threads.
7592
7593 2011-02-22 Joel Brobecker <brobecker@adacore.com>
7594
7595 * gdb.python/py-breakpoint.exp: Fix the expected output of
7596 one of the "maint info breakpoints" tests to accept the output
7597 generated on platforms that do not have hardware watchpoints.
7598
7599 2011-02-22 Joel Brobecker <brobecker@adacore.com>
7600
7601 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
7602 clean_restart. Be a little stricter in the expected output
7603 for one of the tests. Fix a typo in one of the comments.
7604
7605 2011-02-22 Joel Brobecker <brobecker@adacore.com>
7606
7607 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
7608 Delete variable binfile, no longer use. Add or modify test
7609 comments to make them unique.
7610
7611 2011-02-21 Michael Snyder <msnyder@vmware.com>
7612
7613 * Makefile.in: Update for make clean.
7614 * gdb.ada/Makefile.in: Ditto.
7615 * gdb.arch/Makefile.in: Ditto.
7616 * gdb.asm/Makefile.in: Ditto.
7617 * gdb.base/Makefile.in: Ditto.
7618 * gdb.cp/Makefile.in: Ditto.
7619 * gdb.dwarf2/Makefile.in: Ditto.
7620 * gdb.java/Makefile.in: Ditto.
7621 * gdb.mi/Makefile.in: Ditto.
7622 * gdb.modula2/Makefile.in: Ditto.
7623 * gdb.python/Makefile.in: Ditto.
7624 * gdb.server/Makefile.in: Ditto.
7625 * gdb.stabs/Makefile.in: Ditto.
7626 * gdb.threads/Makefile.in: Ditto.
7627 * gdb.trace/Makefile.in: Ditto.
7628
7629 2011-02-21 Michael Snyder <msnyder@vmware.com>
7630
7631 * gdb.threads/thread-find.exp: Update patterns for changes in
7632 output of "info threads" command.
7633
7634 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7635 Ulrich Weigand <uweigand@de.ibm.com>
7636
7637 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
7638 (skip_hw_watchpoint_tests): Likewise.
7639 (skip_hw_watchpoint_multi_tests): Likewise.
7640
7641 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
7642
7643 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
7644 (skip_hw_watchpoint_tests): Likewise.
7645 (skip_hw_watchpoint_multi_tests): Likewise.
7646 (skip_hw_watchpoint_access_tests): Likewise.
7647
7648 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
7649 * gdb.base/pr11022.exp: Likewise.
7650 * gdb.base/watch-read.exp: Likewise.
7651 * gdb.base/watch_thread_num.exp: Likewise.
7652 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7653 * gdb.base/watchpoint-hw.exp: Likewise.
7654 * gdb.base/watchpoint.exp: Likewise.
7655 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
7656 * gdb.threads/watchthreads-reorder.exp: Likewise.
7657 * gdb.threads/watchthreads.exp: Likewise.
7658 * gdb.threads/watchthreads2.exp: Likewise.
7659
7660 2011-02-21 Joel Brobecker <brobecker@adacore.com>
7661
7662 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
7663 the debugger is unable to find the array bounds.
7664
7665 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7666
7667 * gdb.cp/typedef-operator.exp: New file.
7668 * gdb.cp/typedef-operator.cc: New file.
7669
7670 2011-02-17 Michael Snyder <msnyder@vmware.com>
7671
7672 * gdb.threads/thread-find.exp: Fix regular expressions.
7673
7674 2011-02-17 Joel Brobecker <brobecker@adacore.com>
7675
7676 * gdb.ada/packed_array: Expand testcase to test printing of
7677 unconstrained packed array.
7678
7679 2011-02-17 Joel Brobecker <brobecker@adacore.com>
7680
7681 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
7682
7683 2011-02-16 Pedro Alves <pedro@codesourcery.com>
7684
7685 * gdb.trace/collection.c (globalarr3): New global.
7686 (main): Initialize it before collecting, and and clear it
7687 afterwards.
7688 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7689 collecting with '{type} addr', where the addr expression is not an
7690 rvalue.
7691
7692 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
7693
7694 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
7695 a bool variable. Expect correct OpenCL names for vector types. Use the
7696 uc3 variable name instead of referring to the uchar3 built-in type.
7697 Escape the asterisk at the half pointer test.
7698
7699 2011-02-16 Pedro Alves <pedro@codesourcery.com>
7700
7701 * gdb.trace/collection.c (globalarr2): New global.
7702 (main): Initialize it before collecting, and and clear it
7703 afterwards.
7704 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7705 collecting overlapping memory ranges.
7706
7707 2011-02-15 Michael Snyder <msnyder@vmware.com>
7708
7709 * gdb.base/default.exp: Add tests for thread commands.
7710 * gdb.base/help.exp: Add tests for thread commands.
7711 * gdb.threads/thread-find.exp: New test for thread find command.
7712
7713 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
7714
7715 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
7716
7717 2011-02-15 Yao Qi <yao@codesourcery.com>
7718
7719 PR tdep/12352
7720 * gdb.arch/arm-disp-step.S : New test for str instruction.
7721 * gdb.arch/arm-disp-step.exp : Likewise.
7722
7723 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
7724
7725 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
7726 "vector_register2_vr" test strings. Test the extended floating
7727 point registers (F32~F63).
7728 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
7729 IBM XL C compiler. Make the test program use a register provided
7730 by the compiler for the lxvd2x instruction.
7731
7732 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7733
7734 * gdb.trace/unavailable.cc (class Base, class Middle, class
7735 Derived): New types.
7736 (derived_unavail, derived_partial, derived_whole): New globals.
7737 (virtual_partial): New global.
7738 (virtualp): Point at virtual_partial.
7739 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
7740 related to unavailable vptr.
7741
7742 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7743
7744 * gdb.trace/unavailable.cc (a, b, c): New globals.
7745 (main): Set and clear them.
7746 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
7747 `a' and `c', and check that `b' isn't collected, although `a' and
7748 `c' are.
7749
7750 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7751
7752 * gdb.trace/unavailable.cc (struct Virtual): New.
7753 (virtualp): New global pointer.
7754 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
7755 printing a pointer to an object whose type has a vtable, with
7756 print object on.
7757
7758 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7759
7760 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
7761 value repeat handles unavailableness.
7762
7763 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7764
7765 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
7766 tests for building arrays from unavailable values, subscripting
7767 non-memory rvalue unvailable arrays, and accessing fields or
7768 baseclasses of non-lazy unavailable values,
7769 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
7770 struct types.
7771 (g_smallstruct, g_smallstruct_b): New globals.
7772
7773 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7774
7775 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
7776
7777 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7778
7779 Fix const/volatile qualifiers of C++ types, PR c++/12328.
7780 * gdb.cp/overload-const.exp: New file.
7781 * gdb.cp/overload-const.cc: New file.
7782
7783 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7784
7785 * gdb.opencl/callfuncs.cl: New file.
7786 * gdb.opencl/callfuncs.exp: New test.
7787 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
7788
7789 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7790
7791 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
7792 when computing result.
7793 * gdb.arch/altivec-abi.exp: Update expected results.
7794
7795 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7796
7797 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
7798 * gdb.base/jit.exp: Likewise.
7799 * gdb.base/pie-execl.exp: Likewise.
7800 * gdb.base/solib-nodir.exp: Likewise.
7801 * gdb.base/solib-overlap.exp: Likewise.
7802
7803 2011-02-07 Pedro Alves <pedro@codesourcery.com>
7804
7805 * gdb.trace/collection.c (global_pieces): New.
7806 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
7807 New procedure.
7808 (gdb_trace_collection_test): Call it.
7809
7810 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
7811
7812 * gdb.python/py-evthreads.c: New file.
7813 * gdb.python/py-evthreads.exp: New file.
7814 * gdb.python/py-events.py: New file.
7815 * gdb.python/py-events.exp: New file.
7816 * gdb.python/py-events.c: New file.
7817
7818 2011-02-04 David Daney <ddaney@caviumnetworks.com>
7819
7820 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
7821
7822 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
7823
7824 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
7825 gdb.base/disasm-end-cu.exp: New test for disassembling over the
7826 boundary between two compilation units.
7827
7828 2011-02-02 Pedro Alves <pedro@codesourcery.com>
7829
7830 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
7831 (Virtual): New structs.
7832 (virtual_o, virtual_middle_b): New globals.
7833 * gdb.cp/virtbase.exp: New tests.
7834
7835 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7836
7837 * gdb.base/jit.exp: New file.
7838 * gdb.base/jit-main.c: New file.
7839 * gdb.base/jit-solib.c: New file.
7840
7841 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
7842
7843 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
7844 proceed to initial kernel entry point.
7845 * gdb.opencl/datatypes.exp: Likewise.
7846 * gdb.opencl/operators.exp: Likewise.
7847 * gdb.opencl/vec_comps.exp: Likewise.
7848
7849 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
7850
7851 * gdb.cp/nsnested.cc: New.
7852 * gdb.cp/nsnested.exp: New.
7853 * gdb.cp/nsnoimports.exp: New.
7854 * gdb.cp/nsnoimports.cc: New.
7855
7856 2011-01-31 Joel Brobecker <brobecker@adacore.com>
7857
7858 * gdb.base/interact.exp: Add extra tests that verify that
7859 the value of the interactive-mode setting does not change
7860 after the script is sourced.
7861
7862 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7863
7864 * gdb.cp/noparam.exp: New file.
7865 * gdb.cp/noparam.cc: New file.
7866
7867 2011-01-28 Pedro Alves <pedro@codesourcery.com>
7868
7869 * gdb.trace/tfile.exp: Test that with no traceframe selected,
7870 there's no stack or registers.
7871
7872 2011-01-26 Tom Tromey <tromey@redhat.com>
7873
7874 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
7875 space before string output. Add test for "set print pretty off"
7876 case.
7877
7878 2011-01-25 Pedro Alves <pedro@codesourcery.com>
7879
7880 * gdb.base/frame-args.exp: Adjust.
7881 * gdb.dwarf2/dw2-noloc.exp: Adjust.
7882 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
7883 * gdb.dwarf2/pieces.exp: Adjust.
7884 * gdb.opt/clobbered-registers-O2.exp: Adjust.
7885 * gdb.opt/inline-locals.exp: Adjust.
7886 * gdb.threads/fork-child-threads.exp: Adjust.
7887
7888 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
7889
7890 * gdb.opencl/convs_casts.cl: Move program scope variables into the
7891 OpenCL kernel function. Add a comment as marker. Add address space
7892 qualifiers for the remaining program scope variables.
7893 * gdb.opencl/datatypes.cl: Likewise.
7894 * gdb.opencl/operators.cl: Likewise.
7895 * gdb.opencl/vec_comps.cl: Likewise.
7896 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
7897 Add breakpoint at the marker comment.
7898 * gdb.opencl/datatypes.exp: Likewise.
7899 * gdb.opencl/operators.exp: Likewise.
7900 * gdb.opencl/vec_comps.exp: Likewise.
7901
7902 2011-01-24 Pedro Alves <pedro@codesourcery.com>
7903
7904 * gdb.base/printcmds.c (some_struct): New struct and instance.
7905 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
7906 procedure.
7907 <global scope>: Call it.
7908
7909 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
7910
7911 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
7912 argument to the gdb_compile_opencl_hostapp call.
7913
7914 2011-01-19 Yao Qi <yao@codesourcery.com>
7915
7916 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
7917 positve list.
7918
7919 2011-01-19 Yao Qi <yao@codesourcery.com>
7920
7921 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
7922 canonical form.
7923 Remove "xscale-*-*"
7924 * gdb.xml/tdesc-regs.exp: Likewise.
7925 * gdb.python/py-section-script.exp: Replace ARM target triplet
7926 with canonical form.
7927 Match arm*-*-symbianelf*.
7928 * gdb.base/dup-sect.exp: Likewise.
7929 * lib/dwarf.exp: New.
7930 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
7931 dwarf2_support.
7932 * gdb.dwarf2/dup-psym.exp: Likewise.
7933 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
7934 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7935 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
7936 * gdb.dwarf2/dw2-basic.exp: Likewise.
7937 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7938 * gdb.dwarf2/dw2-const.exp: Likewise.
7939 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
7940 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
7941 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7942 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
7943 * gdb.dwarf2/dw2-filename.exp: Likewise.
7944 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7945 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
7946 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7947 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7948 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
7949 * gdb.dwarf2/dw2-noloc.exp: Likewise.
7950 * gdb.dwarf2/dw2-op-call.exp: Likewise.
7951 * gdb.dwarf2/dw2-producer.exp: Likewise.
7952 * gdb.dwarf2/dw2-ranges.exp: Likewise.
7953 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
7954 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
7955 * gdb.dwarf2/dw2-strp.exp: Likewise.
7956 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
7957 * gdb.dwarf2/implptr.exp: Likewise.
7958 * gdb.dwarf2/mac-fileno.exp: Likewise.
7959 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
7960 * gdb.dwarf2/pieces.exp: Likewise.
7961 * gdb.dwarf2/pr11465.exp: Likewise.
7962 * gdb.dwarf2/valop.exp: Likewise.
7963 * gdb.dwarf2/watch-notconst.exp: Likewise.
7964 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
7965
7966 2011-01-19 Tom Tromey <tromey@redhat.com>
7967
7968 * gdb.python/py-infthread.exp: Add thread tests.
7969
7970 2011-01-14 Joel Brobecker <brobecker@adacore.com>
7971
7972 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
7973
7974 2011-01-14 Joel Brobecker <brobecker@adacore.com>
7975
7976 * gdb.ada/widewide: New testcase.
7977
7978 2011-01-13 Joel Brobecker <brobecker@adacore.com>
7979
7980 * gdb.base/interact.exp: New testcase.
7981
7982 2011-01-12 Tom Tromey <tromey@redhat.com>
7983
7984 * gdb.mi/gdb2549.exp: Update for error message changes.
7985 * gdb.mi/mi-cli.exp: Likewise.
7986 * gdb.mi/mi-disassemble.exp: Likewise.
7987 * gdb.mi/mi-pthreads.exp: Likewise.
7988 * gdb.mi/mi-regs.exp: Likewise.
7989 * gdb.mi/mi-stack.exp: Likewise.
7990 * gdb.mi/mi-var-block.exp: Likewise.
7991 * gdb.mi/mi-var-cmd.exp: Likewise.
7992 * gdb.mi/mi2-cli.exp: Likewise.
7993 * gdb.mi/mi2-disassemble.exp: Likewise.
7994 * gdb.mi/mi2-pthreads.exp: Likewise.
7995 * gdb.mi/mi2-regs.exp: Likewise.
7996 * gdb.mi/mi2-stack.exp: Likewise.
7997 * gdb.mi/mi2-var-block.exp: Likewise.
7998 * gdb.mi/mi2-var-cmd.exp: Likewise.
7999
8000 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
8001 Jan Kratochvil <jan.kratochvil@redhat.com>
8002
8003 PR fortran/11104 and DWARF unbound arrays detection.
8004 * gdb.fortran/multi-dim.exp: New file.
8005 * gdb.fortran/multi-dim.f90: New file.
8006
8007 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
8008
8009 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
8010 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
8011 add new tests for opcode dumping.
8012
8013 2011-01-11 Tom Tromey <tromey@redhat.com>
8014
8015 * gdb.python/py-infthread.exp: Load gdb-python.exp.
8016
8017 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
8018
8019 Convert hardware watchpoints to use breakpoint_ops.
8020 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
8021 type is not supported.
8022 * gdb.base/foll-fork.exp: Likewise.
8023 * gdb.base/foll-vfork.exp: Likewise.
8024
8025 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
8026
8027 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
8028 Use load_lib gdb-python.exp.
8029 * gdb.python/python.exp: Ditto.
8030 * gdb.python/py-function.exp: Ditto.
8031
8032 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
8033
8034 * gdb.threads/tls.exp ("info address me"): Fix expected output.
8035
8036 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8037
8038 * configure: Regenerate.
8039
8040 2011-01-06 Tom Tromey <tromey@redhat.com>
8041
8042 * gdb.python/py-frame.exp: Test gdb.newest_frame.
8043
8044 2011-01-06 Joel Brobecker <brobecker@adacore.com>
8045
8046 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
8047 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
8048 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8049 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
8050 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
8051 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8052 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
8053 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
8054 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
8055 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
8056 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
8057 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
8058 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
8059 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8060 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8061 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
8062 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
8063 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
8064 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8065 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
8066 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
8067 gdb.ada/uninitialized_vars.exp,
8068 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
8069 Simplify by using clean_restart.
8070
8071 2011-01-06 Joel Brobecker <brobecker@adacore.com>
8072
8073 Add marker to be used as anchor for inserting breakpoints.
8074 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
8075 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
8076 Likewise.
8077
8078 Remove uses of gdb_start_cmd.
8079 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
8080 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
8081
8082 Do not run testcase if testing with GDBserver.
8083 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
8084 if testing with GDBserver.
8085
8086 2011-01-06 Joel Brobecker <brobecker@adacore.com>
8087
8088 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
8089 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
8090 copyright header.
8091
8092 2011-01-05 Joel Brobecker <brobecker@adacore.com>
8093
8094 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
8095 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
8096 testsuite/gdb.fortran/complex.f,
8097 testsuite/gdb.fortran/derived-type.f90,
8098 testsuite/gdb.fortran/library-module-lib.f90,
8099 testsuite/gdb.fortran/library-module-main.f90,
8100 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
8101 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
8102 Copyright year update.
8103
8104 2011-01-05 Joel Brobecker <brobecker@adacore.com>
8105
8106 * gdb.base/langs1.f: Add copyright header.
8107
8108 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8109
8110 * gdb.base/morestack.exp: New file.
8111 * gdb.base/morestack.c: New file.
8112
8113 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8114
8115 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
8116
8117 2010-12-29 Joel Brobecker <brobecker@adacore.com>
8118
8119 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
8120 * gdb.ada/arrayptr.exp: Add test printing that new variable.
8121
8122 2010-12-29 Joel Brobecker <brobecker@adacore.com>
8123
8124 * gdb.ada/lang_switch.exp: Correct expected parameter value.
8125
8126 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
8127
8128 * gdb.threads/tls.exp: Fix typo.
8129
8130 * gdb.threads/thread-specific.exp (get_thread_list): Update.
8131 * gdb.threads/execl.exp: Update.
8132
8133 2010-12-23 Yao Qi <yao@codesourcery.com>
8134
8135 * gdb.arch/arm-disp-step.exp: New.
8136 * gdb.arch/arm-disp-step.S: New.
8137
8138 2010-12-21 Tom Tromey <tromey@redhat.com>
8139
8140 * gdb.threads/execl.exp: Update.
8141 * gdb.threads/linux-dp.exp: Update.
8142 * gdb.threads/manythreads.exp: Update.
8143 * gdb.threads/tls.exp: Update.
8144
8145 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8146
8147 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
8148 (NextOverThrowDerivates) <resumebpt>: New.
8149 (resumebpt_test): New.
8150 (main): Call resumebpt_test.
8151 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
8152
8153 2010-12-12 Stan Shebs <stan@codesourcery.com>
8154
8155 * gdb.trace/tsv.exp: Test print command on trace state variables.
8156
8157 2010-12-09 Tom Tromey <tromey@redhat.com>
8158
8159 * gdb.base/interp.exp: Add regression test.
8160
8161 2010-12-09 Tom Tromey <tromey@redhat.com>
8162
8163 * gdb.java/jnpe.java: New file.
8164 * gdb.java/jnpe.exp: New file.
8165 * gdb.cp/nextoverthrow.exp: New file.
8166 * gdb.cp/nextoverthrow.cc: New file.
8167
8168 2010-12-07 Doug Evans <dje@google.com>
8169
8170 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
8171 of data-directory.
8172 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
8173 updated.
8174 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
8175
8176 2010-11-29 Michael Snyder <msnyder@vmware.com>
8177
8178 * gdb.base/callfuncs.exp: Test for skip_float_tests.
8179 * gdb.base/call-sc.exp: Ditto.
8180 * gdb.base/finish.exp: Ditto.
8181 * gdb.base/return.exp: Ditto.
8182 * gdb.base/return2.exp: Ditto.
8183
8184 2010-11-30 Doug Evans <dje@google.com>
8185
8186 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
8187 (gdb_expect_list): Fix spelling errors in comments.
8188 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
8189 send_gdb/gdb_expect_list where applicable.
8190 * gdb.base/call-ar-st.exp: Ditto.
8191 * gdb.base/funcargs.exp: Ditto.
8192 * gdb.base/gcore.exp: Ditto.
8193 * gdb.base/page.exp: Ditto.
8194 * gdb.base/sigaltstack.exp: Ditto.
8195 * gdb.base/siginfo.exp: Ditto.
8196 * gdb.base/sigstep.exp: Ditto.
8197 * gdb.base/trace-commands.exp: Ditto.
8198
8199 2010-11-29 Doug Evans <dje@google.com>
8200
8201 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
8202 printer-name;subprinter-name.
8203
8204 2010-11-29 Tom Tromey <tromey@redhat.com>
8205
8206 * gdb.dwarf2/implptr.exp: New file.
8207 * gdb.dwarf2/implptr.c: New file.
8208 * gdb.dwarf2/implptr.S: New file.
8209
8210 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
8211
8212 PR python/12199
8213
8214 * gdb.python/py-breakpoint.exp: Test the delete method.
8215
8216 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8217
8218 Fix step_resume_breakpoint unsaved during an infcall.
8219 * gdb.base/step-resume-infcall.exp: New file.
8220 * gdb.base/step-resume-infcall.c: New file.
8221
8222 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
8223
8224 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
8225
8226 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
8227
8228 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
8229 on ppc64's symbols; "finish" and "return" commands must accept to
8230 show the caller line again as well as the line after.
8231 * gdb.asm/powerpc64.inc: New file.
8232
8233 2010-11-23 Doug Evans <dje@google.com>
8234
8235 * lib/gdb.exp (gdb_test_sequence): New function.
8236 (gdb_expect_list): Add verbose -log call for each pattern.
8237 * gdb.base/signals.exp (test_handle_all_print): Call it.
8238 Reduce timeout increment from 6 minutes to 1 minute.
8239 * gdb.server/ext-run.exp: Call it.
8240
8241 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
8242
8243 PR python/12212
8244
8245 * gdb.python/python.exp: Check that selected_thread raises an
8246 error when no inferior is loaded.
8247
8248 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8249
8250 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
8251 * gdb.dwarf2/dw2-stack-boundary.S: New file.
8252
8253 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8254
8255 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
8256 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
8257
8258 2010-11-18 Doug Evans <dje@google.com>
8259
8260 * gdb.server/ext-run.exp: Fix intermittent failures.
8261
8262 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8263
8264 * gdb.stabs/gdb11479.exp: Use runto_main.
8265
8266 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8267
8268 * gdb.base/break-entry.exp: Skip if using a stub.
8269
8270 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8271
8272 * gdb.python/py-inferior.exp: Pack values in target endianness.
8273
8274 2010-11-12 Tom Tromey <tromey@redhat.com>
8275
8276 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
8277 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
8278 MemoryError.
8279 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
8280 type.
8281 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
8282 MemoryError.
8283 (test_subscript_regression): Update exception type.
8284
8285 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
8286
8287 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
8288 breakpoint tests.
8289
8290 2010-11-09 Pedro Alves <pedro@codesourcery.com>
8291
8292 * gdb.base/watchpoint.exp: Test "watch -location" with an
8293 innacessible location.
8294
8295 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
8296 Luis Machado <luisgpm@br.ibm.com>
8297
8298 * gdb.base/maint.exp: Expect "." prefix.
8299 * gdb.base/nodebug.exp: Expect "." Likewise.
8300 * gdb.base/sepsymtab.exp: Expect "." Likewise.
8301 * gdb.base/watchpoint-cond-gone.exp: Likewise.
8302 * gdb.base/watchpoint.exp: Expect a software watch to be created for
8303 POWER server processors.
8304
8305 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
8306 Luis Machado <luisgpm@br.ibm.com>
8307
8308 * gdb.base/break-entry.exp: convert entry point for
8309 ppc64 and expect leading `.' on ppc64's symbols
8310
8311 2010-11-05 Doug Evans <dje@google.com>
8312
8313 * gdb.base/help.exp: Update expected output.
8314 * gdb.python/py-param.exp: Delete, contents moved to ...
8315 * gdb.python/py-parameter.exp: ... here. New file.
8316 Add test for gdb.parameter ("directories").
8317
8318 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
8319
8320 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
8321 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
8322 * configure: Regenerate.
8323 * gdb.opencl/Makefile.in: New File.
8324 * gdb.opencl/datatypes.exp: Likewise.
8325 * gdb.opencl/datatypes.cl: Likewise.
8326 * gdb.opencl/operators.exp: Likewise.
8327 * gdb.opencl/operators.cl: Likewise.
8328 * gdb.opencl/vec_comps.exp: Likewise.
8329 * gdb.opencl/vec_comps.cl: Likewise.
8330 * gdb.opencl/convs_casts.exp: Likewise.
8331 * gdb.opencl/convs_casts.cl: Likewise.
8332 * lib/opencl.exp: Likewise.
8333 * lib/opencl_hostapp.c: Likewise.
8334 * lib/opencl_kernel.cl: Likewise.
8335 * lib/cl_util.c: Likewise.
8336 * lib/cl_util.c: Likewise.
8337 * gdb.base/default.exp (set language): Add "opencl" to the list of
8338 languages.
8339
8340 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
8341
8342 * gdb.cp/overload.exp: Added test for inheritance overload.
8343 * gdb.cp/overload.cc: Ditto.
8344 * gdb.cp/oranking.exp: Removed releveant kfails.
8345
8346 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8347 Joel Brobecker <brobecker@adacore.com>
8348
8349 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
8350 check test_compiler_info.
8351
8352 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
8353
8354 * gdb.base/gnu_vector.exp: Adjust expect messages.
8355
8356 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
8357
8358 * gdb.base/gnu_vector.exp: Add unary operator tests.
8359
8360 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
8361
8362 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
8363
8364 2010-11-02 Doug Evans <dje@google.com>
8365
8366 * gdb.python/py-pp-maint.c: New file.
8367 * gdb.python/py-pp-maint.exp: New file.
8368 * gdb.python/py-pp-maint.py: New file.
8369
8370 2010-11-02 Tom Tromey <tromey@redhat.com>
8371
8372 * gdb.base/default.exp: Remove "scheme" from language list.
8373
8374 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8375
8376 Revert:
8377 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8378 * gdb.threads/sigstep-threads.exp: New file.
8379 * gdb.threads/sigstep-threads.c: New file.
8380
8381 2010-10-20 Michael Snyder <msnyder@vmware.com>
8382
8383 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
8384
8385 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8386
8387 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
8388 Skip test completely if gdb,no_hardware_watchpoints.
8389
8390 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8391
8392 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
8393 strict, but do not check for any particular function name within libc.
8394
8395 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8396
8397 * gdb.cp/smartp.exp: New test.
8398 * gdb.cp/smartp.cc : New test.
8399
8400 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8401
8402 * gdb.cp/converts.exp: Test pointer to bool conversion.
8403 Test pointer to long conversion.
8404 * gdb.cp/oranking.exp: Removed relevant kfail.
8405
8406 2010-10-18 Tom Tromey <tromey@redhat.com>
8407
8408 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
8409 argument to lazy_string.
8410 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
8411 (pp_ls.to_string): Use it.
8412 * gdb.python/py-prettyprint.c (main): Move declarations to top.
8413 Add "estring2" local.
8414
8415 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8416
8417 Fix s390x compatibility.
8418 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
8419 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
8420
8421 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8422
8423 * gdb.threads/sigstep-threads.exp: New file.
8424 * gdb.threads/sigstep-threads.c: New file.
8425
8426 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8427
8428 * gdb.base/pie-execl.exp: New file.
8429 * gdb.base/pie-execl.c: New file.
8430
8431 2010-10-13 Doug Evans <dje@google.com>
8432 Jan Kratochvil <jan.kratochvil@redhat.com>
8433
8434 PR exp/12117
8435 * gdb.cp/ptype-cv-cp.cc: New file.
8436 * gdb.cp/ptype-cv-cp.exp: New file.
8437
8438 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
8439
8440 * gdb.cp/converts.cc: New test program.
8441 * gdb.cp/converts.exp: New test.
8442 * gdb.cp/overload.exp: Added test for void* vs int*.
8443 * gdb.cp/overload.exp: Ditto.
8444 * gdb.cp/oranking.exp: Removed related kfail.
8445
8446 2010-10-13 Doug Evans <dje@google.com>
8447
8448 * lib/gdb-python.exp (gdb_check_python_config): New function.
8449 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
8450 * gdb.python/lib-types.cc: New file.
8451 * gdb.python/lib-types.exp: New file.
8452
8453 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8454
8455 * gdb.python/py-error.exp: New file.
8456 * gdb.python/py-error.py: New file.
8457
8458 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8459
8460 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
8461 gdb_test_multiple.
8462
8463 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8464
8465 * gdb.base/break-interp.exp: Use ldlags for linking flags.
8466 * gdb.base/prelink.exp: Likewise.
8467 * gdb.base/solib-nodir.exp: Likewise.
8468 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
8469 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
8470 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
8471
8472 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
8473
8474 * break-interp.exp (test_ld): Use two separate gdb_expect statements
8475 for the "info files" test to avoid timeouts on slow machines.
8476
8477 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8478
8479 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
8480 (main): Make openlib dummy call.
8481
8482 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8483
8484 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
8485 * break-interp.exp (reach): Move the core body ...
8486 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
8487 (test_ld): Provide always real argument, even to the linker. Replace
8488 dl_main by _dl_debug_state.
8489
8490 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8491
8492 Fix results of prelinked PIEs on ppc*.
8493 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
8494 Accept also DISPLACEMENT "PRESENT".
8495 (main): Replace "ZERO" displacements by "PRESENT".
8496
8497 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
8498
8499 * gdb.cp/oranking.exp: New test.
8500 * gdb.cp/oranking.cc: New test program.
8501
8502 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
8503
8504 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
8505 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
8506
8507 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
8508
8509 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
8510 lush, lynx) New constant.
8511 * gdb.base/constvars.exp: Test const array types.
8512 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
8513
8514 2010-10-06 Doug Evans <dje@google.com>
8515
8516 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
8517 of syscall staging area.
8518
8519 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
8520
8521 * gdb.base/gnu_vector.c: Add variable c4.
8522 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
8523 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
8524
8525 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
8526
8527 * gdb.arch/altivec-abi.exp: Fix a typo.
8528
8529 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
8530
8531 * lib/mi-support.exp (thread_selected_re): Correct pattern used
8532 to match a thread ID.
8533
8534 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8535
8536 Fix s390x testcase compatibility.
8537 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
8538
8539 2010-10-01 Doug Evans <dje@google.com>
8540
8541 * lib/gdb-python.exp: New file.
8542 * gdb.python/py-block.exp: Use it.
8543 * gdb.python/py-breakpoint.exp: Ditto.
8544 * gdb.python/py-frame.exp: Ditto.
8545 * gdb.python/py-inferior.exp: Ditto.
8546 * gdb.python/py-param.exp: Ditto.
8547 * gdb.python/py-prettyprint.exp: Ditto.
8548 * gdb.python/py-shared.exp: Ditto.
8549 * gdb.python/py-symbol.exp: Ditto.
8550 * gdb.python/py-symtab.exp: Ditto.
8551 * gdb.python/py-type.exp: Ditto.
8552 * gdb.python/py-value.exp: Ditto.
8553 * gdb.python/python.exp: Ditto.
8554
8555 2010-09-30 Tom Tromey <tromey@redhat.com>
8556
8557 * gdb.base/anon.exp: New file.
8558 * gdb.base/anon.c: New file.
8559
8560 2010-09-30 Tom Tromey <tromey@redhat.com>
8561
8562 * gdb.base/completion.exp: Test completion through anonymous
8563 union.
8564 * gdb.base/break1.c (struct some_struct): Add anonymous union.
8565
8566 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8567
8568 Fix printing parameters of inlined functions.
8569 * gdb.dwarf2/dw2-inline-param.exp: New file.
8570 * gdb.dwarf2/dw2-inline-param-main.c: New file.
8571 * gdb.dwarf2/dw2-inline-param.S: New file.
8572
8573 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8574
8575 PR corefiles/12071.
8576 * gdb.base/corefile.exp (quit with a process, no question: load core)
8577 (quit with a core file): New tests.
8578
8579 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8580
8581 Fix GDB crash on inferior calls with self-referencing classes.
8582 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
8583 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
8584 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
8585
8586 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8587
8588 Fix lost siginfo_t for inferior calls.
8589 * gdb.base/siginfo-infcall.exp: New file.
8590 * gdb.base/siginfo-infcall.c: New file.
8591
8592 2010-09-22 Joel Brobecker <brobecker@adacore.com>
8593
8594 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
8595
8596 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8597
8598 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
8599 New test.
8600 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
8601
8602 2010-09-22 Joel Brobecker <brobecker@adacore.com>
8603
8604 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
8605 type of our const type.
8606
8607 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
8608
8609 * gdb.cp/pr12028.cc: New.
8610 * gdb.cp/pr12028.exp: New.
8611
8612 2010-09-22 Joel Brobecker <brobecker@adacore.com>
8613
8614 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
8615
8616 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
8617 Jan Kratochvil <jan.kratochvil@redhat.com>
8618
8619 PR mi/11407
8620 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
8621 * gdb.mi/dw2-ref-missing-frame-main.c New File.
8622 * gdb.mi/dw2-ref-missing-frame.S New File.
8623 * gdb.mi/dw2-ref-missing-frame.exp New File.
8624
8625 2010-09-14 Tom Tromey <tromey@redhat.com>
8626
8627 PR symtab/8399:
8628 * gdb.threads/tls.exp: Remove kfail. Update expected output.
8629
8630 2010-09-14 Tom Tromey <tromey@redhat.com>
8631
8632 PR exp/11803:
8633 * gdb.threads/tls.exp: Use C++.
8634 (check_thread_local): Use K::another_thread_local.
8635 * gdb.threads/tls.c (class K): New.
8636 (another_thread_local): Now a member of K.
8637 (spin): Update. No longer K&R C.
8638
8639 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
8640
8641 * gdb.cp/koenig.cc: created class for testing member lookup.
8642 * gdb.cp/koenig.exp: Added test for member lookup.
8643
8644 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8645
8646 Fix false FAILs on sourcetree topdir directory containing "kill".
8647 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
8648 source line matching regexp.
8649
8650 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8651
8652 * gdb.python/python.exp (set height 0, collect help from uiout)
8653 (verify help to uiout): New tests.
8654
8655 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8656
8657 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
8658 is_lp64_target to check 64bit target.
8659
8660 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8661
8662 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
8663 (test_ld) <powerpc64-*>: New.
8664
8665 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8666
8667 * gdb.cp/templates.exp (test_template_args): Allow "struct".
8668
8669 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8670
8671 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
8672 (FunctionArg::method): New function.
8673 (empty, arg): New variables.
8674 (main): Call arg.method.
8675 * gdb.cp/templates.exp (test_template_args): New function.
8676 (do_tests): Call it.
8677
8678 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8679
8680 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
8681 of "next" to proceed over pthread_exit call.
8682
8683 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8684
8685 * gdb.base/maint.exp: Avoid wildcards against potentially very long
8686 "maint print statistics" output to prevent expect timeouts.
8687
8688 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8689
8690 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
8691 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8692 (test_float_rejected): ... here.
8693 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
8694 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8695 (test_float_rejected): ... here.
8696 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
8697 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8698 (test_float_rejected): ... here.
8699 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
8700 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8701 (test_float_rejected): ... here.
8702
8703 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8704
8705 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
8706 before disabling hardware watchpoints.
8707 (test_inaccessible_watchpoint): Check that hardware watchpoints
8708 are used. Test for watchpoints on a constant address.
8709
8710 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8711
8712 * gdb.base/ui-redirect.exp: New file.
8713
8714 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8715 Joel Brobecker <brobecker@adacore.com>
8716
8717 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
8718
8719 2010-08-31 Doug Evans <dje@google.com>
8720
8721 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
8722
8723 2010-08-30 Tom Tromey <tromey@redhat.com>
8724
8725 PR python/11792:
8726 * gdb.python/py-value.exp (test_subscript_regression): Add
8727 dynamic_type test.
8728
8729 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
8730
8731 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
8732 instead of running to main. Do not test the main function.
8733 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
8734 Add new main.
8735
8736 2010-08-26 Pedro Alves <pedro@codesourcery.com>
8737
8738 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
8739 one test.
8740
8741 2010-08-24 Doug Evans <dje@google.com>
8742
8743 PR symtab/11942
8744 * gdb.dwarf2/dw4-sig-types.cc: New file.
8745 * gdb.dwarf2/dw4-sig-types.h: New file.
8746 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
8747 * gdb.dwarf2/dw4-sig-types.exp: New file.
8748
8749 2010-08-23 Tom Tromey <tromey@redhat.com>
8750
8751 PR python/11145:
8752 * gdb.python/py-value.c (Base, Derived): New types.
8753 (base): New global.
8754 * gdb.python/py-value.exp (test_subscript_regression): Add
8755 dynamic_cast test.
8756
8757 2010-08-23 Tom Tromey <tromey@redhat.com>
8758
8759 PR python/10676:
8760 * gdb.python/py-type.exp (test_fields): Add tests for type
8761 equality.
8762
8763 2010-08-23 Tom Tromey <tromey@redhat.com>
8764
8765 PR python/11915:
8766 * gdb.python/py-type.exp (test_fields): Add tests for array.
8767
8768 2010-08-23 Keith Seitz <keiths@redhat.com>
8769
8770 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
8771 have any children. Create a new abbrev for it.
8772 Add missing terminal sequence to .debug_abbrev.
8773
8774 2010-08-20 Keith Seitz <keiths@redhat.com>
8775
8776 PR symtab/11465:
8777 * gdb.dwarf2/pr11465.exp: New test.
8778 * gdb.dwarf2/pr11465.S: New file.
8779 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
8780 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
8781
8782 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
8783
8784 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
8785 registers. Update data sets with the new v2_double element in the
8786 VSX register union. Add vector_register3_vr data set for the AltiVec
8787 registers. Use gdb_test_no_output instead of send_gdb.
8788
8789 2010-08-19 Pedro Alves <pedro@codesourcery.com>
8790
8791 * gdb.python/py-shared.exp: New file, factored out from
8792 python.exp.
8793 * gdb.python/py-shared.c: New file.
8794 * gdb.python/py-shared-sl.c: New file.
8795 * gdb.python/python-1.c: New file.
8796 * gdb.python/python-sl.c: Delete.
8797 * gdb.python/python.c: Mention python-1.c.
8798 * gdb.python/python.exp: Move shared library tests to
8799 py-shared.exp.
8800 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
8801 (MISCELLANEOUS): New.
8802 (clean mostlyclean): Also remove $MISCELLANEOUS.
8803
8804 2010-08-19 Doug Evans <dje@google.com>
8805
8806 PR exp/11926
8807 * gdb.base/printcmds.exp (test_float_accepted): New function.
8808 Move existing float tests there. Add tests for floats with suffixes.
8809 (test_float_rejected): New function.
8810 * gdb.java/jv-print.exp (test_float_accepted): New function.
8811 (test_float_rejected): New function.
8812 * gdb.objc/print.exp: New file.
8813 * gdb.pascal/print.exp: New file.
8814 * lib/objc.exp: New file.
8815
8816 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
8817
8818 * gdb.base/default.exp (info set): Avoid full buffer error and force
8819 reading up to final gdb prompt.
8820 (show): Likewise.
8821
8822 2010-08-18 Tom Tromey <tromey@redhat.com>
8823
8824 PR symtab/11919:
8825 * gdb.base/completion.exp: Add test.
8826
8827 2010-08-18 Doug Evans <dje@google.com>
8828
8829 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
8830 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
8831 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
8832 Simplify, early exit if runto_main fails.
8833 * gdb.fortran/exprs.exp: load_lib fortran.exp.
8834 (set_lang_fortran): Moved to lib/fortran.exp.
8835 * gdb.fortran/types.exp: load_lib fortran.exp.
8836 (set_lang_fortran): Moved to lib/fortran.exp.
8837 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
8838 * gdb.java/jprint.exp (set_lang_java): Ditto.
8839 * gdb.java/jv-exp.exp: load_lib java.exp.
8840 If set_lang_java fails, issue a warning instead of failure to be
8841 consistent with other set_lang_foo uses.
8842 (set_lang_java): Moved to lib/java.exp.
8843 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
8844 If set_lang_java fails, issue a warning instead of failure to be
8845 consistent with other set_lang_foo uses.
8846 * gdb.pascal/types.exp: load_lib pascal.exp.
8847 (set_lang_pascal): Moved to lib/pascal.exp.
8848 * lib/fortran.exp: New file.
8849 * lib/java.exp (set_lang_java): New function.
8850 * lib/pascal.exp (set_lang_pascal): New function.
8851
8852 2010-08-18 Yao Qi <yao@codesourcery.com
8853
8854 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
8855 func_nofb_start and func_loopfb_start, so that address of functions
8856 is equal to these labels on Thumb.
8857
8858 2010-08-18 Yao Qi <yao@codesourcery.com>
8859
8860 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
8861 to reflect latest c source file.
8862
8863 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8864
8865 * gdb.cp/infcall-dlopen.exp: New file.
8866 * gdb.cp/infcall-dlopen.cc: New file.
8867 * gdb.cp/infcall-dlopen-lib.cc: New file.
8868
8869 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8870 Pedro Alves <pedro@codesourcery.com>
8871
8872 PR breakpoints/11371
8873
8874 * gdb.base/watch-cond-infcall.exp: New file.
8875 * gdb.base/watch-cond-infcall.c: New file.
8876
8877 2010-08-16 Tom Tromey <tromey@redhat.com>
8878
8879 * gdb.base/help.exp: Update.
8880 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
8881 watchpoint.
8882 (test_watch_location): New proc.
8883 (test_watchpoint_in_big_blob): Delete watchpoint.
8884 * gdb.base/watchpoint.c (func5): New function.
8885 (main): Call it.
8886
8887 2010-08-16 Doug Evans <dje@google.com>
8888
8889 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
8890
8891 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8892
8893 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
8894 tests.
8895
8896 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
8897
8898 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
8899 * gdb.base/gnu_vector.c: New File.
8900 * gdb.base/gnu_vector.exp: Likewise.
8901
8902 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8903
8904 * gdb.python/python.c: New File.
8905 * gdb.python/python-sl.c: New File.
8906 * gdb.python/python.exp: Test solib_address and decode_line
8907 * functions.
8908
8909 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8910
8911 * gdb.python/python.exp (show height, set height 10)
8912 (verify pagination beforehand, verify pagination beforehand: q)
8913 (gdb.execute does not page, verify pagination afterwards)
8914 (verify pagination afterwards: q): New.
8915
8916 2010-08-02 Doug Evans <dje@google.com>
8917
8918 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
8919 because of an older gcc, change test2
8920 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
8921 to unsupported.
8922
8923 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
8924
8925 * gdb.base/break-always.exp: Do not expect full paths to file
8926 names.
8927 * gdb.base/commands.exp: Likewise.
8928
8929 2010-07-30 Doug Evans <dje@google.com>
8930
8931 * gdb.cp/temargs.exp: For new tests that require newer gccs,
8932 xfail them when run with older gccs.
8933
8934 * lib/gdb.exp (build_executable): Forward "c++" option to
8935 get_compiler_info.
8936
8937 * gdb.python/py-type.exp (test_template): Mark as xfail tests
8938 "python print ttype.template_argument(1)" and
8939 "python print isinstance(ttype.template_argument(1), gdb.Value)"
8940 if using gcc 4.4 or earlier.
8941
8942 * gdb.base/valgrind-db-attach.exp: Use unique test name for
8943 attach-to-debugger handling.
8944
8945 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8946
8947 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
8948 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
8949 (main): Use copyreloc.
8950 * gdb.base/prelink.exp (split debug of executable)
8951 (.dynbss vs. .bss address shift): New tests.
8952
8953 2010-07-29 Pedro Alves <pedro@codesourcery.com>
8954
8955 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
8956 in gdb_test_multiple.
8957
8958 2010-07-29 Pedro Alves <pedro@codesourcery.com>
8959
8960 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
8961 environment.
8962
8963 2010-07-28 Tom Tromey <tromey@redhat.com>
8964
8965 PR python/11060:
8966 * gdb.python/py-type.c (Temargs): New template.
8967 (temvar): New variable.
8968 * gdb.python/py-type.exp (test_template): New proc.
8969
8970 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8971
8972 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
8973 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
8974
8975 2010-07-28 Tom Tromey <tromey@redhat.com>
8976
8977 PR c++/9946:
8978 * gdb.cp/temargs.exp: New file.
8979 * gdb.cp/temargs.cc: New file.
8980
8981 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8982
8983 * gdb.base/help.exp (help disassemble): Update the content.
8984
8985 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8986
8987 * gdb.threads/ia64-sigill.exp: New file.
8988 * gdb.threads/ia64-sigill.c: New file.
8989
8990 2010-07-27 Tom Tromey <tromey@redhat.com>
8991
8992 * gdb.opt/inline-cmds.c (ATTR): New define.
8993 (func1): Use it.
8994 (func2): Likewise.
8995 (func3): Likewise.
8996 (outer_inline1): Likewise.
8997 (outer_inline2): Likewise.
8998 * gdb.opt/inline-bt.c (ATTR): New define.
8999 (func1): Use it.
9000 (func2): Likewise.
9001 * gdb.opt/inline-locals.c (ATTR): New define.
9002 (func1): Use it.
9003 (func2): Likewise.
9004
9005 2010-07-27 Tom Tromey <tromey@redhat.com>
9006
9007 * gdb.stabs/gdb11479.c (hack): New function.
9008 (test): Use it.
9009 (test2): Use it.
9010 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
9011 (int32_search_buf, int64_search_buf): No longer static.
9012 (x): Remove.
9013 * gdb.base/relocate.c (hack): New function.
9014
9015 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
9016
9017 * gdb.python/py-value.exp (test_inferior_function_call): New function.
9018 * gdb.python/py-value.c (func1): New function.
9019 (func2): Likewise.
9020
9021 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
9022
9023 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
9024 as not to clash with .data section.
9025
9026 2010-07-26 Jerome Guitton <guitton@adacore.com>
9027
9028 * gdb.base/code_elim.exp: New file.
9029 * gdb.base/code_elim1.c: New file.
9030 * gdb.base/code_elim2.c: New file.
9031
9032 2010-07-21 Pedro Alves <pedro@codesourcery.com>
9033
9034 PR symtab/11827
9035
9036 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
9037 (some_volatile_enum): New variable.
9038 * gdb.base/printcmds.exp (test_print_enums): New.
9039 <top level>: Call it.
9040
9041 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
9042
9043 * gdb.cp/fpointer.cc: New test.
9044 * gdb.cp/fpointer.exp: New test.
9045
9046 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9047
9048 * gdb.base/solib-nodir.exp: New file.
9049 * lib/gdb.exp (runto): New case for a GDB internal error.
9050
9051 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9052 Ulrich Weigand <uweigand@de.ibm.com>
9053 Tom Tromey <tromey@redhat.com>
9054
9055 * gdb.base/charset-malloc.c: New file.
9056 * gdb.base/charset.c (malloc_stub): New prototype.
9057 (main): Call it instead of malloc itself.
9058 * gdb.base/charset.exp: Use only prepare_for_testing.
9059 (binfile): Remove the variable.
9060
9061 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9062
9063 Make core files the process_stratum.
9064 * gdb.base/corefile.exp (run: load core again)
9065 (run: sanity check we see the core file, run: with core)
9066 (run: core file is cleared, attach: load core again)
9067 (attach: sanity check we see the core file, attach: with core)
9068 (attach: core file is cleared): New tests.
9069 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
9070
9071 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
9072
9073 * gdb.arch/altivec-abi.exp: New tests.
9074
9075 2010-07-13 Tom Tromey <tromey@redhat.com>
9076
9077 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
9078 (main): Use it.
9079 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
9080
9081 2010-07-13 Tom Tromey <tromey@redhat.com>
9082
9083 * gdb.base/label.exp: New file.
9084 * gdb.base/label.c: New file.
9085
9086 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
9087 H.J. Lu <hongjiu.lu@intel.com>
9088
9089 * lib/gdb.exp (is_ilp32_target): New.
9090 (is_lp64_target): Likewise.
9091
9092 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
9093 target.
9094 * gdb.arch/amd64-disp-step.exp: Likewise.
9095 * gdb.arch/amd64-dword.exp: Likewise.
9096 * gdb.arch/amd64-i386-address.exp: Likewise.
9097 * gdb.arch/amd64-word.exp: Likewise.
9098
9099 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
9100 target.
9101 * gdb.arch/i386-bp_permanent.exp: Likewise.
9102 * gdb.arch/i386-byte.exp: Likewise.
9103 * gdb.arch/i386-disp-step.exp: Likewise.
9104 * gdb.arch/i386-gnu-cfi.exp: Likewise.
9105 * gdb.arch/i386-prologue.exp: Likewise.
9106 * gdb.arch/i386-size-overlap.exp: Likewise.
9107 * gdb.arch/i386-size.exp: Likewise.
9108 * gdb.arch/i386-sse.exp: Likewise.
9109 * gdb.arch/i386-unwind.exp: Likewise.
9110 * gdb.arch/i386-word.exp: Likewise.
9111
9112 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
9113 test only when building 64-bit executables. Do not hard-code
9114 -m64 option.
9115
9116 2010-07-07 Doug Evans <dje@google.com>
9117
9118 * lib/gdb.exp (gdb_test_list_exact): New function.
9119 * gdb.base/default.exp (show convenience): Call it, add tests for
9120 $_sdata = void, $_thread = 0.
9121
9122 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9123 Joel Brobecker <brobecker@adacore.com>
9124
9125 Fix re-run of PIE executable, PR shlibs/11776.
9126 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
9127 Remove $displacement_main to match the solib-svr4.c change. New "kill"
9128 and re-"run" of the inferior.
9129
9130 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9131 Joel Brobecker <brobecker@adacore.com>
9132
9133 Cope with missing /usr/sbin/prelink.
9134 * lib/prelink-support.exp (prelink_no):
9135 <result == 1 && $output is "no such file or directory">: New.
9136 (prelink_yes): Likewise. Return on failed prelink_no.
9137
9138 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9139 Joel Brobecker <brobecker@adacore.com>
9140
9141 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
9142 build_executable by build_executable_own_libs. Replace "prelink -R"
9143 execution by a call of prelink_yes. Comment why "prelink -r" needs no
9144 change.
9145 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
9146 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
9147 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
9148 Replace build_executable by build_executable_own_libs's function
9149 build_executable_own_libs.
9150 (prelinkNO): Create new stub to call prelink_no.
9151 (prelinkYES): Create new stub to call prelink_yes.
9152 (test_attach): Rename calls of copy to file_copy.
9153 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
9154 (copy): Move to ...
9155 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
9156 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
9157 * gdb.base/prelink.exp: Disable testcase also for is_remote and
9158 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
9159 special flags by gdb_compile_shlib. Replace second gdb_compile by
9160 build_executable_own_libs. Replace "prelink -R" execution by a call of
9161 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
9162 a second call of prelink_yes. Replace restart commands by
9163 clean_restart.
9164 (prelink): Rename to ...
9165 (seen displacement message): ... this test. Extend its expectation
9166 strictness.
9167
9168 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9169
9170 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
9171 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
9172 displacement message exactly once.
9173
9174 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9175 Joel Brobecker <brobecker@adacore.com>
9176
9177 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
9178 its restore after the <$relink_args != ""> loop. new comment.
9179
9180 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9181 Joel Brobecker <brobecker@adacore.com>
9182
9183 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
9184 code for it. New variable relink_args.
9185 (prelinkYES): Call prelinkNO.
9186 (test_attach): Accept new parameter relink_args. Re-prelink the binary
9187 in such case. Move the core code to ...
9188 (test_attach_gdb): ... a new function. Send GDB command "file".
9189 Extend expected "Attaching to " string.
9190
9191 2010-07-02 Tom Tromey <tromey@redhat.com>
9192
9193 * gdb.base/bitops.exp: Remove extraneous "pass".
9194
9195 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
9196
9197 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9198
9199 2010-07-01 Pedro Alves <pedro@codesourcery.com>
9200
9201 * gdb.base/help.exp: Adjust expected output.
9202
9203 2010-07-01 Pedro Alves <pedro@codesourcery.com>
9204
9205 * gdb.base/help.exp: Adjust expected output.
9206
9207 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9208
9209 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
9210 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
9211 c++/11702.
9212
9213 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9214 Doug Evans <dje@google.com>
9215
9216 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
9217 add .dynamic entry'.
9218
9219 2010-06-29 Doug Evans <dje@google.com>
9220
9221 Test PR c++/11702.
9222 * gdb.cp/m-static.exp: Add testcase.
9223 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
9224
9225 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
9226 Tom Tromey <tromey@redhat.com>
9227 Thiago Jung Bauermann <bauerman@br.ibm.com>
9228
9229 * gdb.python/py-inferior.c: New File.
9230 * gdb.python/py-infthread.c: New File.
9231 * gdb.python/py-inferior.exp: New File.
9232 * gdb.python/py-infthread.exp: New File.
9233
9234 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9235
9236 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
9237 (ptype ::C::OtherFileClass typedefs): New.
9238 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
9239 (C::OtherFileClass::cOtherFileClassVar2): New.
9240 (C::OtherFileClass::cOtherFileClassVar_use): Use also
9241 cOtherFileClassVar2.
9242 (C::cOtherFileType2, C::cOtherFileVar2): New.
9243 (C::cOtherFileVar_use): use also cOtherFileVar2.
9244 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
9245
9246 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9247
9248 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
9249 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
9250 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
9251 (print ::C::cOtherFileVar)
9252 (whatis C::OtherFileClass::cOtherFileClassType)
9253 (whatis ::C::OtherFileClass::cOtherFileClassType)
9254 (print C::OtherFileClass::cOtherFileClassVar)
9255 (print ::cOtherFileClassVar)
9256 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
9257 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
9258 trailing content.
9259 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
9260 (C::OtherFileClass::cOtherFileClassVar)
9261 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
9262 (C::cOtherFileVar, C::cOtherFileVar_use): New.
9263
9264 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9265
9266 Test PR c++/11703 and PR gdb/1448.
9267 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
9268 gdb/1448.
9269
9270 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9271
9272 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
9273 (main) <rtti_data>: New.
9274 * gdb.cp/virtbase.exp (print rtti_data): New.
9275
9276 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9277 Joel Brobecker <brobecker@adacore.com>
9278
9279 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
9280
9281 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9282
9283 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
9284
9285 2010-06-28 Doug Evans <dje@google.com>
9286
9287 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
9288
9289 2010-06-27 Doug Evans <dje@google.com>
9290
9291 * gdb.cp/m-static.exp: Update expected test output.
9292
9293 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
9294
9295 * gdb.gdb/selftest.exp: Adjust expected message for
9296 capturing start-up runtime.
9297
9298 2010-06-25 Tom Tromey <tromey@redhat.com>
9299
9300 PR python/10808:
9301 * gdb.python/python.exp: Add new tests.
9302
9303 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
9304
9305 * gdb.cp/operator.cc: Created an import loop.
9306 * gdb.cp/operator.exp: Added testcase for import loop.
9307
9308 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9309
9310 Test PR python/11407.
9311 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
9312 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
9313 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
9314 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
9315 executable_nofb and executable_fb. New variables srcsfile, objsfile,
9316 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
9317 binfile. Call gdb_compile with clean_restart twice.
9318 (func_nofb print, func_nofb backtrace, func_loopfb print)
9319 (func_loopfb backtrace): New.
9320
9321 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9322
9323 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
9324 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
9325 by a hand made one.
9326 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
9327 i?86 requirement. Remove variables srcfile and binfile. New variable
9328 sources, executable_nofb and executable_fb. Call prepare_for_testing.
9329
9330 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9331
9332 * gdb.cell/dwarfaddr.exp: New file.
9333 * gdb.cell/dwarfaddr.S: New file.
9334
9335 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9336
9337 Test PR 9436.
9338 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
9339
9340 2010-06-24 Hui Zhu <teawater@gmail.com>
9341
9342 * gdb.base/eval.exp: New file.
9343
9344 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9345
9346 * gdb.cell/fork.exp: New file.
9347 * gdb.cell/fork.c: Likewise.
9348 * gdb.cell/fork-spu.c: Likewise.
9349
9350 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
9351
9352 * lib/gdb.exp (banned_variables_traced): New global variable.
9353 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
9354 (gdb_init): Use `trace add variable' instead of obsolete
9355 `trace variable'.
9356
9357 2010-06-21 Doug Evans <dje@google.com>
9358
9359 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
9360
9361 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9362
9363 * gdb.arch/spu-ls.exp: New file.
9364 * gdb.arch/spu-ls.c: Likewise.
9365
9366 2010-06-18 Stan Shebs <stan@codesourcery.com>
9367
9368 * gdb.threads/thread-specific.exp: Add tests of $_thread.
9369
9370 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9371
9372 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
9373 * gdb.base/watch-cond.exp: Likewise.
9374 * gdb.python/py-breakpoint.exp: Likewise.
9375
9376 2010-06-18 Pedro Alves <pedro@codesourcery.com>
9377
9378 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
9379 clean_restart, make sure every test has a distinct message, and
9380 that messages don't include the executable' full path.
9381
9382 2010-06-17 Doug Evans <dje@google.com>
9383
9384 * gdb.arch/i386-size.exp: Updated expected output for
9385 DISASSEMBLY_OMIT_FNAME.
9386
9387 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9388 Sergio Durigan Junior <sergiodj@redhat.com>
9389
9390 * gdb.base/watch-notconst.c: New file.
9391 * gdb.base/watch-notconst.S: New file.
9392 * gdb.base/watch-notconst2.c: New file.
9393 * gdb.base/watch-notconst2.S: New file.
9394 * gdb.base/watch-notconst.exp: New file.
9395 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
9396 (func4): Add operations on `global_ptr_ptr'.
9397 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
9398 routine to test watchpoints created with a constant expression.
9399 (test_inaccessible_watchpoint): Include tests for watchpoints
9400 created with a constant expression.
9401
9402 2010-06-14 Kevin Buettner <kevinb@redhat.com>
9403
9404 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9405 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
9406 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
9407 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
9408 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9409 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9410 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
9411 of `_start'.
9412
9413 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9414
9415 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
9416 not supported on the target.
9417 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9418 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9419 * gdb.mi/mi-nsintrall.exp: Likewise.
9420 * gdb.mi/mi-nsmoribund.exp: Likewise.
9421 * gdb.mi/mi-nsthrexec.exp: Likewise.
9422
9423 2010-06-11 Stan Shebs <stan@codesourcery.com>
9424
9425 * gdb.base/permissions.exp: New file.
9426
9427 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9428
9429 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
9430 does not support ELF executable class.
9431
9432 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9433
9434 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
9435
9436 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9437
9438 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
9439 (runto): Catch "The target does not support running in non-stop mode.".
9440
9441 2010-06-11 Michael Snyder <msnyder@vmware.com>
9442
9443 * gdb.base/setshow.exp (set language asm): Don't use
9444 gdb_test_no_output, fails on some targets.
9445
9446 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9447
9448 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
9449 * gdb.cp/pr9167.exp: Likewise.
9450
9451 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9452
9453 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
9454
9455 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9456
9457 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
9458
9459 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9460
9461 * gdb.base/charset.c (main): Make sure malloc gets linked in.
9462
9463 2010-06-11 Tom Tromey <tromey@redhat.com>
9464
9465 PR gdb/9977, PR exp/11636::
9466 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
9467 (pieces_test_f6): Update expected output.
9468
9469 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9470
9471 * gdb.base/moribund-step.exp: New.
9472
9473 2010-06-08 Michael Snyder <msnyder@vmware.com>
9474
9475 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
9476 * gdb.ada/boolean_expr.exp:
9477 * gdb.ada/frame_args.exp: Ditto.
9478 * gdb.ada/lang_switch.exp: Ditto.
9479 * gdb.ada/ptype_arith_binop.exp: Ditto.
9480 * gdb.ada/ref_param.exp: Ditto.
9481 * gdb.ada/type_coercion.exp:Ditto.
9482
9483 * gdb.asm/asm-source.exp: Ditto.
9484
9485 * gdb.base/attach.exp: Ditto.
9486 * gdb.base/bitfields2.exp: Ditto.
9487 * gdb.base/call-signal-resume.exp: Ditto.
9488 * gdb.base/callfuncs.exp: Ditto.
9489 * gdb.base/commands.exp: Ditto.
9490 * gdb.base/dbx.exp: Ditto.
9491 * gdb.base/default.exp: Ditto.
9492 * gdb.base/dump.exp: Ditto.
9493 * gdb.base/exprs.exp: Ditto.
9494 * gdb.base/freebpcmd.exp: Ditto.
9495 * gdb.base/interrupt.exp: Ditto.
9496 * gdb.base/list.exp: Ditto.
9497 * gdb.base/long_long.exp: Ditto.
9498 * gdb.base/maint.exp: Ditto.
9499 * gdb.base/ptype.exp: Ditto.
9500 * gdb.base/return.exp: Ditto.
9501 * gdb.base/setshow.exp: Ditto.
9502 * gdb.base/sigbpt.exp: Ditto.
9503 * gdb.base/sigrepeat.exp: Ditto.
9504
9505 * gdb.cp/classes.exp: Ditto.
9506
9507 * gdb.dwarf2/dw2-restore.exp: Ditto.
9508
9509 * gdb.gdb/selftest.exp: Ditto.
9510
9511 * gdb.multi/base.exp: Ditto.
9512 * gdb.multi/bkpt-multi-exec.exp: Ditto.
9513
9514 * gdb.python/py-block.exp: Ditto.
9515 * gdb.python/py-prettyprint.exp: Ditto.
9516 * gdb.python/py-template.exp: Ditto.
9517
9518 * gdb.server/ext-attach.exp: Ditto.
9519 * gdb.server/ext-run.exp: Ditto.
9520 * gdb.server/server-mon.exp: Ditto.
9521
9522 * gdb.threads/fork-thread-pending.exp: Ditto.
9523 * gdb.threads/hand-call-in-threads.exp: Ditto.
9524 * gdb.threads/interrupted-hand-call.exp: Ditto.
9525 * gdb.threads/linux-dp.exp: Ditto.
9526 * gdb.threads/manythreads.exp: Ditto.
9527 * gdb.threads/print-threads.exp: Ditto.
9528 * gdb.threads/pthreads.exp: Ditto.
9529 * gdb.threads/schedlock.exp: Ditto.
9530 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9531 * gdb.threads/threadapply.exp: Ditto.
9532
9533 2010-06-08 Michael Snyder <msnyder@vmware.com>
9534
9535 * gdb.ada/exec_changed.exp:
9536 Use ".*" instead of "" as wildcard regexp.
9537
9538 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
9539 * gdb.base/call-ar-st.exp: Ditto.
9540 * gdb.base/checkpoint.exp: Ditto.
9541 * gdb.base/default.exp: Ditto.
9542 * gdb.base/dump.exp: Ditto.
9543 * gdb.base/ending-run.exp: Ditto.
9544 * gdb.base/fileio.exp: Ditto.
9545 * gdb.base/miscexprs.exp: Ditto.
9546 * gdb.base/pointers.exp: Ditto.
9547 * gdb.base/readline.exp: Ditto.
9548 * gdb.base/reread.exp: Ditto.
9549 * gdb.base/restore.exp: Ditto.
9550 * gdb.base/shlib-call.exp: Ditto.
9551 * gdb.base/valgrind-db-attach.exp: Ditto.
9552 * gdb.base/volatile.exp: Ditto.
9553 * gdb.base/watchpoints.exp: Ditto.
9554
9555 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
9556
9557 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
9558 * gdb.python/py-value.exp: Ditto.
9559
9560 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
9561 * gdb.trace/circ.exp: Ditto.
9562 * gdb.trace/collection.exp: Ditto.
9563 * gdb.trace/packetlen.exp: Ditto.
9564 * gdb.trace/passc-dyn.exp: Ditto.
9565 * gdb.trace/report.exp: Ditto.
9566 * gdb.trace/tfile.exp: Ditto.
9567 * gdb.trace/tfind.exp: Ditto.
9568 * gdb.trace/while-dyn.exp: Ditto.
9569
9570 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9571
9572 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
9573
9574 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9575
9576 Test PR 10640.
9577 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
9578
9579 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
9580
9581 * gdb.cp/koenig.exp: Test for ADL operators.
9582 * gdb.cp/koenig.cc: Added ADL operators.
9583 * gdb.cp/operator.exp: New test.
9584 * gdb.cp/operator.cc: New test.
9585
9586 2010-06-04 Michael Snyder <msnyder@vmware.com>
9587
9588 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
9589 * gdb.base/pending.exp: Ditto.
9590
9591 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
9592
9593 2010-06-04 Doug Evans <dje@google.com>
9594
9595 * gdb.python/py-prettyprint.exp: Add new test for enabled and
9596 disabled printers.
9597 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
9598 (enable_lookup_function): New function.
9599
9600 2010-06-04 Tom Tromey <tromey@redhat.com>
9601
9602 * gdb.python/py-value.exp (test_value_hash): Don't test equality
9603 of hash and id.
9604
9605 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9606
9607 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
9608 newline.
9609 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
9610 (empty verbose non-noisy clear, empty verbose noisy clear)
9611 (empty non-verbose noisy clear): Likewise.
9612
9613 2010-06-03 Michael Snyder <msnyder@vmware.com>
9614
9615 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
9616 * gdb.base/display.exp: Ditto.
9617 * gdb.base/find.exp: Ditto.
9618 * gdb.base/ifelse.exp: Ditto.
9619 * gdb.base/multi-forks.exp: Ditto.
9620 * gdb.base/recurse.exp: Ditto.
9621 * gdb.base/setshow.exp: Ditto.
9622 * gdb.base/value-double-free.exp: Ditto.
9623 * gdb.base/watch-vfork.exp: Ditto.
9624 * gdb.base/watch_thread_num.exp: Ditto.
9625 * gdb.base/watchpoint-solib.exp: Ditto.
9626 * gdb.base/watchpoint.exp: Ditto.
9627 * gdb.base/watchpoints.exp: Ditto.
9628
9629 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
9630 * gdb.cp/overload.exp: Ditto.
9631 * gdb.cp/virtfunc.exp: Ditto.
9632
9633 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
9634
9635 * gdb.reverse/watch-precsave.exp:
9636 Replace gdb_test with gdb_test_no_output.
9637
9638 * gdb.threads/attach-into-signal.exp:
9639 Replace gdb_test with gdb_test_no_output.
9640 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9641 * gdb.threads/watchthreads.exp: Ditto.
9642 * gdb.threads/watchthreads2.exp: Ditto.
9643
9644 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
9645 * gdb.trace/tfind.exp: Ditto.
9646
9647 2010-06-03 Joel Brobecker <brobecker@adacore.com>
9648
9649 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
9650 successful test if message is the empty string.
9651
9652 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9653
9654 * gdb.fortran/module.exp (stopped language detection): New test.
9655
9656 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9657
9658 Support DW_TAG_module as separate namespaces.
9659 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
9660 gdb.fortran/library-module-lib.f90: New.
9661 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
9662 (print i): Remove.
9663 (continue to breakpoint: i-is-1, print var_i value 1)
9664 (continue to breakpoint: i-is-2, print var_i value 2)
9665 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
9666 (print var_d, print var_i value 14, ptype modmany, complete `modm)
9667 (complete `modmany, complete `modmany`, complete `modmany`var)
9668 (show language, setting breakpoint at module): New tests.
9669 * gdb.fortran/module.f90 (module mod): Remove.
9670 (module mod1, module mod2, module modmany, subroutine sub1)
9671 (subroutine sub2, program module): New.
9672
9673 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9674
9675 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
9676 (print value of rUC, print value of rI, print value of UI): ... here.
9677 * gdb.cp/anon-union.exp (pass): Rename to ...
9678 (print z 2): ... here.
9679
9680 2010-06-02 Michael Snyder <msnyder@vmware.com>
9681
9682 * gdb.trace/actions.exp: Use gdb_test_no_output.
9683 * gdb.trace/circ.exp: Ditto.
9684 * gdb.trace/packetlen.exp: Ditto.
9685 * gdb.trace/save-trace.exp: Ditto.
9686 * gdb.trace/tracecmd.exp: Ditto.
9687 * gdb.trace/tsv.exp: Ditto.
9688
9689 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
9690 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
9691 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9692 * gdb.threads/manythreads.exp: Ditto.
9693 * gdb.threads/print-threads.exp: Ditto.
9694 * gdb.threads/pthreads.exp: Ditto.
9695 * gdb.threads/schedlock.exp: Ditto.
9696 * gdb.threads/staticthreads.exp: Ditto.
9697 * gdb.threads/thread-specific.exp: Ditto.
9698 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9699 * gdb.threads/threadapply.exp: Ditto.
9700 * gdb.threads/watchthreads.exp: Ditto.
9701 * gdb.threads/watchthreads2.exp: Ditto.
9702
9703 * gdb.python/py-block.exp: Use gdb_test_no_output.
9704 * gdb.python/py-prettyprint.exp: Ditto.
9705 * gdb.python/py-template.exp: Ditto.
9706 * gdb.python/py-value.exp: Ditto.
9707
9708 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
9709 * gdb.reverse/watch-reverse.exp: Ditto.
9710
9711 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
9712 * gdb.server/ext-run.exp: Ditto.
9713
9714 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
9715 * gdb.dwarf2/dw2-compressed.exp: Ditto.
9716 * gdb.dwarf2/dw2-intercu.exp: Ditto.
9717 * gdb.dwarf2/dw2-intermix.exp: Ditto.
9718 * gdb.dwarf2/dw2-producer.exp: Ditto.
9719 * gdb.dwarf2/mac-fileno.exp: Ditto.
9720
9721 * gdb.gdb/observer.exp: Use gdb_test_no_output.
9722 * gdb.gdb/selftest.exp: Ditto.
9723
9724 * gdb.multi/base.exp: Use gdb_test_no_output.
9725
9726 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
9727
9728 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9729
9730 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
9731
9732 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
9733
9734 * gdb.cp/class2.exp: Use gdb_test_no_output.
9735 * gdb.cp/classes.exp: Ditto.
9736 * gdb.cp/extern-c.exp: Ditto.
9737 * gdb.cp/inherit.exp: Ditto.
9738 * gdb.cp/maint.exp: Ditto.
9739 * gdb.cp/mb-inline.exp: Ditto.
9740 * gdb.cp/mb-templates.exp: Ditto.
9741 * gdb.cp/method2.exp: Ditto.
9742 * gdb.cp/misc.exp: Ditto.
9743 * gdb.cp/ovldbreak.exp: Ditto.
9744 * gdb.cp/punctuator.exp: Ditto.
9745 * gdb.cp/templates.exp: Ditto.
9746 * gdb.cp/virtbase.exp: Ditto.
9747
9748 * gdb.threads/attach-stopped.exp:
9749 Replace uses of send_gdb / gdb_expect.
9750 * gdb.threads/attachstop-mt.exp:
9751 Replace uses of send_gdb / gdb_expect.
9752 * gdb.threads/gcore-thread.exp:
9753 Replace uses of send_gdb / gdb_expect.
9754 * gdb.threads/hand-call-in-threads.exp:
9755 Replace uses of send_gdb / gdb_expect.
9756 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
9757 * gdb.threads/print-threads.exp:
9758 Replace uses of send_gdb / gdb_expect.
9759 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
9760 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
9761 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
9762
9763 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
9764 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
9765 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
9766 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
9767 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
9768 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
9769 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
9770 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
9771 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
9772 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
9773 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
9774
9775 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9776
9777 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
9778
9779 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
9780
9781 * gdb.cp/koenig.exp: Added new test case.
9782 * gdb.cp/koenig.cc: Ditto.
9783
9784 2010-06-01 Michael Snyder <msnyder@vmware.com>
9785
9786 * gdb.base/arithmet.exp: Use gdb_test_no_output.
9787 * gdb.base/arrayidx.exp: Ditto.
9788 * gdb.base/attach.exp: Ditto.
9789 * gdb.base/auxv.exp: Ditto.
9790 * gdb.base/bigcre.exp: Ditto.
9791 * gdb.base/break-always.exp: Ditto.
9792 * gdb.base/break-interp.exp: Ditto.
9793 * gdb.base/break.exp: Ditto.
9794 * gdb.base/breakpoint-shadow.exp: Ditto.
9795 * gdb.base/call-ar-st.exp: Ditto.
9796 * gdb.base/call-sc.exp: Ditto.
9797 * gdb.base/call-signal-resume.exp: Ditto.
9798 * gdb.base/callfuncs.exp: Ditto.
9799 * gdb.base/catch-syscall.exp: Ditto.
9800 * gdb.base/charset.exp: Ditto.
9801 * gdb.base/code-expr.exp: Ditto.
9802 * gdb.base/commands.exp: Ditto.
9803 * gdb.base/cond-expr.exp: Ditto.
9804 * gdb.base/condbreak.exp: Ditto.
9805 * gdb.base/cursal.exp: Ditto.
9806 * gdb.base/cvexpr.exp: Ditto.
9807 * gdb.base/default.exp: Ditto.
9808 * gdb.base/del.exp: Ditto.
9809 * gdb.base/detach.exp: Ditto.
9810 * gdb.base/display.exp: Ditto.
9811 * gdb.base/ena-dis-br.exp: Ditto.
9812 * gdb.base/eval-skip.exp: Ditto.
9813 * gdb.base/foll-fork.exp: Ditto.
9814 * gdb.base/foll-vfork.exp: Ditto.
9815 * gdb.base/frame-args.exp: Ditto.
9816 * gdb.base/funcargs.exp: Ditto.
9817 * gdb.base/gcore-buffer-overflow.exp: Ditto.
9818 * gdb.base/gdbvars.exp: Ditto.
9819 * gdb.base/help.exp: Ditto.
9820 * gdb.base/ifelse.exp: Ditto.
9821 * gdb.base/included.exp: Ditto.
9822 * gdb.base/list.exp: Ditto.
9823 * gdb.base/macscp.exp: Ditto.
9824 * gdb.base/maint.exp: Ditto.
9825 * gdb.base/multi-fork.exp: Ditto.
9826 * gdb.base/overlays.exp: Ditto.
9827 * gdb.base/page.exp: Ditto.
9828 * gdb.base/pending.exp: Ditto.
9829 * gdb.base/pointers.exp: Ditto.
9830 * gdb.base/pr11022.exp: Ditto.
9831 * gdb.base/prelink.exp: Ditto.
9832 * gdb.base/printcmds.exp: Ditto.
9833 * gdb.base/psymtab.exp: Ditto.
9834 * gdb.base/randomize.exp: Ditto.
9835 * gdb.base/relational.exp: Ditto.
9836 * gdb.base/relocate.exp: Ditto.
9837 * gdb.base/remote.exp: Ditto.
9838 * gdb.base/sepdebug.exp: Ditto.
9839 * gdb.base/set-lang-auto.exp: Ditto.
9840 * gdb.base/setshow.exp: Ditto.
9841 * gdb.base/setvar.exp: Ditto.
9842 * gdb.base/signals.exp: Ditto.
9843 * gdb.base/signull.exp: Ditto.
9844 * gdb.base/sigstep.exp: Ditto.
9845 * gdb.base/sizeof.exp: Ditto.
9846 * gdb.base/solib-disc.exp: Ditto.
9847 * gdb.base/store.exp: Ditto.
9848 * gdb.base/structs.exp: Ditto.
9849 * gdb.base/structs2.exp: Ditto.
9850 * gdb.base/subst.exp: Ditto.
9851 * gdb.base/term.exp: Ditto.
9852 * gdb.base/trace-commands.exp: Ditto.
9853 * gdb.base/unwindonsignal.exp: Ditto.
9854 * gdb.base/valgrind-db-attach.exp: Ditto.
9855 * gdb.base/varargs.exp: Ditto.
9856 * gdb.base/watch-cond.exp: Ditto.
9857 * gdb.base/watch_thread_num.exp: Ditto.
9858 * gdb.base/watchpoint-cond-gone.exp: Ditto.
9859 * gdb.base/watchpoint.exp: Ditto.
9860 * gdb.base/whatis-exp.exp: Ditto.
9861
9862 2010-06-01 Michael Snyder <msnyder@vmware.com>
9863
9864 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
9865 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
9866 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
9867 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
9868 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
9869 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
9870 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
9871 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
9872 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
9873 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
9874 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
9875 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
9876 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
9877 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
9878 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
9879
9880 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9881
9882 * gdb.base/commands.exp (begin commands on watch): Remove excessive
9883 trailing newline.
9884 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
9885 * gdb.java/jmisc.exp (p *args\n): Rename to ...
9886 (p *args): ... here and remove excessive trailing newline.
9887
9888 2010-05-31 Joel Brobecker <brobecker@adacore.com>
9889
9890 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
9891
9892 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
9893
9894 Accept the new Linux kernel "t (tracing stop)" string.
9895 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
9896 Update comment.
9897 (state_wait) <T (tracing stop)>: New.
9898 (main): Update the state_wait expect string.
9899
9900 2010-05-28 Pedro Alves <pedro@codesourcery.com>
9901
9902 * limits.c, limits.exp: Delete files.
9903 * Makefile.in (clean mostlyclean): Adjust.
9904 * tracecmd.exp: Adjust.
9905
9906 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9907
9908 * gdb.base/tui-layout.exp: New.
9909
9910 2010-05-28 Michael Snyder <msnyder@vmware.com>
9911
9912 * gdb.reverse/break-precsave.exp:
9913 Replace uses of send_gdb / gdb_expect.
9914 * gdb.reverse/break-reverse.exp:
9915 Replace uses of send_gdb / gdb_expect.
9916 * gdb.reverse/consecutive-precsave.exp:
9917 Replace uses of send_gdb / gdb_expect.
9918 * gdb.reverse/consecutive-reverse.exp:
9919 Replace uses of send_gdb / gdb_expect.
9920 * gdb.reverse/finish-precsave.exp:
9921 Replace uses of send_gdb / gdb_expect.
9922 * gdb.reverse/finish-reverse.exp:
9923 Replace uses of send_gdb / gdb_expect.
9924 * gdb.reverse/i386-precsave.exp:
9925 Replace uses of send_gdb / gdb_expect.
9926 * gdb.reverse/i386-reverse.exp:
9927 Replace uses of send_gdb / gdb_expect.
9928 * gdb.reverse/i386-sse-reverse.exp:
9929 Replace uses of send_gdb / gdb_expect.
9930 * gdb.reverse/i387-env-reverse.exp:
9931 Replace uses of send_gdb / gdb_expect.
9932 * gdb.reverse/i387-stack-reverse.exp:
9933 Replace uses of send_gdb / gdb_expect.
9934 * gdb.reverse/machinestate-precsave.exp:
9935 Replace uses of send_gdb / gdb_expect.
9936 * gdb.reverse/machinestate.exp:
9937 Replace uses of send_gdb / gdb_expect.
9938 * gdb.reverse/sigall-precsave.exp:
9939 Replace uses of send_gdb / gdb_expect.
9940 * gdb.reverse/sigall-reverse.exp:
9941 Replace uses of send_gdb / gdb_expect.
9942 * gdb.reverse/solib-precsave.exp:
9943 Replace uses of send_gdb / gdb_expect.
9944 * gdb.reverse/solib-reverse.exp:
9945 Replace uses of send_gdb / gdb_expect.
9946 * gdb.reverse/step-precsave.exp:
9947 Replace uses of send_gdb / gdb_expect.
9948 * gdb.reverse/step-reverse.exp:
9949 Replace uses of send_gdb / gdb_expect.
9950 * gdb.reverse/until-precsave.exp:
9951 Replace uses of send_gdb / gdb_expect.
9952 * gdb.reverse/until-reverse.exp:
9953 Replace uses of send_gdb / gdb_expect.
9954 * gdb.reverse/watch-precsave.exp:
9955 Replace uses of send_gdb / gdb_expect.
9956 * gdb.reverse/watch-reverse.exp:
9957 Replace uses of send_gdb / gdb_expect.
9958
9959 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9960
9961 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
9962 excessive newline.
9963
9964 2010-05-27 Michael Snyder <msnyder@vmware.com>
9965
9966 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
9967 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
9968 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
9969 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
9970 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
9971 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
9972 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
9973 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
9974 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
9975 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
9976 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
9977 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
9978 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
9979 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
9980 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
9981 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
9982 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
9983 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
9984 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
9985
9986 2010-05-26 Michael Snyder <msnyder@vmware.com>
9987
9988 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
9989 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
9990
9991 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
9992 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
9993 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
9994
9995 * gdb.reverse/consecutive-reverse.exp:
9996 Replace uses of send_gdb / gdb_expect.
9997 * gdb.reverse/consecutive-precsave.exp:
9998 Replace uses of send_gdb / gdb_expect.
9999
10000 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
10001 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
10002 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
10003 * gdb.mi/mi-ns-stale-regcache.exp:
10004 Replace uses of send_gdb / gdb_expect.
10005 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
10006 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
10007 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
10008 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
10009 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
10010 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
10011 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
10012 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
10013 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
10014
10015 2010-05-26 Michael Snyder <msnyder@vmware.com>
10016
10017 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
10018
10019 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
10020
10021 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
10022 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
10023 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
10024 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
10025 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
10026 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
10027 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
10028 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
10029 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
10030
10031 2010-05-25 Tom Tromey <tromey@redhat.com>
10032
10033 * gdb.base/macscp.exp: Add missing space after setup_kfail.
10034
10035 2010-05-25 Tom Tromey <tromey@redhat.com>
10036
10037 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
10038 argument order.
10039 * gdb.base/macscp.exp: Fix setup_kfail argument order.
10040 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
10041 order.
10042 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
10043 order.
10044 * gdb.base/call-sc.exp (setup_kfails): Remove.
10045 (setup_compiler_kfails): Remove.
10046 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
10047 argument order.
10048 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
10049 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
10050 (advancei): Fix setup_kfail argument order.
10051 * gdb.base/radix.exp: Fix setup_kfail argument order.
10052 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
10053 order.
10054 * gdb.base/structs.exp (setup_kfails): Remove.
10055 (setup_compiler_kfails): Fix setup_kfail argument order.
10056 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
10057 order.
10058 * gdb.java/jmain.exp: Fix setup_kfail argument order.
10059 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
10060 setup_kfail argument order.
10061 * gdb.cp/overload.exp: Fix setup_kfail argument order.
10062
10063 2010-05-25 Tom Tromey <tromey@redhat.com>
10064
10065 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
10066
10067 2010-05-25 Michael Snyder <msnyder@vmware.com>
10068
10069 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
10070 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
10071 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
10072 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
10073 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
10074 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
10075 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
10076 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
10077 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
10078 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
10079 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
10080 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
10081 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
10082 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
10083 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
10084 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
10085 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
10086 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
10087 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
10088 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
10089 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
10090 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
10091 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
10092 * gdb.base/default.exp: Replace send_gdb with gdb_test.
10093 * gdb.base/define.exp: Replace send_gdb with gdb_test.
10094 * gdb.base/display.exp: Replace send_gdb with gdb_test.
10095 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
10096 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
10097 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
10098 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
10099 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
10100 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
10101 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
10102 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
10103 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
10104 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
10105 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
10106 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
10107 * gdb.base/help.exp: Replace send_gdb with gdb_test.
10108 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
10109 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
10110 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
10111 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
10112 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
10113 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
10114 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
10115 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
10116 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
10117
10118 2010-05-25 Doug Evans <dje@google.com>
10119
10120 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
10121 gdb.string_to_argv.
10122
10123 2010-05-21 Tom Tromey <tromey@redhat.com>
10124
10125 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
10126 Call it.
10127 * gdb.dwarf2/pieces.S: Update.
10128 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
10129
10130 2010-05-21 Tom Tromey <tromey@redhat.com>
10131
10132 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
10133 Call it.
10134 * gdb.dwarf2/pieces.c (struct C): New.
10135 (f6): New function.
10136 * gdb.dwarf2/pieces.S: Replace.
10137
10138 2010-05-21 Tom Tromey <tromey@redhat.com>
10139
10140 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
10141 Call it.
10142
10143 2010-05-21 Tom Tromey <tromey@redhat.com>
10144
10145 * gdb.dwarf2.pieces.exp: New file.
10146 * gdb.dwarf2.pieces.S: New file.
10147 * gdb.dwarf2.pieces.c: New file.
10148
10149 2010-05-20 Pedro Alves <pedro@codesourcery.com>
10150 Joel Brobecker <brobecker@adacore.com>
10151
10152 * lib/gdb.exp (gdb_test_no_output): New function.
10153 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
10154 when testing commands that should produce no output.
10155
10156 2010-05-17 Joel Brobecker <brobecker@adacore.com>
10157
10158 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
10159 parameter that we want to watch being a constant.
10160
10161 2010-05-17 Joel Brobecker <brobecker@adacore.com>
10162
10163 * gdb.ada/cond_lang: New testcase.
10164
10165 2010-05-17 Joel Brobecker <brobecker@adacore.com>
10166
10167 * lib/gdb.exp (banned_variables): New variable/constant.
10168 (gdb_init): Add write trace on variables listed in banned_variables.
10169 (gdb_finish): Remove write traces on variables listed in
10170 banned_variables.
10171
10172 2010-05-17 Joel Brobecker <brobecker@adacore.com>
10173
10174 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
10175 * gdb.cp/koenig.exp: Likewise.
10176
10177 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
10178
10179 PR python/11482
10180
10181 * gdb.python/py-value.exp (test_value_hash): New function.
10182
10183 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
10184
10185 PR exp/11530.
10186 * gdb.base/gdb11530.c: New file.
10187 * gdb.base/gdb11530.exp: New file.
10188
10189 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10190
10191 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
10192 * gdb.dwarf2/dw2-modula2-self-type.S: New.
10193
10194 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
10195
10196 * gdb.cp/koenig.exp: New test.
10197 * gdb.cp/koenig.cc: New test program.
10198
10199 2010-05-05 Joel Brobecker <brobecker@adacore.com>
10200
10201 Remove the use of prms_id and bug_id throughout the testsuite.
10202
10203 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
10204
10205 PR exp/11349.
10206 * testsuite/gdb.cp/ref-types.exp: Add test to examine
10207 use a reference local variable.
10208
10209 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10210
10211 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
10212 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
10213 variable different_dir. Move debugfile into a full directory pathname
10214 under DIFFERENT_DIR.
10215 * lib/gdb.exp (separate_debug_filename): Remove.
10216 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
10217 variable debug_dir and mkdir of it. Update function comments.
10218
10219 2010-04-29 Pedro Alves <pedro@codesourcery.com>
10220
10221 PR gdb/11557
10222
10223 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
10224 files.
10225
10226 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
10227
10228 * gdb.python/py-param.exp: New File.
10229
10230 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
10231
10232 * gdb.base/default.exp: Fix "set language" test.
10233
10234 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
10235
10236 PR breakpoints/11531.
10237 * gdb.base/gdb11531.c: New file.
10238 * gdb.base/gdb11531.exp: New file.
10239
10240 2010-04-26 Tom Tromey <tromey@redhat.com>
10241
10242 * gdb.base/completion.exp: Add tests for completion and deprecated
10243 commands.
10244
10245 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10246
10247 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
10248 (print /x char_array): Escape curly brackets.
10249
10250 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10251
10252 Fix deadlock on looped list of loaded shared objects.
10253 * gdb.base/solib-corrupted.exp: New.
10254
10255 2010-04-23 Doug Evans <dje@google.com>
10256
10257 * gdb.python/py-section-script.c: New file.
10258 * gdb.python/py-section-script.exp: New file.
10259 * gdb.python/py-section-script.py: New file.
10260
10261 2010-04-20 Chris Moller <cmoller@redhat.com>
10262
10263 PR 10179
10264
10265 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
10266 * gdb.base/pr10179-a.c:
10267 * gdb.base/pr10179-b.c:
10268 * gdb.base/pr10179.exp: New files.
10269
10270 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10271
10272 Fix crashes on dangling display expressions.
10273 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
10274 is SEP.
10275 (lib_flags): Remove the "debug" keyword.
10276 (libsepdebug): New variable for iterating new loop.
10277 (save_pf_prefix): New variable wrapping the loop.
10278 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
10279 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
10280
10281 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10282
10283 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
10284
10285 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10286
10287 PR stabs/11479.
10288 * gdb.stabs/gdb11479.exp: New file.
10289 * gdb.stabs/gdb11479.c: New file.
10290
10291 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10292
10293 * gdb.base/charset.c (Strin16, String32): New variables.
10294 * gdb.base/charset.exp (gdb_test): Test correct display
10295 of 16 or 32 bit strings.
10296
10297 2010-04-21 Chris Moller <cmoller@redhat.com>
10298
10299 PR 9167
10300 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
10301 * gdb.cp/pr9167.cc: New file.
10302 * gdb.cp/pr9167.exp: New file.
10303
10304
10305 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
10306
10307 PR pascal/11492.
10308 * gdb.pascal/gdb11492.pas: New file.
10309 * gdb.pascal/gdb11492.exp: New file.
10310
10311 2010-04-20 Joel Brobecker <brobecker@adacore.com>
10312
10313 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
10314
10315 2010-04-20 Joel Brobecker <brobecker@adacore.com>
10316
10317 * gdb.ada/dyn_loc: New testcase.
10318
10319 2010-04-20 Chris Moller <cmoller@redhat.com>
10320
10321 PR 10867
10322
10323 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
10324 * gdb.cp/pr10687.cc: New file.
10325 * gdb.cp/pr10687.exp: New file.
10326
10327
10328 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10329 Sergio Durigan Junior <sergiodj@redhat.com>
10330
10331 * gdb.fortran/logical.exp: New testcase.
10332 * gdb.fortran/logical.f90: New file.
10333
10334 2010-04-19 Doug Evans <dje@google.com>
10335
10336 * gdb.base/help.exp (help source): Update expected output.
10337
10338 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10339
10340 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
10341 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
10342 gdb_exit and return.
10343 (executable): New variable.
10344 (binfile): Use it.
10345
10346 2010-04-19 Pedro Alves <pedro@codesourcery.com>
10347
10348 PR breakpoints/8554.
10349
10350 * gdb.trace/save-trace.exp: Adjust.
10351
10352 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
10353
10354 PR corefiles/11511
10355 * gdb.arch/system-gcore.exp: New.
10356 * gdb.arch/gcore.c: Likewise.
10357
10358 2010-04-15 Doug Evans <dje@google.com>
10359
10360 * gdb.python/py-progspace.c: New file.
10361 * gdb.python/py-progspace.exp: New file.
10362
10363 * gdb.base/source.exp: Add tests for "source -s".
10364
10365 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
10366
10367 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
10368 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
10369 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
10370 * gdb.python/py-mi.exp: New test for to_string returning None.
10371
10372 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
10373
10374 * gdb.python/py-breakpoint.c: Make result global.
10375
10376 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10377
10378 Fix non-GNU make compatibility.
10379 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
10380
10381 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
10382
10383 * gdb.python/py-breakpoint.exp: New File.
10384 * gdb.python/py-breakpoint.C: Ditto.
10385
10386 2010-04-08 Stan Shebs <stan@codesourcery.com>
10387
10388 * gdb.trace/actions.exp: Clear default-collect.
10389 * gdb.trace/save-trace.exp: Clear default-collect.
10390
10391 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
10392
10393 * gdb.python/py-value: Add null string variable.
10394 (test_lazy_string): Test zero length, NULL address lazy
10395 strings.
10396
10397 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
10398
10399 * gdb.arch/i386-avx.c: New.
10400 * gdb.arch/i386-avx.exp: Likewise.
10401
10402 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
10403
10404 2010-04-06 Doug Evans <dje@google.com>
10405
10406 * gdb.base/source-test.gdb: New file.
10407 * gdb.base/source.exp: Test source -v.
10408
10409 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10410
10411 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
10412
10413 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
10414
10415 * gdb.stabs/aout.sed: Convert all backslash to double backslash
10416 within one line, unless it is followed by a double quote.
10417 * gdb.stabs/hppa.sed: Idem.
10418 * gdb.stabs/weird.def: Add char and String constants
10419 * gdb.stabs/weird.exp: Check for correct parsing of
10420 char and string constants.
10421 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
10422 in .stabs to .stabx substitution.
10423
10424 2010-04-05 Stan Shebs <stan@codesourcery.com>
10425
10426 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
10427 constant global.
10428 * gdb.trace/tfile.exp: Try to print them.
10429
10430 2010-04-04 Stan Shebs <stan@codesourcery.com>
10431
10432 * gdb.base/completion.exp: Update for new "info watchpoints".
10433 * gdb.base/default.exp: Ditto.
10434 * gdb.base/help.exp: Ditto.
10435 * gdb.base/watchpoint.exp: Ditto.
10436 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
10437
10438 2010-04-04 Stan Shebs <stan@codesourcery.com>
10439
10440 * gdb.trace/tfile.exp: Sharpen tfind test.
10441
10442 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10443
10444 * gdb.base/break-entry.exp: New.
10445
10446 2010-04-02 Hui Zhu <teawater@gmail.com>
10447 Michael Snyder <msnyder@vmware.com>
10448
10449 * gdb.reverse/i386-sse-reverse.exp: New file.
10450 * gdb.reverse/i386-sse-reverse.c: New file.
10451
10452 2010-04-02 Pedro Alves <pedro@codesourcery.com>
10453
10454 * gdb.trace/tfind.exp: Adjust expected disassembly output.
10455
10456 2010-04-01 Stan Shebs <stan@codesourcery.com>
10457
10458 * gdb.trace/actions.exp: Tweak expected output.
10459 * gdb.trace/while-stepping.exp: Tweak expected output.
10460
10461 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
10462
10463 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
10464
10465 2010-04-01 Pedro Alves <pedro@codesourcery.com>
10466
10467 * gdb.base/commands.exp: Adjust.
10468 * gdb.cp/extern-c.exp: Adjust.
10469
10470 2010-04-01 Pedro Alves <pedro@codesourcery.com>
10471
10472 * gdb.trace/collection.c (local_test_func): Define a local struct,
10473 and instanciate it.
10474
10475 2010-04-01 Pedro Alves <pedro@codesourcery.com>
10476
10477 * gdb.trace/collection.exp (gdb_collect_args_test)
10478 (gdb_collect_argarray_test): XFAIL the tests that assume the
10479 argarray argument's elements are collected.
10480
10481 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
10482
10483 * gdb.dwarf2/dw2-bad-parameter-type.exp,
10484 gdb.dwarf2/dw2-bad-parameter-type.S: New.
10485
10486 2010-03-31 Stan Shebs <stan@codesourcery.com>
10487
10488 * gdb.trace/save-trace.exp: Test save/restore of default-collect
10489 and tracepoint conditionals.
10490 (gdb_verify_tracepoints): Delete unused return.
10491
10492 2010-03-26 Keith Seitz <keiths@redhat.com>
10493
10494 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
10495 appear in the output before main.
10496 Remove KFAIL for gdb/2215 aka bz 9320.
10497
10498 2010-03-30 Doug Evans <dje@google.com>
10499
10500 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
10501 by dejagnu.
10502 * gdb.arch/amd64-dword.exp: Ditto.
10503
10504 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
10505 match.
10506 (break printf): Ditto.
10507
10508 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
10509
10510 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
10511 gcc < 4.4.
10512 * gdb.cp/shadow.exp: Ditto.
10513
10514 2010-03-29 Pedro Alves <pedro@codesourcery.com>
10515
10516 * gdb.trace/collection.exp (run_trace_experiment): Make sure
10517 "tstart" is silent.
10518
10519 2010-03-29 Pedro Alves <pedro@codesourcery.com>
10520
10521 * gdb.trace/collection.exp (executable): New.
10522 (binfile): Use it.
10523 (fpreg, spreg, pcreg): New.
10524 (test_register): Use gdb_test_multiple. Pass /x to print.
10525 (prepare_for_trace_test): New.
10526 (run_trace_experiment): Use "continue", not gdb_run_cmd.
10527 (gdb_collect_args_test, gdb_collect_argstruct_test)
10528 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
10529 prepare_for_trace_test.
10530 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
10531 fpreg, spreg and pcreg.
10532 (gdb_collect_expression_test, gdb_collect_globals_test): Use
10533 prepare_for_trace_test.
10534 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
10535 try to detect tracing support here. Don't set breakpoints at
10536 `begin' or `end' here.
10537 <global scope>: Use clean_restart. Run to main before checking
10538 for tracing support. Check for for tracing support here.
10539
10540 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10541
10542 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
10543 " as $displacement" to "seen displacement message".
10544
10545 2010-03-28 Pedro Alves <pedro@codesourcery.com>
10546
10547 * gdb.trace/while-dyn.exp (executable): New variable.
10548 (binfile): Use it.
10549 (test_while_stepping): New function. Move most tests here. Call
10550 it once for each of the while-stepping, stepping and ws aliases.
10551
10552 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10553
10554 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
10555 that do not provide the tagless_struct type name at all.
10556 (test_print_anon_union): Do not check value of uninitialized
10557 union member. Do not use cp_test_ptype_class, so we can accept
10558 "long" as well as "long int".
10559
10560 2010-03-26 Pedro Alves <pedro@codesourcery.com>
10561
10562 * gdb.trace/tfile.c (tohex, bin2hex): New.
10563 (write_error_trace_file): Hexify error description.
10564
10565 2010-03-25 Stan Shebs <stan@codesourcery.com>
10566
10567 * gdb.trace/tfile.c: Generate an additional trace file, improve
10568 portability.
10569 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
10570 files in a better way.
10571
10572 2010-03-25 Keith Seitz <keiths@redhat.com>
10573
10574 * gdb.java/jprint.exp: XFAIL printing of static class members
10575 because of GCC debuginfo problem.
10576
10577 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10578
10579 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
10580
10581 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10582
10583 * gdb.base/completion.exp: Allow long instead of long int.
10584 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
10585 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
10586 variable p.
10587 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
10588 * gdb.base/pointers.exp: Allow long instead of long int.
10589 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
10590 * gdb.base/step-line.exp: Allow a directory before the source file name.
10591
10592 2010-03-24 Tom Tromey <tromey@redhat.com>
10593
10594 PR breakpoints/9352:
10595 * gdb.base/default.exp: Update.
10596 * gdb.base/commands.exp: Update.
10597 * gdb.cp/extern-c.exp: Test setting commands on multiple
10598 breakpoints at once.
10599
10600 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10601
10602 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
10603 if gdb,nosignals.
10604 * gdb.base/watchpoints.c: Do not include unnecessary headers.
10605 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
10606 exited".
10607
10608 2010-03-24 Stan Shebs <stan@codesourcery.com>
10609
10610 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
10611
10612 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10613
10614 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
10615 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
10616 argument. Handle "short" and "long".
10617 (Top level): Pass overprototyped output for old_fptr and xptr.
10618
10619 2010-03-23 Pedro Alves <pedro@codesourcery.com>
10620
10621 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
10622 format strings and add casts to avoid compiler warnings.
10623
10624 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
10625
10626 * lib/trace-support.exp (gdb_trace_setactions):
10627 Don't expect whitespace after ">" prompt.
10628 * gdb.trace/actions.exp: Adjust for output changes.
10629 * gdb.trace/while-stepping.exp: Likewise.
10630
10631 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10632
10633 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
10634 and r157645).
10635
10636 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10637
10638 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
10639 New.
10640
10641 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
10642
10643 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
10644 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
10645
10646 2010-03-19 Stan Shebs <stan@codesourcery.com>
10647
10648 * gdb.trace/ax.exp: New file.
10649
10650 2010-03-19 Doug Evans <dje@google.com>
10651
10652 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
10653 output from gcc.
10654
10655 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
10656 named /usr/sbin/prelink<foo>.
10657
10658 2010-03-18 Stan Shebs <stan@codesourcery.com>
10659
10660 * gdb.trace/circ.exp: Test circular-trace-buffer.
10661 * gdb.trace/tfile.exp: Update tstatus test.
10662
10663 2010-03-18 Joel Brobecker <brobecker@adacore.com>
10664
10665 * gdb.dwarf2/dw2-anonymous-func.S: New file.
10666 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
10667
10668 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10669
10670 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
10671
10672 2010-03-18 Pedro Alves <pedro@codesourcery.com>
10673
10674 * gdb.base/default.exp: Adjust the expected output of the finish
10675 and until commands when the inferior is not being run.
10676
10677 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
10678
10679 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
10680 * gdb.cp/nsusing.exp: Ditto.
10681
10682 2010-03-15 Tom Tromey <tromey@redhat.com>
10683
10684 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
10685 * gdb.cp/userdef.cc (operator==): New function.
10686 (main): New locals mem1, mem2.
10687
10688 2010-03-15 Jie Zhang <jie@codesourcery.com>
10689
10690 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
10691 Declare and use new loadtimeout variable.
10692
10693 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
10694
10695 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
10696 Use gdb_load later.
10697
10698 2010-03-14 Pedro Alves <pedro@codesourcery.com>
10699
10700 * gdb.base/solib-disc.c (main): Make format of fprintf a string
10701 literal. Add missing endlines to prints to stderr.
10702
10703 2010-03-12 Tom Tromey <tromey@redhat.com>
10704
10705 PR c++/9708:
10706 * gdb.cp/m-static.exp: Add regression test.
10707 * gdb.cp/m-static.cc (method): New method.
10708 (main): Call it.
10709
10710 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
10711
10712 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
10713 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
10714
10715 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10716
10717 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
10718
10719 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10720
10721 * lib/gdb.exp (skip_stl_tests): New.
10722 (gdb_compile): Symbian needs -ldl.
10723 (shlib_target_file): New.
10724 (shlib_symbol_file): New.
10725 (gdb_load_shlibs): Use shlib_target_file.
10726 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
10727 * gdb.cp/exception.exp: Use skip_stl_tests.
10728 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
10729 * gdb.cp/try_catch.exp: Use skip_stl_tests.
10730 * gdb.cp/mb-templates.exp: Ditto.
10731 * gdb.base/commands.exp: Relax regexes.
10732 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
10733 shlib_target_file and shlib_symbol_file.
10734 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
10735 sections.
10736 * gdb.base/ending-run.exp: Accept E32Main for symbian.
10737 * gdb.base/solib-disc.exp: Use
10738 shlib_target_file and shlib_symbol_file.
10739 * gdb.base/unload.exp: Don't skip on symbian. Use
10740 shlib_target_file and shlib_symbol_file.
10741 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
10742
10743 2010-03-12 Pedro Alves <pedro@codesourcery.com>
10744
10745 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
10746 * gdb.trace/report.exp: Adjust for x86 and x86_64.
10747 Issue a tfind end before looking for a tracepoint frame.
10748 * gdb.trace/tfind.exp: Adjust tstatus output.
10749 Adjust disassembly output.
10750 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
10751
10752 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10753
10754 * gdb.base/break-interp.exp: Create new displacement parameter value
10755 for the test_ld calls.
10756 (reach): New parameter displacement, verify its content. New push of
10757 pf_prefix "reach-$func:". Import global expect_out.
10758 (test_core): New parameter displacement, verify its content. New push
10759 of pf_prefix "core:". New command "set verbose on". Import global
10760 expect_out.
10761 (test_attach): New parameter displacement, verify its content. New
10762 push of pf_prefix "attach:". New command "set verbose on". Import
10763 global expect_out.
10764 (test_ld): New parameter displacement, pass it to the reach, test_core
10765 and test_attach calls and verify its content in the "ld.so exit" test.
10766 * gdb.base/prelink.exp: Remove gdb_exit and final return.
10767 (prelink): Update expected text, use gdb_test.
10768
10769 2010-03-10 Doug Evans <dje@google.com>
10770
10771 * gdb.base/checkpoint.exp: Fix comment.
10772 Lengthen timeout while doing >600 checkpoints test.
10773 Rename duplicate "kill all one" test to keep test names unique.
10774
10775 2010-03-10 Pedro Alves <pedro@codesourcery.com>
10776
10777 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
10778
10779 2010-03-08 Keith Seitz <keiths@redhat.com>
10780
10781 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
10782 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
10783 (dm_type_long): New function.
10784 (dm_type_unsigned_short): New function.
10785 (dm_type_unsigned_long): New function.
10786 (myint): New typedef.
10787 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
10788 long, unsigned shor and long, operator char*, and typedef.
10789 (test_lookup_operator_functions): Add operator char* test.
10790 (test_paddr_operator_functions): Likewise.
10791 (test_paddr_overloaded_functions): Use probe values for
10792 short, long, and unsigned short and long.
10793 (test_paddr_hairy_functions): If the demangler probe detected
10794 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
10795 demangler.
10796 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
10797 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
10798 and "print null_pmf".
10799 Add test "ptype a.*pmf".
10800 * gdb.cp/overload.exp: Allow optional "int" to appear with
10801 "short" and "long".
10802 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
10803 long expect value for men_overload1arg.
10804 Allow "int" to appear with "short" and "long".
10805 When testing "info break", add argument for main (void).
10806 Also allow "int" to appear with "short" and "long".
10807 Ditto with "unsigned" and "long long".
10808 * gdb.java/jmain.exp: Do not enclose methods names in single
10809 quotes.
10810 * gdb.java/jmisc.exp: Likewise.
10811 * gdb.java/jprint.exp: Likewise.
10812 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
10813
10814 From Jan Kratochvil <jan.kratochvil@redhat.com>:
10815 * gdb.cp/exception.exp (backtrace after first throw)
10816 (backtrace after second throw): Allow a namespace before __cxa_throw.
10817 (backtrace after first catch, backtrace after second catch): Allow
10818 a namespace before __cxa_begin_catch.
10819
10820 * gdb.cp/cpexprs.exp: New file.
10821 * gdb.cp/cpexprs.cc: New file.
10822
10823 From Daniel Jacobowitz <dan@codesourcery.com>
10824 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
10825 to use string_to_regexp.
10826 (ctor, dtor): New functions. Use them to match constructor
10827 and destructor function types.
10828 (Top level): Use runto_main.
10829
10830 2010-03-05 Tom Tromey <tromey@redhat.com>
10831
10832 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
10833 gdb.target_charset.
10834 (pp_ns.to_string): Likewise.
10835
10836 2010-03-04 Keith Seitz <keiths@redhat.com>
10837
10838 * gdb.cp/overload.exp: Test that the filename portion of a linespec
10839 can be quoted. Test that both the filename and function/line
10840 portions can be quoted at the same time.
10841
10842 2010-03-04 Pedro Alves <pedro@codesourcery.com>
10843
10844 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
10845
10846 2010-03-03 Doug Evans <dje@google.com>
10847
10848 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
10849 libc contains libpthread.
10850
10851 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
10852 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
10853 of gdb_compile. Add another pattern to match android backtrace.
10854
10855 2010-03-03 Tom Tromey <tromey@redhat.com>
10856
10857 PR gdb/11345:
10858 * gdb.base/printcmds.exp (test_printf): Add test.
10859
10860 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
10861
10862 * gdb.arch/amd64-byte.exp: New.
10863 * gdb.arch/amd64-dword.exp: Likewise.
10864 * gdb.arch/amd64-pseudo.c: Likewise.
10865 * gdb.arch/amd64-word.exp: Likewise.
10866 * gdb.arch/i386-byte.exp: Likewise.
10867 * gdb.arch/i386-pseudo.c: Likewise.
10868 * gdb.arch/i386-word.exp: Likewise.
10869
10870 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10871
10872 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
10873 types. Add structreg, bitfields, and flags registers.
10874 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
10875 registers.
10876
10877 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
10878
10879 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
10880 (load_description): Set architecture if defined.
10881
10882 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
10883
10884 * gdb.python/py-frame.exp: Add read_var block tests.
10885 * gdb.python/py-frame.c (block): New function.
10886
10887 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10888 Daniel Jacobowitz <dan@codesourcery.com>
10889
10890 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
10891
10892 2010-02-25 David S. Miller <davem@davemloft.net>
10893
10894 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
10895 fix logic for setting all_syscalls_numbers.
10896
10897 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
10898
10899 * Makefile.in: Add py-block and py-symbol.
10900 * gdb.python/py-symbol.exp: New File.
10901 * gdb.python/py-symtab.exp: New File.
10902 * gdb.python/py-block.exp: New File.
10903 * gdb.python/py-symbol.c: New File.
10904 * gdb.python/py-block.c: New File.
10905
10906 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
10907
10908 PR python/11314
10909 * lib/gdb.exp (skip_python_tests): New function.
10910 * gdb.python/py-cmd.exp: Use skip_python_tests.
10911 * gdb.python/py-frame.exp: Likewise.
10912 * gdb.python/py-function.exp: Likewise.
10913 * gdb.python/py-prettyprint.exp: Likewise.
10914 * gdb.python/py-template.exp: Likewise.
10915 * gdb.python/py-type.exp: Likewise.
10916 * gdb.python/py-value.exp: Likewise.
10917
10918 2010-02-22 Pedro Alves <pedro@codesourcery.com>
10919
10920 PR9605
10921
10922 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
10923
10924 2010-02-19 Tom Tromey <tromey@redhat.com>
10925
10926 PR c++/8693, PR c++/9496:
10927 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
10928 regression tests.
10929
10930 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10931
10932 Fix compatibility with m68k as.
10933 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
10934 Use only /* comments */.
10935
10936 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10937
10938 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
10939 * configure: Regenerate.
10940
10941 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
10942
10943 * gdb.python/py-type.exp: Check for Python support.
10944
10945 2010-02-17 Pedro Alves <pedro@codesourcery.com>
10946
10947 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
10948 `regsub' syntax available.
10949
10950 2010-02-17 Pedro Alves <pedro@codesourcery.com>
10951
10952 * gdb.base/shmain.c (main): Remove printf call.
10953 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
10954 * gdb.base/unload.c (main): Make format of fprintf a string
10955 literal. Add missing endlines to prints to stderr.
10956 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
10957
10958 2010-02-17 Tom Tromey <tromey@redhat.com>
10959
10960 * gdb.java/jprint.java (jprint.props): New field.
10961 * gdb.java/jprint.exp (set_lang_java): Add regression test.
10962
10963 2010-02-17 Pedro Alves <pedro@codesourcery.com>
10964
10965 * gdb.base/charset.exp: Don't assume new `regsub' syntax
10966 available.
10967
10968 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10969
10970 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
10971 creation to support remote host testing.
10972
10973 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10974
10975 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
10976 Recognize "command not found".
10977
10978 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10979
10980 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
10981 single-stepping.
10982
10983 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10984
10985 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
10986 if arguments are not supported.
10987
10988 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10989
10990 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
10991 be const or non-const.
10992
10993 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10994
10995 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
10996 mi_send_resuming_command to send -exec-continue.
10997
10998 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10999
11000 * gdb.base/list.exp (test_list_filename_and_function): Add test
11001 with single quotes.
11002 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
11003 matching.
11004 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
11005 Add KFAIL'd tests for PR gdb/11289.
11006
11007 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11008
11009 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
11010
11011 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11012
11013 * gdb.base/comp-dir/subdir/dummy.txt: New file.
11014 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
11015 a temporary directory.
11016
11017 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11018
11019 * gdb.base/charset.exp: Use a single regular expression to match
11020 show host-charset and show target-charset output.
11021
11022 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11023
11024 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
11025 "Illegal process-id" expect string more exact.
11026 (attach to digits-starting nonsense is prohibited): New.
11027
11028 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11029
11030 * gdb.base/prelink.exp (set verbose on): New.
11031
11032 2010-02-12 Tomas Holmberg <th@virtutech.com>
11033
11034 * mi-reverse.exp: New file. Test for reverse option to the
11035 following MI commands: exec-continue, exec-finish, exec-next,
11036 exec-step, exec-next-instruction, exec-step-instruction.
11037
11038 2010-02-09 Joel Brobecker <brobecker@adacore.com>
11039
11040 * gdb.ada/ptype_tagged_param: New testcase.
11041
11042 2010-02-08 Tom Tromey <tromey@redhat.com>
11043
11044 PR c++/8017:
11045 * gdb.cp/overload.exp: Add tests.
11046 * gdb.cp/overload.cc (struct K): New.
11047 (namespace N): New.
11048 (main): Call new functions.
11049 (K::staticoverload): Define.
11050
11051 2010-02-08 Chris Moller <moller@mollerware.com>
11052
11053 PR gdb/10728
11054 * gdb.cp/pr10728-x.h: New file.
11055 * gdb.cp/pr10728-x.cc: New file.
11056 * gdb.cp/pr10728-y.cc: New file.
11057 * gdb.cp/pr10728.exp: New file.
11058 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
11059
11060 2010-02-08 Chris Moller <moller@mollerware.com>
11061
11062 PR gdb/9067
11063 * gdb.cp/pr9067.exp: New
11064 * gdb.cp/pr9067.cc: New
11065 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
11066
11067 2010-02-08 Joel Brobecker <brobecker@adacore.com>
11068
11069 * lib/gdb.exp (gdb_test_timeout): New global variable.
11070 Set it to timeout if not already set.
11071 (gdb_init): Reset the value of timeout to gdb_test_timeout.
11072
11073 2010-02-05 Doug Evans <dje@google.com>
11074
11075 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
11076 user.
11077
11078 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
11079
11080 PR c++/7935:
11081 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
11082
11083 2010-02-04 Tom Tromey <tromey@redhat.com>
11084
11085 * gdb.cp/virtbase.exp: Make test case names unique.
11086
11087 2010-02-02 Tom Tromey <tromey@redhat.com>
11088
11089 * gdb.cp/virtbase.exp: Add regression tests.
11090 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
11091 (main): Instantiate RHC.
11092
11093 2010-02-02 Tom Tromey <tromey@redhat.com>
11094
11095 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
11096 type-printing change.
11097
11098 2010-02-02 Tom Tromey <tromey@redhat.com>
11099
11100 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
11101 * gdb.cp/virtbase.cc: New file.
11102 * gdb.cp/virtbase.exp: New file.
11103 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
11104
11105 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11106
11107 PR libc/11214:
11108 * gdb.threads/current-lwp-dead.c: Include features.h.
11109 (HAS_NOMMU): New.
11110 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
11111
11112 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11113
11114 * gdb.base/symbol-without-target_section.exp,
11115 gdb.base/symbol-without-target_section.c: New.
11116
11117 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11118
11119 * gdb.base/bigcore.exp: Reset increased timeout.
11120 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
11121
11122 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11123
11124 * gdb.base/gcore.exp (capture_command_output): Use
11125 gdb_test_multiple.
11126
11127 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11128
11129 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
11130 * gdb.arch/thumb2-it.exp (test_it_break): New function.
11131 (Top level): Call it.
11132
11133 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11134
11135 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
11136
11137 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11138
11139 * gdb.base/call-strs.exp, gdb.base/default.exp,
11140 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
11141 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
11142 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
11143 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
11144 gdb.base/watchpoint-solib.exp: Save and restore timeout.
11145 * gdb.base/ending-run.exp: Correct restore of timeout.
11146 * gdb.base/page.exp: Remove unnecessary timeout setting.
11147
11148 2010-01-29 Joel Brobecker <brobecker@adacore.com>
11149
11150 * gdb.ada/rec_return: New testcase.
11151
11152 2010-01-29 Joel Brobecker <brobecker@adacore.com>
11153
11154 * gdb.ada/call_pn: New testcase.
11155
11156 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11157
11158 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
11159 (Top level): Use it to resume.
11160 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
11161 the Thumb mode displaced stepping error as unsupported.
11162
11163 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
11164
11165 * gdb.cp/nsusing.exp: Added more tests.
11166 * gdb.cp/nsrecurs.exp: Ditto.
11167 * gdb.cp/nsusing.cc: Added test functions.
11168 * gdb.cp/nsrecurs.cc: Ditto.
11169
11170 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11171
11172 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
11173 absolute directory pathnames in gdb.sum file.
11174
11175 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
11176
11177 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
11178 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
11179
11180 2010-01-26 Tom Tromey <tromey@redhat.com>
11181
11182 PR exp/7643:
11183 * gdb.base/printcmds.exp (test_print_string_constants): Remove
11184 setup_kfail.
11185
11186 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
11187
11188 * gdb.cp/nsrecurs.exp: New test.
11189 * gdb.cp/nsrecurs.cc: New test program.
11190 * gdb.cp/nsstress.exp: New test.
11191 * gdb.cp/nsstress.cc: New test program.
11192 * gdb.cp/nsdecl.exp: New test.
11193 * gdb.cp/nsdecl.cc: New test program.
11194
11195 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
11196
11197 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
11198 imported into file scope.
11199 Marked test as xfail.
11200 * gdb.cp/namespace-using.cc (marker5): New function.
11201 * gdb.cp/shadow.exp: New test.
11202 * gdb.cp/shadow.cc: New test program.
11203 * gdb.cp/nsimport.exp: New test.
11204 * gdb.cp/nsimport.cc: New test program.
11205
11206 2010-01-25 Tom Tromey <tromey@redhat.com>
11207
11208 PR gdb/11049:
11209 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
11210 with "set print null-stop on".
11211
11212 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11213
11214 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
11215 Adjust it for DISASSEMBLY_OMIT_FNAME.
11216
11217 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11218
11219 PR symtab/11199:
11220 * gdb.dwarf2/member-ptr-forwardref.exp,
11221 gdb.dwarf2/member-ptr-forwardref.S: New.
11222
11223 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11224
11225 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
11226 (thread1_func): Protect thread1_tid with thread1_tid_cond by
11227 thread1_tid_mutex. Remove gdbstop_mutex handling.
11228 (thread2_func): Protect thread2_tid with thread2_tid_cond by
11229 thread2_tid_mutex. Remove gdbstop_mutex handling.
11230 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
11231 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
11232 pthread_cond_wait conditionalizations by while loops.
11233
11234 2010-01-20 Tom Tromey <tromey@redhat.com>
11235
11236 PR backtrace/10770:
11237 * gdb.dwarf2/pr10770.exp: New file.
11238 * gdb.dwarf2/pr10770.c: New file.
11239 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
11240
11241 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
11242
11243 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
11244 that target was removed, and the test always runs native anyway.
11245
11246 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11247
11248 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
11249 gdb.base/watchpoint-cond-gone-stripped.c: New.
11250
11251 2010-01-19 Tom Tromey <tromey@redhat.com>
11252
11253 PR c++/8000:
11254 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
11255 existing tests.
11256 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
11257 (main): Use AAA::SomeEnum.
11258
11259 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11260
11261 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
11262 (test_ignore_count): Declare line_callme_body global.
11263 (run to breakpoint with ignore count): Use line_callme_body.
11264 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
11265 (set line_main_hello, set line_main_return): Reindent.
11266 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
11267 New.
11268 (continue to callee4): Use line_callee4_body.
11269 (check *stopped from CLI command): Use line_callee4_next.
11270 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
11271 (set line_main_hello, set line_main_return): Reindent.
11272 (set line_callee4_head, set line_callee4_body): New.
11273 (continue to callee4): Use line_callee4_body.
11274
11275 2010-01-18 Tom Tromey <tromey@redhat.com>
11276
11277 PR c++/9680:
11278 * gdb.cp/casts.cc: Add new classes and variables.
11279 * gdb.cp/casts.exp: Test new operators.
11280
11281 2010-01-18 Tom Tromey <tromey@redhat.com>
11282 Thiago Jung Bauermann <bauerman@br.ibm.com>
11283
11284 * gdb.python/source2.py: New file.
11285 * gdb.python/source1: New file.
11286 * gdb.python/python.exp: Test "source" command.
11287
11288 2010-01-15 Stan Shebs <stan@codesourcery.com>
11289
11290 * gdb.trace/tfile.c: New file.
11291 * gdb.trace/tfile.exp: New file.
11292
11293 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11294
11295 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
11296
11297 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11298
11299 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
11300
11301 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11302
11303 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
11304 (libfunc): New parameter action. Implement also selectable "sleep".
11305 * gdb.base/break-interp-main.c: Include assert.h.
11306 (libfunc): New parameter action.
11307 (main): New parameters argc and argv. Assert argc. Pass argv.
11308 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
11309 (test_attach): New proc.
11310 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
11311 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
11312
11313 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11314
11315 * gdb.base/break-interp.exp (test_core): New proc.
11316 (test_ld): Call it.
11317
11318 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11319
11320 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
11321 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
11322 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
11323 and gdb_compile_shlib. Use new -Wl compiler options.
11324 (dl bt, main bt): New tests.
11325
11326 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11327
11328 Support PIEs with no symfile_objfile.
11329 * gdb.base/break-interp.exp: New argument at the test_ld calls.
11330 (test_ld): New parameter trynosym.
11331 (test_ld <$trynosym>): New block.
11332
11333 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11334
11335 * gdb.base/break-interp.exp: New file.
11336
11337 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
11338
11339 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
11340 * gdb.python/py-prettyprint.py (pp_ls): New printer.
11341 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
11342 test.
11343 * gdb.python/py-prettyprint.c: Define lazystring test structure.
11344 * gdb.python/py-mi.exp: Add lazy string test.
11345
11346 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
11347
11348 * lib/mi-support.exp (mi_check_thread_states): Handle
11349 core number in thread listing.
11350
11351 2010-01-12 Joel Brobecker <brobecker@adacore.com>
11352
11353 * gdb.base/maint.exp: Adjust the expected output for the
11354 "maint print type" test. Use gdb_test_multiple instead of
11355 gdb_sent/gdb_expect.
11356
11357 2010-01-11 Doug Evans <dje@google.com>
11358
11359 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
11360 from gdbserver_download. All callers updated.
11361
11362 * gdb.server/ext-run.exp: "info os processes" requires xml support.
11363
11364 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11365
11366 Implement binary numbers parsing.
11367 * gdb.base/printcmds.exp (test_integer_literals_accepted)
11368 (test_integer_literals_rejected): New binary tests.
11369
11370 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11371
11372 * gdb.cell/configure: Regenerate.
11373
11374 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11375
11376 * gdb.base/corefile.exp: Move the core finding block out and call it as
11377 core_find, new variable $corefile, replace corefile by $corefile and
11378 [file tail $corefile] for usage vs. test names resp.
11379 * lib/gdb.exp (core_find): Move it as a new function here. New
11380 parameter binfile and deletefiles. New variable $destcore. Pre-delete
11381 $destcore. Return "" on error.
11382
11383 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11384
11385 Workaround PR binutils/10802.
11386 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
11387 (twice).
11388
11389 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11390
11391 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
11392
11393 2010-01-08 Joel Brobecker <brobecker@adacore.com>
11394
11395 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
11396 call, to avoid interruption.
11397
11398 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11399
11400 * gdb.stabs/weird.def (args93): New.
11401
11402 2010-01-07 Doug Evans <dje@google.com>
11403
11404 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
11405
11406 2010-01-07 Tom Tromey <tromey@redhat.com>
11407
11408 * gdb.base/source.exp: Use correct line number.
11409
11410 2010-01-05 Stan Shebs <stan@codesourcery.com>
11411
11412 * gdb.trace/tracecmd.exp: Test ftrace.
11413
11414 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11415
11416 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
11417
11418 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11419
11420 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
11421 "uint_for_mi_testing".
11422
11423 2010-01-01 Joel Brobecker <brobecker@adacore.com>
11424
11425 Test indented comment in file being sourced.
11426 * gdb.base/commands.exp: Test indented comment in file being sourced.
11427
11428 2010-01-01 Joel Brobecker <brobecker@adacore.com>
11429
11430 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
11431 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
11432 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
11433 notice.
11434
11435 2010-01-01 Joel Brobecker <brobecker@adacore.com>
11436
11437 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
11438 notice.
11439
11440 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11441
11442 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
11443 missing $after_stopped and comma (,) expectation.
11444
11445 2009-12-31 Stan Shebs <stan@codesourcery.com>
11446
11447 * gdb.trace/actions.exp: Test teval action.
11448
11449 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11450
11451 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
11452 (top level): Call test_watchpoint_in_big_blob.
11453 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
11454 watchpoints.
11455 (func3): Write to buf.
11456
11457 2009-12-29 Stan Shebs <stan@codesourcery.com>
11458
11459 * gdb.trace/actions.exp: Test default-collect.
11460
11461 2009-12-28 Stan Shebs <stan@codesourcery.com>
11462
11463 * gdb.trace/tsv.exp: New file.
11464 * gdb.base/completion.exp: Update ambiguous info output.
11465
11466 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
11467
11468 * gdb.base/find.c (main): Reference search buffers.
11469 * gdb.base/included.c (main): Reference integer.
11470 * gdb.base/ptype.c (charfoo): Declare.
11471 (intfoo): Call charfoo.
11472 * gdb.base/scope0.c (useitp): New function.
11473 (usestatics): Use useitp.
11474 (useit): Add a type for val.
11475 * gdb.base/scope1.c (useit1): Take a pointer argument.
11476 (usestatics1): Update calls to useit1.
11477 * gdb.cp/call-c.cc: Declare foo.
11478 (main): Call foo.
11479 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
11480 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
11481 (main): Call C::ensureRefs and ensureOtherRefs.
11482 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
11483 variables.
11484 (ensureOtherRefs): New function.
11485 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
11486 * gdb.cp/templates.cc (main): Call t5i.value.
11487
11488 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11489
11490 Fix compatibility with G++-4.5.
11491 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
11492 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
11493 (uncaught return): Remove.
11494
11495 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11496 Phil Muldoon <pmuldoon@redhat.com>
11497
11498 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
11499 (bp_location13, bp_location14, bp_location17, bp_location18)
11500 (marker3_proto, marker4_proto): New variables.
11501 (breakpoint info): Update output.
11502 (run until breakpoint at marker3, run until breakpoint at marker4): New
11503 tests.
11504
11505 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11506
11507 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
11508 Replace the printf call of Y by provided "y-set-1" label. New block
11509 for the second shared library.
11510 * gdb.base/unload.exp: Compile also the second library, call
11511 gdb_load_shlibs also for it. Use now gdb_breakpoint.
11512 (single pending breakpoint info): Rename to ...
11513 (pending breakpoint info before run): ... this extended test.
11514 (libfile2, libname2, libsrcfile2, libsrc2)
11515 (lib_sl2): New variables.
11516 (exec_opts): Set also SHLIB_NAME2.
11517 (pending breakpoint info on first run at shrfunc1)
11518 (pending breakpoint info on second run at shrfunc1)
11519 (pending breakpoint info on second run at shrfunc2)
11520 (print y from libfile, print y from libfile2): New tests.
11521 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
11522 * gdb.base/unloadshr2.c: New.
11523
11524 2009-12-22 Hui Zhu <teawater@gmail.com>
11525
11526 * gdb.reverse/sigall-reverse.exp: Adjust.
11527
11528 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
11529
11530 PR gdb/10884
11531
11532 * gdb.mi/var-cmd.c (do_bitfield_tests): New
11533 (main): Call do_bitfield_tests.
11534 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
11535
11536 2009-12-20 Joel Brobecker <brobecker@adacore.com>
11537
11538 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
11539 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
11540 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
11541 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
11542 gdb.modula2/unbounded1.c: Update copyright header.
11543
11544 2009-12-10 Chris Moller <moller@mollerware.com>
11545
11546 PR gdb/9399
11547 * gdb.cp/virtfunc2.exp: New tests
11548 * gdb.cp/virtfunc2.cc: New tests
11549 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
11550
11551 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
11552
11553 * gdb.reverse/i387-env-reverse.c: New file.
11554 * gdb.reverse/i387-env-reverse.exp: New file.
11555 * gdb.reverse/i387-stack-reverse.c: New file.
11556 * gdb.reverse/i387-stack-reverse.exp: New file.
11557
11558 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
11559
11560 * gdb.python/py-type.exp (test_range): New test.
11561
11562 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
11563
11564 PR python/10805
11565
11566 * gdb.python/py-type.exp: New file.
11567 * gdb.python/py-type.c: New file.
11568 * Makefile.in: Add py-type.
11569
11570 2009-12-03 Tom Tromey <tromey@redhat.com>
11571
11572 * gdb.python/py-value.exp (test_parse_and_eval): New
11573 function.
11574
11575 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11576
11577 PR gdb/11022
11578
11579 * gdb.base/pr11022.exp: New test.
11580 * gdb.base/pr11022.c: New test.
11581
11582 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11583
11584 Fix spurious false FAILs.
11585 * gdb.base/structs.c (chartest): New.
11586 (main): Fill-in chartest.
11587 * gdb.base/structs.exp (anychar_re, first): New.
11588 (start_structs_test): Import global anychar_re and first.
11589 New gdb_test call "set print elements 300; ${testfile}"
11590 (start_structs_test <$first>): New block.
11591 (any): Import global anychar_re. New variable ac. Use ${ac}.
11592
11593 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11594
11595 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
11596
11597 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11598
11599 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
11600 Force $srcfile file.
11601 * gdb.base/foll-fork.c (callee): Comment out the printf call.
11602
11603 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11604
11605 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
11606 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
11607 * gdb.threads/watchthreads-reorder.exp: Likewise.
11608
11609 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
11610
11611 PR gdb/8704
11612
11613 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
11614 "if", and "thread". Correct matching in the previous test.
11615
11616 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
11617
11618 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
11619
11620 2009-11-23 Michael Snyder <msnyder@vmware.com>
11621
11622 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
11623 * gdb.reverse-watch-precsave.exp: Ditto.
11624
11625 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
11626
11627 * gdb.asm/asm-source.exp: Adjust.
11628 * gdb.base/help.exp: Adjust.
11629
11630 2009-11-22 Pedro Alves <pedro@codesourcery.com>
11631
11632 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
11633 (do_syscall_tests_without_xml): Set data-directory to
11634 /the/path/to/nowhere.
11635
11636 2009-11-21 Pedro Alves <pedro@codesourcery.com>
11637
11638 * gdb.threads/local-watch-wrong-thread.c,
11639 gdb.threads/local-watch-wrong-thread.exp: New files.
11640
11641 2009-11-21 Pedro Alves <pedro@codesourcery.com>
11642
11643 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
11644 assume new `regsub' syntax available.
11645
11646 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11647
11648 * gdb.base/watchpoint-hw-hit-once.exp,
11649 gdb.base/watchpoint-hw-hit-once.c: New.
11650
11651 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11652
11653 * gdb.threads/watchthreads-reorder.exp,
11654 gdb.threads/watchthreads-reorder.c: New.
11655
11656 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
11657
11658 * gdb.xml/tdesc-regs.exp: Use for m68k.
11659
11660 2009-11-15 Pedro Alves <pedro@codesourcery.com>
11661
11662 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
11663
11664 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11665
11666 * lib/gdb.exp (current_target_name): New procedure.
11667 (gdb_wrapper_target): New variable.
11668 (gdb_wrapper_init): Set gdb_wrapper_target.
11669 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
11670 wrapper.
11671
11672 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11673
11674 * gdb.base/remote.exp: Delete the slowest load test.
11675 Do not load with fixed packet sizes.
11676
11677 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11678
11679 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
11680
11681 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11682
11683 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
11684 srcfile when setting a breakpoint.
11685
11686 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
11687
11688 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
11689 macros.
11690
11691 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11692
11693 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
11694 to be in memory.
11695 * gdb.base/display.c (force_mem): New.
11696 (do_loops): Use it. Add breakpoint comments.
11697 (do_vars): Add a breakpoint comment.
11698 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
11699 line numbers.
11700
11701 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
11702
11703 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
11704 instead of a bare "run".
11705
11706 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11707
11708 * gdb.python/py-prettyprint.exp: Adjust.
11709
11710 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11711
11712 * lib/cell.exp (skip_cell_tests): Clean up test files before
11713 returning.
11714
11715 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11716
11717 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
11718 and the breakpoint menu. Do not call perror if a prompt is seen.
11719 Consume the following GDB prompt.
11720 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
11721 * gdb.cp/namespace.exp: Use gdb_test.
11722 * gdb.cp/templates.exp: Use gdb_test.
11723 (test_template_breakpoints): Use gdb_test_multiple.
11724
11725 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11726
11727 * gdb.base/break1.c (struct some_struct, values): Move earlier.
11728 (marker4): Reference values.
11729
11730 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11731
11732 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
11733 is missing.
11734
11735 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11736
11737 * gdb.base/break.c (need_malloc): New.
11738 * gdb.base/constvars.c (main): Reference crass and crisp.
11739 * gdb.base/gdb1821.c (main): Reference bar.
11740 * gdb.cp/gdb1355.cc (main): Reference s1.
11741 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
11742 (main): Call them.
11743 * gdb.cp/hang2.cc (dummy2): Define.
11744 * gdb.cp/hang3.cc (dummy3): Define.
11745 * gdb.cp/m-data.cc (main): Reference shadow.
11746
11747 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11748 Nathan Froyd <froydnj@codesourcery.com>
11749
11750 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
11751 remote host.
11752
11753 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
11754
11755 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
11756 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
11757 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11758 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11759 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11760 * gdb.dwarf2/dw2-producer.exp: Likewise.
11761 * gdb.dwarf2/mac-fileno.exp: Likewise.
11762 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
11763 py-prettyprint.py to the remote host.
11764 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
11765
11766 2009-11-11 Keith Seitz <keiths@redhat.com>
11767
11768 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
11769 use it instead of "Foo".
11770 * gdb.cp/classes.exp (do_tests): Add a test to access
11771 a method through a typedef'd class name.
11772
11773 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
11774
11775 * gdb.base/long_long.exp: Permit leading zeros on floating-point
11776 exponents.
11777 * gdb.base/pointers.exp: Likewise.
11778 * gdb.cp/ref-types.exp: Likewise.
11779
11780 2009-11-11 Keith Seitz <keiths@redhat.com>
11781
11782 * gdb.cp/cplusfuncs.cc (class foo): Add operators
11783 new[] and delete[].
11784 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
11785 "void".
11786 (probe_demangler): Remove all single-quoting of
11787 method and variable names.
11788 (info_func_regexp): Remove the word "void" from any
11789 occurrence of "(void)".
11790 (print_addr_2): Remove all single-quoting of
11791 method names.
11792 (print_addr_2_kfail): Likewise.
11793 (print_addr): Single-quote C function names before
11794 passing to print_addr_2.
11795 (test_paddr_operator_functions): Remove single-quoting
11796 for method names.
11797 Add tests for operator new[] and operator delete[].
11798
11799 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11800
11801 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
11802
11803 2009-11-09 Keith Seitz <keiths@redhat.com>
11804
11805 * gdb.cp/overload.exp: Add tests for resolving overloaded
11806 methods in expression parsing/evaluation.
11807
11808 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
11809
11810 * lib/gdb.exp (default_gdb_version): Use --version instead of
11811 --command.
11812
11813 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
11814
11815 * lib/gdb.exp (gdb_compile_test): New.
11816 (skip_ada_tests, skip_java_tests): New.
11817 (gdb_compile): Use gdb_compile_test for f77.
11818 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
11819 * lib/java.exp (compile_java_from_source): Remove runtests check,
11820 use gdb_compile_test to record result.
11821 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
11822 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
11823 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
11824 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
11825 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
11826 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
11827 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
11828 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
11829 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
11830 adjust gdb_compile invocations.
11831
11832 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11833
11834 * Makefile.in (abs_builddir): New.
11835 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
11836 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
11837 `$(abs_builddir)/site.exp'.
11838
11839 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
11840
11841 * config/m68k-emc.exp, lib/emc-support.exp,
11842 gdb.trace/gdb_c_test.c: Delete.
11843 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
11844 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
11845 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
11846 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
11847 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
11848 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
11849 casing for m68k-*-elf.
11850
11851 2009-11-03 Pedro Alves <pedro@codesourcery.com>
11852
11853 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
11854 * gdb.arch/i386-prologue.exp: Likewise.
11855 * gdb.arch/i386-unwind.exp: Likewise.
11856
11857 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11858
11859 * lib/gdb.exp (gdb_expect): Fix timeout typo.
11860
11861 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11862
11863 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
11864
11865 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11866
11867 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
11868
11869 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11870
11871 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
11872
11873 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11874
11875 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
11876 * gdb.base/sepdebug2.c: New file.
11877
11878 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
11879
11880 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
11881 the modified warnings for catch syscall. Verify if GDB was compiled
11882 with support for lib expat, and choose which tests to run depending
11883 on this.
11884
11885 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
11886
11887 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
11888 that composite commands are parsed OK. And also test
11889 that breakpoint commands do work.
11890
11891 2009-10-23 Michael Snyder <msnyder@vmware.com>
11892
11893 gdb.reverse/consecutive-precsave.exp: Change expect pattern
11894 to allow for new disassembly style.
11895
11896 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11897
11898 * gdb.asm/asm-source.exp: Adjust.
11899
11900 2009-10-22 Michael Snyder <msnyder@vmware.com>
11901
11902 * gdb.reverse/break-precsave.exp: New test.
11903 * gdb.reverse/consecutive-precsave.exp: Ditto.
11904 * gdb.reverse/finish-precsave.exp: Ditto.
11905 * gdb.reverse/i386-precsave.exp: Ditto.
11906 * gdb.reverse/machinestate-precsave.exp: Ditto.
11907 * gdb.reverse/sigall-precsave.exp: Ditto.
11908 * gdb.reverse/solilb-precsave.exp: Ditto.
11909 * gdb.reverse/step-precsave.exp: Ditto.
11910 * gdb.reverse/until-precsave.exp: Ditto.
11911 * gdb.reverse/watch-precsave.exp: Ditto.
11912
11913 2009-10-22 Michael Snyder <msnyder@vmware.com>
11914
11915 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
11916 for gdb_expect. Adjust one test's expect strings for the new
11917 format of disassemble.
11918 * gdb.reverse/finish-reverse.exp: Delete 'return'.
11919 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
11920 gdb_test_multiple.
11921 * gdb.reverse/step-reverse.exp: Delete 'return'.
11922 * gdb.reverse/until-reverse.exp: Delete blank lines.
11923 * gdb.reverse/watch-reverse.exp: Delete blank lines.
11924
11925 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
11926
11927 * gdb.base/consecutive.exp: Adjust.
11928 * gdb.base/display.exp: Likewise.
11929 * gdb.base/pc-fp.exp: Likewise.
11930 * gdb.base/sigbpt.exp: Likewise.
11931
11932 2009-10-19 Michael Snyder <msnyder@vmware.com>
11933
11934 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
11935 * gdb.reverse/finish-reverse.c: Ditto.
11936 * gdb.reverse/sigall-reverse.c: Ditto.
11937 * gdb.reverse/solib-reverse.c: Ditto.
11938 * gdb.reverse/step-reverse.c: Ditto.
11939 * gdb.reverse/watch-reverse.c: Ditto.
11940
11941 2009-10-19 Pedro Alves <pedro@codesourcery.com>
11942 Stan Shebs <stan@codesourcery.com>
11943
11944 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
11945 * gdb.base/foll-exec.exp: Adjust to expect a process id before
11946 "Executing new program".
11947 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
11948 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
11949 left listed after having been killed.
11950 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
11951 * gdb.base/maint.exp: Adjust test.
11952
11953 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
11954 * gdb.multi/Makefile.in: New.
11955 * gdb.multi/base.exp: New.
11956 * gdb.multi/goodbye.c: New.
11957 * gdb.multi/hangout.c: New.
11958 * gdb.multi/hello.c: New.
11959 * gdb.multi/bkpt-multi-exec.c: New.
11960 * gdb.multi/bkpt-multi-exec.exp: New.
11961 * gdb.multi/crashme.c: New.
11962
11963 2009-10-13 Tristan Gingold <gingold@adacore.com>
11964
11965 * gdb.base/sepdebug.exp: Check debug info are found.
11966
11967 2009-10-08 Pedro Alves <pedro@codesourcery.com>
11968
11969 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
11970 bits.
11971
11972 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11973
11974 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
11975
11976 2009-10-07 Joel Brobecker <brobecker@adacore.com>
11977
11978 * gdb.base/watchpoints.c: Add copyright header. Reformat one
11979 of the comments.
11980
11981 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
11982
11983 * gdb.base/annota1.exp: Remove obsolete match_max increase.
11984 * gdb.base/annota3.exp: Idem.
11985 * gdb.base/maint.exp: Idem.
11986
11987 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
11988
11989 * lib/gdb.exp (default_gdb_init): Set current value of match_max
11990 to default.
11991
11992 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
11993
11994 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
11995 mingw and cygwin targets.
11996
11997 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
11998 Pedro Alves <pedro@codesourcery.com>
11999
12000 * lib/gdb.exp (gdb_compile): Avoid adding
12001 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
12002
12003 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12004
12005 * gdb.base/shr1.c: Use %p in format string.
12006 * gdb.base/unload.c: Avoid warning in fprintf.
12007 * gdb.base/watchpoint-solib.c: Idem.
12008
12009 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12010
12011 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
12012 long type.
12013 (test_unlink): Correct printf string.
12014 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
12015 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
12016
12017 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12018
12019 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
12020 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
12021 * gdb.arch/ia64-breakpoint-shadow.S: New file.
12022
12023 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12024
12025 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
12026 * gdb.objc/nondebug.exp: Likewise.
12027
12028 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12029
12030 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
12031 target_info setting.
12032
12033 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
12034 that detect new threads during "info threads".
12035
12036 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12037
12038 * gdb.threads/manythreads.c (main): Increase thread stack size
12039 to 2*PTHREAD_STACK_MIN.
12040 * gdb.threads/multi-create.c (main): Likewise.
12041 (create_function): Likewise.
12042
12043 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12044
12045 * gdb.base/dump.exp: Pass difference of pointer types instead
12046 of integer types as offset to restore in intarr3.srec case.
12047
12048 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12049
12050 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
12051
12052 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12053
12054 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
12055
12056 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
12057
12058 New test for two watchpoints, with disabling of
12059 the first inserted.
12060 * testsuite/gdb.base/watchpoints.c: New file.
12061 * testsuite/gdb.base/watchpoints.exp: New file.
12062
12063 2009-09-25 Tom Tromey <tromey@redhat.com>
12064
12065 * gdb.base/charset.exp: Test utf-16 strings with Python.
12066
12067 2009-09-25 Tom Tromey <tromey@redhat.com>
12068
12069 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
12070 UCS-4.
12071 * gdb.base/charset.c (utf_32_string): Rename.
12072 (init_utf32): Rename.
12073 (main): Update.
12074
12075 2009-09-22 Tom Tromey <tromey@redhat.com>
12076
12077 * gdb.python/py-function.exp: Add regression tests.
12078
12079 2009-09-21 Keith Seitz <keiths@redhat.com>
12080
12081 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
12082 with invalid operator.
12083
12084 2009-09-21 Keith Seitz <keiths@redhat.com>
12085
12086 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
12087 and destructor using typedef name of class.
12088 * gdb.cp/classes.cc (class Base1): Add a destructor.
12089 (base1): New typedef.
12090 (use_methods): Instanitate an object of type base1.
12091 * gdb.cp/templates.exp (test_template_typedef): New procedure.
12092 (do_tests): Call test_template_typedef.
12093 * gdb.cp/templates.cc (Baz::~Baz): New method.
12094 (intBazOne): New typedef.
12095 (main): Instantiate intBazOne.
12096
12097 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12098
12099 PR python/10633
12100
12101 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
12102 Function.
12103 (run_lang_tests): Add print elements test.
12104
12105 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12106
12107 * gdb.python/py-value.exp (test_subscript_regression): New
12108 function. Test for invalid subscripts.
12109 * gdb.python/py-value.c (main): Add test array, and pointer to it.
12110 (ptr_ref): New function.
12111
12112 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12113
12114 * gdb.base/default.exp: Fix "show convenience".
12115
12116 2009-09-15 Tom Tromey <tromey@redhat.com>
12117
12118 * lib/mi-support.exp (mi_create_varobj): Update.
12119 (mi_create_floating_varobj): Likewise.
12120 (mi_create_dynamic_varobj): New proc.
12121 (mi_varobj_update): Update.
12122 (mi_varobj_update_with_type_change): Likewise.
12123 (mi_varobj_update_kv_helper): New proc.
12124 (mi_varobj_update_dynamic_helper): Rewrite.
12125 (mi_varobj_update_dynamic): New proc.
12126 (mi_list_varobj_children): Update.
12127 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
12128 * gdb.python/python-prettyprint.py (pp_outer): New class.
12129 (pp_nullstr): Likewise.
12130 (lookup_function): Register new printers.
12131 * gdb.python/python-prettyprint.c (struct substruct): New type.
12132 (struct outerstruct): Likewise.
12133 (substruct_test): New function.
12134 (struct nullstr): New type.
12135 (string_1, string_2): New globals.
12136 (main): Add new tests.
12137 * gdb.python/python-mi.exp: Added regression tests.
12138 * gdb.mi/mi2-var-display.exp: Update.
12139 * gdb.mi/mi2-var-cmd.exp: Update.
12140 * gdb.mi/mi2-var-child.exp: Update.
12141 * gdb.mi/mi2-var-block.exp: Update.
12142 * gdb.mi/mi-var-invalidate.exp: Update.
12143 * gdb.mi/mi-var-display.exp: Update.
12144 * gdb.mi/mi-var-cmd.exp: Update.
12145 * gdb.mi/mi-var-child.exp: Update.
12146 * gdb.mi/mi-var-block.exp: Update.
12147 * gdb.mi/mi-break.exp: Update.
12148 * gdb.mi/gdb701.exp: Update.
12149
12150 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
12151
12152 * Makefile.in: Inclusion of catch-syscall object.
12153 * gdb.base/catch-syscall.c: New file.
12154 * gdb.base/catch-syscall.exp: New file.
12155
12156 2009-09-12 Michael Snyder <msnyder@vmware.com>
12157
12158 * gdb.reverse/step-reverse.exp: Explicitly check for targets
12159 that can support reverse debuggnig.
12160
12161 2009-09-11 Tom Tromey <tromey@redhat.com>
12162
12163 * gdb.dwarf2/valop.S: New file.
12164 * gdb.dwarf2/valop.exp: New file.
12165
12166 2009-09-11 Mark Kettenis <kettenis@gnu.org>
12167
12168 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
12169
12170 2009-09-10 Doug Evans <dje@google.com>
12171
12172 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
12173 Add $gdb_prompt to second breakpoint regexp.
12174
12175 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
12176
12177 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
12178 names, add missing ones.
12179 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
12180 * gdb.python/py-frame.c: Rename from python-frame.c.
12181 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
12182 testfile name.
12183 * gdb.python/py-function.exp: Rename from python-function.exp.
12184 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
12185 testfile name.
12186 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
12187 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
12188 Adjust testfile name.
12189 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
12190 * gdb.python/py-template.cc: Rename from python-template.cc.
12191 * gdb.python/py-template.exp: Rename from python-template.exp.
12192 Adjust testfile name.
12193 * gdb.python/py-value.c: Rename from python-value.c.
12194 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
12195 testfile name.
12196
12197 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12198
12199 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
12200 $bpt2address.
12201 (Second breakpoint address is valid on ia64)
12202 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
12203
12204 2009-09-03 Joseph Myers <joseph@codesourcery.com>
12205
12206 * gdb.base/ending-run.exp: Restrict regular expression matching
12207 line number to require closing brace following.
12208
12209 2009-09-03 Doug Evans <dje@google.com>
12210
12211 * gdb.base/store.exp (check_set): Fix typo in expected value message.
12212
12213 2009-09-02 Tom Tromey <tromey@redhat.com>
12214
12215 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
12216
12217 2009-09-02 Tom Tromey <tromey@redhat.com>
12218
12219 * gdb.dwarf2/callframecfa.exp: New file.
12220 * gdb.dwarf2/callframecfa.S: New file.
12221
12222 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12223
12224 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
12225 gdb.base/solib-overlap-main.c: New.
12226
12227 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
12228
12229 PR gdb/10565
12230
12231 * gdb.base/bitfields.c (struct container, container): New.
12232 (main): Initialize it and call break5.
12233 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
12234
12235 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12236
12237 Support constant DW_AT_data_member_location by GCC PR debug/40659.
12238 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
12239
12240 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12241
12242 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
12243
12244 2009-08-26 Michael Snyder <msnyder@vmware.com>
12245
12246 * gdb.base/i386-reverse.c: New file.
12247 * gdb.base/i386-reverse.exp: New file.
12248 * gdb.base/Makefile.in: Add new files to be removed.
12249
12250 2009-08-26 Joseph Myers <joseph@codesourcery.com>
12251
12252 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
12253 environment-pwd for remote host.
12254 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
12255
12256 2009-08-24 Keith Seitz <keiths@redhat.com>
12257
12258 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
12259 Add two new C++ completer tests which limit the output to a
12260 given class.
12261
12262 2009-08-24 Michael Snyder <msnyder@vmware.com>
12263
12264 * gdb.base/del.exp: Fix typo in comment.
12265 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
12266
12267 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12268
12269 * configure: Regenerate.
12270 * gdb.hp/configure: Likewise.
12271 * gdb.hp/gdb.aCC/configure: Likewise.
12272 * gdb.hp/gdb.base-hp/configure: Likewise.
12273 * gdb.hp/gdb.compat/configure: Likewise.
12274 * gdb.hp/gdb.defects/configure: Likewise.
12275 * gdb.hp/gdb.objdbg/configure: Likewise.
12276 * gdb.stabs/configure: Likewise.
12277
12278 2009-08-19 Doug Evans <dje@google.com>
12279
12280 * gdb.base/gdbvars.c: New file.
12281 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
12282
12283 2009-08-14 Pedro Alves <pedro@codesourcery.com>
12284
12285 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12286 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
12287
12288 2009-08-13 Pedro Alves <pedro@codesourcery.com>
12289
12290 * gdb.base/default.exp: Adjust "set language test": it's now an
12291 enum command. Larger help string moved to "help set language".
12292 * gdb.base/help.exp: Adjust "help set language" expected output,
12293 now lists all known languages.
12294
12295 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
12296
12297 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
12298 all frame arguments.
12299 * gdb.arch/altivec-regs.exp: Likewise.
12300
12301 2009-08-07 Tom Tromey <tromey@redhat.com>
12302
12303 * gdb.base/setshow.exp: Add tests for changes to set language, set
12304 check range, and set check type.
12305
12306 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
12307
12308 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
12309 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
12310 Call it.
12311
12312 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12313
12314 * configure.ac: Run gdb.cell tests when appropriate.
12315 * configure: Regenerate.
12316 * lib/cell.exp: New file.
12317 * gdb.cell: New directory.
12318 * gdb.cell/configure.ac: New file.
12319 * gdb.cell/configure: New file.
12320 * gdb.cell/Makefile.in: New file.
12321 * gdb.cell/arch.exp: New file.
12322 * gdb.cell/break.c: New file.
12323 * gdb.cell/break.exp: New file.
12324 * gdb.cell/break-spu.c: New file.
12325 * gdb.cell/bt.c: New file.
12326 * gdb.cell/bt2-spu.c: New file.
12327 * gdb.cell/bt-spu.c: New file.
12328 * gdb.cell/bt.exp: New file.
12329 * gdb.cell/coremaker.c: New file.
12330 * gdb.cell/coremaker-spu.c: New file.
12331 * gdb.cell/core.exp: New file.
12332 * gdb.cell/gcore.exp: New file.
12333 * gdb.cell/data.c: New file.
12334 * gdb.cell/data.exp: New file.
12335 * gdb.cell/data-spu.c: New file.
12336 * gdb.cell/ea-cache.exp: New file.
12337 * gdb.cell/ea-cache.c: New file.
12338 * gdb.cell/ea-cache-spu.c: New file.
12339 * gdb.cell/ea-standalone.c: New file.
12340 * gdb.cell/ea-standalone.exp: New file.
12341 * gdb.cell/ea-test.c: New file.
12342 * gdb.cell/ea-test.exp: New file.
12343 * gdb.cell/f-regs.exp: New file.
12344 * gdb.cell/mem-access.c: New file.
12345 * gdb.cell/mem-access.exp: New file.
12346 * gdb.cell/mem-access-spu.c: New file.
12347 * gdb.cell/ptype.exp: New file.
12348 * gdb.cell/registers.exp: New file.
12349 * gdb.cell/size.c: New file.
12350 * gdb.cell/sizeof.exp: New file.
12351 * gdb.cell/size-spu.c: New file.
12352 * gdb.cell/solib.exp: New file.
12353 * gdb.cell/solib-symbol.exp: New file.
12354
12355 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12356
12357 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
12358
12359 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
12360
12361 * gdb.base/float.exp: Handle VFP registers.
12362
12363 2009-07-14 Michael Snyder <msnyder@vmware.com>
12364
12365 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
12366 to bring gdb to the beginning of the calling line.
12367
12368 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
12369 confusing the i386 epilogue unwinder.
12370
12371 2009-07-14 Stan Shebs <stan@codesourcery.com>
12372
12373 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
12374
12375 2009-07-14 Michael Snyder <msnyder@vmware.com>
12376
12377 * gdb.reverse/step-reverse.exp (stepi into function call):
12378 Call instruction may not be first instruction in the line.
12379 (reverse stepi from a function call): Used wrong line number.
12380
12381 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12382
12383 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
12384
12385 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12386
12387 Fix gdb.base/macscp.exp when using custom inputrc.
12388 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
12389 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
12390 env(TERM) set.
12391 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
12392 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
12393
12394 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12395
12396 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
12397 * gdb.base/annota1.exp (thread_test): Import global $testfile.
12398 Change the compilation target to match the testcase name.
12399 * gdb.base/sect-cmd.exp: Change the compilation target to match the
12400 testcase name.
12401 * a2-run.exp: Use for setup prepare_for_testing. Change the
12402 compilation target to match the testcase name.
12403 * gdb.base/commands.exp: Likewise.
12404 * gdb.base/finish.exp: Likewise.
12405 * gdb.base/float.exp: Likewise.
12406 * gdb.base/info-target.exp: Likewise.
12407 * gdb.base/relational.exp: Likewise.
12408 * gdb.base/term.exp: Likewise.
12409 * gdb.base/until.exp: Likewise.
12410 * gdb.base/volatile.exp: Likewise.
12411 * gdb.base/whatis-exp.exp: Likewise.
12412
12413 2009-07-11 Hui Zhu <teawater@gmail.com>
12414
12415 * gdb.base/help.exp (disassemble): Update expected help text.
12416
12417 2009-07-09 Tom Tromey <tromey@redhat.com>
12418
12419 * lib/gdb.exp: Handle TRANSCRIPT.
12420 (remote_spawn, remote_close, send_gdb): New procs.
12421
12422 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
12423
12424 * gdb.python/python-prettyprint.c: Add counted null string
12425 structure.
12426 * gdb.python/python-prettyprint.exp: Print null string. Test for
12427 embedded nulls.
12428 * gdb.python/python-prettyprint.py (pp_ns): New Function.
12429 * gdb.python/python-value.exp (test_value_in_inferior): Add
12430 variable length string fetch tests.
12431 * gdb.python/python-value.c (main): Add strings for string fetch tests.
12432
12433 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12434
12435 * gdb.base/dump.exp (inaccessible memory is reported): New test.
12436
12437 2009-07-07 Tom Tromey <tromey@redhat.com>
12438
12439 * gdb.base/call-rt-st.exp: Update for change to escape output.
12440 * gdb.base/callfuncs.exp: Likewise.
12441 * gdb.base/charset.exp: Likewise.
12442 * gdb.base/constvars.exp: Likewise.
12443 * gdb.base/long_long.exp: Likewise.
12444 * gdb.base/pointers.exp: Likewise.
12445 * gdb.base/printcmds.exp: Likewise.
12446 * gdb.base/setvar.exp: Likewise.
12447 * gdb.base/store.exp: Likewise.
12448 * gdb.cp/ref-types.exp: Likewise.
12449 * gdb.mi/mi-var-child.exp: Likewise.
12450 * gdb.mi/mi-var-display.exp: Likewise.
12451 * gdb.mi/mi2-var-display.exp: Likewise.
12452 * gdb.base/charset.exp: Test octal escape sequence length.
12453 Update for change to escape output.
12454
12455 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12456
12457 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
12458
12459 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
12460
12461 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
12462
12463 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12464
12465 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
12466 gdbserver increasing $portnum if "Can't bind address" has been seen.
12467
12468 2009-07-05 Pedro Alves <pedro@codesourcery.com>
12469
12470 * gdb.base/ending-run.exp: Add "step out of main" pattern for
12471 mingw32ce.
12472
12473 2009-07-05 Pedro Alves <pedro@codesourcery.com>
12474
12475 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
12476 VFP format.
12477
12478 2009-07-02 Pedro Alves <pedro@codesourcery.com>
12479
12480 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
12481 linux. Adjust to use "inferior", "info inferiors", "detach
12482 inferior" and "kill inferior" instead of "restart", "info fork",
12483 "detach fork" and "delete fork".
12484 * gdb.base/ending-run.exp: Spell out "info".
12485 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
12486 the "kill" command.
12487
12488 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12489
12490 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
12491 change to prefix TLS offset in hex with 0x.
12492
12493 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12494
12495 * gdb.base/default.exp: Update test case for "x" changes.
12496
12497 2009-07-01 Tristan Gingold <gingold@adacore.com>
12498
12499 * gdb.base/bigcore.exp: Make darwin untested.
12500
12501 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12502
12503 * gdb.base/completion.exp (directory completion): Create the directory.
12504 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
12505 escapeuniquesub.
12506 (directory completion 2): Expect now ${escapeuniquesub}.
12507 (Glob remaining of directory test): Remove one excessive newline.
12508 Expect the real output.
12509
12510 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12511
12512 Fix `make check//%' target after `make check' has been ran.
12513 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
12514 a mkdir call.
12515 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
12516 (%/.dir): Remove.
12517
12518 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12519
12520 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
12521 the expected result record.
12522
12523 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12524
12525 Remove racy FAILs relying just on the timeouts.
12526 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
12527 (annotation_level 2): Remove racy FAILs.
12528
12529 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12530
12531 gdb/10275
12532 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
12533
12534 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
12535
12536 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
12537
12538 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
12539
12540 * gdb.mi/mi-stack.exp: Testing symbolic options
12541 to -stack-list-locals and -stack-list-arguments.
12542
12543 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12544
12545 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
12546
12547 2009-06-29 Tom Tromey <tromey@redhat.com>
12548
12549 * dg-extract-results.sh: New file.
12550 * Makefile.in (FORCE_PARALLEL): New variable.
12551 (CHECK_TARGET): New conditional variable.
12552 (check): Use CHECK_TARGET.
12553 (DO_RUNTEST): New variable.
12554 (check-single): New target.
12555 (TEST_DIRS): New variable.
12556 (TEST_TARGETS): Likewise.
12557 (check-parallel): New target.
12558 (check-gdb.%): New pattern.
12559 (BASE1_FILES): New variable.
12560 (BASE2_FILES): Likewise.
12561 (check-gdb.base%): New pattern.
12562 (%/.dir): New pattern.
12563 * configure: Rebuild.
12564 * aclocal.m4 (AM_CONDITIONAL): New defun.
12565 * configure.ac: Check whether user is using GNU make.
12566 (GMAKE): New conditional.
12567
12568 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
12569
12570 * gdb.cp/namespace-nested-import.cc: New test.
12571 * gdb.cp/namespace-nested-import.exp: New test.
12572
12573 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
12574
12575 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
12576 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
12577 * gdb.opt/Makefile.in (EXECUTABLES): Update.
12578 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
12579 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
12580 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
12581 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
12582 gdb.opt/inline-markers.c: New files.
12583 * lib/gdb.exp (skip_inline_frame_tests): New function.
12584 (skip_inline_var_tests): New function.
12585
12586 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
12587
12588 * gdb.cp/exception.exp: Don't require $hex before inner frame in
12589 backtrace.
12590
12591 2009-06-27 Michael Snyder <msnyder@vmware.com>
12592
12593 * gdb.reverse: New directory.
12594 * gdb.reverse/break-reverse.c: New test.
12595 * gdb.reverse/break-reverse.exp: New test.
12596 * gdb.reverse/consecutive-reverse.c: New test.
12597 * gdb.reverse/consecutive-reverse.exp: New test.
12598 * gdb.reverse/finish-reverse.c: New test.
12599 * gdb.reverse/finish-reverse.exp: New test.
12600 * gdb.reverse/machinestate.c: New test.
12601 * gdb.reverse/ms1.c: New test.
12602 * gdb.reverse/machinestate.exp: New test.
12603 * gdb.reverse/Makefile.in: New file.
12604 * gdb.reverse/shr2.c: New test.
12605 * gdb.reverse/solib-reverse.c: New test.
12606 * gdb.reverse/solib-reverse.exp: New test.
12607 * gdb.reverse/step-reverse.c: New test.
12608 * gdb.reverse/step-reverse.exp: New test.
12609 * gdb.reverse/until-reverse.c: New test.
12610 * gdb.reverse/ur1.c: New test.
12611 * gdb.reverse/until-reverse.exp: New test.
12612 * gdb.reverse/watch-reverse.c: New test.
12613 * gdb.reverse/watch-reverse.exp: New test.
12614 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
12615 * configure: Regenerate.
12616
12617 2009-06-26 Doug Evans <dje@google.com>
12618
12619 * gdb.base/psymtab.exp: Turn off pending breakpoints.
12620
12621 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
12622
12623 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
12624 windows problem for 'file delete $binfile'.
12625
12626 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
12627
12628 * gdb.cp/namespace-using.exp: New test.
12629 * gdb.cp/namespace-using.cc: New test.
12630
12631 2009-05-20 Joel Brobecker <brobecker@adacore.com>
12632
12633 * gdb.ada/variant_record_packed_array: New testcase.
12634
12635 2009-06-23 Tom Tromey <tromey@redhat.com>
12636
12637 * gdb.base/charset.exp (test_combination): Regression test.
12638 * gdb.base/charset.c (my_wchar_t): New typedef.
12639 (myvar): New global.
12640 (main): Set myvar.
12641
12642 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
12643
12644 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
12645 target.
12646
12647 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12648
12649 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
12650
12651 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12652
12653 * gdb.mi/gdb680.exp: Update test for error message.
12654
12655 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12656
12657 * gdb.base/annota1.exp: Allow multiple occurrences of the
12658 frames-invalid annotation.
12659 * gdb.cp/annota2.exp: Likewise.
12660
12661 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
12662
12663 * gdb.cp/gdb2495.cc: New file.
12664 * gdb.cp/gdb2495.exp: New file.
12665
12666 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12667
12668 Report error on GDB crash during runto.
12669 * lib/gdb.exp (runto <eof>): New.
12670
12671 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
12672
12673 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
12674 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
12675 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
12676 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
12677 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
12678 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
12679 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
12680 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
12681 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
12682 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
12683 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
12684 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
12685 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12686 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
12687 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
12688 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
12689 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
12690 gdb.server/server-mon.exp, gdb.server/server-run.exp,
12691 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12692 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
12693 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
12694 gdb.trace/passcount.exp, gdb.trace/report.exp,
12695 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
12696 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
12697 gdb.trace/while-stepping.exp: Use a unique name for the compiled
12698 executable.
12699
12700 2009-06-07 Pedro Alves <pedro@codesourcery.com>
12701
12702 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
12703 defined before referencing it.
12704
12705 2009-06-03 Doug Evans <dje@google.com>
12706
12707 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
12708 * gdb.arch/i386-see.c: Ditto.
12709
12710 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
12711
12712 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
12713 (check_macro): Return 1 if undefined.
12714 If first test fails, check if macro debug information is available,
12715 and report unsupported test if no macro information is found.
12716
12717 2009-05-29 Doug Evans <dje@google.com>
12718
12719 * gdb.threads/hand-call-in-threads.exp: New.
12720 * gdb.threads/hand-call-in-threads.c: New.
12721
12722 2009-05-29 Michael Snyder <msnyder@vmware.com>
12723
12724 * gdb.base/break-always.exp: Change "1" to "on".
12725 Add confirmation check.
12726
12727 2009-05-28 Pedro Alves <pedro@codesourcery.com>
12728
12729 * gdb.threads/threxit-hop-specific.c: New.
12730 * gdb.threads/threxit-hop-specific.exp: New.
12731 * gdb.threads/thread-execl.c: New.
12732 * gdb.threads/thread-execl.exp: New.
12733
12734 2009-05-27 Tom Tromey <tromey@redhat.com>
12735 Thiago Jung Bauermann <bauerman@br.ibm.com>
12736
12737 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
12738 (mi_child_regexp): Likewise.
12739 (mi_list_varobj_children_range): Likewise.
12740 (mi_get_features): Likewise.
12741 (mi_list_varobj_children): Rewrite.
12742 * gdb.python/python-mi.exp: New file.
12743
12744 2009-05-27 Tom Tromey <tromey@redhat.com>
12745 Thiago Jung Bauermann <bauerman@br.ibm.com>
12746 Phil Muldoon <pmuldoon@redhat.com>
12747 Paul Pluzhnikov <ppluzhnikov@google.com>
12748
12749 * gdb.python/python-prettyprint.exp: New file.
12750 * gdb.python/python-prettyprint.c: New file.
12751 * gdb.python/python-prettyprint.py: New file.
12752 * gdb.base/display.exp: print/r is now valid.
12753
12754 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
12755 Tom Tromey <tromey@redhat.com>
12756 Pedro Alves <pedro@codesourcery.com>
12757 Paul Pluzhnikov <ppluzhnikov@google.com>
12758
12759 * gdb.python/python-template.exp: New file.
12760 * gdb.python/python-template.cc: New file.
12761 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12762 tests.
12763 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12764 Call it.
12765 (test_value_after_death): New proc.
12766 * gdb.python/python-value.c (PTR): New typedef.
12767 (main): New variable 'x'.
12768
12769 2009-05-27 Tom Tromey <tromey@redhat.com>
12770
12771 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12772 tests.
12773 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12774 Call it.
12775
12776 2009-05-27 Pedro Alves <pedro@codesourcery.com>
12777
12778 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
12779
12780 2009-05-24 Pedro Alves <pedro@codesourcery.com>
12781
12782 * gdb.threads/fork-thread-pending.c: New.
12783 * gdb.threads/fork-thread-pending.exp: New.
12784
12785 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12786
12787 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
12788 * gdb.dwarf2/dw2-strp.S (a_string2): New.
12789
12790 2009-05-18 Jon Beniston <jon@beniston.com>
12791
12792 * gdb.asm/asm-source.exp: Add lm32 target.
12793
12794 2009-05-17 Pedro Alves <pedro@codesourcery.com>
12795
12796 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
12797 `gdb_get_line_number'. Call `callee' in both parent and child.
12798 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
12799 `gdb_get_line_number' instead of hardcoding line numbers.
12800 (catch_fork_unpatch_child): New procedure to test detaching
12801 breakpoints from child fork.
12802 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
12803 hardcoding line numbers.
12804 (do_fork_tests): Run `catch_fork_unpatch_child'.
12805
12806 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
12807
12808 * gdb.mi/mi-cmd-var.exp: Check that when varobj
12809 of structure type enters or leaves the scope, it
12810 is reported by -var-update.
12811
12812 2009-05-11 Doug Evans <dje@sebabeach.org>
12813
12814 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
12815 * gdb.threads/pending-step.c (main): Fix off-by-one error.
12816 * gdb.threads/schedlock.c (main): Fix off-by-one error.
12817
12818 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12819
12820 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
12821
12822 2009-04-30 Doug Evans <dje@google.com>
12823
12824 * gdb.threads/watchthreads2.exp: New testcase.
12825 * gdb.threads/watchthreads2.c: New testcase.
12826
12827 2009-04-29 Doug Evans <dje@google.com>
12828
12829 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
12830 * gdb.cp/mb-ctor.cc: Ditto.
12831 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
12832 * gdb.cp/mb-inline.h (multi_line_foo): New function.
12833 * gdb.cp/mb-inline1.cc: Call it.
12834 * gdb.cp/mb-inline2.cc: Ditto.
12835 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
12836 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
12837
12838 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12839
12840 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
12841 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
12842 Replace all uses of `decimal' by `nonzero'.
12843 (info macro FROM_COMMANDLINE): New test.
12844
12845 2009-04-27 Tom Tromey <tromey@redhat.com>
12846
12847 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
12848
12849 2009-04-27 Doug Evans <dje@google.com>
12850
12851 * gdb.threads/watchthreads.c (main): Initialize args before starting
12852 the threads. Plus formatting cleanup.
12853 * gdb.threads/watchthreads.exp: Avoid errant failures due to
12854 biased scheduling of one thread.
12855
12856 2009-04-27 Jerome Guitton <guitton@adacore.com>
12857
12858 * gdb.cp/templates.cc (GetMax): New template.
12859 (main): Declare two instances of GetMax.
12860 * gdb.cp/templates.exp: Add new test.
12861
12862 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12863
12864 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
12865
12866 2009-04-22 Joseph Myers <joseph@codesourcery.com>
12867
12868 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
12869
12870 2009-04-15 Tom Tromey <tromey@redhat.com>
12871
12872 * gdb.base/charset.exp: Add regression test.
12873
12874 2009-04-14 Joel Brobecker <brobecker@adacore.com>
12875
12876 * gdb.base/exe-lock.exp: New testcase.
12877
12878 2009-04-13 Tom Tromey <tromey@redhat.com>
12879
12880 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
12881 operator on Frame.
12882
12883 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12884
12885 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
12886 * gdb.server/ext-attach.exp: Likewise.
12887
12888 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
12889
12890 Eliminate some sleep usage.
12891
12892 * gdb.mi/basics.c (do_nothing): New.
12893 (main): Use do_nothing instead of printf, so that
12894 not to introduce race condition between output of
12895 inferiour and output of gdb. Do not use sleep as it
12896 is not generally available on embedded targets.
12897
12898 2009-04-02 Pedro Alves <pedro@codesourcery.com>
12899
12900 * gdb.server/ext-attach.exp: Expect an optional process id after
12901 "Detached from remote process".
12902
12903 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12904
12905 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
12906 gdb.dwarf2/dw2-unresolved.exp: New.
12907
12908 2009-04-02 Pedro Alves <pedro@codesourcery.com>
12909
12910 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
12911 mi_run_to_main.
12912
12913 2009-04-02 Pedro Alves <pedro@codesourcery.com>
12914
12915 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
12916 mi_run_to_main. Skip thread exit test on remote targets.
12917 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
12918 mi_run_to_main.
12919 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
12920 mi_run_to_main.
12921 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
12922 when expecting ^connected. Detect when the target doesn't support
12923 non-stop mode.
12924 (mi_run_cmd): Detect if non-stop mode was requested by isn't
12925 supported. Return -1 on error, 0 on success.
12926 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
12927 (mi_runto): Return mi_runto_helper's result explicitly.
12928
12929 2009-04-01 Pedro Alves <pedro@codesourcery.com>
12930
12931 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
12932
12933 2009-04-01 Tom Tromey <tromey@redhat.com>
12934
12935 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
12936 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
12937 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
12938 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
12939
12940 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
12941 Jan Kratochvil <jan.kratochvil@redhat.com>
12942
12943 PR gdb/931
12944 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
12945 output.
12946 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
12947 for gdb/931.
12948 * dw2-strp.S (DW_AT_language): Change to C++.
12949 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
12950
12951 2009-03-31 Joel Brobecker <brobecker@adacore.com>
12952
12953 * gdb.ada/tasks: New testcase.
12954
12955 2009-03-30 Stan Shebs <stan@codesourcery.com>
12956
12957 * gdb.trace/actions.exp: Update to match new info trace format.
12958 * gdb.trace/deltrace.exp: Ditto.
12959 * gdb.trace/infotrace.exp: Ditto.
12960 * gdb.trace/passcount.exp: Ditto.
12961 * gdb.trace/save-trace.exp: Ditto.
12962 * gdb.trace/while-stepping.exp: Ditto.
12963 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
12964
12965 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12966
12967 * gdb.python/python-frame.c: New file.
12968 * gdb.python/python-frame.exp: New file.
12969
12970 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
12971
12972 * gdb.python/python-value.exp: Add tests for the address
12973 attribute.
12974
12975 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
12976
12977 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
12978
12979 2009-03-26 Doug Evans <dje@google.com>
12980
12981 * gdb.mi/mi-nonstop-exit.exp: New file.
12982 * gdb.mi/non-stop-exit.c: New file.
12983
12984 2009-03-26 Tom Tromey <tromey@redhat.com>
12985
12986 Update for change to prologue skipping:
12987 * gdb.mi/mi2-simplerun.exp: Update.
12988 * gdb.mi/mi2-break.exp: Update.
12989 * gdb.mi/mi-simplerun.exp: Update.
12990 * gdb.mi/mi-break.exp: Update.
12991 * gdb.base/ending-run.exp: Update.
12992
12993 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
12994
12995 * gdb.python/python-value.exp (test_value_in_inferior): Test
12996 gdb.Value.is_optimized_out attribute.
12997
12998 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12999
13000 * gdb.dwarf2/dw2-noloc-main.c: New file.
13001 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
13002 (.text): Remove.
13003 (.data): New.
13004 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
13005 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
13006 (DW_TAG_subprogram func_cu1, noloc): Remove.
13007 (main): New.
13008 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
13009 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
13010 (file_symbols): New procedure.
13011
13012 2009-03-25 Tom Tromey <tromey@redhat.com>
13013
13014 * gdb.base/charset.exp (valid_target_charset): New proc.
13015 Use it to skip tests on invalid charsets.
13016
13017 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
13018
13019 * gdb.base/completion.exp: Add a test for directory completion.
13020
13021 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13022
13023 Fix a racy FAIL.
13024 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
13025 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
13026
13027 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
13028
13029 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
13030 * gdb.python/python-function.exp: Add test for function returning
13031 a GDB value.
13032
13033 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
13034
13035 * gdb.python/python-function.exp: New file.
13036
13037 2009-03-20 Tom Tromey <tromey@redhat.com>
13038
13039 * gdb.base/store.exp: Update for change to escape output.
13040 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
13041 to escape output.
13042 * gdb.base/pointers.exp: Update for change to escape output.
13043 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
13044 to escape output.
13045 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
13046 escape output.
13047 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
13048 to escape output.
13049 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
13050 escape output.
13051 * gdb.base/setvar.exp: Update for change to escape output.
13052 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
13053 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
13054 to escape output.
13055 (test_print_string_constants): Likewise.
13056 * gdb.base/charset.exp (valid_host_charset): Check size of
13057 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
13058 cases. Handle "auto"-related output.
13059 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
13060 (uvar, Uvar): New globals.
13061
13062 2009-03-19 Jerome Guitton <guitton@adacore.com>
13063
13064 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
13065 deltas.
13066 * gdb.ada/fixed_points.exp: Ditto.
13067
13068 2009-03-18 Pedro Alves <pedro@codesourcery.com>
13069
13070 * return-nodebug.c: Don't include stdio.h.
13071 (init): Delete.
13072 (func): Delete definition and provide extern declaration.
13073 (t): New.
13074 (main): Don't call printf. Call func and store its result in t.
13075 * return-nodebug1.c: New.
13076 * return-nodebug.exp: Don't expect stdio output. Instead, print
13077 the global variable t. Drop printf formatters and cast types from
13078 foreach loop. Don't use prepare_for_testing. Compile
13079 return-nodebug.c and return-nodebug1.c in separate steps. Don't
13080 define FORMAT or CAST.
13081
13082 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13083
13084 * gdb.base/solib-display.exp: Disable test for remote targers.
13085
13086 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13087
13088 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
13089
13090 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13091
13092 Fix a racy FAIL.
13093 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
13094 code from `follow parent, print pids'.
13095 (`follow child, print pids', `follow parent, print pids'): Call it.
13096 Replace `gdb_test "break..."' by gdb_breakpoint.
13097
13098 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
13099
13100 * gdb.mi/mi-cli.exp: Adjust for output difference in
13101 sync and async modes.
13102
13103 2009-03-12 Joel Brobecker <brobecker@adacore.com>
13104
13105 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
13106 that was checked in by mistake. Remove loading of ada.exp, since
13107 this is not necessary in this case.
13108
13109 2009-03-12 Joel Brobecker <brobecker@adacore.com>
13110
13111 * gdb.ada/ptype_arith_binop.exp: New testcase.
13112
13113 2009-03-12 Joel Brobecker <brobecker@adacore.com>
13114
13115 * gdb.ada/mod_from_name: New testcase.
13116
13117 2009-03-12 Joel Brobecker <brobecker@adacore.com>
13118
13119 * gdb.ada/tick_last_segv: New testcase.
13120
13121 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13122
13123 * gdb.mi/mi-cli.exp: Remove debug print.
13124
13125 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13126
13127 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
13128 include the token in ^running and frame info in *stopped.
13129
13130 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13131
13132 * solib-display.exp: New file.
13133 * solib-display-main.c: New file.
13134 * solib-display-lib.c: New file.
13135
13136 2009-03-05 Pedro Alves <pedro@codesourcery.com>
13137
13138 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
13139
13140 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13141
13142 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
13143 (list_and_check_macro): Use more specific test name.
13144 (next to definition): Make the test names unique.
13145
13146 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
13147
13148 * gdb.pascal/floats.exp: Accept approximate results everywhere.
13149
13150 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13151
13152 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
13153 notifications.
13154 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
13155 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
13156 * lib/mi-support.exp (library_loaded_re): New.
13157 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
13158
13159 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13160
13161 * gdb.gdb/observer.exp: Use test_notification observer, not
13162 normal_stop, everywhere.
13163 (test_normal_stop_notifications): Rename to...
13164 (test_notifications): ...this.
13165 (test_observer_normal_stop): Rename to...
13166 (test_observer): ...this.
13167
13168 2009-02-16 Doug Evans <dje@google.com>
13169
13170 * gdb.arch/amd64-disp-step.S (test_int3): New test.
13171 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
13172 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
13173 (test_prefixed_syscall,test_int3): New tests.
13174 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
13175 (test_prefixed_syscall,test_int3): New tests.
13176
13177 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
13178
13179 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
13180 (mi_expect_interrupt): Likewise.
13181 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
13182 response.
13183
13184 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13185
13186 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
13187 * gdb.base/pc-fp.exp (get_valueofx): Remove.
13188 Replace calls to get_valueofx by get_hexadecimal_valueof.
13189
13190 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13191
13192 * lib/gdb.exp (get_valueof): Accept anything as a return value.
13193 (get_integer_valueof): New procedure.
13194 (get_sizeof): Use new get_integer_value_of.
13195 * gdb.base/sizeof.exp: Replace all uses of get_valueof
13196 by get_integer_valueof.
13197
13198 2009-02-13 Tom Tromey <tromey@redhat.com>
13199
13200 * gdb.base/remote.exp (get_sizeof): Remove.
13201 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
13202 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
13203 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
13204 * lib/gdb.exp (get_valueof): Move from long_long.exp.
13205 (get_sizeof): Likewise.
13206
13207 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13208
13209 PR fortran/9806
13210 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
13211
13212 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13213
13214 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
13215
13216 2009-02-06 Pedro Alves <pedro@codesourcery.com>
13217
13218 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
13219
13220 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
13221
13222 * gdb.python/python-cmd.exp: New file.
13223
13224 2009-02-06 Tristan Gingold <gingold@adacore.com>
13225
13226 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
13227
13228 2009-02-05 Tristan Gingold <gingold@adacore.com>
13229
13230 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
13231 pointer is dereferenced and use this signal name in regexp.
13232 * gdb.base/signull.exp: Ditto.
13233 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
13234 * gdb.base/signull.c (main): Ditto.
13235
13236 2009-02-04 Tom Tromey <tromey@redhat.com>
13237 Thiago Jung Bauermann <bauerman@br.ibm.com>
13238
13239 * gdb.python/python-value.exp: Use `gdb.history' instead of
13240 `gdb.value_from_history'.
13241 (test_value_numeric_ops): Add test for conversion of enum constant.
13242 * gdb.python/python-value.c (enum e): New type.
13243 (evalue): New global.
13244 (main): Use argv.
13245
13246 2009-02-04 Jerome Guitton <guitton@adacore.com>
13247
13248 * gdb.ada/uninitialized_vars: New test program.
13249 * gdb.ada/uninitialized_vars.exp: New testcase.
13250
13251 2009-02-02 Tom Tromey <tromey@redhat.com>
13252
13253 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
13254 * gdb.cp/pr2489.cc: Rename...
13255 * gdb.cp/pr9594.cc: ... to this.
13256
13257 2009-02-02 Tom Tromey <tromey@redhat.com>
13258
13259 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
13260 * gdb.cp/pr2489.cc: New file.
13261 * gdb.cp/cpcompletion.exp: New file.
13262
13263 2009-02-02 Tom Tromey <tromey@redhat.com>
13264
13265 PR exp/9059:
13266 * gdb.cp/call-c.exp: Add regression test.
13267 * gdb.cp/call-c.cc (FooHandle): New typedef.
13268 (main): New variable 'handle'.
13269
13270 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13271
13272 * lib/mi-support.exp (et_mi_thread_list)
13273 (check_mi_and_console_threads): Adjust for current thread in
13274 -thread-list-ids output.
13275
13276 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13277
13278 * gdb.mi/mi-break.exp (test_disabled_creation): New.
13279 Call it.
13280
13281 2009-01-28 Doug Evans <dje@google.com>
13282
13283 * gdb.arch/amd64-disp-step.S: New file.
13284 * gdb.arch/amd64-disp-step.exp: New file.
13285 * gdb.arch/i386-disp-step.S: New file.
13286 * gdb.arch/i386-disp-step.exp: New file.
13287
13288 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
13289
13290 * gdb.base/find.exp: Set newline variable
13291 using quotes instead of braces to fix cygwin failures.
13292
13293 2009-01-23 Pedro Alves <pedro@codesourcery.com>
13294
13295 * gdb.base/radix.exp: Add tests to ensure that that set
13296 input-radix 0 and set output-radix 0 are really rejected.
13297
13298 2009-01-23 Pedro Alves <pedro@codesourcery.com>
13299
13300 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
13301 copyright years.
13302
13303 2009-01-23 Pedro Alves <pedro@codesourcery.com>
13304
13305 PR gdb/9664:
13306 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
13307
13308 2009-01-22 Pedro Alves <pedro@codesourcery.com>
13309
13310 PR c++/9631:
13311 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
13312
13313 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
13314
13315 * gdb.server/file-transfer.exp: Use EXEEXT variable for
13316 binfile definition to fix Windows OS failure.
13317
13318 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13319
13320 PR gdb/9346
13321 * gdb.base/interrupt.c (sigint_handler): New.
13322 (main): Install a SIGINT handler if SIGNALS is defined. Exit
13323 on error.
13324 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
13325 Test "signal SIGINT".
13326
13327 2009-01-19 Doug Evans <dje@google.com>
13328
13329 * gdb.base/break.exp: Update expected gdb output.
13330 * gdb.base/sepdebug.exp: Ditto.
13331 * gdb.mi/mi-syn-frame.exp: Ditto.
13332 * gdb.mi/mi2-syn-frame.exp: Ditto.
13333 * gdb.base/call-signal-resume.exp: New file.
13334 * gdb.base/call-signals.c: New file.
13335 * gdb.base/unwindonsignal.exp: New file.
13336 * gdb.base/unwindonsignal.c: New file.
13337 * gdb.threads/interrupted-hand-call.exp: New file.
13338 * gdb.threads/interrupted-hand-call.c: New file.
13339 * gdb.threads/thread-unwindonsignal.exp: New file.
13340
13341 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
13342
13343 * gdb.base/define.exp: Test defining and hooking prefix commands.
13344 * gdb.python/python.exp: Update test for "show user" output.
13345
13346 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13347
13348 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
13349 now the output exactly, using less wildcards. Expect also the output
13350 of gfortran-4.3. Update for the f-valprint.c modification from
13351 2008-04-22.
13352 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
13353 Remove gdb_test test names where matching the command.
13354
13355 2009-01-01 Pedro Alves <pedro@codesourcery.com>
13356
13357 PR breakpoints/9681:
13358 * gdb.base/watchpoint.exp: Add regression test.
13359
13360 2008-12-31 Pedro Alves <pedro@codesourcery.com>
13361
13362 * gdb.threads/attach-into-signal.exp: Don't use
13363 gdb_suppress_entire_file.
13364 * gdb.threads/attach-stopped.exp: Ditto.
13365 * gdb.threads/attachstop-mt.exp: Ditto.
13366
13367 2008-12-31 Pedro Alves <pedro@codesourcery.com>
13368
13369 PR gdb/8812:
13370 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
13371
13372 2008-12-29 Pedro Alves <pedro@codesourcery.com>
13373
13374 PR gdb/7536:
13375 * gdb.base/radix.exp: Add tests to ensure invalid input radices
13376 and unsupported output radices are really rejected.
13377
13378 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13379
13380 * gdb.cp/punctuator.exp: Backslash the '$' signs.
13381
13382 2008-12-22 Tom Tromey <tromey@redhat.com>
13383
13384 * gdb.cp/punctuator.exp: New file.
13385
13386 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13387
13388 * gdb.base/completion.exp (Completing non-existing component): New test.
13389
13390 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13391
13392 Fix for PR gdb/8648.
13393 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
13394 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
13395 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
13396 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
13397
13398 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13399
13400 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
13401
13402 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
13403
13404 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
13405 compiler actually generate code at the expected line number.
13406
13407 2008-12-15 Jie Zhang <jie.zhang@analog.com>
13408
13409 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
13410
13411 2008-12-12 Tom Tromey <tromey@redhat.com>
13412
13413 * gdb.base/commands.exp (redefine_hook_test): New proc.
13414 Call it.
13415
13416 2008-12-11 Tom Tromey <tromey@redhat.com>
13417
13418 * gdb.base/macscp.exp: New regression test.
13419
13420 2008-12-11 Tom Tromey <tromey@redhat.com>
13421
13422 * gdb.base/macscp.exp: Print "address.addr".
13423 * gdb.base/macscp1.c (struct outer): New struct.
13424 (address): New global.
13425
13426 2008-12-09 Tom Tromey <tromey@redhat.com>
13427
13428 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
13429 Call it.
13430
13431 2008-12-04 Doug Evans <dje@google.com>
13432
13433 * gdb.server/ext-run.exp: Relax regexp for init program.
13434
13435 2008-12-03 Tristan Gingold <gingold@adacore.com>
13436
13437 * gdb.base/macscp.exp: Generate an object file during compilation
13438 to work around Darwin dsymutil limitations.
13439
13440 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13441
13442 Test resolving external references to TLS variables.
13443 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
13444 FILE2_THREAD_LOCAL.
13445 (testfile2, srcfile2): New variables.
13446 * gdb.threads/tls.c (file2_thread_local)
13447 (function_referencing_file2_thread_local): New.
13448 * gdb.threads/tls2.c: New file.
13449
13450 2008-11-28 Joel Brobecker <brobecker@adacore.com>
13451
13452 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
13453 rather than integer, as integer might not be big enough when
13454 on 64bit targets.
13455
13456 2008-11-27 Jerome Guitton <guitton@adacore.com>
13457
13458 * gdb.cp/formatted-ref.exp: Add equality test.
13459 * gdb.ada/formatted_ref.exp: Ditto.
13460
13461 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13462
13463 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
13464 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
13465
13466 2008-11-20 Andreas Schwab <schwab@suse.de>
13467
13468 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
13469 matching syscall entry point.
13470 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13471 (tcatch_vfork_then_child_follow): Likewise. Finish through
13472 vfork even if we stopped at the syscall trampoline.
13473
13474 2008-11-20 Doug Evans <dje@google.com>
13475
13476 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
13477
13478 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
13479
13480 * gdb.arch/ppc-dfp.exp: New file.
13481 * gdb.arch/ppc-dfp.c: New file.
13482
13483 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13484
13485 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
13486
13487 2008-11-17 Doug Evans <dje@google.com>
13488
13489 * gdb.mi/mi-syn-frame.exp: Update expected output.
13490 * gdb.mi/mi2-syn-frame.exp: Update expected output.
13491
13492 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
13493
13494 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
13495 "thread N" results in =thread-selected.
13496 * lib/mi-support (mi_run_cmd, mi_expect_stop)
13497 (mi_send_resuming_command_raw): Be prepared for
13498 =thread-selected.
13499
13500 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
13501
13502 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
13503 * lib/mi-support.exp: Likewise.
13504
13505 2008-11-16 Joel Brobecker <brobecker@adacore.com>
13506
13507 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
13508 commands from the expected output for "help catch".
13509
13510 2008-11-15 Joel Brobecker <brobecker@adacore.com>
13511
13512 * gdb.ada/int_deref.exp: New testcase.
13513
13514 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
13515
13516 * gdb.mi/gdb2549.exp: New file.
13517
13518 2008-11-11 Doug Evans <dje@google.com>
13519
13520 * gdb.base/callexit.exp: New file.
13521 * gdb.base/callexit.c: New file.
13522
13523 2008-11-10 Doug Evans <dje@google.com>
13524
13525 * lib/gdb.exp (GDBFLAGS): Move -nx ...
13526 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
13527 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
13528 (default_gdb_start,default_gdb_exit): Ditto.
13529 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
13530 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
13531 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
13532 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
13533 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
13534 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
13535
13536 2008-11-03 Andreas Schwab <schwab@suse.de>
13537
13538 * gdb.base/hashline2.exp: Fix typo.
13539 * gdb.base/hashline3.exp: Likewise.
13540
13541 2008-10-30 Tom Tromey <tromey@redhat.com>
13542
13543 * gdb.base/pointers.exp: Add test.
13544 * gdb.base/pointers.c (k, S): New typedefs.
13545 (instance): New global.
13546
13547 2008-10-30 Andreas Schwab <schwab@suse.de>
13548
13549 * gdb.base/args.exp: Add tests for newlines.
13550
13551 2008-10-30 Joel Brobecker <brobecker@adacore.com>
13552
13553 gdb.base/foll-exec.exp: Update the expected output of a couple
13554 of "info breakpoints" tests.
13555
13556 2008-10-28 Tom Tromey <tromey@redhat.com>
13557
13558 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
13559
13560 2008-10-24 Pedro Alves <pedro@codesourcery.com>
13561
13562 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
13563 gdb_start_cmd.
13564 Use runto_main before any test that requires execution.
13565
13566 2008-10-23 Pedro Alves <pedro@codesourcery.com>
13567
13568 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
13569 instead of SIGINT.
13570
13571 2008-10-22 Joel Brobecker <brobecker@adacore.com>
13572
13573 * gdb.base/completion.exp: Update expected output following
13574 the addition of the "info tasks" command.
13575
13576 2008-10-22 Tom Tromey <tromey@redhat.com>
13577
13578 * gdb.base/exprs.exp (test_expr): Add test for string
13579 concatenation.
13580
13581 2008-10-19 Pedro Alves <pedro@codesourcery.com>
13582
13583 * configure.ac: Output gdb.python/Makefile.
13584 * configure: Regenerate.
13585 * gdb.python/Makefile.in: New.
13586
13587 2008-10-16 Joel Brobecker <brobecker@adacore.com>
13588
13589 * gdb.base/foll-fork.exp: Adjust the expected output to match
13590 the new description for fork/vfork catchpoints in the "info
13591 breakpoints" output.
13592
13593 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13594
13595 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
13596
13597 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13598
13599 * gdb.python/python-value.c: New file.
13600 * gdb.python/python-value.exp: New file.
13601
13602 2008-10-15 Pedro Alves <pedro@codesourcery.com>
13603
13604 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
13605
13606 2008-10-15 Denis Pilat <denis.pilat@st.com>
13607
13608 * gdb.cp/mb-ctor.exp: Fix a typo.
13609
13610 2008-10-09 Tom Tromey <tromey@redhat.com>
13611
13612 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
13613 'fprintf' and 'stderr'.
13614
13615 2008-10-07 Joel Brobecker <brobecker@adacore.com>
13616
13617 * gdb.ada/ref_tick_size.exp: New testcase.
13618
13619 2008-10-06 Doug Evans <dje@google.com>
13620
13621 * gdb.dwarf2/dw2-cu-size.exp: New file.
13622 * gdb.dwarf2/dw2-cu-size.S: New file.
13623
13624 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
13625 .Ltype_int for clarity.
13626
13627 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13628
13629 PR gdb/2384:
13630 * gdb.cp/gdb2384.exp: Extended to test more cases.
13631 * gdb.cp/gdb2384.cc: Likewise.
13632 * gdb.cp/gdb2384-base.h: Likewise.
13633 * gdb.cp/gdb2384-base.cc: Likewise.
13634
13635 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13636
13637 * gdb.base/maint.exp (maint print type): Remove printing
13638 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
13639
13640 2008-09-30 Tom Tromey <tromey@redhat.com>
13641
13642 * gdb.base/macscp.exp: Add completion tests.
13643 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
13644 (TWENTY_THREE): Likewise.
13645 (FORTY_EIGHT): Likewise.
13646
13647 2008-09-30 Tom Tromey <tromey@redhat.com>
13648
13649 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
13650 everywhere.
13651 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
13652
13653 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13654
13655 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
13656 testcase is derived from. Fix racy dependency on an expected PID
13657 number. No longer support the testcase on Linux kernel 2.4.x.
13658
13659 2008-09-27 Tom Tromey <tromey@redhat.com>
13660
13661 * gdb.base/macscp.exp: Add tests for stringification, splicing,
13662 and varargs.
13663
13664 2008-09-22 Pedro Alves <pedro@codesourcery.com>
13665
13666 * lib/mi-support.exp (mi_expect_interrupt): New.
13667 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
13668 from gdb.mi/mi-nonstop.exp.
13669 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
13670 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
13671 lib/mi-support.exp.
13672 Use mi_check_thread_states throughout. Avoid ".*" and do not
13673 require an anchor after -exec-run.
13674
13675 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
13676
13677 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
13678 stop is pending. Avoid ".*" when two stops are pending.
13679 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
13680 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
13681 newlines in fullnames.
13682 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
13683 (mi_expect_stop): Update comments. Only anchor in sync mode.
13684 Do not match newlines.
13685 (mi_send_resuming_command_raw): Always return status.
13686 (mi_get_stop_line): Do not match more than one line by accident.
13687 Only anchor in sync mode.
13688 (mi_run_inline_test): If -exec-next fails, give up.
13689
13690 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13691
13692 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
13693 on SPU.
13694
13695 2008-09-10 Joel Brobecker <brobecker@adacore.com>
13696
13697 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
13698
13699 2008-09-10 Joel Brobecker <brobecker@adacore.com>
13700
13701 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
13702 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
13703 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
13704 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
13705 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
13706 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
13707 gdb.ada/interface.exp, gdb.ada/null_array.exp,
13708 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
13709 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
13710 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
13711 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
13712 Include the "= " sequence in the expected output of print tests.
13713
13714 2008-09-10 Joel Brobecker <brobecker@adacore.com>
13715
13716 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
13717 description for boolean types.
13718
13719 2008-09-09 Pedro Alves <pedro@codesourcery.com>
13720
13721 * gdb.base/hook-stop-continue.c: New.
13722 * gdb.base/hook-stop-continue.exp: New.
13723
13724 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
13725
13726 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
13727
13728 2008-09-08 Jerome Guitton <guitton@adacore.com>
13729
13730 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
13731 (stack_check_probe_2, stack_check_probe_loop_1)
13732 (stack_check_probe_loop_2): New functions.
13733 (main): Add call to these new functions.
13734 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
13735 functions, check that the breakpoint is inserted at the appropriate
13736 location.
13737 (insert_breakpoint): Slightly refine this procedure so that it can
13738 be called several times in the test.
13739
13740 2008-09-08 Jerome Guitton <guitton@adacore.com>
13741
13742 * gdb.base/stack-checking.c: New file.
13743 * gdb.base/stack-checking.exp: New file.
13744
13745 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13746
13747 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
13748 * gdb.arch/altivec-regs.exp: Likewise.
13749 * gdb.arch/vsx-regs.exp: Likewise.
13750
13751 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13752
13753 * gdb.arch/ppc-fp.exp: New file.
13754 * gdb.arch/ppc-fp.c: New file.
13755
13756 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13757
13758 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
13759 lest gcc-4.3.1 optimizes the whole thing away.
13760
13761 2008-09-04 Michael Snyder <msnyder@vmware.com>
13762
13763 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
13764 as "at" (for non-debug functions such as _start).
13765
13766 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13767
13768 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
13769 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
13770 software watchpoints.
13771 * gdb.base/watch_thread_num.exp: Likewise.
13772
13773 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
13774
13775 * gdb.arch/i386-bp_permanent.exp: New test.
13776
13777 2008-08-24 Tom Tromey <tromey@redhat.com>
13778
13779 * gdb.base/maint.exp: Update "maint print type".
13780
13781 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
13782
13783 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
13784 support. Adjust the order of "*running" notifications.
13785 * gdb.mi/non-stop.c: Don't cast from int to void* and
13786 back.
13787
13788 2008-08-20 Mark Kettenis <kettenis@gnu.org>
13789
13790 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
13791 expect to find it in the "info frame" output.
13792
13793 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
13794
13795 * gdb.base/interp.exp: Always consume both prompts.
13796
13797 2008-08-20 Pedro Alves <pedro@codesourcery.com>
13798
13799 * gdb.base/pending.exp: Test pending breakpoints without symbols
13800 loaded.
13801
13802 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13803
13804 * lib/mi-support.exp (mi_expect_stop): Produce
13805 more details on failures.
13806 * gdb.mi/mi-nonstop.exp: New.
13807 * gdb.mi/non-stop.c: New.
13808
13809 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13810
13811 * gdb.mi/mi-async.exp: Use 'set target-async'.
13812 * lib/mi-support.exp: Use 'set/show target-async'.
13813
13814 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
13815
13816 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
13817
13818 2008-08-17 Tom Tromey <tromey@redhat.com>
13819
13820 * gdb.base/help.exp (help catch): Rewrite.
13821
13822 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13823
13824 * gdb.base/define.exp: Test indented command documentation.
13825 * gdb.python/python.exp: Test indented multi-line command.
13826
13827 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
13828
13829 * testsuite/gdb.arch/vsx-regs.c: New source file.
13830 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
13831 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
13832
13833 2008-08-14 Tom Tromey <tromey@redhat.com>
13834
13835 * gdb.base/macscp.exp: Add regression test for "macro define" or
13836 "macro undef" with no arguments.
13837
13838 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13839
13840 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
13841
13842 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13843
13844 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
13845
13846 2008-08-06 Tom Tromey <tromey@redhat.com>
13847
13848 * gdb.python/python.exp: New file.
13849
13850 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13851
13852 Fix for PR gdb/1543.
13853 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
13854 $LOCATION.
13855 (location): New variable.
13856 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
13857 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
13858 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
13859 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
13860 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
13861 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
13862 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
13863 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
13864 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
13865 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
13866 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
13867 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
13868 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
13869 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
13870 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
13871 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
13872 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
13873 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
13874 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
13875 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
13876 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
13877 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
13878 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
13879 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
13880 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
13881 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
13882 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
13883 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
13884 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
13885 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
13886 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
13887 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
13888 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
13889 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
13890 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
13891 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
13892 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
13893 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
13894 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
13895 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
13896 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
13897 gdb.base/type-opaque.exp, gdb.base/until.exp,
13898 gdb.base/value-double-free.c, gdb.base/varargs.exp,
13899 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
13900 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
13901 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
13902 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
13903 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
13904 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
13905 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
13906 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
13907 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
13908 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
13909 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
13910 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
13911 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
13912 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
13913 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
13914 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
13915 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
13916 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
13917 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
13918 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13919 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
13920 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
13921 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
13922 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13923 gdb.pascal/types.exp, gdb.stabs/weird.exp,
13924 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
13925 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
13926 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
13927 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
13928 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
13929 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
13930 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13931 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13932 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13933 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13934 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13935 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
13936 lib/mi-support.exp, lib/trace-support.exp: Remove reference
13937 to bug-gdb@prep.ai.mit.edu .
13938
13939 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
13940
13941 * lib/mi-support.exp (mi_load_shlibs): New.
13942 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
13943
13944 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
13945
13946 * lib/mi-support.exp (get_mi_thread_list)
13947 (check_mi_and_console_threads): New, moved from ...
13948 * gdb.mi/mi-pthread.exp: ...here.
13949 * gdb.mi/gdb669.exp (get_mi_thread_list)
13950 (check_mi_and_console_threads): Delete.
13951 * gdb.mi/mi2-pthread.exp: Likewise.
13952
13953 2008-07-28 Tom Tromey <tromey@redhat.com>
13954
13955 * Makefile.in (just-check): Remove. Move body to...
13956 (check): ... here.
13957
13958 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13959
13960 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
13961 Add a test for duplicated SIGINTs.
13962
13963 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13964
13965 * gdb.threads/schedlock.exp (get_args): Update to work for any
13966 value of NUM.
13967 (Top level): Report the number of threads that did not resume.
13968
13969 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13970
13971 * gdb.dwarf2/dw2-compressed.S: Also define __start.
13972
13973 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13974
13975 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
13976 non-MI prompt.
13977
13978 2008-07-26 Tom Tromey <tromey@redhat.com>
13979
13980 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
13981 (function_struct, function_struct_ptr): New globals.
13982 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
13983 function pointer in a struct.
13984
13985 2008-07-26 Tom Tromey <tromey@redhat.com>
13986
13987 * gdb.base/macscp.exp: Add test for macro lexing bug.
13988
13989 2008-07-18 Tom Tromey <tromey@redhat.com>
13990
13991 * gdb.base/macscp.exp: Add macro tests.
13992
13993 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13994
13995 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
13996
13997 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13998
13999 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
14000
14001 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
14002
14003 * gdb.cp/class2.exp: fix for failure on spu-elf
14004
14005 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14006
14007 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
14008
14009 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14010
14011 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
14012
14013 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
14014
14015 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
14016
14017 2008-07-11 Kevin Buettner <kevinb@redhat.com>
14018
14019 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
14020 of regexp to account for changes made to GDB in the printing of
14021 byte vectors.
14022
14023 2008-07-11 Tom Tromey <tromey@redhat.com>
14024
14025 * gdb.base/completion.exp: Add 'help' completion test.
14026
14027 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14028
14029 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
14030
14031 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14032
14033 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
14034
14035 2008-07-09 Pedro Alves <pedro@codesourcery.com>
14036
14037 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
14038
14039 2008-07-09 Pedro Alves <pedro@codesourcery.com>
14040
14041 * gdb.base/fullname.exp: Restore pwd if compiling failed.
14042
14043 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14044
14045 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
14046
14047 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14048
14049 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
14050 previous commit. Add a comment.
14051
14052 2008-06-28 Pedro Alves <pedro@codesourcery.com>
14053
14054 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
14055
14056 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14057
14058 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
14059
14060 2008-06-27 Pedro Alves <pedro@codesourcery.com>
14061
14062 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
14063 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
14064 compiling an executable, link in an object that forces unbuffered
14065 output.
14066 * lib/set_unbuffered_mode.c: New file.
14067
14068 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14069
14070 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
14071
14072 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
14073
14074 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
14075 mi_expect_stop.
14076 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
14077 Demand that *running is output.
14078 (detect_async): Perform checking every time.
14079 (mi_send_resuming_command): Extract everything into...
14080 (mi_send_resuming_command_raw): ...this.
14081 (mi_expect_stop): Don't accept any output before *stopped.
14082
14083 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
14084
14085 Robustify mi-simplerun.
14086 * gdb.mi/basics.c (main): Add a call to sleep.
14087 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
14088 * gdb.mi/mi2-cli.exp: Likewise.
14089 * gdb.mi/mi-break.exp: Likewise.
14090
14091 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
14092
14093 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
14094
14095 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14096
14097 * gdb.mi/mi-console.exp: Adjust.
14098 * gdb.mi/mi-syn-frame.exp: Adjust.
14099 * gdb.mi/mi2-console.exp: Adjust.
14100 * gdb.mi/mi2-syn-frame.exp: Adjust.
14101 * lib/mi-support.exp (mi_run_cmd): Adjust.
14102 (mi_send_resuming_command): Adjust.
14103
14104 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14105
14106 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
14107 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
14108 testing of stopped.
14109 * gdb.mi/mi2-syn-frame.exp: Likewise.
14110 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
14111 (async, detect_async): New.
14112 (mi_expect_stop, mi_continue_to_line): Adjust expectation
14113 depending on if we're running in sync or async mode.
14114
14115 2008-06-09 Tom Tromey <tromey@redhat.com>
14116
14117 * gdb.base/completion.exp: New tests for field name completion
14118 with spaces, and field name completion with '->'.
14119
14120 2008-06-06 Tom Tromey <tromey@redhat.com>
14121
14122 * gdb.base/break1.c (struct some_struct): New struct.
14123 (values): New global.
14124 * gdb.base/completion.exp: Add field name completion test.
14125
14126 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14127
14128 * gdb.cp/call-c.exp: Test for incorrect handling of reference
14129 to pointer.
14130 * gdb.cp/call-c.cc: Likewise.
14131
14132 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
14133
14134 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
14135 annotation.
14136
14137 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14138 Pedro Alves <pedro@codesourcery.com>
14139
14140 * gdb.threads/execl.c, gdb.threads/execl1.c,
14141 gdb.threads/execl.exp: New tests.
14142
14143 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
14144 Daniel Jacobowitz <dan@codesourcery.com>
14145
14146 * gdb.cp/exception.exp: Activate test, make it work with pending
14147 catchpoints.
14148
14149 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14150
14151 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
14152
14153 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
14154
14155 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
14156 now printed.
14157 * gdb.mi/mi2-var-cmd.exp: Likewise.
14158
14159 2008-05-27 Andreas Schwab <schwab@suse.de>
14160
14161 * gdb.base/frame-args.exp: Handle arguments that are optimized
14162 out.
14163
14164 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
14165
14166 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
14167 quiet for ppc32 and group options into a single variable.
14168
14169 2008-05-23 Joel Brobecker <brobecker@adacore.com>
14170
14171 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
14172 of zero-size elements.
14173 * gdb.ada/null_array.exp: Test printing this new array.
14174
14175 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14176
14177 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
14178
14179 2008-05-21 Joel Brobecker <brobecker@adacore.com>
14180
14181 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
14182 of the "finish" command.
14183
14184 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
14185
14186 * gdb.base/annota1.exp: Test for new annotation.
14187
14188 2008-05-16 Pedro Alves <pedro@codesourcery.com>
14189
14190 * gdb.base/fixsection.exp: New file.
14191 * gdb.base/fixsection0.c: New file.
14192 * gdb.base/fixsection1.c: New file.
14193
14194 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14195
14196 * gdb.base/annota1.exp: Accept printf@... in place of printf.
14197 * gdb.base/annota3.exp: Likewise.
14198
14199 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
14200
14201 * gdb.base/watch_thread_num.exp: Don't run tests that require
14202 watchpoints if the target doesn't support them.
14203
14204 2008-05-12 Doug Evans <dje@google.com>
14205
14206 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
14207
14208 2008-05-09 Joel Brobecker <brobecker@adacore.com>
14209
14210 * gdb.ada/assign_1.exp: New testcase.
14211
14212 2008-05-09 Doug Evans <dje@google.com>
14213
14214 * gdb.base/find.exp: New file.
14215 * gdb.base/find.c: New file.
14216
14217 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
14218
14219 * gdb.base/commands.exp (watchpoint_command_test): Handle
14220 gdb,no_hardware_watchpoints.
14221 * gdb.base/float.exp: Allow ARM targets without floating point.
14222 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
14223
14224 2008-05-06 Jerome Guitton <guitton@adacore.com>
14225 Joel Brobecker <brobecker@adacore.com>
14226
14227 * gdb.ada/lang_switch: New test program.
14228 * gdb.ada/lang_switch.exp: New testcase.
14229
14230 2008-05-05 Doug Evans <dje@google.com>
14231
14232 * gdb.base/help.exp (disassemble): Update expected help text.
14233
14234 2008-05-04 Pedro Alves <pedro@codesourcery.com>
14235
14236 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
14237
14238 2008-05-04 Pedro Alves <pedro@codesourcery.com>
14239
14240 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
14241 different times.
14242
14243 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14244
14245 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
14246 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
14247 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
14248 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
14249
14250 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
14251
14252 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
14253 notification to appear.
14254
14255 2008-05-04 Daniel Jacobowitz <dan@debian.org>
14256
14257 * gdb.base/fullname.c: New file.
14258 * gdb.base/fullname.exp: New file.
14259 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
14260
14261 2008-05-03 Pedro Alves <pedro@codesourcery.com>
14262
14263 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
14264 expressions with macros.
14265
14266 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14267
14268 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
14269
14270 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
14271
14272 * gdb.base/completion.exp: Handle lack of other symbols beginning
14273 with "a".
14274
14275 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
14276
14277 2008-05-02 Jim Blandy <jimb@codesourcery.com>
14278
14279 * gdb.asm/asmsrc1.s: Add scratch space.
14280
14281 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14282 Daniel Jacobowitz <dan@codesourcery.com>
14283
14284 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
14285 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
14286 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
14287
14288 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
14289
14290 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
14291
14292 2008-05-01 Joel Brobecker <brobecker@adacore.com>
14293
14294 * gdb.base/info-target.exp: New testcase.
14295
14296 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14297
14298 * gdb.cp/hang.exp: Use .cc instead of .C.
14299 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
14300 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
14301
14302 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14303
14304 * gdb.base/gdb1250.exp: Remove perror.
14305 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
14306
14307 2008-04-30 Pedro Alves <pedro@codesourcery.com>
14308
14309 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
14310 .2byte.
14311
14312 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
14313
14314 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
14315 (maybe_kfail): New.
14316
14317 2008-04-25 Pedro Alves <pedro@codesourcery.com>
14318
14319 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
14320
14321 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14322
14323 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
14324 * gdb.mi/mi2-syn-frame.exp: Likewise.
14325 * lib/mi-support.exp: Likewise.
14326
14327 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14328
14329 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
14330 to specify regexp for the location to stop at.
14331 * gdb.base/break-always.c: New.
14332 * gdb.base/break-always.exp: New.
14333
14334 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14335
14336 * lib/mi-support.exp (mi_runto_helper): Adjust
14337 for the original-location field.
14338 (mi_create_breakpoint, mi_list_breakpoints): New.
14339 * gdb.mi/mi-break.exp: Adjust.
14340 * gdb.mi/mi2-break.exp: Adjust.
14341 * gdb.mi/mi-pending.exp: Adjust.
14342 * gdb.mi/mi-simplerun.exp: Adjust.
14343 * gdb.mi/mi2-simplerun.exp: Adjust.
14344 * gdb.mi/mi-syn-frame.exp: Adjust.
14345 * gdb.mi/mi2-syn-frame.exp: Adjust.
14346 * gdb.mi/mi-until.exp: Adjust.
14347 * gdb.mi/mi2-until.exp: Adjust.
14348 * gdb.mi/mi-var-display.exp: Adjust.
14349 * gdb.mi/mi2-var-display.exp: Adjust.
14350 * gdb.mi/mi-watch.exp: Adjust.
14351 * gdb.mi/mi2-watch.exp: Adjust.
14352
14353 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
14354
14355 * aclocal.m4: Add override.m4.
14356 * configure: Regenerate.
14357
14358 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
14359
14360 * gdb.mi/var-cmd.c (do_at_tests): Verify that
14361 '-var-update --all-values' reports new value even the type
14362 of a variable object has changed.
14363
14364 2008-04-18 Craig Silverstein <csilvers@google.com>
14365
14366 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
14367 files.
14368
14369 2008-04-18 Joel Brobecker <brobecker@adacore.com>
14370
14371 * gdb.ada/atomic_enum: New test program.
14372 * gdb.ada/atomic_enum.exp: New testcase.
14373
14374 2008-04-17 Doug Evans <dje@google.com>
14375
14376 * gdb.opt/Makefile.in: Fix whitespace.
14377
14378 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
14379
14380 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
14381
14382 2008-04-17 Doug Evans <dje@google.com>
14383
14384 * gdb.base/hashline1.exp: New testcase.
14385 * gdb.base/hashline2.exp: New testcase.
14386 * gdb.base/hashline2.exp: New testcase.
14387
14388 2008-04-17 Pedro Alves <pedro@codesourcery.com>
14389
14390 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
14391
14392 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
14393
14394 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
14395 temporary breakpoint to match "Temporary breakpoint".
14396 * gdb.base/break.exp (delete_breakpoints): Likewise.
14397 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
14398 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
14399 * gdb.base/display.exp: Likewise.
14400 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
14401 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
14402 * gdb.base/restore.exp (restore_tests): Likewise.
14403 * gdb.base/sepdebug.exp: Likewise.
14404 * gdb.base/watchpoint.exp: Likewise.
14405 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
14406 * gdb.mi/mi-pending.exp: Likewise.
14407 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
14408 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
14409 * gdb.mi/mi-var-cmd.exp: Likewise.
14410 * gdb.mi/mi-var-display.exp: Likewise.
14411 * gdb.mi/mi2-cli.exp: Likewise.
14412 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
14413 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
14414 * gdb.mi/mi2-var-display.exp: Likewise.
14415 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
14416 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
14417 new "disp" field.
14418 (mi_expect_stop): Move after_reason argument to be really after
14419 reason. This is to support fix for PR2424.
14420
14421 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14422
14423 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
14424
14425 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
14426
14427 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
14428 field. Add more floating varobj tests.
14429 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
14430 field.
14431 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
14432 (main): Call do_at_tests.
14433 * lib/mi-support.exp (mi_create_floating_varobj)
14434 (mi_varobj_update_with_type_change): New.
14435
14436 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
14437
14438 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
14439 option of -var-evaluate-expression.
14440 * gdb.mi/mi2-var-display.exp: Likewise.
14441
14442 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
14443
14444 Introduce test setup helpers.
14445 * lib/gdb.exp (build_executable, clean_restart)
14446 (prepare_for_testing): New.
14447 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
14448 * gdb.base/return.exp: Likewise.
14449 * gdb.base/ending-run.exp: Likewise.
14450
14451 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
14452
14453 * gdb.mi/mi-async.exp: New test for asynchronous Machine
14454 Interface (MI) responses.
14455
14456 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
14457
14458 * gdb.cp/breakpoint.cc: New code to test conditions involving
14459 member variables.
14460 * gdb.cp/breakpoint.exp: Test condition involving member
14461 variables.
14462
14463 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
14464
14465 * lib/mi-support.exp (mi_expect_stop): New.
14466 (mi_run_cmd): Change the
14467 token. Use mi_send_resuming_command, use
14468 mi_expect_stop.
14469 (mi_execute_to_helper): Rename to mi_execute_to.
14470 (mi_send_resuming_command): Add more error patterns.
14471 (mi_wait_for_stop): Renamed to...
14472 (mi_get_stop_line): ...this.
14473 (mi_run_inline_test): Adjust.
14474
14475 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
14476 * gdb.mi/mi-console.exp: Likewise.
14477 * gdb.mi/mi-pending.exp: Likewise.
14478 * gdb.mi/mi-simplerun.exp: Likewise.
14479 * gdb.mi/mi-stack.exp: Likewise.
14480 * gdb.mi/mi-stepi.exp: Likewise.
14481 * gdb.mi/mi-syn-frame.exp: Add comment.
14482 * gdb.mi/mi-until.exp: Likewise.
14483 * gdb.mi/mi-var-display.exp: Likewise.
14484 * gdb.mi/mi-watch.exp: Likewise.
14485 * gdb.mi/mi2-cli.exp: Likewise.
14486 * gdb.mi/mi2-console.exp: Likewise.
14487 * gdb.mi/mi2-simplerun.exp: Likewise.
14488 * gdb.mi/mi2-stack.exp: Likewise.
14489 * gdb.mi/mi2-stepi.exp: Likewise.
14490 * gdb.mi/mi2-until.exp: Likewise.
14491 * gdb.mi/mi2-var-display.exp: Likewise.
14492 * gdb.mi/mi2-watch.exp: Likewise.
14493
14494 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14495
14496 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
14497
14498 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
14499
14500 2008-04-04 Pedro Alves <pedro@codesourcery.com>
14501
14502 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
14503 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
14504 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14505 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
14506 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
14507 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
14508 expect an mi error duplicated in stderr.
14509
14510 2008-04-03 Joel Brobecker <brobecker@adacore.com>
14511
14512 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
14513 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
14514 Add a couple of tests that verify the behavior when the new setting
14515 is set to "cancel" and "all".
14516 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
14517 "ask" before we start the testing.
14518
14519 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
14520
14521 * gdb.cp/casts.cc: Add class reference variables.
14522 * gdb.cp/casts.exp: New test cases for up/down casting references.
14523
14524 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
14525
14526 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
14527 instead of beginning to make an extra test pass.
14528 * gdb.mi/mi2-var-display.exp: Likewise.
14529
14530 2008-03-31 Maciej W. Rozycki <macro@mips.com>
14531
14532 * gdb.base/break.exp: Mark failures as such. Fix formatting.
14533
14534 2008-03-31 Markus Deuling <deuling@de.ibm.com>
14535 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14536
14537 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
14538 value. Add xfail for older kernels.
14539
14540 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
14541
14542 Bring mi-support in line with gdb.exp.
14543 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
14544 (mi_gdb_start): New function.
14545
14546 2008-03-28 Maciej W. Rozycki <macro@mips.com>
14547
14548 * gdb.mi/mi-var-cmd.exp: Fix a typo.
14549
14550 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14551
14552 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
14553 * gdb.mi/mi2-var-display.exp: Likewise.
14554
14555 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14556
14557 * lib/mi-support.exp (mi_create_varobj_checked): New.
14558 (mi_list_varobj_children): Allow to check for a
14559 value.
14560 (mi_list_array_varobj_children): New.
14561
14562 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
14563 and mi_list_varobj_children, as opposed to hardcoding
14564 expected strings.
14565 * gdb.mi/gdb701.exp: Likewise.
14566 * gdb.mi/gdb792.exp: Likewise.
14567 * gdb.mi/mi-var-block.exp: Likewise.
14568 * gdb.mi/mi-var-cmd.exp: Likewise.
14569 * gdb.mi/mi-var-invalidate.exp: Likewise.
14570 * gdb.mi/mi2-var-block.exp: Likewise.
14571 * gdb.mi/mi2-var-child.exp: Likewise.
14572 * gdb.mi/mi2-var-cmd.exp: Likewise.
14573 * gdb.mi/mi2-var-display.exp: Likewise.
14574
14575 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14576
14577 Fix random false FAILs on i386.
14578 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
14579
14580 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14581
14582 PR gdb/544
14583 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
14584
14585 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14586
14587 PR gdb/544
14588 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
14589
14590 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14591
14592 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
14593 fixed PR gdb/544.
14594
14595 2008-03-21 Pedro Alves <pedro@codesourcery.com>
14596
14597 * gdb.threads/fork-child-threads.exp: Test next over fork.
14598
14599 2008-03-21 Chris Demetriou <cgd@google.com>
14600
14601 * gdb.base/break.exp (rbreak junk): New test for rbreak
14602 "Junk at end of arguments" issue.
14603
14604 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14605
14606 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
14607 *& to work on created array elements.
14608 (Top level): Test print $pc with a file. Test string operations
14609 without a target.
14610 * gdb.base/ptype.exp: Do not expect *& to work on created array
14611 elements.
14612
14613 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14614
14615 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14616 gdb.threads/staticthreads.exp: Update exit query.
14617
14618 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
14619
14620 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
14621
14622 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
14623
14624 * gdb.base/watchpoint.c (global_ptr, func4): New.
14625 (main): Call func4.
14626 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
14627 (test_inaccessible_watchpoint): New.
14628
14629 2008-02-29 Maciej W. Rozycki <macro@mips.com>
14630
14631 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
14632 select the largest.
14633
14634 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
14635
14636 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
14637 frames-invalid annotations.
14638
14639 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
14640
14641 * gdb.base/assign.exp: avoid same output for different tests.
14642
14643 2008-02-27 Doug Evans <dje@google.com>
14644
14645 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
14646 for bug 1738.
14647 (breakpoint_to_handler_entry): Ditto.
14648
14649 2008-02-27 Joel Brobecker <brobecker@adacore.com>
14650
14651 * gdb.base/ending-run.exp: Use the first line of code inside
14652 function body to test breakpoints.
14653 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
14654 location where the breakpoint is inserted when using the line
14655 where a function is declared. Fix typo in the description of
14656 one of the tests.
14657 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
14658
14659 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14660
14661 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
14662 tests.
14663
14664 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14665
14666 * gdb.base/args.exp: avoid same output for tests
14667 with single quotes.
14668
14669 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
14670
14671 * gdb.base/annota1.exp: Adjust for 'info break'
14672 format changes.
14673 * gdb.base/annota3.exp: Likewise.
14674 * gdb.base/break.exp: Likewise.
14675 * gdb.base/condbreak.exp: Likewise.
14676 * gdb.base/pending.exp: Likewise.
14677 * gdb.base/sepdebug.exp: Likewise.
14678 * gdb.base/unload.exp: Likewise.
14679 * gdb.cp/ovldbreak.exp: Likewise.
14680 * gdb.mi/mi-pending.exp: Likewise.
14681
14682 2008-02-07 Doug Evans <dje@google.com>
14683
14684 * gdb.cp/mb-inline.exp: New.
14685 * gdb.cp/mb-inline.h: New.
14686 * gdb.cp/mb-inline1.cc: New.
14687 * gdb.cp/mb-inline2.cc: New.
14688
14689 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
14690
14691 * gdb.pascal/floats.pas: New test program.
14692 * gdb.pascal/floats.exp: New testcase.
14693
14694 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14695
14696 * gdb.base/callfuncs.c (t_float_many_args): New function.
14697 (t_double_many_args): New function.
14698 * gdb.base/callfuncs.exp: Add tests for exceeding float
14699 and double parameters passed through the stack.
14700
14701 2008-02-05 Joel Brobecker <brobecker@adacore.com>
14702
14703 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
14704 gdb.ada/complete/foo.adb: New files.
14705 * gdb.ada/complete.exp: New testcase.
14706
14707 2008-02-03 Doug Evans <dje@google.com>
14708
14709 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
14710
14711 * gdb.cp/gdb2384.exp: New file.
14712 * gdb.cp/gdb2384.cc: New file.
14713 * gdb.cp/gdb2384-base.h: New file.
14714 * gdb.cp/gdb2384-base.cc: New file.
14715
14716 2008-02-02 Doug Evans <dje@google.com>
14717
14718 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
14719
14720 2007-02-01 Joel Brobecker <brobecker@adacore.com>
14721
14722 * gdb.ada/sym_print_name: New test program.
14723 * gdb.ada/sym_print_name.exp: New testcase.
14724
14725 2007-02-01 Joel Brobecker <brobecker@adacore.com>
14726
14727 * gdb.ada/nested/hello.adb: New file.
14728 * gdb.ada/nested.exp: New testcase.
14729 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
14730
14731 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14732
14733 * gdb.mi/basic.c (return_1): New function.
14734 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
14735 don't cause future evaluations of function to report
14736 creation of internal breakpoints.
14737
14738 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14739
14740 * gdb.mi/mi-break.exp (test_error): New.
14741 Call it.
14742
14743 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
14744
14745 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
14746 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
14747
14748 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14749
14750 * gdb.pascal/integers.pas: New test program.
14751 * gdb.pascal/integers.exp: New testcase.
14752
14753 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14754
14755 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
14756
14757 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
14758
14759 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
14760 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
14761
14762 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
14763
14764 * gdb.ada/formatted_ref: New test program.
14765 * gdb.ada/formatted_ref.exp: New testcase.
14766
14767 * gdb.cp/formatted-ref.cc: New file.
14768 * gdb.cp/formatted-ref.exp: New testcase.
14769
14770 2008-01-30 Joel Brobecker <brobecker@adacore.com>
14771
14772 * gdb.base/ptype.exp: Add testing of "ptype $pc".
14773
14774 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
14775
14776 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
14777 (test_file_list_exec_source_file): Update to new macro-info field.
14778
14779 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
14780
14781 * gdb.ada/exprs: New test program.
14782 * gdb.ada/exprs.exp: New testcase.
14783
14784 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14785
14786 * dfp-test.c (DELTA, DELTA_B): New definitions.
14787 (double_val1, double_val2, double_val3, double_val4, double_val5,
14788 double_val6, double_val7, double_val8, double_val9, double_val10,
14789 double_val11, double_val12, double_val13, double_val14, dec32_val1,
14790 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
14791 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
14792 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
14793 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
14794 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
14795 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
14796 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
14797 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
14798 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
14799 dec128_val16): New global variables.
14800 (decimal_dec128_align): New function.
14801 (decimal_mixed): Likewise.
14802 (decimal_many_args_dec32): Likewise.
14803 (decimal_many_args_dec64): Likewise.
14804 (decimal_many_args_dec128): Likewise.
14805 (decimal_many_args_mixed): Likewise.
14806 * dfp-test.exp: Add tests calling new inferior functions.
14807
14808 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14809
14810 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
14811 gdb.server/ext-run.exp: New files.
14812 * lib/gdbserver-support.exp (gdbserver_download): New.
14813 (gdbserver_start): New. Update gdbserver expected
14814 output.
14815 (gdbserver_spawn): Use them.
14816 (gdbserver_start_extended): New.
14817
14818 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14819
14820 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
14821 Run on GNU/Linux.
14822 (do_exec_tests): Check for systems which do not support catchpoints.
14823 Do not match START.
14824 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
14825 Run on GNU/Linux. Enable verbose output.
14826 (check_fork_catchpoints): New.
14827 (explicit_fork_child_follow, catch_fork_child_follow)
14828 (tcatch_fork_parent_follow): Update expected messages.
14829 (do_fork_tests): Use check_fork_catchpoints.
14830 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
14831 Run on GNU/Linux. Enable verbose output.
14832 (check_vfork_catchpoints): New.
14833 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
14834 expected messages.
14835 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
14836
14837 2008-01-29 Jim Blandy <jimb@red-bean.com>
14838
14839 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
14840 host' errors.
14841 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
14842
14843 2008-01-29 Jim Blandy <jimb@red-bean.com>
14844
14845 * gdb.threads/sigthread.c: Use barriers to ensure that
14846 child_thread and child_thread_two are always initialized before we
14847 start to use them.
14848
14849 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
14850
14851 * gdb.base/watchpoint-solib.exp: New.
14852 * gdb.base/watchpoint-solib.c: New.
14853 * gdb.base/watchpoint-solib-shr.c: New.
14854
14855 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
14856
14857 * gdb.base/gdb1056.exp: Add unsigned integer test.
14858
14859 2008-01-28 Doug Evans <dje@google.com>
14860
14861 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
14862
14863 2008-01-27 Jim Blandy <jimb@codesourcery.com>
14864
14865 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
14866
14867 * gdb.base/expand-psymtabs.exp: Doc fix.
14868
14869 2008-01-26 Mark Kettenis <kettenis@gnu.org>
14870
14871 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
14872
14873 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
14874
14875 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
14876 -var-set-format.
14877
14878 2008-01-23 Chris Demetriou <cgd@google.com>
14879
14880 * gdb.threads/thread_events.c: New testcase source file.
14881 * gdb.threads/thread_events.exp: New testcase expect file.
14882
14883 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
14884
14885 * lib/gdb.exp: Add the variable octal.
14886
14887 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
14888 -var-set-format.
14889
14890 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
14891 Vladimir Prus <vladimir@codesourcery.com>
14892
14893 * gdb.base/float.exp: Allow missing floating point for m68k and
14894 PowerPC.
14895
14896 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
14897
14898 * gdb.mi/basics.c: Setup for testing breakpoints
14899 ignore count.
14900 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
14901 * gdb.mi/mi-cli.exp: Adjust.
14902 * gdb.mi/mi2-cli.exp: Adjust.
14903
14904 2008-01-17 Pedro Alves <pedro@codesourcery.com>
14905
14906 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
14907 and 'dummy_ptr' integer pointer. Initialize struct_declarations
14908 with dummy_ptr's address.
14909 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
14910 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
14911 all targets.
14912 * gdb.mi/mi2-var-child.exp: Likewise.
14913
14914 2008-01-09 Joel Brobecker <brobecker@adacore.com>
14915
14916 * gdb.ada/null_array: New test program.
14917 * gdb.ada/null_array.exp: New testcase.
14918
14919 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
14920
14921 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
14922 with required float modifiers.
14923
14924 2008-01-08 Joel Brobecker <brobecker@adacore.com>
14925
14926 * gdb.ada/funcall_param: New test program.
14927 * gdb.ada/funcall_param.exp: New testcase.
14928
14929 2008-01-08 Joel Brobecker <brobecker@adacore.com>
14930
14931 * gdb.ada/arrayparam: New test program.
14932 * gdb.ada/arrayparam.exp: New testcase.
14933
14934 2008-01-08 Joel Brobecker <brobecker@adacore.com>
14935
14936 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
14937 landed. Should also fix random failures in the test following it.
14938
14939 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
14940
14941 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
14942 for expressions with decimal float values.
14943 (test_dfp_conversions): New function to test casts to and from
14944 decimal float types.
14945 Call test_dfp_conversions.
14946 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
14947 elements.
14948 (main): Initialize ds.float4 and ds.double8 elements.
14949 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
14950 string to new error message.
14951 (d64_set_tests): Likewise.
14952 (d128_set_tests): Likewise.
14953 Add tests for expressions with decimal float variables. Add tests for
14954 conversions to and from decimal float types.
14955
14956 2008-01-05 Joel Brobecker <brobecker@adacore.com>
14957
14958 * gdb.ada/packed_tagged/comp_bug.adb: New file.
14959 * gdb.ada/packed_tagged.exp: New testcase.
14960
14961 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14962
14963 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
14964 gdb.ada/homonym/homonym_main.adb: New files.
14965 * gdb.ada/homonym.exp: New testcase.
14966
14967 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14968
14969 * gdb.ada/packed_array.exp: Add testing of references to
14970 a packed array.
14971
14972 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14973
14974 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
14975 New files.
14976 * gdb.ada/type_coercion.exp: New testcase.
14977
14978 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14979
14980 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
14981 gdb.ada/tagged/foo.adb: New file.
14982 * gdb.ada/tagged.exp: New testcase.
14983
14984 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14985
14986 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
14987 gdb.ada/ptype_field/foo.adb: New files.
14988 * gdb.ada/ptype_field.exp: New testcase.
14989
14990 2008-01-03 Joel Brobecker <brobecker@adacore.com>
14991
14992 * gdb.ada/print_pc.exp: New testcase.
14993
14994 2008-01-03 Joel Brobecker <brobecker@adacore.com>
14995
14996 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
14997 gdb.ada/taft_type/p.adb: New files.
14998 * gdb.ada/taft_type.exp: New testcase.
14999
15000 2008-01-03 Joel Brobecker <brobecker@adacore.com>
15001
15002 * gdb.ada/array_bounds/bar.adb: New file.
15003 * gdb.ada/array_bounds.exp: New testcase.
15004
15005 2008-01-03 Joel Brobecker <brobecker@adacore.com>
15006
15007 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
15008 gdb.ada/arrayptr/foo.adb: New files.
15009 * gdb.ada/arrayptr.exp: New testcase.
15010
15011 2008-01-03 Joel Brobecker <brobecker@adacore.com>
15012
15013 * gdb.base/set-lang-auto.exp: New testcase.
15014
15015 2008-01-03 Joel Brobecker <brobecker@adacore.com>
15016
15017 * gdb.ada/fun_addr/foo.adb: New file.
15018 * gdb.ada/fun_addr.exp: New testcase.
15019
15020 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15021
15022 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
15023 New files
15024
15025 2008-01-02 Joel Brobecker <brobecker@adacore.com>
15026
15027 * array_subscript_addr/p.adb: New file.
15028 * array_subscript_addr.exp: New testcase.
15029
15030 2008-01-02 Joel Brobecker <brobecker@adacore.com>
15031
15032 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
15033 New files.
15034 * gdb.ada/str_cmp_ref.exp: New testcase.
15035
15036 2008-01-01 Joel Brobecker <brobecker@adacore.com>
15037
15038 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
15039 gdb.ada/fun_in_declare/foo.adb: New files.
15040 * gdb.ada/fun_in_declare.exp: New testcase.
15041
15042 2008-01-01 Joel Brobecker <brobecker@adacore.com>
15043
15044 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
15045 gdb.ada/ref_param/pck.ads: New files.
15046 * gdb.ada/ref_param.exp: New testcase.
15047
15048 2008-01-01 Joel Brobecker <brobecker@adacore.com>
15049
15050 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
15051 gdb.ada/interface/foo.adb: New files.
15052 * gdb.ada/interface.exp: New testcase.
15053
15054 2007-12-31 Jim Blandy <jimb@codesourcery.com>
15055
15056 * gdb.base/multi-forks.exp: Consume all output from child
15057 processes before proceeding to next test.
15058
15059 2007-12-29 Jim Blandy <jimb@codesourcery.com>
15060
15061 * configure: Regenerated.
15062
15063 2007-12-27 Joel Brobecker <brobecker@adacore.com>
15064
15065 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
15066 gdb.ada/fixed_cmp/fixed.adb: New files.
15067 * gdb.ada/fixed_cmp.exp: New testcase.
15068
15069 2007-12-27 Joel Brobecker <brobecker@adacore.com>
15070
15071 * gdb.ada/boolean_expr.exp: New testcase.
15072
15073 2007-12-26 Jim Blandy <jimb@codesourcery.com>
15074
15075 * gdb.base/multi-forks.exp: Doc fix.
15076
15077 2007-12-26 Joel Brobecker <brobecker@adacore.com>
15078
15079 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15080 * gdb.ada/char_param.exp: Do not compile our test program with
15081 -gnata, this is unnecessary.
15082 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
15083
15084 2007-12-24 Joel Brobecker <brobecker@adacore.com>
15085
15086 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
15087 gdb.ada/print_chars/foo.adb: New files.
15088 * gdb.ada/print_chars.exp: New testcase.
15089
15090 2007-12-24 Joel Brobecker <brobecker@adacore.com>
15091
15092 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
15093 gdb.ada/char_param/foo.adb: New files.
15094 * gdb.ada/char_param.exp: New testcase.
15095
15096 2007-12-22 Jim Blandy <jimb@codesourcery.com>
15097
15098 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
15099 hard-coding source line numbers into the test.
15100 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
15101 gdb_get_line_number to find.
15102
15103 2007-12-22 Joel Brobecker <brobecker@adacore.com>
15104
15105 * gdb.base/ptype.c (highest): New struct type.
15106 (the_highest): New variable of that type.
15107 (main): Add dummy assignment to a field of variable the_highest.
15108 * gdb.base/ptype.exp: Test type printing of our new variable.
15109
15110 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
15111
15112 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
15113 and record first explicitly generated thread number.
15114 Use that thread number for thread specific watchpoint test.
15115 Add iteration number to repetitive tests.
15116
15117 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15118 Jim Blandy <jimb@codesourcery.com>
15119
15120 * gdb.base/expand-psymtabs.c: New testcase
15121 source file.
15122 * gdb.base/expand-psymtabs.exp: New testcase
15123 expect file.
15124
15125 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
15126
15127 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
15128 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
15129
15130 2007-12-17 Joel Brobecker <brobecker@adacore.com>
15131
15132 * gdb.ada/frame_args/foo.adb: New file.
15133 * gdb.ada/frame_args/pck.ads: New file.
15134 * gdb.ada/frame_args/pck.adb: New file.
15135 * gdb.ada/frame_args.exp: New testcase.
15136
15137 2007-12-17 Joel Brobecker <brobecker@adacore.com>
15138
15139 * gdb.base/frame-args.c: New file.
15140 * gdb.base/frame-args.exp: New testcase.
15141
15142 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
15143 Joseph Myers <joseph@codesourcery.com>
15144
15145 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
15146
15147 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
15148
15149 * gdb.mi/mi-pending.exp: New.
15150 * gdb.mi/mi-pending.c: New.
15151 * gdb.mi/mi-pendshr.c: New.
15152
15153 2007-12-06 Jim Blandy <jimb@codesourcery.com>
15154
15155 * gdb.base/default.exp: Update expected output for 'info catch'.
15156
15157 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15158
15159 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
15160 must be set to binary.
15161
15162 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
15163
15164 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
15165
15166 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
15167
15168 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
15169 gdb.mi/mi-file-transfer.exp: New.
15170
15171 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15172
15173 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
15174
15175 2007-11-22 Maciej W. Rozycki <macro@mips.com>
15176
15177 * gdb.trace/backtrace.exp: Fix a typo.
15178 * gdb.trace/circ.exp: Likewise.
15179 * gdb.trace/collection.exp: Likewise.
15180 * gdb.trace/limits.exp: Likewise.
15181 * gdb.trace/report.exp: Likewise.
15182 * gdb.trace/tfind.exp: Likewise.
15183 * gdb.trace/while-dyn.exp: Likewise.
15184
15185 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
15186
15187 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
15188 objects of pointers that can't be dereferenced are now
15189 "noneditable".
15190
15191 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15192
15193 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
15194 (target_cpu): Remove.
15195
15196 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
15197
15198 * gdb.base/ending-run.exp: Expect the list of cleared
15199 breakpoint to come in natural order, not the reversed one.
15200
15201 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
15202
15203 * gdb.mi/mi-var-child.c (do_child_deletion): New.
15204 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
15205
15206 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
15207
15208 * gdb.base/printcmds.exp: New function
15209 test_printf_with_dfp.
15210
15211 2007-11-02 Doug Evans <dje@google.com>
15212
15213 * gdb.disasm/t01_mov.s: Remove carriage returns.
15214 * gdb.disasm/t02_mova.s: Ditto.
15215 * gdb.disasm/t03_add.s: Ditto.
15216 * gdb.disasm/t04_sub.s: Ditto.
15217 * gdb.disasm/t05_cmp.s: Ditto.
15218 * gdb.disasm/t06_ari2.s: Ditto.
15219 * gdb.disasm/t07_ari3.s: Ditto.
15220 * gdb.disasm/t08_or.s: Ditto.
15221 * gdb.disasm/t09_xor.s: Ditto.
15222 * gdb.disasm/t10_and.s: Ditto.
15223 * gdb.disasm/t11_logs.s: Ditto.
15224 * gdb.disasm/t12_bit.s: Ditto.
15225 * gdb.disasm/t13_otr.s: Ditto.
15226
15227 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15228
15229 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
15230
15231 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15232
15233 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
15234 provide DFP support.
15235
15236 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
15237
15238 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
15239 Test "set powerpc vector-abi". Skip auto-detection tests for old
15240 toolchains.
15241
15242 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15243
15244 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
15245 with [string compare].
15246
15247 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15248
15249 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
15250 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
15251
15252 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
15253
15254 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
15255 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
15256 * gdb.opt/Makefile.in: New makefile.
15257 * Makefile.in: Create new directory "gdb.opt".
15258 * configure.ac: Add "gdb.opt" directory.
15259 * configure: Regenerated.
15260
15261 2007-10-25 Doug Evans <dje@google.com>
15262
15263 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
15264 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
15265
15266 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
15267 Thiago Jung Bauermann <bauerman@br.ibm.com>
15268
15269 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
15270 Floating Point expressions.
15271 * gdb.base/dfp-test.exp: new file adding tests for Decimal
15272 Floating Point variables.
15273 * gdb.base/dfp-test.c: new file containing program with Decimal
15274 Floating variables, used by gdb.base/dfp-test.exp.
15275
15276 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
15277
15278 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
15279
15280 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15281
15282 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
15283 compiling test case with GCC.
15284 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
15285
15286 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15287
15288 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15289 format changes.
15290
15291 2007-10-18 Michael Snyder <msnyder@specifix.com>
15292
15293 * gdb.base/dbx.exp: Add missing "-re " operator.
15294
15295 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
15296
15297 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
15298 * configure.ac: Removed trailing spaces after backslash.
15299 * gdb.modula2: New directory.
15300 * gdb.modula2/Makefile.in: New file.
15301 * gdb.modula2/unbounded-array.exp: New file.
15302 * gdb.modula2/unbounded1.c: New file.
15303
15304 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
15305
15306 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
15307
15308 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
15309
15310 * gdb.base/sigstep.c (main): Add checks for
15311 return values for setitimer call.
15312 Call setitimer again with itimer = ITIMER_REAL
15313 if first call to setitimer fails.
15314
15315 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
15316
15317 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
15318 of $timeout.
15319
15320 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
15321
15322 * gdb.server/server-run.exp: Test for dynamic linker symbols.
15323
15324 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
15325
15326 * lib/gdb.exp (gdb_run_cmd): Move comment outside
15327 of gdb_expect call, to avoid interruption.
15328
15329 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
15330
15331 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
15332 (v_unsigned_long_long, v_long_long_array)
15333 (v_signed_long_long_array, v_unsigned_long_long_array)
15334 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
15335 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
15336 [!NO_LONG_LONG]: New.
15337 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
15338 v_long_long_member.
15339
15340 (v_long_long_func, v_signed_long_long_func)
15341 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
15342 (main) [!NO_LONG_LONG]: Initialize long long variants.
15343
15344 * gdb.base/whatis.exp: If board file requests no_long_long, build
15345 test with NO_LONG_LONG defined. Test long long, signed long long,
15346 and unsigned long long variants but only if board file doesn't
15347 disable it.
15348
15349 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
15350 Daniel Jacobowitz <dan@codesourcery.com>
15351
15352 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
15353 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
15354 * configure: Regenerated.
15355 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
15356 gdb.pascal/types.exp, lib/pascal.exp: New files.
15357
15358 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
15359
15360 * gdb.cp/classes.exp (do_tests): Always step to the line after the
15361 call.
15362 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
15363 to return to the call.
15364 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
15365 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
15366 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
15367 * gdb.mi/mi-until.exp (test_until): Likewise.
15368 * gdb.mi/mi2-until.exp (test_until): Likewise.
15369
15370 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
15371
15372 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
15373 two-char array.
15374 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
15375
15376 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
15377
15378 * gdb.threads/watchthreads.c (thread_function): Sleep between
15379 iterations.
15380 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
15381 at once for S/390. Generate matching fails and passes.
15382
15383 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
15384
15385 * gdb.mi/var-cmd.c (do_children_tests): Initialize
15386 the 'struct_declarations' variable to zeros.
15387
15388 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
15389
15390 * gdb.cp/mb-ctor.cc: New.
15391 * gdb.cp/mb-ctor.exp: New.
15392 * gdb.cp/mb-templates.cc: New.
15393 * gdb.cp/mb-templates.exp: New.
15394
15395 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
15396
15397 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
15398
15399 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
15400
15401 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
15402 targets.
15403 * configure: Regenerate.
15404
15405 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
15406
15407 * gdb.base/annota1.exp: Adjust for 'info break'
15408 format changes.
15409 * gdb.base/annota3.exp: Likewise.
15410 * gdb.base/break.exp: Likewise.
15411 * gdb.base/condbreak.exp: Likewise.
15412 * gdb.base/pending.exp: Likewise.
15413 * gdb.base/sepdebug.exp: Likewise.
15414 * gdb.base/unload.exp: Likewise.
15415 * gdb.base/ovldbreak.exp: Likewise.
15416
15417 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
15418
15419 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
15420 messages.
15421 * gdb.base/chng-syms.exp: Likewise.
15422 * gdb.base/unload.exp: Likewise.
15423
15424 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
15425
15426 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
15427
15428 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
15429
15430 * schedlock.c (NUM): Change to 1.
15431 (main): Use args[0] for the main thread.
15432 * schedlock.exp: Only expect two threads. Only issue one pass or fail
15433 regardless of the number of threads.
15434
15435 2007-09-14 Maciej W. Rozycki <macro@mips.com>
15436
15437 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
15438 type down.
15439 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15440 test.
15441 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
15442 watchpoint type down.
15443 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15444 test.
15445
15446 2007-09-14 Maciej W. Rozycki <macro@mips.com>
15447
15448 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
15449 Move all the tests here and run them twice, once using software
15450 watchpoints and once using hardware watchpoints.
15451 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
15452
15453 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
15454
15455 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
15456 test.
15457
15458 2007-09-10 Mark Kettenis <kettenis@gnu.org>
15459
15460 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
15461 build-id.
15462
15463 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
15464 know about $ORIGIN. Calculate output dir from $dest instead of
15465 using ${objdir}/{$subdir}.
15466
15467 2007-09-09 Mark Kettenis <kettenis@gnu.org>
15468
15469 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
15470 gcore, before continuing with the test.
15471
15472 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
15473
15474 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
15475 * gdb.mi/mi-watch.exp: Likewise.
15476
15477 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
15478 Jim Blandy <jimb@codesourcery.com>
15479
15480 * gdb.arch/i386-sse.exp: Do not expect character constants.
15481 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
15482 * gdb.base/display.exp: Allow print/s.
15483 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
15484 and unsigned char array changes.
15485
15486 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
15487
15488 * gdb.base/display.exp: Add tests for printf %p.
15489
15490 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
15491
15492 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
15493 the dll name to unicode.
15494
15495 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15496
15497 * gdb.base/default.exp (show version): Update the version text.
15498 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
15499
15500 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15501
15502 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
15503 New files.
15504
15505 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15506
15507 * lib/gdb.exp (build_id_debug_filename_get): New function.
15508 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
15509 Remove the generate DEBUG file for the future testcase runs.
15510 New testcase for the NT_GNU_BUILD_ID retrieval.
15511 Move the final testing step to ...
15512 (test_different_dir): ... a new function.
15513 New parameter XFAIL to XFAIL all the tests performed.
15514 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
15515 New parameter TYPE to PF_PREFIX all the tests performed.
15516
15517 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
15518
15519 * gdb.mi/mi-var-cp.cc (path_expression): New
15520 function.
15521 * gdb.mi/mi-var-cp.exp: Run path exression tests.
15522
15523 2007-08-27 Markus Deuling <deuling@de.ibm.com>
15524
15525 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
15526 to fit into SPU Local Store memory.
15527
15528 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15529
15530 * gdb.base/default.exp: Adjust the expected output of "info
15531 warranty" after the switch to GPLv3.
15532
15533 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15534
15535 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
15536 to 30000 (from 20000).
15537
15538 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15539
15540 Switch the license of all .exp files to GPLv3.
15541 Switch the license of all .f and .f90 files to GPLv3.
15542 Switch the license of all .s and .S files to GPLv3.
15543
15544 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15545
15546 * configure.ac: Switch license to GPLv3.
15547
15548 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15549
15550 Switch the licensing to GPLv3 for all .ads and .adb files.
15551
15552 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
15553
15554 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
15555 and t_int_double.
15556 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
15557
15558 2007-08-17 Joel Brobecker <brobecker@adacore.com>
15559
15560 * gdb.base/step-line.c: Switch license to GPL version 3, and
15561 update copyright year.
15562 * gdb.base/step-line.inp: Likewise.
15563
15564 2007-08-17 Joel Brobecker <brobecker@adacore.com>
15565
15566 * gdb.base/gdb1555.exp: Make expected output immune to formatting
15567 changes inside gdb1555.c.
15568 * gdb.base/pending.exp: Likewise.
15569
15570 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
15571
15572 * config/default.exp: New file.
15573
15574 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15575
15576 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
15577 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
15578
15579 2007-07-30 Maciej W. Rozycki <macro@mips.com>
15580
15581 * gdb.base/dump.exp: Force the correct endianness for binary
15582 formats not carrying this information.
15583
15584 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15585
15586 * gdb.threads/staticthreads.exp: Match .*sem_post.
15587
15588 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15589
15590 * gdb.base/readline.exp (operate_and_get_next): Match the final
15591 prompt.
15592
15593 2007-07-23 Kevin Buettner <kevinb@redhat.com>
15594
15595 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
15596 to restarting SID.
15597
15598 2007-07-18 Kevin Buettner <kevinb@redhat.com>
15599
15600 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
15601 prior to `gdb_start'.
15602
15603 2007-07-18 Kevin Buettner <kevinb@redhat.com>
15604
15605 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
15606 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
15607 Remove call to gdb_unload.
15608
15609 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
15610 Daniel Jacobowitz <dan@codesourcery.com>
15611
15612 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
15613 for __WIN32__.
15614 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
15615 * gdb.base/unload.exp: Use shared library test routines.
15616
15617 2007-07-03 Markus Deuling <deuling@de.ibm.com>
15618
15619 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
15620 * gdb.base/solib-symbol-lib.c: Likewise.
15621 * gdb.base/solib-symbol-main.c: Likewise.
15622
15623 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
15624
15625 * config/gdbserver.exp (gdb_reconnect): New.
15626 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
15627 gdb.base/solib-disc.exp: New files.
15628 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
15629 remote debugging".
15630 (gdb_compile): Add shlib_load flag.
15631 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
15632 port.
15633 (gdbserver_reconnect): New.
15634
15635 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
15636 Daniel Jacobowitz <dan@codesourcery.com>
15637
15638 * gdb.base/annota3.exp: Test for if construct.
15639
15640 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
15641
15642 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
15643
15644 2007-06-21 Chris Dearman <chris@mips.com>
15645 Maciej W. Rozycki <macro@mips.com>
15646
15647 * gdb.base/display.exp: Allow a newline after display/i.
15648 * gdb.base/pc-fp.exp: Likewise.
15649 * gdb.base/sigbpt.exp: Likewise.
15650
15651 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15652
15653 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
15654 required features to be included.
15655
15656 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
15657
15658 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
15659 in info threads output.
15660
15661 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15662 Markus Deuling <deuling@de.ibm.com>
15663
15664 * gdb.arch/spu-info.exp: New testcase.
15665 * gdb.arch/spu-info.c: New file.
15666
15667 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
15668
15669 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
15670 tpcs_offset. Restore lr after the call.
15671 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
15672
15673 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
15674
15675 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
15676 (gdbserver_run): Kill any running gdbserver.
15677 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
15678
15679 2007-05-17 Maciej W. Rozycki <macro@mips.com>
15680
15681 * gdb.base/sigbpt.exp: Preset segv_addr.
15682
15683 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
15684
15685 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
15686 (gdb_compile_shlib): Likewise.
15687 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
15688 (default_gdb_init): Clear cleanfiles.
15689 (gdb_finish): Delete recorded cleanfiles.
15690 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
15691
15692 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
15693 Do not use isnative.
15694 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
15695 gdb.base/so-impl-ld.exp: Likewise.
15696 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
15697 * gdb.base/unload.exp: Likewise. Do not pass empty option to
15698 gdb_compile.
15699
15700 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
15701
15702 * config/unknown.exp: Remove.
15703
15704 2007-05-15 Markus Deuling <deuling@de.ibm.com>
15705
15706 * gdb.base/info-proc.exp: Check is_remote.
15707
15708 2007-05-14 Markus Deuling <deuling@de.ibm.com>
15709
15710 * gdb.base/gcore.exp: Initialize variable core_supported.
15711
15712 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15713
15714 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
15715
15716 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15717
15718 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
15719 * gdb.threads/print-threads.exp (test_all_threads): Allow
15720 negative and hexadecimal thread IDs.
15721
15722 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15723
15724 * gdb.java/jprint.java (public): Avoid invalid call to static
15725 method.
15726
15727 2007-05-14 Denis Pilat <denis.pilat@st.com>
15728
15729 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
15730 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
15731 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
15732 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
15733 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
15734
15735 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15736
15737 * gdb.base/overlays.exp: Add support for targets with only code
15738 overlay support, not data overlay. Support spu-*-* target in
15739 this mode.
15740 * gdb.base/ovlymgr.c: Provide stubs for spu target.
15741 * gdb.base/spu.ld: New file.
15742
15743 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
15744
15745 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
15746
15747 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
15748
15749 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
15750
15751 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15752
15753 * gdb.java/jmain.exp: Handle demangled names with and without method
15754 signatures.
15755
15756 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15757
15758 * gdb.mi/mi-syn-frame.c (main, foo, bar)
15759 (have_a_very_merry_interrupt): Remove calls to puts.
15760 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
15761 inferior output.
15762 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
15763 test names.
15764
15765 2007-04-29 Markus Deuling <deuling@de.ibm.com>
15766 Daniel Jacobowitz <dan@codesourcery.com>
15767
15768 * gdb.base/auxv.exp (core_works): Also check is_remote.
15769 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
15770
15771 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
15772
15773 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
15774 message, not the undefined 'module' variable.
15775 * gdb.base/siginfo.exp: Likewise.
15776 * gdb.base/sigstep.exp: Likewise.
15777 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
15778 serialport.
15779 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
15780
15781 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
15782
15783 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
15784 target sim fails. Return 0 otherwise.
15785 (gdb_load): Return prematurely if gdb_target_sim fails.
15786
15787 2007-04-16 Denis Pilat <denis.pilat@st.com>
15788
15789 * gdb.base/setshow.exp: Reset height after having set it to 100.
15790
15791 2007-04-16 Denis Pilat <denis.pilat@st.com>
15792
15793 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
15794
15795 2007-04-16 Denis Pilat <denis.pilat@st.com>
15796
15797 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
15798
15799 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
15800
15801 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
15802 tests. Run the frozen varobjs test.
15803 * gdb.mi/var-cmd.c (do_frozen_tests): New.
15804 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
15805
15806 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15807
15808 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
15809 gdb.base/type-opaque.exp: New files.
15810
15811 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
15812
15813 * gdb.mi/mi-var-child.c
15814 (do_children_tests): User char[2] instead of
15815 char so that automatic printing of pointers to char
15816 don't give unpredicable result.
15817 * gdb.mi/var-cmd.c (do_locals_test): Initialize
15818 local variables.
15819 * gdb.mi/mi-var-child.exp: Step to right line
15820 of do_children_tests.
15821 * gdb.mi/mi2-var-child.exp: Likewise.
15822 * gdb.mi/mi-var-cmd.exp: Step to right line of
15823 do_locals_tests.
15824 (do_children_tests): User char[2] instead of
15825 char so that automatic printing of pointers to char
15826 don't give unpredicable result.
15827 * gdb.mi/mi2-var-cmd.exp: Likewise.
15828 * lib/mi-support.exp (mi_continue_to_line):
15829 Pass test name to mi_wait_for_stop.
15830
15831 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15832
15833 * gdb.asm/asm-source.exp: Remove d10v case.
15834 * lib/gdb.exp (skip_cplus_tests): Likewise.
15835 * gdb.asm/d10v.inc: Deleted.
15836
15837 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15838
15839 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
15840
15841 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15842
15843 * config/netware.exp: Delete file.
15844
15845 2007-03-29 Joel Brobecker <brobecker@adacore.com>
15846
15847 * gdb.dwarf2/dw2-noloc.S: New file.
15848 * gdb.dwarf2/dw2-noloc.exp: New file.
15849
15850 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
15851
15852 * gdb.cp/method2.cc: New test.
15853 * gdb.cp/method2.exp: New test.
15854 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
15855
15856 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15857
15858 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
15859
15860 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
15861
15862 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
15863
15864 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15865
15866 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
15867 (gdb_load): Delete, replace with...
15868 (gdb_reload): ...this.
15869 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
15870 * gdb.server/server-mon.exp: Likewise.
15871 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
15872 (gdb_start_cmd): New.
15873 (gdb_file_cmd): Save the last loaded file.
15874 (gdb_reload): New.
15875 (gdb_gnu_strip_debug): Use transform.
15876 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
15877 support here. Use new $last_loaded_file. Check mtime.
15878 (gdb_target_cmd): Handle ObjC failure case.
15879 (infer_host_exec): Delete.
15880 (gdbserver_load): Rename to...
15881 (gdbserver_run): ...this. Simplify.
15882 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
15883 (mi_gdb_load): Move most contents to a new function...
15884 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
15885 (mi_run_cmd): Use mi_gdb_target_load.
15886 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
15887 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
15888 Use gdb_run_cmd.
15889 * gdb.base/charsign.exp: Remove incorrect comment.
15890 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
15891 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
15892 gdb.base/start.exp: Use gdb_start_cmd.
15893
15894 2007-03-23 Nigel Stephens <nigel@mips.com>
15895 Maciej W. Rozycki <macro@mips.com>
15896
15897 * gdb.base/sigbpt.exp: Fix the message when skipping test.
15898 * gdb.base/signull.exp: Similarly.
15899
15900 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15901
15902 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
15903 messages available to test cases (like chng-sym.exp).
15904
15905 2007-03-14 Andreas Schwab <schwab@suse.de>
15906
15907 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15908 format changes.
15909
15910 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
15911
15912 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
15913 (optimized_1): New.
15914 (main): Call optimized_1.
15915 (gdb2029): Correct typos. Call gdb2029_marker.
15916 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
15917 for gdb2029.
15918
15919 2007-03-12 Mark Kettenis <kettenis@gnu.org>
15920
15921 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
15922 as tabs. Remove redundant test pattern.
15923
15924 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15925
15926 * gdb.base/long_long.exp: Accept optional symbol name in <...>
15927 for /a format output.
15928
15929 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
15930
15931 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
15932 collect output incrementally.
15933
15934 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15935
15936 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
15937 for -var-create lpcharacter test.
15938 * gdb.mi/mi2-var-cmd.exp: Likewise.
15939
15940 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15941
15942 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
15943 pass on targets where address zero is readable.
15944
15945 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15946
15947 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
15948 just a single architecture.
15949
15950 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15951
15952 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
15953 (fetch_all_registers): New function, uses gdb_test_multiple and
15954 exp_continue to fetch inferior output line-by-line.
15955 Replace all uses of do_get_all_registers by fetch_all_registers.
15956
15957 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15958
15959 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
15960 in target_info.
15961
15962 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15963
15964 * gdb.threads/manythreads.exp: Use $message string for
15965 consistancy; add a default (timeout) case.
15966
15967 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15968
15969 * gdb.base/watchpoint.exp: Fix truncated comment.
15970
15971 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15972
15973 * Makefile.in: Remove spurious single-quotes from sed command.
15974
15975 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15976
15977 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
15978 func.
15979 * gdb.mi/mi2-var-cmd.exp: Likewise.
15980
15981 2007-02-27 Joel Brobecker <brobecker@adacore.com>
15982
15983 * gdb.dwarf2/dw2-producer.S: New file.
15984 * gdb.dwarf2/dw2-producer.exp: New testcase.
15985
15986 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
15987
15988 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
15989 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
15990 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
15991 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
15992 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
15993 Revert tests to use mi_gdb_test and include value field in output
15994 of -var-create.
15995
15996 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
15997
15998 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
15999
16000 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
16001
16002 * gdb.base/maint.exp: Remove full paths from test names.
16003 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
16004 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
16005
16006 2007-02-27 Joel Brobecker <brobecker@adacore.com>
16007
16008 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
16009
16010 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16011
16012 * gdb.server/server-mon.exp: New test.
16013
16014 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16015
16016 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
16017
16018 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16019
16020 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
16021 register capitalization.
16022
16023 2007-02-13 Denis Pilat <denis.pilat@st.com>
16024
16025 * gdb.mi/mi-var-invalidate.exp: New file.
16026
16027 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16028
16029 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
16030
16031 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16032
16033 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
16034
16035 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16036
16037 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
16038 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
16039
16040 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
16041
16042 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16043 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16044 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16045 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16046 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
16047 * gdb.mi/gdb792.exp, lib/mi-support.exp:
16048 Update tests to include value field in output of -var-create.
16049
16050 2007-02-08 Andreas Schwab <schwab@suse.de>
16051
16052 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
16053
16054 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
16055
16056 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
16057 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
16058
16059 2007-02-02 Denis Pilat <denis.pilat@st.com>
16060
16061 * gdb.threads/threadapply.exp: check that frame is not changed by
16062 the thread apply all command.
16063
16064 2007-01-31 Andreas Schwab <schwab@suse.de>
16065
16066 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16067
16068 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
16069 in the dwarf sections.
16070 * gdb.dwarf2/mac-fileno.S: Likewise.
16071
16072 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
16073 bspstore register on ia64.
16074
16075 2007-01-29 Andreas Schwab <schwab@suse.de>
16076
16077 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
16078 "frame-begin" annotation.
16079
16080 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
16081 number of "frames-invalid" annotations.
16082
16083 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16084
16085 * gdb.base/commands.exp: Call if_commands_test.
16086 (gdb_test_no_prompt, if_commands_test): New.
16087
16088 2007-01-28 Mark Kettenis <kettenis@gnu.org>
16089
16090 * gdb.threads/sigthread.c (NSIGS): Make bigger.
16091
16092 2007-01-27 Andreas Schwab <schwab@suse.de>
16093
16094 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
16095 .short/.int/.quad in the dwarf sections.
16096 * gdb.dwarf2/dw2-intercu.S: Likewise.
16097 * gdb.dwarf2/dw2-intermix.S: Likewise.
16098
16099 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16100
16101 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
16102 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
16103 array.
16104 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
16105 * gdb.base/setvar.exp: Likewise.
16106
16107 2007-01-26 Andreas Schwab <schwab@suse.de>
16108
16109 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
16110 test.
16111
16112 * gdb.base/multi-forks.exp ("restart $i"): Also match
16113 __kernel_syscall_via_break.
16114
16115 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
16116
16117 * lib/mi-support.exp (mi_delete_varobj): New.
16118 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
16119 testcase.
16120 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
16121 (main): Call the above.
16122 (reference_update_test, base_in_reference_test)
16123 (reference_to_pointer): Delete the created varobjs.
16124
16125 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
16126
16127 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
16128 * configure: Regenerated.
16129 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
16130 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
16131 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
16132 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
16133 * lib/gdb.exp (gdb_skip_xml_test): New function.
16134
16135 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
16136
16137 * gdb.base/sigrepeat.exp: Correct error message.
16138
16139 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16140 Daniel Jacobowitz <dan@codesourcery.com>
16141
16142 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
16143 gdb.arch/i386-gnu-cfi-asm.S: New files.
16144
16145 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16146
16147 * lib/gdb.exp: Abort on missing `site.exp'.
16148
16149 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16150 Daniel Jacobowitz <dan@codesourcery.com>
16151
16152 * gdb.base/included.c, gdb.base/included.exp,
16153 gdb.base/included.h: New files.
16154
16155 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16156
16157 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
16158 (maximize_rlimit): Reduce limits on 64-bit systems.
16159
16160 2007-01-19 Mark Kettenis <kettenis@gnu.org>
16161
16162 From Marcus Deuling <deuling@de.ibm.com>:
16163 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
16164 every case.
16165
16166 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
16167
16168 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
16169 (test_path_specification): Use objdir instead of srcdir to always
16170 get an absolute filename.
16171
16172 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
16173
16174 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
16175
16176 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
16177
16178 * gdb.mi/mi-var-cp.cc (reference_update_tests):
16179 Make sure the variable we're using is in scope.
16180 (reference_to_pointer): Likewise.
16181
16182 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16183
16184 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
16185 has no debug information.
16186
16187 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16188
16189 * gdb.base/annota1.exp: Remove extra send_gdb.
16190
16191 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16192
16193 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
16194
16195 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16196
16197 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
16198
16199 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
16200 Daniel Jacobowitz <dan@codesourcery.com>
16201
16202 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
16203 lcharacter or linteger change. Correct duplicated test name.
16204 * gdb.mi/mi2-var-cmd.exp: Likewise.
16205
16206 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
16207
16208 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
16209
16210 2007-01-05 Joel Brobecker <brobecker@adacore.com>
16211
16212 * gdb.base/nofield.c: New file.
16213 * gdb.base/nofield.exp: New testcase.
16214
16215 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
16216
16217 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
16218
16219 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
16220 test.
16221
16222 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16223
16224 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
16225
16226 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16227
16228 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
16229 when continuing.
16230
16231 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16232
16233 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
16234 Expect ".exe" extension.
16235
16236 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16237
16238 * gdb.base/charset.exp: Add explicit filename to break.
16239 * gdb.base/dbx.exp: Add explicit filename to breaks.
16240
16241 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16242
16243 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
16244 * gdb.mi/mi2-file.exp: Likewise.
16245
16246 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16247
16248 Implement specification of MI tests as comments
16249 in C and C++ sources.
16250 * lib/mi-support.exp (mi_autotest_data): New variable.
16251 (mi_autotest_source): New variable.
16252 (count_newlines, mi_prepare_inline_tests)
16253 (mi_get_inline_test, mi_continue_to_line)
16254 (mi_run_inline_test, mi_tbreak)
16255 (mi_send_resuming_command, mi_wait_for_stop): New functions.
16256 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
16257 Run inline tests.
16258 * gdb.mi/mi-var-cp.cc: Define tests here.
16259
16260 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16261
16262 Simplify usage of mi_continue_to.
16263 * lib/mi-support.exp (mi_runto_helper): Renamed
16264 from mi_runto, added new parameter 'run_or_continue'.
16265 (mi_runto): Use mi_runto_helper.
16266 (mi_continue_to): Accept just function name as parameter.
16267 Use mi_runto_helper.
16268 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
16269 * gdb.mi/mi2-var-cmd.exp: Likewise.
16270
16271 2006-01-04 Joel Brobecker <brobecker@adacore.com>
16272
16273 Make this testcase a bit more realistic. The current code
16274 is too simplistic, and allows the compiler to optimize out
16275 some of the entities we need for this testcase.
16276 * gdb.ada/null_record/bar.ads (Void_Star): New type.
16277 (Do_Nothing): Add extra parameter.
16278 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
16279 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
16280 by using a variable of type Void_Star.
16281
16282 2006-01-04 Joel Brobecker <brobecker@adacore.com>
16283
16284 * gdb.ada/catch_ex/foo.adb: New file.
16285 * gdb.ada/catch_ex.exp: New testcase.
16286
16287 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
16288
16289 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
16290 pass --image-base to linker.
16291
16292 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16293 Daniel Jacobowitz <dan@codesourcery.com>
16294
16295 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
16296 secondary prompts.
16297
16298 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16299
16300 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
16301 output. Test the types of members and member pointers.
16302 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
16303 gdb/2092.
16304 * gdb.cp/member-ptr.exp: Search for a comment instead of a
16305 statement. Enable for GCC. Update expected output for some tests
16306 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
16307 layout.
16308 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
16309 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
16310 (Diamond::vget_base): New.
16311 (main): Add new tests.
16312 * gdb.cp/printmethod.exp: Update expected output for member functions.
16313 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
16314 print pEe->D::vg().
16315
16316 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16317
16318 * gdb.threads/tls.exp: Allow stops in sem_post.
16319
16320 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
16321
16322 * gdb.base/annota1.exp: Allow .*printf in backtraces.
16323 * gdb.base/annota3.exp: Likewise.
16324 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
16325 again (instead of timing out).
16326 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
16327 GCC bug 26475.
16328 * gdb.java/jmisc.exp: Adjust to work with method signatures including
16329 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
16330 test from jmisc1.exp.
16331 * gdb.java/jmisc1.exp: Delete.
16332 * gdb.java/jprint.exp: Adjust to work with method signatures including
16333 return types.
16334 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
16335 * gdb.threads/linux-dp.exp: Don't be confused by program output.
16336 * lib/java.exp (compile_java_from_source): Pass the correct type
16337 to target_compile.
16338
16339 2006-12-31 Joel Brobecker <brobecker@adacore.com>
16340
16341 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
16342 (stack_align_edx): New function.
16343 (stack_align_eax): New function.
16344 (main): Add calls to stack_align_edx and stack_align_eax.
16345 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
16346 Add testing for the cases where the register used during a stack
16347 realignment is edx. Same for eax.
16348
16349 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
16350
16351 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
16352 and generic PE targets.
16353
16354 2006-12-29 Joel Brobecker <brobecker@adacore.com>
16355
16356 * gdb.ada/array_return.exp: Update copyright date list.
16357
16358 2006-12-27 Joel Brobecker <brobecker@adacore.com>
16359
16360 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
16361 (Create_Small_Float_Vector): New function.
16362 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
16363 function body.
16364 * gdb.ada/array_return/p.adb: Use new type and function from
16365 package Pck.
16366 * gdb.ada/array_return.exp: Add a test verifying that GDB is
16367 able to print the value returned by a function returning an
16368 array of float.
16369
16370 2006-12-20 Joel Brobecker <brobecker@adacore.com>
16371
16372 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
16373 The associated tests should be PASSing.
16374
16375 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16376
16377 Test for base in references.
16378 * gdb.mi/mi-var-cp.cc: Add test code.
16379 * gdb.mi/mi-var-cp.exp: Test for bases in references.
16380 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
16381 * gdb.mi/mi2-watch.exp: Likewise.
16382 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
16383 (mi_list_varobj_children): New function.
16384
16385 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16386
16387 * lib/mi-support.exp
16388 (mi_runto): Accept "()" after function name.
16389 (mi_create_varobj): New function.
16390 (mi_varobj_update): New function.
16391 (mi_Check_varobj_value): New function.
16392 * gdb.mi/mi-var-cp.exp: New file.
16393 * gdb.mi/mi-var-cp.cc: New file.
16394
16395 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
16396
16397 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
16398 gdb.base/weaklib2.c: New files.
16399
16400 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
16401
16402 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
16403 info. Adjust test names.
16404
16405 * gdb.base/break.c (main): Move position of malloc.
16406 * gdb.base/break.exp: Revert mistaken checkin.
16407
16408 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
16409
16410 * gdb.mi/mi-var-cmd.exp: Check -var-update after
16411 assignement of arrays and function pointers.
16412 * gdb.mi/var-cmd.c: Add declaration necessary for above
16413 tests.
16414
16415 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16416
16417 * gdb.base/break.c (main): Call malloc.
16418
16419 * gdb.threads/linux-dp.exp: Read thread table before and after
16420 creating each philosopher and verify it.
16421
16422 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16423 Paul Brook <paul@codesourcery.com>
16424 Daniel Jacobowitz <dan@codesourcery.com>
16425
16426 * gdb.base/ending-run.exp: Flatten expect script stepping out of
16427 main to remove duplication. Add start function of the form
16428 '_*start[1-9]*'. Add RVDS start function.
16429
16430 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16431
16432 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
16433
16434 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16435
16436 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
16437 * gdb.asm/spu.inc: New file.
16438 * gdb.base/term.exp: Disable if [target_info exists noargs].
16439 * gdb.gdb/complaints.exp: Disable if ![isnative].
16440 * gdb.gdb/selftest.exp: Likewise.
16441 * gdb.gdb/observer.exp: Likewise.
16442 * gdb.gdb/xfullpath.exp: Likewise.
16443 * gdb.base/attach.exp: Disable on SPU target.
16444 * gdb.cp/bs145503.exp: Likewise.
16445 * gdb.cp/exception.exp: Likewise.
16446 * gdb.cp/userdef.exp: Likewise.
16447
16448 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16449
16450 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
16451
16452 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
16453
16454 * gdb.base/completion.exp: Fix completion tests for
16455 'info' and 'info '.
16456 * gdb.base/help.exp (help_test_raw, test_class_help)
16457 (test_prefix_command_help): Move...
16458 * lib/gdb.exp: Here.
16459 * gdb.base/main.exp: Adjust.
16460 * gdb.cp/maint.exp: Adjust.
16461 * gdb.trace/tracecmd.exp: Use test_help_class.
16462
16463 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16464
16465 * gdb.stabs/weird.exp (print_weird_var): Use
16466 gdb_test_multiple instead of gdb_expect.
16467
16468 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16469
16470 * gdb.base/help.exp (help_test_raw): New.
16471 (test_class_help): New.
16472 (test_prefix_command_help): New.
16473 Adjust testcases.
16474
16475 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
16476
16477 * gdb.base/constvars.c (main): Write to crass and crips, so that
16478 they are allocated by the compiler.
16479
16480 2006-10-27 Andreas Schwab <schwab@suse.de>
16481
16482 * gdb.base/multi-forks.exp: Use "detach fork" instead of
16483 "detach-fork".
16484
16485 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
16486
16487 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
16488 of patterns.
16489
16490 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
16491
16492 * gdb.base/sepdebug.exp: Remove debug format test.
16493 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
16494 Handle no-symtab.
16495 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
16496
16497 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
16498
16499 * gdb.threads/manythreads.c (thread_function, main): Don't cast
16500 int to pointer or pointer to int.
16501 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
16502
16503 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
16504
16505 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
16506
16507 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16508
16509 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
16510
16511 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16512
16513 PR c++/2116
16514 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
16515
16516 2006-10-06 Joel Brobecker <brobecker@adacore.com>
16517
16518 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
16519 the corresponding bug has been fixed in GDB (PR/2018).
16520
16521 2006-10-06 Joel Brobecker <brobecker@adacore.com>
16522
16523 * gdb.base/subst.exp: New testcase.
16524
16525 2006-10-06 Joel Brobecker <brobecker@adacore.com>
16526
16527 * gdb.ada/array_return/pck.ads: Add copyright notice.
16528 * gdb.ada/array_return/pck.adb: Likewise.
16529 * gdb.ada/array_return/p.adb: Likewise.
16530 * gdb.ada/exec_changed/first.adb: Likewise.
16531 * gdb.ada/exec_changed/second.adb: Likewise.
16532
16533 2006-10-06 Joel Brobecker <brobecker@adacore.com>
16534
16535 * gdb.ada/watch_arg/watch.adb: New file.
16536 * gdb.ada/watch_arg.exp: New testcase.
16537
16538 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
16539
16540 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
16541 via string_to_regexp.
16542 * gdb.mi/mi2-basics.exp: Likewise.
16543
16544 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
16545
16546 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
16547 Remove unused / obsolete files.
16548
16549 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
16550
16551 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
16552
16553 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
16554
16555 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
16556 HIGH_FRAME argument to -stack-list-arguments can be larger than
16557 the number of frames.
16558
16559 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
16560
16561 * gdb.base/args.c (main): Add breakpoint marker.
16562 * gdb.base/args.exp: Use args_test for tests. Add new tests which
16563 really test empty arguments.
16564 (args_load): Delete.
16565 (args_test): New.
16566
16567 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
16568
16569 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
16570 check for one file.
16571
16572 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
16573
16574 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
16575 HIGH_FRAME argument to -stack-list-locals can be larger than
16576 the number of frames.
16577
16578 2006-08-18 Fred Fish <fnf@specifix.com>
16579
16580 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
16581 '$' in front of skip_vmx_tests_saved when setting that.
16582
16583 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
16584
16585 * gdb.base/trace-commands.exp: New file.
16586
16587 2006-08-10 Joel Brobecker <brobecker@adacore.com>
16588 Daniel Jacobowitz <dan@codesourcery.com>
16589
16590 * gdb.base/step-bt.exp: Make hexadecimal address optional in
16591 expected output of the backtrace commands.
16592
16593 2006-08-09 Joel Brobecker <brobecker@adacore.com>
16594
16595 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
16596 untested followed by return combination.
16597 * gdb.arch/altivec-regs.exp: Likewise.
16598 * gdb.arch/e500-abi.exp: Likewise.
16599 * gdb.arch/e500-regs.exp: Likewise.
16600 * gdb.arch/gdb1291.exp: Likewise.
16601 * gdb.arch/gdb1431.exp: Likewise.
16602 * gdb.arch/gdb1558.exp: Likewise.
16603 * gdb.arch/i386-prologue.exp: Likewise.
16604 * gdb.arch/i386-unwind.exp: Likewise.
16605 * gdb.asm/asm-source.exp: Likewise.
16606 * gdb.base/a2-run.exp: Likewise.
16607 * gdb.base/advance.exp: Likewise.
16608 * gdb.base/all-bin.exp: Likewise.
16609 * gdb.base/annota1.exp: Likewise.
16610 * gdb.base/annota3.exp: Likewise.
16611 * gdb.base/args.exp: Likewise.
16612 * gdb.base/arithmet.exp: Likewise.
16613 * gdb.base/assign.exp: Likewise.
16614 * gdb.base/async.exp: Likewise.
16615 * gdb.base/attach.exp: Likewise.
16616 * gdb.base/bang.exp: Likewise.
16617 * gdb.base/bigcore.exp: Likewise.
16618 * gdb.base/bitfields.exp: Likewise.
16619 * gdb.base/bitfields2.exp: Likewise.
16620 * gdb.base/break.exp: Likewise.
16621 * gdb.base/call-sc.exp: Likewise.
16622 * gdb.base/call-strs.exp: Likewise.
16623 * gdb.base/callfuncs.exp: Likewise.
16624 * gdb.base/checkpoint.exp: Likewise.
16625 * gdb.base/chng-syms.exp: Likewise.
16626 * gdb.base/code-expr.exp: Likewise.
16627 * gdb.base/commands.exp: Likewise.
16628 * gdb.base/completion.exp: Likewise.
16629 * gdb.base/cond-expr.exp: Likewise.
16630 * gdb.base/condbreak.exp: Likewise.
16631 * gdb.base/consecutive.exp: Likewise.
16632 * gdb.base/constvars.exp: Likewise.
16633 * gdb.base/corefile.exp: Likewise.
16634 * gdb.base/cvexpr.exp: Likewise.
16635 * gdb.base/dbx.exp: Likewise.
16636 * gdb.base/define.exp: Likewise.
16637 * gdb.base/detach.exp: Likewise.
16638 * gdb.base/display.exp: Likewise.
16639 * gdb.base/dump.exp: Likewise.
16640 * gdb.base/ena-dis-br.exp: Likewise.
16641 * gdb.base/ending-run.exp: Likewise.
16642 * gdb.base/environ.exp: Likewise.
16643 * gdb.base/eval-skip.exp: Likewise.
16644 * gdb.base/exprs.exp: Likewise.
16645 * gdb.base/fileio.exp: Likewise.
16646 * gdb.base/finish.exp: Likewise.
16647 * gdb.base/float.exp: Likewise.
16648 * gdb.base/foll-exec.exp: Likewise.
16649 * gdb.base/foll-fork.exp: Likewise.
16650 * gdb.base/foll-vfork.exp: Likewise.
16651 * gdb.base/freebpcmd.exp: Likewise.
16652 * gdb.base/funcargs.exp: Likewise.
16653 * gdb.base/gcore.exp: Likewise.
16654 * gdb.base/gdb1090.exp: Likewise.
16655 * gdb.base/gdb1250.exp: Likewise.
16656 * gdb.base/huge.exp: Likewise.
16657 * gdb.base/info-proc.exp: Likewise.
16658 * gdb.base/interrupt.exp: Likewise.
16659 * gdb.base/jump.exp: Likewise.
16660 * gdb.base/langs.exp: Likewise.
16661 * gdb.base/lineinc.exp: Likewise.
16662 * gdb.base/list.exp: Likewise.
16663 * gdb.base/logical.exp: Likewise.
16664 * gdb.base/long_long.exp: Likewise.
16665 * gdb.base/macscp.exp: Likewise.
16666 * gdb.base/maint.exp: Likewise.
16667 * gdb.base/mips_pro.exp: Likewise.
16668 * gdb.base/miscexprs.exp: Likewise.
16669 * gdb.base/multi-forks.exp: Likewise.
16670 * gdb.base/opaque.exp: Likewise.
16671 * gdb.base/overlays.exp: Likewise.
16672 * gdb.base/pc-fp.exp: Likewise.
16673 * gdb.base/pointers.exp: Likewise.
16674 * gdb.base/printcmds.exp: Likewise.
16675 * gdb.base/psymtab.exp: Likewise.
16676 * gdb.base/ptype.exp: Likewise.
16677 * gdb.base/recurse.exp: Likewise.
16678 * gdb.base/relational.exp: Likewise.
16679 * gdb.base/relocate.exp: Likewise.
16680 * gdb.base/remote.exp: Likewise.
16681 * gdb.base/reread.exp: Likewise.
16682 * gdb.base/restore.exp: Likewise.
16683 * gdb.base/return.exp: Likewise.
16684 * gdb.base/return2.exp: Likewise.
16685 * gdb.base/scope.exp: Likewise.
16686 * gdb.base/sect-cmd.exp: Likewise.
16687 * gdb.base/sep.exp: Likewise.
16688 * gdb.base/sepdebug.exp: Likewise.
16689 * gdb.base/setshow.exp: Likewise.
16690 * gdb.base/setvar.exp: Likewise.
16691 * gdb.base/sigall.exp: Likewise.
16692 * gdb.base/sigbpt.exp: Likewise.
16693 * gdb.base/signals.exp: Likewise.
16694 * gdb.base/signull.exp: Likewise.
16695 * gdb.base/sizeof.exp: Likewise.
16696 * gdb.base/solib.exp: Likewise.
16697 * gdb.base/step-line.exp: Likewise.
16698 * gdb.base/step-test.exp: Likewise.
16699 * gdb.base/structs.exp: Likewise.
16700 * gdb.base/structs2.exp: Likewise.
16701 * gdb.base/term.exp: Likewise.
16702 * gdb.base/twice.exp: Likewise.
16703 * gdb.base/until.exp: Likewise.
16704 * gdb.base/varargs.exp: Likewise.
16705 * gdb.base/volatile.exp: Likewise.
16706 * gdb.base/watchpoint.exp: Likewise.
16707 * gdb.base/whatis-exp.exp: Likewise.
16708 * gdb.base/whatis.exp: Likewise.
16709 * gdb.cp/ambiguous.exp: Likewise.
16710 * gdb.cp/annota2.exp: Likewise.
16711 * gdb.cp/annota3.exp: Likewise.
16712 * gdb.cp/bool.exp: Likewise.
16713 * gdb.cp/breakpoint.exp: Likewise.
16714 * gdb.cp/casts.exp: Likewise.
16715 * gdb.cp/class2.exp: Likewise.
16716 * gdb.cp/classes.exp: Likewise.
16717 * gdb.cp/cplusfuncs.exp: Likewise.
16718 * gdb.cp/ctti.exp: Likewise.
16719 * gdb.cp/derivation.exp: Likewise.
16720 * gdb.cp/exception.exp: Likewise.
16721 * gdb.cp/gdb1355.exp: Likewise.
16722 * gdb.cp/hang.exp: Likewise.
16723 * gdb.cp/inherit.exp: Likewise.
16724 * gdb.cp/local.exp: Likewise.
16725 * gdb.cp/m-data.exp: Likewise.
16726 * gdb.cp/m-static.exp: Likewise.
16727 * gdb.cp/member-ptr.exp: Likewise.
16728 * gdb.cp/method.exp: Likewise.
16729 * gdb.cp/misc.exp: Likewise.
16730 * gdb.cp/namespace.exp: Likewise.
16731 * gdb.cp/overload.exp: Likewise.
16732 * gdb.cp/ovldbreak.exp: Likewise.
16733 * gdb.cp/pr-1023.exp: Likewise.
16734 * gdb.cp/pr-1210.exp: Likewise.
16735 * gdb.cp/pr-574.exp: Likewise.
16736 * gdb.cp/printmethod.exp: Likewise.
16737 * gdb.cp/psmang.exp: Likewise.
16738 * gdb.cp/ref-params.exp: Likewise.
16739 * gdb.cp/ref-types.exp: Likewise.
16740 * gdb.cp/rtti.exp: Likewise.
16741 * gdb.cp/templates.exp: Likewise.
16742 * gdb.cp/try_catch.exp: Likewise.
16743 * gdb.cp/userdef.exp: Likewise.
16744 * gdb.cp/virtfunc.exp: Likewise.
16745 * gdb.disasm/am33.exp: Likewise.
16746 * gdb.disasm/h8300s.exp: Likewise.
16747 * gdb.disasm/mn10300.exp: Likewise.
16748 * gdb.disasm/sh3.exp: Likewise.
16749 * gdb.disasm/t01_mov.exp: Likewise.
16750 * gdb.disasm/t02_mova.exp: Likewise.
16751 * gdb.disasm/t03_add.exp: Likewise.
16752 * gdb.disasm/t04_sub.exp: Likewise.
16753 * gdb.disasm/t05_cmp.exp: Likewise.
16754 * gdb.disasm/t06_ari2.exp: Likewise.
16755 * gdb.disasm/t07_ari3.exp: Likewise.
16756 * gdb.disasm/t08_or.exp: Likewise.
16757 * gdb.disasm/t09_xor.exp: Likewise.
16758 * gdb.disasm/t10_and.exp: Likewise.
16759 * gdb.disasm/t11_logs.exp: Likewise.
16760 * gdb.disasm/t12_bit.exp: Likewise.
16761 * gdb.disasm/t13_otr.exp: Likewise.
16762 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
16763 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
16764 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16765 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
16766 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
16767 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16768 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16769 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16770 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
16771 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
16772 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16773 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16774 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16775 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16776 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16777 * gdb.mi/gdb701.exp: Likewise.
16778 * gdb.mi/gdb792.exp: Likewise.
16779 * gdb.mi/mi-basics.exp: Likewise.
16780 * gdb.mi/mi-break.exp: Likewise.
16781 * gdb.mi/mi-cli.exp: Likewise.
16782 * gdb.mi/mi-console.exp: Likewise.
16783 * gdb.mi/mi-disassemble.exp: Likewise.
16784 * gdb.mi/mi-eval.exp: Likewise.
16785 * gdb.mi/mi-file.exp: Likewise.
16786 * gdb.mi/mi-read-memory.exp: Likewise.
16787 * gdb.mi/mi-regs.exp: Likewise.
16788 * gdb.mi/mi-return.exp: Likewise.
16789 * gdb.mi/mi-simplerun.exp: Likewise.
16790 * gdb.mi/mi-stack.exp: Likewise.
16791 * gdb.mi/mi-stepi.exp: Likewise.
16792 * gdb.mi/mi-syn-frame.exp: Likewise.
16793 * gdb.mi/mi-until.exp: Likewise.
16794 * gdb.mi/mi-var-block.exp: Likewise.
16795 * gdb.mi/mi-var-child.exp: Likewise.
16796 * gdb.mi/mi-var-cmd.exp: Likewise.
16797 * gdb.mi/mi-var-display.exp: Likewise.
16798 * gdb.mi/mi-watch.exp: Likewise.
16799 * gdb.mi/mi2-basics.exp: Likewise.
16800 * gdb.mi/mi2-break.exp: Likewise.
16801 * gdb.mi/mi2-cli.exp: Likewise.
16802 * gdb.mi/mi2-console.exp: Likewise.
16803 * gdb.mi/mi2-disassemble.exp: Likewise.
16804 * gdb.mi/mi2-eval.exp: Likewise.
16805 * gdb.mi/mi2-file.exp: Likewise.
16806 * gdb.mi/mi2-read-memory.exp: Likewise.
16807 * gdb.mi/mi2-regs.exp: Likewise.
16808 * gdb.mi/mi2-return.exp: Likewise.
16809 * gdb.mi/mi2-simplerun.exp: Likewise.
16810 * gdb.mi/mi2-stack.exp: Likewise.
16811 * gdb.mi/mi2-stepi.exp: Likewise.
16812 * gdb.mi/mi2-syn-frame.exp: Likewise.
16813 * gdb.mi/mi2-until.exp: Likewise.
16814 * gdb.mi/mi2-var-block.exp: Likewise.
16815 * gdb.mi/mi2-var-child.exp: Likewise.
16816 * gdb.mi/mi2-var-cmd.exp: Likewise.
16817 * gdb.mi/mi2-var-display.exp: Likewise.
16818 * gdb.mi/mi2-watch.exp: Likewise.
16819 * gdb.stabs/exclfwd.exp: Likewise.
16820 * gdb.stabs/weird.exp: Likewise.
16821 * gdb.threads/gcore-thread.exp: Likewise.
16822 * gdb.trace/actions.exp: Likewise.
16823 * gdb.trace/backtrace.exp: Likewise.
16824 * gdb.trace/circ.exp: Likewise.
16825 * gdb.trace/collection.exp: Likewise.
16826 * gdb.trace/deltrace.exp: Likewise.
16827 * gdb.trace/infotrace.exp: Likewise.
16828 * gdb.trace/limits.exp: Likewise.
16829 * gdb.trace/packetlen.exp: Likewise.
16830 * gdb.trace/passc-dyn.exp: Likewise.
16831 * gdb.trace/passcount.exp: Likewise.
16832 * gdb.trace/report.exp: Likewise.
16833 * gdb.trace/save-trace.exp: Likewise.
16834 * gdb.trace/tfind.exp: Likewise.
16835 * gdb.trace/tracecmd.exp: Likewise.
16836 * gdb.trace/while-dyn.exp: Likewise.
16837 * gdb.trace/while-stepping.exp: Likewise.
16838
16839 2006-08-08 Joel Brobecker <brobecker@adacore.com>
16840
16841 * gdb.base/step-bt.c: New file.
16842 * gdb.base/step-bt.exp: New testcase.
16843
16844 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
16845
16846 * config/monitor.exp (gdb_load): Remove support for obsolete
16847 download-write-size.
16848 * gdb.base/remote.exp: Likewise. Update all callers of
16849 gdb_timed_load.
16850
16851 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
16852
16853 * cursal.exp: Pass binfile to gdb_load.
16854
16855 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
16856
16857 * gdb.base/cursal.exp: Add "" to gdb_load call.
16858
16859 2006-07-29 Mark Kettenis <kettenis@gnu.org>
16860
16861 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
16862 NetBSD/ELF targets.
16863
16864 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
16865
16866 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
16867 operator*.
16868
16869 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
16870
16871 * gdb.base/completion.exp: Update for change in "file" behavior.
16872 * gdb.stabs/weird.exp: Likewise.
16873 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
16874 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
16875
16876 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
16877
16878 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
16879 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
16880
16881 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
16882
16883 * gdb.base/default.exp: Update source command error message.
16884 * gdb.base/help.exp: Update 'help source' message.
16885
16886 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
16887
16888 * gdb.cp/bs15503.exp: Update comment for no longer crashing
16889 test.
16890
16891 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
16892
16893 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
16894
16895 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
16896
16897 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
16898
16899 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
16900
16901 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
16902
16903 2006-07-17 Mark Kettenis <kettenis@gnu.org>
16904
16905 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
16906 *-*-openbsd* from targets for wich we expect ARM FPA floating
16907 point format.
16908
16909 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
16910
16911 * gdb.cp/annota3.exp: Expect frame-begin annotation.
16912
16913 2006-07-17 Mark Kettenis <kettenis@gnu.org>
16914
16915 * gdb.base/annota3.exp: Expect frame-begin annotation.
16916
16917 2006-07-14 Joel Brobecker <brobecker@adacore.com>
16918
16919 * gdb.base/help.exp: Adjust "help unset" test to accept
16920 any list of unset commands.
16921
16922 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
16923 Daniel Jacobowitz <dan@codesourcery.com>
16924
16925 * gdb.cp/ref-params.exp: New test.
16926 * gdb.cp/ref-params.cc: New source file.
16927 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
16928
16929 2006-07-08 Mark Kettenis <kettenis@gnu.org>
16930
16931 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
16932 spaces/tabs in regular expressions since they might not be there.
16933
16934 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
16935
16936 * gdb.base/ifelse.exp: New file.
16937
16938 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
16939
16940 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
16941 line.
16942 * gdb.base/huge.exp: Loop over compilation to find a size that
16943 is acceptable.
16944 * gdb.base/remote.exp: Correct expected strings.
16945 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
16946
16947 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16948
16949 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
16950
16951 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16952
16953 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
16954 native.
16955
16956 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16957
16958 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
16959 enable stabs testing.
16960
16961 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16962
16963 * gdb.base/auxv.exp: Intercept undefined command messages before
16964 gdb_test_multiple does.
16965
16966 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16967
16968 * Makefile.in (host_alias): Remove.
16969 (target_alias): Use @target_noncanonical@.
16970 (site.exp): Don't set host_alias.
16971 * aclocal.m4: Remove contents. Include acx.m4.
16972 * configure: Regenerated.
16973 * configure.ac: Use ACX_NONCANONICAL_TARGET.
16974
16975 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
16976
16977 * lib/gdb.exp (gdb_load_cmd): New.
16978
16979 * gdb.base/fileio.c: Add system(NULL) test.
16980 * gdb.base/fileio.exp: Check it.
16981
16982 * gdb.base/break.c: Add 10a breakpoint at }
16983 * gdb.base/break.exp: Add test for breakpoint at }
16984 * gdb.cp/anon-union.cc: Add code at end of function.
16985 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
16986 * gdb.mi/var-cmd.c: Add code at end of function.
16987 * gdb.mi/mi-var-display.exp: Adjust end of next.
16988 * gdb.mi/mi2-var-display.exp: Likewise.
16989 * gdb.base/fileio.c: Add stop function and insert calls at
16990 stopping places.
16991 * gdb.base/fileio.exp: Breakpoint stop function and remove
16992 explicit line number references.
16993
16994 2006-05-19 Joel Brobecker <brobecker@adacore.com>
16995
16996 * gdb.base/del.exp (test_delete_alias): New function.
16997 Now check that both "del" and "d" work as aliases for "delete".
16998
16999 2006-05-18 Fred Fish <fnf@specifix.com>
17000
17001 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
17002 required. Check for spurious output after program exits normally.
17003
17004 2006-05-17 Fred Fish <fnf@specifix.com>
17005
17006 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
17007 gdb_load, so it works in the simulator.
17008
17009 2006-05-11 Fred Fish <fnf@specifix.com>
17010
17011 * gdb.base/bang.exp: Ignore unexpected output between the
17012 "program exited normally" and the gdb prompt, as many other
17013 tests do.
17014
17015 2006-05-07 Mark Kettenis <kettenis@gnu.org>
17016
17017 * gdb.base/help.exp: Make "delete checkpoint" part option for
17018 "help d" and "help delete" tests.
17019
17020 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17021
17022 * gdb.mi/mi-basics.exp: Add missing serial number to
17023 expected output in some mi_gdb_test statements.
17024 * gdb.mi/mi2-basics.exp: Likewise.
17025
17026 2006-05-05 Joel Brobecker <brobecker@adacore.com>
17027
17028 * gdb.base/del.c: New file.
17029 * gdb.base/del.exp: New testcase.
17030
17031 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
17032
17033 * gdb.base/break.exp: Do not assume a breakpoint on
17034 main will actually be in $srcfile when optimizing.
17035 * gdb.base/savedregs.exp: Do not require that the dummy
17036 frame location match up to a symbol and source file location.
17037 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
17038 will get printed without a mi_cmd_data_list_register_values prefix.
17039 (*-data-list-register-*): Correct regular expressions to expect the new
17040 pseudo d? floating point registers.
17041 * gdb.mi/mi2-regs.exp: Likewise.
17042
17043 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
17044
17045 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
17046 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
17047 is allocated by the compiler.
17048 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
17049 anons, e, anone to force their allocation by the compiler.
17050
17051 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
17052
17053 * gdb.base/help.exp: Update expected text for help d and
17054 help delete.
17055
17056 2006-05-02 Mark Kettenis <kettenis@gnu.org>
17057
17058 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
17059 NetBSD/ELF targets.
17060
17061 2006-04-30 Mark Kettenis <kettenis@gnu.org>
17062
17063 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
17064 single-step breakpoint fails; make this a KFAIL on
17065 sparc*-*-openbsd*.
17066 * gdb.base/siginfo.exp: Likewise.
17067 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17068
17069 2006-04-26 Michael Snyder <msnyder@redhat.com>
17070
17071 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
17072 which may have to consume output from other forks.
17073 Add tests to make sure that "delete fork" succeeded.
17074
17075 2006-04-20 Michael Snyder <msnyder@redhat.com>
17076
17077 * 2006-03-22 Jim Blandy <jimb@redhat.com>
17078 Add support for the Renesas M32C and M16C.
17079
17080 * gdb.asm/asm-source.exp: Add m32c target.
17081 * gdb.asm/m32c.inc: Support for m32c target.
17082
17083 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
17084
17085 * gdb.base/commands.exp (recursive_source_test): New test.
17086
17087 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
17088
17089 * gdb.base/float.exp: Add pattern for sparc targets.
17090
17091 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17092
17093 * gdb.base/commands.exp (stray_arg0_test): New test.
17094
17095 2006-03-30 Paul Brook <paul@codesourcery.com>
17096
17097 * gdb.mi/mi-until.exp: kfail broken until command.
17098 * gdb.mi/mi2-until.exp: Ditto.
17099
17100 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
17101
17102 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
17103
17104 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
17105
17106 * gdb.base/prelink.exp: Anchor tested-for regular expression
17107 on gdb prompt.
17108
17109 2006-03-07 Paul Brook <paul@codesourcery.com>
17110
17111 * gdb.base/assign.exp: Correct fail message.
17112
17113 2006-03-07 Paul Brook <paul@codesourcery.com>
17114
17115 * lib/compiler.c: Extract armcc version number.
17116 * lib/compiler.cc: Ditto.
17117
17118 2006-03-07 Paul Brook <paul@codesourcery.com>
17119
17120 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
17121 additional_flags=-w.
17122 * gdb.arch/altivec-regs.exp: Ditto.
17123 * gdb.arch/e500-abi.exp: Ditto.
17124 * gdb.arch/e500-regs.exp: Ditto.
17125 * gdb.base/all-bin.exp: Ditto.
17126 * gdb.base/annota1.exp: Ditto.
17127 * gdb.base/annota3.exp: Ditto.
17128 * gdb.base/args.exp: Ditto.
17129 * gdb.base/arithmet.exp: Ditto.
17130 * gdb.base/assign.exp: Ditto.
17131 * gdb.base/async.exp: Ditto.
17132 * gdb.base/bang.exp: Ditto.
17133 * gdb.base/break.exp: Ditto.
17134 * gdb.base/call-rt-st.exp: Ditto.
17135 * gdb.base/completion.exp: Ditto.
17136 * gdb.base/cond-expr.exp: Ditto.
17137 * gdb.base/condbreak.exp: Ditto.
17138 * gdb.base/consecutive.exp: Ditto.
17139 * gdb.base/define.exp: Ditto.
17140 * gdb.base/display.exp: Ditto.
17141 * gdb.base/ena-dis-br.exp: Ditto.
17142 * gdb.base/environ.exp: Ditto.
17143 * gdb.base/eval-skip.exp: Ditto.
17144 * gdb.base/info-proc.exp: Ditto.
17145 * gdb.base/jump.exp: Ditto.
17146 * gdb.base/logical.exp: Ditto.
17147 * gdb.base/long_long.exp: Ditto.
17148 * gdb.base/maint.exp: Ditto.
17149 * gdb.base/miscexprs.exp: Ditto.
17150 * gdb.base/pc-fp.exp: Ditto.
17151 * gdb.base/pointers.exp: Ditto.
17152 * gdb.base/relational.exp: Ditto.
17153 * gdb.base/reread.exp: Ditto.
17154 * gdb.base/sect-cmd.exp: Ditto.
17155 * gdb.base/sep.exp: Ditto.
17156 * gdb.base/sepdebug.exp: Ditto.
17157 * gdb.base/until.exp: Ditto.
17158 * gdb.base/whatis-exp.exp: Ditto.
17159 * gdb.cp/annota2.exp: Ditto.
17160 * gdb.cp/annota3.exp: Ditto.
17161 * gdb.trace/actions.exp: Ditto.
17162 * gdb.trace/backtrace.exp: Ditto.
17163 * gdb.trace/circ.exp: Ditto.
17164 * gdb.trace/collection.exp: Ditto.
17165 * gdb.trace/deltrace.exp: Ditto.
17166 * gdb.trace/infotrace.exp: Ditto.
17167 * gdb.trace/limits.exp: Ditto.
17168 * gdb.trace/packetlen.exp: Ditto.
17169 * gdb.trace/passc-dyn.exp: Ditto.
17170 * gdb.trace/passcount.exp: Ditto.
17171 * gdb.trace/report.exp: Ditto.
17172 * gdb.trace/save-trace.exp: Ditto.
17173 * gdb.trace/tfind.exp: Ditto.
17174 * gdb.trace/tracecmd.exp: Ditto.
17175 * gdb.trace/while-dyn.exp: Ditto.
17176 * gdb.trace/while-stepping.exp: Ditto.
17177 * lib/gdb.exp: Ditto.
17178 (gdb_compile): Handle nowarning option.
17179
17180 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
17181
17182 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
17183 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
17184 Rename executable to prelinkt. Don't re-prelink if we didn't
17185 get a core file. Test prelink -u exit status to tell whether
17186 prelinking failed. Use gdb_test_multiple.
17187
17188 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
17189
17190 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
17191 (do_tests): Call it.
17192
17193 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
17194
17195 * gdb.base/prelink.exp: New test.
17196 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
17197
17198 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
17199
17200 * gdb.fortran/derived-type.f90: New file.
17201 * gdb.fortran/derived-type.exp: New testcase.
17202
17203 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
17204
17205 * gdb.base/default.exp: Allow ';' as a directory separator.
17206
17207 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17208
17209 * gdb.base/help.exp (help add-symbol-file): Update.
17210
17211 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17212
17213 * gdb.base/help.exp (help load): Update expected results.
17214
17215 2006-02-19 Fred Fish <fnf@specifix.com>
17216
17217 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
17218 specifix hex value as part of results.
17219 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
17220
17221 2006-02-16 Fred Fish <fnf@specifix.com>
17222
17223 * gdb.base/whatis.c: Define variables using typedefs char_addr,
17224 ushort_addr, and slong_addr, so the typedefs are not optimized
17225 away.
17226 * gdb.base/whatis.exp: Add tests using type name for struct type,
17227 union type, enum type, and typedef.
17228
17229 2006-02-13 Mark Kettenis <kettenis@gnu.org>
17230
17231 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
17232
17233 2006-02-13 Jim Blandy <jimb@redhat.com>
17234
17235 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
17236 case where it takes two "next" commands to skip past the init
17237 call.
17238
17239 2006-02-12 Fred Fish <fnf@specifix.com>
17240
17241 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
17242 to handle cases where it takes two "next" commands to skip
17243 past the init call.
17244
17245 2006-02-07 Joel Brobecker <brobecker@adacore.com>
17246
17247 * gdb.ada/array_return.exp: Mark the last test as expected to fail
17248 on hppa32 targets.
17249
17250 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
17251
17252 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
17253 field.
17254
17255 2006-01-29 Mark Kettenis <kettenis@gnu.org>
17256
17257 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
17258
17259 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17260
17261 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
17262 files.
17263
17264 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17265
17266 * gdb.cp/maint.exp: Set complaints to a positive value.
17267
17268 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17269
17270 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
17271 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
17272 function name.
17273
17274 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17275
17276 * gdb.base/checkpoint.c: Update copyright notice. Include
17277 <stdlib.h>.
17278
17279 2006-01-04 Jim Blandy <jimb@redhat.com>
17280
17281 * gdb.asm/asm-source.exp: Independently provide default values for
17282 asm-flags and debug-flags. Use 'string equal' to do the
17283 comparison, not the implicit expr's '==' operator. Remove
17284 now-unneeded assignments to asm-flags. In h8300 case, place
17285 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
17286
17287 2006-01-04 Michael Snyder <msnyder@redhat.com>
17288
17289 * gdb.base/checkpoint.c: New file.
17290 * gdb.base/checkpoint.exp: New file.
17291 * gdb.base/multi-fork.c: New file.
17292 * gdb.base/multi-fork.exp: New file.
17293 * gdb.base/pi.txt: New file (data for checkpoint.c test).
17294
17295 2006-01-04 Fred Fish <fnf@specifix.com>
17296
17297 * gdb.base/ptype.c (foo): Add typedef.
17298 (intfoo): Add function.
17299 * gdb.base/ptype1.c: New file.
17300 * gdb.base/ptype.exp: Handle compilation and linking with two
17301 source files. Test that proper type for "foo" is found based
17302 on source context rather than first match found in symtabs.
17303
17304 2005-12-28 Mark Kettenis <kettenis@gnu.org>
17305
17306 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
17307 * gdb.asm/openbsd.inc: Indent commands.
17308
17309 2005-12-26 Mark Kettenis <kettenis@gnu.org>
17310
17311 * gdb.base/freebpcmd.exp: Increase timeout.
17312
17313 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
17314
17315 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
17316
17317 * gdb.base/default.exp: Update check for "show version".
17318
17319 2005-12-09 Randolph Chung <tausq@debian.org>
17320
17321 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
17322 * gdb.asm/pa64.inc: New file.
17323
17324 2005-12-09 Randolph Chung <tausq@debian.org>
17325
17326 * gdb.asm/common.inc: Indent commands.
17327 * gdb.asm/asmsrc1.s: Likewise.
17328 * gdb.asm/asmsrc2.s: Likewise.
17329
17330 2005-12-09 Randolph Chung <tausq@debian.org>
17331
17332 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
17333 (get_addr_of_sym): Remove duplicate print.
17334 (gen_core): xfail hppa*-*-hpux*, update expected output.
17335 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
17336 * gdb.arch/pa64-nullify.s: New file.
17337
17338 2005-12-09 Randolph Chung <tausq@debian.org>
17339
17340 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
17341
17342 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
17343
17344 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
17345 code generation for these functions.
17346 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
17347 error message.
17348
17349 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
17350
17351 * gdb.base/help.exp (help b, help br, help bre, help brea)
17352 (help break): Update the expected message.
17353
17354 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
17355
17356 * gdb.asm/m68hc11.inc: Setup the data section.
17357 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
17358 script for this test.
17359 (m6812-*-*): Likewise.
17360
17361 2005-11-09 Randolph Chung <tausq@debian.org>
17362
17363 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
17364
17365 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
17366
17367 * gdb.base/break.exp: Fix a comment typo.
17368
17369 2005-11-03 Jim Blandy <jimb@redhat.com>
17370
17371 Checked in by Elena Zannoni <ezannoni@redhat.com>
17372
17373 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
17374
17375 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
17376
17377 * gdb.arch/gdb1558.c: Include stdio.h.
17378
17379 2005-10-31 Mark Kettenis <kettenis@gnu.org>
17380
17381 * gdb.asm/asm-source.exp: Use -e instead of --entry.
17382
17383 2005-10-31 Mark Kettenis <kettenis@gnu.org>
17384
17385 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
17386
17387 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
17388
17389 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17390 vscr" tests to better match output.
17391
17392 2005-10-12 Jim Blandy <jimb@redhat.com>
17393
17394 * gdb.base/structs.exp (any): New function.
17395 (test_struct_returns): Don't make any assumptions at all about
17396 what value the function returns when GDB can't set the return
17397 value.
17398
17399 2005-10-09 Joel Brobecker <brobecker@adacore.com>
17400
17401 * gdb.ada/arrayidx/p.adb: New file.
17402 * gdb.ada/arrayidx.exp: New testcase
17403
17404 2005-10-09 Joel Brobecker <brobecker@adacore.com>
17405
17406 * gdb.ada/array_return/pck.ads: New file.
17407 * gdb.ada/array_return/pck.adb: New file.
17408 * gdb.ada/array_return/p.adb: New file.
17409 * gdb.ada/array_return.exp: New testcase.
17410
17411 2005-10-03 Joel Brobecker <brobecker@adacore.com>
17412
17413 * gdb.base/arrayidx.c: New file.
17414 * gdb.base/arrayidx.exp: New testcase.
17415
17416 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
17417
17418 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
17419 frames-invalid and breakpoints-invalid are no longer generated
17420 with level 3 so don't expect them in the output.
17421
17422 2005-09-27 Bob Rossi <bob@brasko.net>
17423
17424 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
17425 from test. Escape the | in mi_gdb_test call.
17426 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
17427 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
17428 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
17429 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
17430 expected regex's in mi_gdb_test calls.
17431 * lib/mi-support.exp: Remove arbitrary .* from tests.
17432 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
17433 Fully anchor GDB/MI expected results in mi_gdb_test.
17434 * lib/gdb.exp (string_to_regexp): Escape the ] character.
17435 * gdb.base/sizeof.exp: Remove escape character. Correct test.
17436
17437 2005-09-26 Paul Brook <paul@codesourcery.com>
17438
17439 * long_long.exp: Exclude eabi targets from arm FPA float format test.
17440
17441 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17442
17443 * bfp-test.c: New file.
17444 * bfp-test.exp: New testcase.
17445
17446 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17447
17448 * gdb.fortran/subarray.exp: New testcase to test the evaluation
17449 of subarray and substring variable.
17450 * gdb.fortran/subarray.f: New source file for the test of subarray
17451 and substring variable evaluation.
17452 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
17453 of string constant.
17454
17455 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
17456
17457 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
17458 copyright dates.
17459
17460 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
17461
17462 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
17463 powerpc altivec' test with an almost identical 'info vector' test.
17464
17465 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17466
17467 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17468 vscr" tests to match output.
17469
17470 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17471
17472 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
17473 output.
17474
17475 2005-09-11 Bob Rossi <bob@brasko.net>
17476
17477 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
17478 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
17479 commands that return an MI output command and an asyncronous MI output
17480 command.
17481 * gdb.mi/mi-console.exp: Ditto.
17482
17483 2005-09-11 Bob Rossi <bob@brasko.net>
17484
17485 * gdb.mi/mi-var-child.c: Include <string.h>.
17486
17487 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
17488
17489 * killed.exp: Correct gdb_expect syntax.
17490
17491 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
17492
17493 * lib/mi-support.exp (mi_gdb_load): Fix typo.
17494
17495 2005-08-02 Bob Rossi <bob@brasko.net>
17496
17497 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
17498 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
17499 Change tests to inferior-tty-set/show.
17500 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
17501 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
17502 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
17503 inferior. Use mi_gdb_test to get GDB and Inferior output.
17504 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
17505 descriptor.
17506 (mi_inferior_tty_name): Add inferior PTY file name.
17507 (mi_gdb_start): Add INFERIOR_PTY parameter.
17508 (mi_gdb_test): Add IPATTERN parameter.
17509
17510 2005-08-02 Bob Rossi <bob@brasko.net>
17511
17512 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
17513 parameter to mi_gdb_test.
17514 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
17515
17516 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17517
17518 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
17519 struct_declarations.
17520 * gdb.mi/mi-var-child.exp: Step over the initialization of
17521 struct_declarations.
17522
17523 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17524
17525 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
17526 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
17527 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
17528 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
17529 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
17530 file.
17531
17532 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
17533
17534 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
17535 (do_children_tests): Assign values to the extra elements.
17536
17537 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
17538 them for tests for "-var-update --no-values" and
17539 "-var-update --all-values".
17540 Add test for "-var-list-children --simple-values".
17541
17542 * gdb.mi/basics.c (callee4): Add integer array D[3]...
17543
17544 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
17545 "-stack-list-locals --simple-values" Improve doc strings and
17546 comments.
17547
17548 2005-07-18 Mark Kettenis <kettenis@gnu.org>
17549
17550 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
17551 *-*-openbsd*.
17552 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
17553
17554 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
17555 sigaltsatck'.
17556
17557 2005-07-14 Bob Rossi <bob@brasko.net>
17558
17559 * gdb.base/default.exp (tty): Changed output of command.
17560 * gdb.base/help.exp (help tty): Ditto.
17561
17562 2005-07-12 Mark Kettenis <kettenis@gnu.org>
17563
17564 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
17565
17566 2005-07-10 Mark Kettenis <kettenis@gnu.org>
17567
17568 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
17569 -stack-select-frame without arguments.
17570 (test_stack_frame_listing): Add test for newly implemented command
17571 -stack-info-frame.
17572
17573 2005-07-06 Bob Rossi <bob@brasko.net>
17574
17575 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
17576 command.
17577 (Copyright): Update copyright.
17578
17579 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
17580
17581 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
17582 tests to evaluate exponentiation expression.
17583
17584 2005-06-29 Andreas Schwab <schwab@suse.de>
17585
17586 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
17587 main to avoid warnings.
17588
17589 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
17590
17591 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
17592
17593 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
17594 -stack-select-frame without arguments.
17595 (test_stack_frame_listing): Add test for newly implemented command
17596 -stack-info-frame.
17597
17598 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
17599
17600 * gdb.fortran/array-element.f: New file.
17601 * gdb.fortran/array-element.exp: New testcase.
17602
17603 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17604
17605 * gdb.base/bigcore.exp: Correct checks for systems which can
17606 not dump a large core file.
17607
17608 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17609
17610 * gdb.base/relocate.c: Add a copyright notice.
17611 (dummy): Remove.
17612 * gdb.base/relocate.exp: Test printing the values of variables
17613 from a relocatable file.
17614
17615 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17616
17617 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
17618 excess MI output after an error.
17619
17620 2005-05-29 Joel Brobecker <brobecker@adacore.com>
17621
17622 * gdb.arch/alpha-step.c: New file.
17623 * gdb.arch/alpha-step.exp: New testcase.
17624
17625 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
17626 Dennis Brueni <dennis@slickedit.com>
17627
17628 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
17629 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
17630 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
17631 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
17632 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
17633 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
17634 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
17635
17636 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
17637 Wu Zhou <woodzltc@cn.ibm.com>
17638
17639 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
17640 IBM's xlc compiler.
17641 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
17642 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
17643
17644 2005-05-13 Jim Blandy <jimb@redhat.com>
17645
17646 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
17647 calling gdb_suppress_entire_file.
17648 * gdb.base/charset.exp: Same.
17649 * gdb.base/call-rt-st.exp: Same.
17650
17651 2005-05-05 Bob Rossi <bob_rossi@cox.net>
17652
17653 * lib/gdb.exp (fullname_syntax): Added global regex.
17654 (fullname_syntax_POSIX): Ditto.
17655 (fullname_syntax_UNC): Ditto.
17656 (fullname_syntax_DOS_CASE): Ditto.
17657 (fullname_syntax_DOS): Ditto.
17658 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
17659 fullname_syntax variable to scope and use it.
17660 (test_file_list_exec_source_files): Ditto.
17661 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
17662
17663 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
17664
17665 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
17666
17667 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
17668
17669 * lib/gdb.exp (skip_altivec_tests): New function, based on
17670 check_vmx_hw_available from the GCC testsuite.
17671 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
17672 * lib/gdb.arch/altivec-regs.exp: Likewise.
17673
17674 2005-05-02 Jim Blandy <jimb@redhat.com>
17675
17676 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
17677 calling gdb_suppress_entire_file.
17678
17679 2005-04-30 Randolph Chung <tausq@debian.org>
17680
17681 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
17682 Slightly relax "sem_post" name checking.
17683
17684 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17685
17686 * gdb.base/unload.exp: Use new shared library infrastructure.
17687
17688 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17689
17690 * gdb.base/so-impl-ld.exp: Use new shared library
17691 infrastructure.
17692
17693 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
17694
17695 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
17696 * gdb.asm/h8300.inc: New file.
17697
17698 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17699
17700 * gdb.base/shlib-call.exp: Change to use new shared library
17701 infrastructure.
17702
17703 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17704
17705 * gdb.base/pending.exp: Change to use new shared library
17706 infrastructure.
17707
17708 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17709
17710 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
17711 use test_compiler_info instead of gcc_compiled, and update copyright.
17712
17713 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
17714
17715 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
17716 shared objects being adjusted and update copyright years.
17717
17718 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
17719
17720 * ChangeLog: Correct some 2003-01-13 dates.
17721 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
17722 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
17723 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
17724 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
17725 gdb.trace/tfind.exp: Update copyright years.
17726
17727 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
17728 Daniel Jacobowitz <dan@codesourcery.com>
17729
17730 * lib/gdb.exp (gdb_compile): Handle shlib=.
17731 (gdb_compile_shlib): New function.
17732
17733 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
17734
17735 * lib/gdb.exp (test_compiler_info): Give argument a default value.
17736
17737 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17738
17739 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
17740 gdb.server.
17741 * configure.ac: Likewise.
17742 * configure: Regenerated.
17743 * gdb.gdbserver/Makefile.in: Moved to...
17744 * gdb.server/Makefile.in: ... here.
17745 * gdb.gdbserver/server.c: Moved to...
17746 * gdb.server/server.c: ... here.
17747 * gdb.gdbserver/server-run.exp: Moved to...
17748 * gdb.server/server-run.exp: ... here.
17749
17750 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17751
17752 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
17753 * configure.ac: Create gdb.gdbserver/Makefile.
17754 * configure: Regenerated.
17755 * lib/gdbserver-support.exp: New file, derived from
17756 config/gdbserver.exp.
17757 * config/gdbserver.exp: Use gdbserver-support.exp.
17758 * gdb.gdbserver/Makefile.in: New file.
17759 * gdb.gdbserver/server.c: New file.
17760 * gdb.gdbserver/server-run.exp: New file.
17761
17762 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
17763
17764 * lib/gdb.exp (test_compiler_info): Return compiler_info
17765 if no arguments are given.
17766
17767 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
17768
17769 * gdb.arch/altivec-abi.exp: Check for compiler and set
17770 use altivec' flag accordingly.
17771 * gdb.arch/altivec-regs.exp: Likewise.
17772
17773 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
17774
17775 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
17776
17777 2005-03-27 Andreas Schwab <schwab@suse.de>
17778
17779 * gdb.base/bigcore.c (main): Add missing mode argument in open
17780 call.
17781
17782 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
17783
17784 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
17785 downloads.
17786 * config/gdbserver.exp (gdb_load): Likewise.
17787
17788 2005-03-14 Paul Brook <paul@codesourcery.com>
17789
17790 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
17791 targets.
17792
17793 2005-03-09 Joel Brobecker <brobecker@adacore.com>
17794
17795 * gdb.dwarf2/dup-psym.S: New file.
17796 * gdb.dwarf2/dup-psym.exp: New testcase.
17797
17798 2005-03-09 Joel Brobecker <brobecker@adacore.com>
17799
17800 * gdb.ada/exec_changed/first.adb: New file.
17801 * gdb.ada/exec_changed/second.adb: New file.
17802 * gdb.ada/exec_changed.exp: New testcase.
17803
17804 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
17805
17806 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
17807 (A2): New class.
17808 (main): Test operator+.
17809 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
17810 breakpoint test.
17811
17812 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
17813 * gdb.base/signull.exp: Disable if gdb,nosignals.
17814 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
17815 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
17816 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
17817 * gdb.mi/mi2-console.exp: Likewise.
17818 * gdb.trace/collection.exp (run_trace_experiment): Consume the
17819 continue output at start.
17820 (gdb_collect_locals_test): Robustify regexp.
17821 * gdb.trace/passc-dyn.exp: Fix comment typo.
17822 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
17823
17824 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
17825
17826 * gdb.asm/asm-source.exp: Add iq2000 case.
17827 * gdb.asm/iq2000.inc: New file.
17828
17829 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
17830
17831 * gdb.base/command.exp: Change hardcoded value to regular expression.
17832 * gdb.base/float.exp: Add powerpc to the list of targets checked.
17833
17834 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
17835
17836 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
17837 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
17838 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
17839 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
17840 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
17841
17842 2005-03-05 Mark Kettenis <kettenis@gnu.org>
17843
17844 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
17845 changes.
17846
17847 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
17848
17849 * lib/compiler.c: Add test for IBM's xlc compiler.
17850 * lib/compiler.cc: Likewise.
17851
17852 2004-02-24 Joel Brobecker <brobecker@adacore.com>
17853
17854 * gdb.ada/fixed_points.exp: Create compilation object directory
17855 before running the test.
17856 * gdb.ada/null_record.exp: Likewise.
17857 * gdb.ada/packed_array.exp: Likewise.
17858 * gdb.ada/start.exp: Likewise.
17859
17860 2005-02-15 Joel Brobecker <brobecker@adacore.com>
17861
17862 * gdb.ada/packed_array/pa.adb: New file.
17863 * gdb.ada/packed_array.exp: New testcase.
17864
17865 2005-02-10 Mark Kettenis <kettenis@gnu.org>
17866
17867 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
17868 files.
17869
17870 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
17871 on *-*-openbsd*. Correctly match whitespace in regukar
17872 expressions.
17873
17874 2005-02-10 Daniel Jacobowitz <dan@debian.org>
17875
17876 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
17877 PR exp/1821
17878 * gdb.base/gdb1821.c: New test file.
17879 * gdb.base/gdb1821.exp: New test file.
17880
17881 2005-02-09 Joel Brobecker <brobecker@adacore.com>
17882
17883 * gdb.base/start.c: New file.
17884 * gdb.base/start.exp: New testcase.
17885
17886 2005-02-09 Joel Brobecker <brobecker@adacore.com>
17887
17888 * gdb.ada/start/dummy.adb: New file.
17889 * gdb.ada/start.exp: New testcase.
17890
17891 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
17892
17893 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
17894 for printing symbols and statistics.
17895 Add test for using relative pathnames in "maint print msymbols" test.
17896 Mark "maint info sections DATA" XFAIL on Cygwin.
17897 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
17898 tests.
17899
17900 2005-02-09 Andreas Schwab <schwab@suse.de>
17901
17902 Committed by Andrew Cagney <cagney@gnu.org>
17903 * gdb.base/remotetimeout.exp: New file.
17904
17905 2005-02-07 Mark Kettenis <kettenis@gnu.org>
17906
17907 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
17908
17909 2005-02-03 Joel Brobecker <brobecker@adacore.com>
17910
17911 * gdb.ada/gnat_ada.gpr: New file.
17912 * gdb.ada/gnat_ada.gin: Delete, no longer used.
17913 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
17914 * configure.ac: No longer generate gnat_ada.gpr.
17915 * configure: Regenerate.
17916 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
17917 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
17918 * gdb.ada/null_record/bar.ads: Likewise.
17919 * gdb.ada/null_record/bar.adb: Likewise.
17920 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
17921 * gdb.ada/null_record.exp (testdir): New variable.
17922 (testfile): executable is now in testdir subdirectory.
17923 (srcfile): Use full path to the main compilation unit.
17924 * gdb.ada/fixed_points.exp: Same changes as above.
17925
17926 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
17927
17928 * gdb.base/interp.exp: New test.
17929
17930 2005-01-24 Andrew Cagney <cagney@gnu.org>
17931
17932 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
17933
17934 2005-01-19 Andrew Cagney <cagney@gnu.org>
17935
17936 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
17937 configure.ac not configure.in.
17938
17939 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
17940 of powerpc*-*-*.
17941 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
17942 * gdb.base/list.exp (test_list_function)
17943 (test_list_filename_and_function): Ditto.
17944 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
17945
17946 2005-01-16 Andrew Cagney <cagney@gnu.org>
17947
17948 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
17949
17950 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
17951
17952 2005-01-14 Andrew Cagney <cagney@gnu.org>
17953
17954 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
17955 * gdb.mi/mi2-var-cmd.exp: Ditto.
17956
17957 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
17958
17959 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
17960
17961 2005-01-07 Andrew Cagney <cagney@gnu.org>
17962
17963 * configure.ac: Rename configure.in, require autoconf 2.59.
17964 * configure: Re-generate.
17965 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
17966 * gdb.stabs/configure: Re-generate.
17967 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
17968 * gdb.hp/configure: Re-generate.
17969 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
17970 autoconf 2.59.
17971 * gdb.hp/gdb.objdbg/configure: Re-generate.
17972 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
17973 autoconf 2.59.
17974 * gdb.hp/gdb.defects/configure: Re-generate.
17975 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
17976 autoconf 2.59.
17977 * gdb.hp/gdb.compat/configure: Re-generate.
17978 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
17979 autoconf 2.59.
17980 * gdb.hp/gdb.base-hp/configure: Re-generate.
17981 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
17982 autoconf 2.59.
17983 * gdb.hp/gdb.aCC/configure: Re-generate.
17984
17985 2004-12-15 Jim Blandy <jimb@redhat.com>
17986
17987 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
17988 under NPTL when there is debugging info available for libpthread.
17989
17990 2004-12-13 Jerome Guitton <guitton@gnat.com>
17991
17992 * gdb.ada/fixed_points.c: New file.
17993 * gdb.ada/fixed_points.exp: New file.
17994
17995 2004-12-03 Randolph Chung <tausq@debian.org>
17996
17997 * gdb.arch/pa-nullify.exp: New file.
17998 * gdb.arch/pa-nullify.s: New file.
17999
18000 2004-11-30 Randolph Chung <tausq@debian.org>
18001
18002 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
18003 instead of "tbug". Fix regexp to work properly with gdb_test.
18004
18005 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
18006
18007 * gdb.base/bitfields2.exp: New test.
18008 * gdb.base/bitfields2.c: New file.
18009
18010 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
18011
18012 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
18013
18014 2004-11-16 Randolph Chung <tausq@debian.org>
18015
18016 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
18017
18018 2004-11-14 Daniel Jacobowitz <dan@debian.org>
18019
18020 * gdb.threads/threadapply.exp: Correct "macro details" test.
18021
18022 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
18023
18024 * gdb.threads/threadapply.exp: New test.
18025 * gdb.threads/threadapply.c: New file.
18026
18027 2004-11-07 Mark Kettenis <kettenis@gnu.org>
18028
18029 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
18030 frames.
18031
18032 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
18033
18034 * gdb.base/cursal.exp: New file.
18035 * gdb.base/cursal.c: New file.
18036
18037 2004-11-03 Andrew Cagney <cagney@gnu.org>
18038
18039 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
18040
18041 2004-10-30 Mark Kettenis <kettenis@gnu.org>
18042
18043 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
18044 NetBSD/ELF targets.
18045
18046 2004-10-29 Joel Brobecker <brobecker@gnat.com>
18047
18048 * gdb.threads/bp_in_thread.c: New file, copied from
18049 pthread_cond_wait.c.
18050 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
18051 file, rather than reusing the .c file from another testcase.
18052
18053 2004-10-20 Joel Brobecker <brobecker@gnat.com>
18054
18055 * gdb.ada/null_record.exp: Check where we stopped after
18056 sending the start command, instead of where the associated
18057 temporary breakpoint was inserted.
18058
18059 2004-10-14 Andrew Cagney <cagney@gnu.org>
18060
18061 * gdb.mi/gdb701.c (main): Return 0.
18062
18063 2004-10-13 Daniel Jacobowitz <dan@debian.org>
18064
18065 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
18066
18067 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
18068
18069 * gdb.threads/schedlock.c: Add comment markers to use to find
18070 line numbers.
18071 * gdb.threads/schedlock.exp: Adjust regex to handle the new
18072 comments.
18073 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
18074 breakpoint lines.
18075
18076 2004-10-12 Daniel Jacobowitz <dan@debian.org>
18077
18078 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
18079
18080 2004-10-12 Daniel Jacobowitz <dan@debian.org>
18081
18082 * configure.in: Add gdb.dwarf2.
18083 * configure: Regenerated.
18084 * Makefile.in: Add gdb.dwarf2.
18085 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
18086 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
18087 gdb.dwarf2/file1.txt: New files.
18088
18089 2004-10-11 Orjan Friberg <orjanf@axis.com>
18090
18091 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
18092 of "run", since the latter doesn't work with remote targets. Adjust
18093 the breakpoint numbering accordingly.
18094 * gdb.threads/pthread_cond_wait.exp: Ditto.
18095
18096 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
18097
18098 * gdb.base/overlays.exp: Update copyright years.
18099
18100 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
18101
18102 * gdb.base/overlays.exp: Disable if target is Linux.
18103
18104 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
18105
18106 * config/gdbserver.exp (gdb_load): Use right filename on remote.
18107
18108 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
18109
18110 * gdb.asm/asm-source.exp: Add m32r-linux target.
18111 * gdb.asm/m32r-linux.inc: New file.
18112
18113 2004-09-24 Andrew Cagney <cagney@redhat.com>
18114 David Anderson <anderson@redhat.com>
18115
18116 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
18117 command fails, assume things will work.
18118 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
18119 (_GNU_SOURCE): Define.
18120 (print_unsigned, print_hex): Change parameter to "long long".
18121 (print_byte_count): New function, use to print byte counts.
18122 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
18123 O_LARGEFILE.
18124 (main): Compute an upper bound on a corefile in max_core_size.
18125 Limit memory chunk size to max_core_size. Limit total memory
18126 allocated to max_core_size.
18127
18128 2004-09-23 Andrew Cagney <cagney@gnu.org>
18129
18130 * gdb.base/bigcore.exp: Replace the code that creates a corefile
18131 from a separate process with code that creates a corefile by
18132 making the inferior dump core.
18133
18134 2004-09-23 Mark Kettenis <kettenis@gnu.org>
18135
18136 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
18137 block.
18138
18139 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
18140
18141 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
18142 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
18143 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
18144 Likewise.
18145
18146 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
18147
18148 * gdb.java/jprint.exp: New test case for java inferior call.
18149 * gdb.java/jprint.java: Ditto.
18150
18151 2004-09-15 Joel Brobecker <brobecker@gnat.com>
18152
18153 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
18154
18155 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18156
18157 * gdb.threads/killed.c: Include <stdlib.h>.
18158 * gdb.threads/pthreads.c: Likewise.
18159
18160 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18161
18162 * gdb.threads/killed.c: Add copyright notice.
18163
18164 2004-09-10 Jason Molenda (jmolenda@apple.com)
18165
18166 * gdb.base/define.exp: Two new tests to verify zero space chars
18167 after 'if' and 'while' commands in a user-defined command is correctly
18168 parsed.
18169
18170 2004-09-08 Andrew Cagney <cagney@gnu.org>
18171
18172 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
18173 delivery test with duplicate at end of file.
18174
18175 2004-09-06 Mark Kettenis <kettenis@jive.nl>
18176
18177 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
18178
18179 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18180
18181 * config/hppro.exp: Removed.
18182
18183 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18184
18185 * config/sparclet.exp: Removed.
18186
18187 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18188
18189 * config/udi.exp: Removed.
18190
18191 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
18192
18193 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
18194 of "exp_continue".
18195 (advancei): Likewise.
18196
18197 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18198
18199 * gdb.base/unload.exp: Fix so messages aren't duplicated.
18200
18201 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
18202
18203 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
18204 to check for nodebug in executable.
18205 * gdb.gdb/observer.exp (setup_test): Likewise.
18206 * gdb.gdb/selftest.exp (test_with_self): Likewise.
18207 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
18208
18209 2004-09-01 Andrew Cagney <cagney@gnu.org>
18210
18211 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18212 files.
18213
18214 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18215
18216 * gdb.base/unload.exp: Fix expected warning message to match
18217 latest format.
18218
18219 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
18220
18221 * gdb.base/call-rt-st.exp: Fix typos.
18222
18223 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
18224
18225 * gdb.threads/thread_check.exp: New testcase.
18226 * gdb.threads/thread_check.c: New testcase.
18227
18228 2004-08-31 Andrew Cagney <cagney@gnu.org>
18229
18230 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
18231 (skip_to_handler_entry): New procedures. Test stepping into a
18232 handler when the breakpoint is at the handler's entry point.
18233
18234 2004-08-30 Andrew Cagney <cagney@gnu.org>
18235
18236 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
18237 gdb/1757.
18238
18239 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18240
18241 With code from Manoj Iyer <manjo@austin.ibm.com>:
18242 * lib/gdb.exp (gdb_file_cmd): Return more information in the
18243 return value. Add an arm for "no debugging symbols found".
18244 Change a stray "error" to "perror".
18245 (gdb_run_cmd): Adapt to new return value.
18246 * gdb.base/remote.exp: Adapt to new return value.
18247 * gdb.gdb/complaints.exp: Likewise.
18248 * gdb.gdb/observer.exp: Likewise.
18249 * gdb.gdb/selftest.exp: Likewise.
18250 * gdb.gdb/xfullpath.exp: Likewise.
18251
18252 2004-08-27 Joel Brobecker <brobecker@gnat.com>
18253
18254 * gdb.threads/bp_in_thread.exp: New testcase.
18255
18256 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18257
18258 Fix PR testsuite/1735.
18259 * gdb.threads/schedlock.c (thread_function): Add a cast
18260 to suppress a gcc warning.
18261 * gdb.threads/thread-specific.c (thread_function): Likewise.
18262
18263 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18264
18265 * gdb.base/unload.c: Include <stdlib.h>.
18266
18267 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18268
18269 From Paul Gilliam <pgilliam@us.ibm.com>:
18270 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
18271 synchronized after the "return".
18272
18273 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18274
18275 * gdb.mi/basics.c: Include <stdio.h>.
18276 * gdb.mi/pthreads.c: Include <stdlib.h>.
18277 * gdb.mi/var-cmd.c: Include <stdlib.h>.
18278
18279 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18280
18281 * gdb.threads/schedlock.c: Add copyright notice.
18282
18283 2004-08-25 Andrew Cagney <cagney@gnu.org>
18284
18285 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
18286 (skip_over_handler, breakpoint_over_hander): New test procedures.
18287 (advance, advancei): Add a proper prefix, do not use
18288 rerun_to_main.
18289 * gdb.base/sigstep.c (main): Change to use an infinite loop.
18290
18291 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
18292
18293 * gdb.mi/basics.c: Add copyright notice.
18294 * gdb.mi/var-cmd.c: Add copyright notice.
18295
18296 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18297
18298 * lib/gdb.exp: Remove signed_keyword_not_used.
18299 * lib/compiler.c: Likewise.
18300 * lib/compiler.cc: Likewise.
18301
18302 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18303
18304 * gdb.base/whatis.c: Remove conditional disabling of "signed".
18305 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
18306
18307 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18308
18309 * gdb.base/whatis.c: Add copyright notice.
18310
18311 2004-08-20 Mark Kettenis <kettenis@gnu.org>
18312
18313 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
18314 it to skip the breakpoints encoded in the inline assembly.
18315
18316 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18317
18318 * Makefile.in: Add gdb.fortran.
18319
18320 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18321
18322 * gdb.base/call-sc.exp (test_scalar_returns):
18323 Fix cut-and-paste glitch in "Make fun return now".
18324
18325 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18326
18327 * configure.in: Add gdb.fortran.
18328 * configure: Regenerate.
18329 * gdb.fortran/Makefile.in: New file.
18330 * lib/gdb.exp (skip_fortran_tests): New procedure.
18331
18332 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18333
18334 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
18335 reference to bug-gnu@prep.ai.mit.edu.
18336 * gdb.mi/mi-var-child.exp: Likewise.
18337 * gdb.mi/mi-var-cmd.exp: Likewise.
18338 * gdb.mi/mi-var-display.exp: Likewise.
18339 * gdb.mi/mi2-var-block.exp: Likewise.
18340 * gdb.mi/mi2-var-child.exp: Likewise.
18341 * gdb.mi/mi2-var-cmd.exp: Likewise.
18342 * gdb.mi/mi2-var-display.exp: Likewise.
18343
18344 2004-08-15 Mark Kettenis <kettenis@gnu.org>
18345
18346 * gdb.base/unload.c (main): Make local variable msg const.
18347
18348 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18349
18350 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
18351 to bug-gnu@prep.ai.mit.edu.
18352 * gdb.mi/mi-disassemble.exp: Likewise.
18353 * gdb.mi/mi-eval.exp: Likewise.
18354 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
18355 default line number.
18356 * gdb.mi/mi-return.exp: Likewise.
18357 * gdb.mi/mi-simplerun.exp: Likewise.
18358 * gdb.mi/mi-stack.exp: Likewise.
18359 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
18360 number with explicit range test.
18361 * gdb.mi/mi-watch.exp: Likewise.
18362 * gdb.mi/mi2-break.exp: Likewise.
18363 * gdb.mi/mi2-cli.exp: Likewise.
18364 * gdb.mi/mi2-disassemble.exp: Likewise.
18365 * gdb.mi/mi2-eval.exp: Likewise.
18366 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
18367 default line number.
18368 * gdb.mi/mi2-return.exp: Likewise.
18369 * gdb.mi/mi2-simplerun.exp: Likewise.
18370 * gdb.mi/mi2-stack.exp: Likewise.
18371 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
18372 number with explicit range test.
18373 * gdb.mi/mi2-watch.exp: Likewise.
18374
18375 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18376
18377 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
18378 * gdb.cp/m-static.exp: Likewise.
18379 * gdb.cp/rtti.exp: Likewise.
18380
18381 2004-08-14 Mark Kettenis <kettenis@gnu.org>
18382
18383 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
18384
18385 2004-08-14 Eli Zaretskii <eliz@gnu.org>
18386
18387 * ChangeLog: Prefix Local Variables with semi-colons and indent
18388 the reference to older ChangeLog files, to fix fontification in
18389 Emacs.
18390
18391 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18392
18393 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
18394 * gdb.mi/mi2-break.exp: Likewise.
18395
18396 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18397
18398 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
18399
18400 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18401
18402 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
18403
18404 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18405
18406 * gdb.cp/classes.exp: Remove unused declarations. Just let
18407 test names default instead of providing special names. Remove
18408 extraneous demangler test.
18409
18410 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
18411
18412 * gdb.base/unload.exp: New test for breakpoints in dynamically
18413 loaded libraries.
18414 * gdb.base/unload.c: Ditto.
18415 * gdb.base/unloadshr.c: Ditto.
18416
18417 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
18418
18419 * gdb.cp/classes.exp (test_ptype_class_objects): Call
18420 cp_test_ptype_class.
18421 (test_enums): Likewise.
18422
18423 2004-08-10 Andrew Cagney <cagney@gnu.org>
18424
18425 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18426 files.
18427
18428 2004-08-10 Andrew Cagney <cagney@gnu.org>
18429
18430 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
18431 init_malloc call.
18432
18433 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
18434
18435 * ChangeLog: Add copyright notice. The notice is copied
18436 from emacs 21.3 top level ChangeLog.
18437
18438 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18439
18440 * lib/cp-support.exp: New file.
18441 * lib/cp-support.exp (cp_test_type_class): New function.
18442 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
18443 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
18444 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
18445 cp_test_ptype_class.
18446
18447 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18448
18449 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
18450 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
18451 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
18452 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
18453 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
18454 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
18455 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
18456 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
18457 gdb.mi/mi2-watch.exp: Update copyright years.
18458
18459 2004-08-09 Mark Kettenis <kettenis@gnu.org>
18460
18461 * gdb.base/sigaltstack.exp: Provide proper anchoring.
18462
18463 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18464
18465 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
18466 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
18467 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
18468 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
18469 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
18470 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
18471 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
18472 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
18473 gdb.mi/mi-watch.exp: Update copyright years.
18474
18475 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18476
18477 PR gdb/1738
18478 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
18479 from a breakpoint with a pending signal.
18480
18481 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18482
18483 PR gdb/1736
18484 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
18485 * gdb.base/sigaltstack.exp (finish_test): Consume output until
18486 the prompt.
18487 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
18488
18489 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18490
18491 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
18492
18493 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18494
18495 PR gdb/1736
18496 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
18497 for i?86-*-linux*.
18498
18499 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18500
18501 * gdb.arch/i386-prologue.exp: Compile without debug information.
18502
18503 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
18504
18505 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
18506 rather than asking gdb to search.
18507
18508 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18509
18510 * gdb.base/gcore.c: Include <string.h>.
18511
18512 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18513
18514 * gdb.base/gcore.c: Add copyright notice.
18515
18516 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18517
18518 * gdb.base/freebpcmd.c: Include <stdio.h>.
18519 * gdb.base/long_long.c: Include <string.h>.
18520 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
18521 * gdb.base/siginfo.c: Include <string.h>.
18522 * gdb.base/sigstep.c: Include <string.h>.
18523
18524 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18525
18526 * gdb.base/complex.c: Include <stdlib.h>.
18527
18528 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18529
18530 * gdb.base/complex.c: Add copyright notice.
18531
18532 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18533
18534 * gdb.base/charset.c: Include <stdlib.h>.
18535
18536 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18537
18538 * gdb.base/auxv.c: Include <stdlib.h>.
18539
18540 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18541
18542 * gdb.base/auxv.c: Add copyright notice.
18543
18544 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18545
18546 * gdb.base/coremaker.c: Add copyright notice.
18547 * gdb.base/coremaker2.c: Add copyright notice.
18548
18549 2004-08-04 Andrew Cagney <cagney@gnu.org>
18550
18551 * gdb.base/store.exp: Update copyright.
18552 (check_set, up_set, check_struct, up_struct): Add a prefix to test
18553 names, do not import gdb_prompt.
18554
18555 2004-08-01 Andrew Cagney <cagney@gnu.org>
18556
18557 Fix PR testsuite/1729.
18558 * gdb.base/dump.exp: Add test name to callers of capture_value, do
18559 not use capture_value with value 4.
18560 (capture_value): Add optional test name parameter.
18561 (test_reload_saved_value, test_restore_saved_value): Use $msg as
18562 the prefix, pass to capture_value.
18563
18564 2004-08-01 Mark Kettenis <kettenis@gnu.org>
18565
18566 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
18567 * gdb.arch/i386-prologue.c (standard): New prototype and function.
18568 (main): Call new function.
18569
18570 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18571
18572 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
18573
18574 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18575
18576 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
18577
18578 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18579
18580 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
18581 Accept more values of vtbl pointer. Remove some messages
18582 about "obsolete gcc or gdb".
18583
18584 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18585
18586 * gdb.cp/classes.exp: Accept more varieties of ptype output.
18587
18588 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18589
18590 * gdb.base/asm-source.exp: Properly convert target board
18591 debug flags from gcc format to binutils format.
18592
18593 2004-07-28 Mark Kettenis <kettenis@gnu.org>
18594
18595 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
18596 gdb1718". PR backtrace/1718 partially fixed.
18597
18598 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
18599
18600 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
18601
18602 2004-07-26 Nick Clifton <nickc@redhat.com>
18603
18604 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
18605 good default value for a specific architecture is available then
18606 set it to that value. Otherwise default to the -gstabs switch.
18607 Remove the -g... switches from the asm-flags variable. Allow the
18608 target board info to override the value if it wants to. Pass the
18609 switch on the assembler command line.
18610
18611 2004-07-23 Mark Kettenis <kettenis@gnu.org>
18612
18613 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
18614 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
18615 (main): Call new function.
18616
18617 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
18618
18619 Test for PR exp/1715.
18620 * gdb.base/radix.exp: Refactor common procedures. Make all
18621 test names unique. Change XFAIL to KFAIL.
18622
18623 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
18624
18625 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
18626 * gdb.ada/gnat_ada.gin: ... to here.
18627 * configure.in: Use gnat_ada.gin.
18628 * configure: Regenerate.
18629
18630 2004-07-20 Andrew Cagney <cagney@gnu.org>
18631
18632 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
18633 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
18634 XFAILs. Clean up test messages and comments. Check backtraces.
18635 Delete re-sync code.
18636
18637 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18638
18639 Fix PR cli/740.
18640 * gdb.base/annota1.exp: Honor gdb,nosignals.
18641 * gdb.base/annota3.exp: Likewise.
18642
18643 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18644
18645 * lib/java.exp: Update copyright notice.
18646
18647 2004-07-19 Andrew Cagney <cagney@gnu.org>
18648
18649 * gdb.base/selftest.exp: Copy file from here ...
18650 * gdb.gdb/selftest.exp: ... to here.
18651
18652 2004-07-16 Andrew Cagney <cagney@redhat.com>
18653
18654 * lib/insight-support.exp: Delete file.
18655 * lib/java.exp (java_init): Fix copyright.
18656
18657 2004-07-16 Andrew Cagney <cagney@gnu.org>
18658
18659 * gdb.base/restore.c: Append "prologue" to comments marking the a
18660 function's prologue.
18661 * gdb.base/restore.exp: Update copyright, re-indent.
18662 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
18663 callerN" prefix where needed. Update patterns that match a
18664 function's prologue.
18665
18666 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
18667
18668 * gdb.base/restore.c: Add copyright notice.
18669
18670 2004-07-16 Andrew Cagney <cagney@gnu.org>
18671
18672 * gdb.base/logical.exp: Update copyright.
18673 (evaluate): New procedure. Use to re-implement tests using
18674 several tables.
18675
18676 2004-07-14 Martin Hunt <hunt@redhat.com>
18677
18678 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
18679 which fixes some problems where init.tcl was not found.
18680
18681 2004-07-13 Andrew Cagney <cagney@gnu.org>
18682
18683 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
18684 (check_sizeof, check_valueof): Do not include the output in the
18685 test name. Use gdb_test.
18686 (get_valueof): Use gdb_test_multiple.
18687
18688 * gdb.base/step-test.exp: Update copyright. Use
18689 gdb_test_multiple. Ensure that test names do not include
18690 architecture dependent output.
18691
18692 * gdb.gdb/observer.exp: Update copyright.
18693 (setup_test): Use gdb_test_multiple.
18694 (attach_first_observer, attach_second_observer)
18695 (attach_third_observer, detach_first_observer)
18696 (detach_second_observer, detach_third_observer)
18697 (reset_counters, check_counters): Make $message a prefix.
18698 (test_normal_stop_notifications): Add "args" parameter - a list of
18699 init functions to be called. Make $message a prefix,
18700 (test_observer_normal_stop): Change the message prefixes so that
18701 they are unique, pass the attach / detach procedures to
18702 test_normal_stop_notifications.
18703
18704 * gdb.base/signull.exp (test_segv): Prefix all tests with
18705 "${name}". Clean up test messages.
18706
18707 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
18708
18709 * gdb.base/ena-dis-br.exp: Update copyright.
18710 (break_at): New function. Replace send_gdb with gdb_test,
18711 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
18712 ignore count, not stopped at bpt", with KFAIL.
18713
18714 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
18715
18716 * gdb.base/attach.exp: Remove cleanupfile handling.
18717
18718 2004-07-12 Andrew Cagney <cagney@gnu.org>
18719
18720 * gdb.base/annota1.exp: Cleanup corefile test name.
18721 * gdb.base/annota3.exp: Ditto.
18722
18723 2004-07-12 Andrew Cagney <cagney@gnu.org>
18724
18725 * gdb.base/signals.exp: Clean up copyright, re-indent.
18726
18727 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
18728 gdb_test and gdb_test_multiple.
18729
18730 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
18731
18732 * gdb.java/jmain.exp: Fix expected line number for main to
18733 break at. Set XFAIL for break at main test since gcj does not
18734 provide line number info for first statement in main.
18735
18736 2004-07-08 Andrew Cagney <cagney@gnu.org>
18737
18738 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
18739
18740 * gdb.base/sigbpt.exp: Make the common part of each test name a
18741 prefix instead of suffix.
18742
18743 2004-07-07 Bob Rossi <bob_rossi@cox.net>
18744
18745 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
18746 test from test_tbreak_creation_and_listing to
18747 test_file_list_exec_source_file
18748 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
18749 Changed name of test from test_tbreak_creation_and_listing to
18750 test_file_list_exec_source_file
18751
18752 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
18753
18754 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
18755 the jmisc() constructor instead of <init>.
18756 * gdb.java/jmisc1.exp: Ditto.
18757
18758 2004-07-07 Andrew Cagney <cagney@gnu.org>
18759
18760 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
18761 corrupting the PC.
18762
18763 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
18764
18765 * gdb.cp/templates.exp: Accept whitespace change in demangler
18766 output.
18767
18768 2004-07-06 Andrew Cagney <cagney@gnu.org>
18769
18770 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
18771
18772 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
18773
18774 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
18775 * lib/compiler.cc: Likewise.
18776
18777 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
18778
18779 * lib/compiler.cc: Work around string preprocessing problem
18780 with old hp c++ compiler.
18781 * lib/compiler.c: Likewise.
18782
18783 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
18784
18785 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
18786 directives to conditionalize symbol prefixing.
18787 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
18788 additional_flags handling. Add underscore prefix for Cygwin.
18789 * gdb.arch/i386-unwind.c: Use preprocessor directives to
18790 conditionalize symbol prefixing.
18791 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
18792 additional_flags handling. Add underscore prefix for Cygwin.
18793
18794 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
18795
18796 * gdb.base/bigcore.exp: Skip test on Cygwin.
18797
18798 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
18799
18800 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
18801 formats for "info register". Use gdb_test_multiple. Fix
18802 the "invalid register" test.
18803
18804 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
18805
18806 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
18807 PID for Cygwin. Add Cygwin specific strings to check for in some
18808 tests.
18809 (do_attach_tests): Add a test for user interaction when attaching
18810 to a process with no matching symbol table already loaded.
18811
18812 2004-06-26 Andrew Cagney <cagney@gnu.org>
18813
18814 Test PR java/1567 and PR java/1565.
18815 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
18816 * gdb.java/jmisc2.exp: Delete file.
18817
18818 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
18819
18820 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
18821
18822 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
18823
18824 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
18825 attach process.
18826
18827 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
18828
18829 * gdb.cp/pr-1553.exp: Remove.
18830
18831 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
18832
18833 * gdb.cp/pr-1553.cc: Remove.
18834 * gdb.cp/pr-1553.exp: Disable this test.
18835
18836 2004-06-20 Jim Blandy <jimb@redhat.com>
18837
18838 Fix PR testsuite/1680.
18839 * gdb.arch/i386-sse.exp: Properly quote curly braces in
18840 regular expressions.
18841
18842 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
18843
18844 Fix PR testsuite/1679.
18845 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
18846 Issue an UNSUPPORTED result instead.
18847
18848 2004-06-18 Jim Blandy <jimb@redhat.com>
18849
18850 * gdb.base/charset.exp: Only send a control-C if we see a new
18851 prompt and incomplete command.
18852
18853 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
18854
18855 * gdb.cp/pr-574.cc: Add copyright notice.
18856
18857 2004-06-17 Jim Blandy <jimb@redhat.com>
18858
18859 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
18860 cases where the regexp has no groups; this grabs random text from
18861 the previous test suite, whatever that was.
18862
18863 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
18864
18865 * gdb.cp/printmethod.cc: Add copyright notice.
18866
18867 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
18868
18869 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
18870
18871 2004-06-16 Andrew Cagney <cagney@gnu.org>
18872
18873 * gdb.base/signull.c: Update copyright. Include <string.h>.
18874 (bowler): Replace data_pointer with data_read
18875 and data_write cases. Add code_descriptor case.
18876 (zero, desc): New array and pointer.
18877 (data, code): Change to simple pointers.
18878 * gdb.base/signull.exp: Fix probe pattern matching a function
18879 descriptor SIGSEGV. Replace data_pointer with data_read and
18880 data_write tests.
18881
18882 2004-06-16 Andrew Cagney <cagney@gnu.org>
18883
18884 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
18885
18886 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
18887
18888 * gdb.base/long_long.c: Add copyright notice.
18889
18890 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
18891
18892 * gdb.base/long_long.exp: Remove reference to
18893 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
18894 to gdb_breakpoint and gdb_continue_to_breakpoint.
18895
18896 2004-06-14 Jim Blandy <jimb@redhat.com>
18897
18898 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
18899 endian case.
18900
18901 2004-06-14 Andrew Cagney <cagney@gnu.org>
18902
18903 * gdb.base/gcore.exp (capture_command_output): Delete the always
18904 passing tests containing inferior values.
18905 * gdb.base/ending-run.exp: Do not include the breakpoint address
18906 in the test message. Update copyright.
18907 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
18908 size in the test name, use gdb_test_multiple. Update copyright.
18909
18910 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
18911
18912 * gdb.cp/ref-types.cc: Add copyright notice.
18913
18914 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
18915
18916 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
18917 hp_aCC_compiler.
18918 * lib/compiler.cc: Likewise.
18919 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
18920 'set' commands. Log diagnostics for other lines. Set
18921 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
18922
18923 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
18924
18925 * gdb.cp/try_catch.cc: Add copyright notice.
18926
18927 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
18928
18929 * gdb.cp/userdef.cc: Add copyright notice.
18930
18931 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
18932
18933 * gdb.cp/virtfunc.cc: Add copyright notice.
18934
18935 2004-06-11 Randolph Chung <tausq@debian.org>
18936
18937 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
18938 problem.
18939
18940 2004-06-10 Andrew Cagney <cagney@gnu.org>
18941
18942 * lib/compiler.cc, lib/compiler.c: Append either
18943 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
18944 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
18945 instead of gcc-3-3.
18946
18947 2004-06-09 Andrew Cagney <cagney@gnu.org>
18948
18949 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
18950 gdb/1455, bug is specific to "long long" and "double".
18951
18952 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
18953 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
18954 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
18955 fixed.
18956
18957 2004-06-09 Andrew Cagney <cagney@gnu.org>
18958
18959 * gdb.base/structs.exp (test_struct_returns): Replace
18960 "return_value_unknown" and "finish_value_unknown" by
18961 "return_value_known" and "finish_value_known". Instead of
18962 "return_value_unknown" iff "finish_value_unknown", check
18963 "return_value_known" implies "finish_value_known".
18964
18965 2004-06-08 Martin Hunt <hunt@redhat.com>
18966
18967 * gdb.base/float.exp: Add pattern for mips targets.
18968
18969 2004-06-08 Randolph Chung <tausq@debian.org>
18970
18971 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
18972 message for unknown architectures more clear.
18973
18974 2004-06-08 Joel Brobecker <brobecker@gnat.com>
18975
18976 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
18977 start the execution of the program.
18978
18979 2004-06-07 Jim Blandy <jimb@redhat.com>
18980
18981 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
18982 * gdb.arch/i386-cpuid.h: New helper file.
18983
18984 2004-06-07 Randolph Chung <tausq@debian.org>
18985
18986 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
18987 has started.
18988
18989 2004-06-04 Roland McGrath <roland@redhat.com>
18990
18991 Fix PR gdb/1647.
18992 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
18993 differently to be robust to output buffering differences.
18994
18995 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
18996
18997 * gdb.threads/pthreads.exp: Update copyright years.
18998 (check_control_c): Change asynchronous 'after' to synchronous.
18999
19000 2004-06-04 Roland McGrath <roland@redhat.com>
19001
19002 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
19003 next gdb prompt.
19004
19005 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
19006
19007 Fix PR gdb/1636.
19008 * gdb.threads/manythreads.exp: Change asynchronous 'after'
19009 calls to synchronous.
19010
19011 2004-05-26 Jim Blandy <jimb@redhat.com>
19012
19013 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
19014
19015 2004-05-24 Randolph Chung <tausq@debian.org>
19016
19017 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
19018 * gdb.asm/pa.inc: New file.
19019
19020 2004-05-22 Mark Kettenis <kettenis@gnu.org>
19021
19022 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
19023
19024 2004-05-21 Joel Brobecker <brobecker@gnat.com>
19025 Daniel Jacobowitz <drow@mvista.com>
19026
19027 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
19028 GDB prompt.
19029
19030 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19031
19032 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
19033 setjmp/longjmp. Use sigaction instead of signal.
19034
19035 2004-05-19 J. Brobecker <brobecker@gnat.com>
19036 Michael Snyder <msnyder@redhat.com>
19037
19038 * gdb.threads/pthread_cond_wait.c: New file.
19039 * gdb.threads/pthread_cond_wait.exp: New testcase.
19040
19041 2004-05-13 Andrew Cagney <cagney@redhat.com>
19042
19043 * gdb.base/signull.exp, gdb.base/signull.c: New files.
19044 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
19045
19046 2004-05-11 Andrew Cagney <cagney@redhat.com>
19047
19048 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
19049 fixed but revealed gdb/1639.
19050
19051 2004-05-10 Andrew Cagney <cagney@redhat.com>
19052
19053 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
19054 func1" and "next to 2nd alarm", kernel bug avoided.
19055
19056 2004-05-10 Daniel Jacobowitz <dan@debian.org>
19057
19058 PR external/1568
19059 * gdb.base/bigcore.exp: Check the size of the dumped core file.
19060 XFAIL if it is smaller than bytes_allocated.
19061 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
19062 (main): Make chunks_allocated unsigned. Correct comment.
19063
19064 2004-05-07 Joel Brobecker <brobecker@gnat.com>
19065
19066 * gdb.arch/powerpc-aix-prologue.c: New file.
19067 * gdb.arch/powerpc-aix-prologue.exp: New file.
19068
19069 2004-05-07 Jim Blandy <jimb@redhat.com>
19070
19071 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
19072 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
19073
19074 2004-05-06 Joel Brobecker <brobecker@gnat.com>
19075
19076 * gdb.base/sep.exp: No longer setup_kfail when the program was
19077 built with dwarf2.
19078
19079 2004-05-05 Jim Ingham <jingham@apple.com>
19080
19081 * gdb.base/pending.exp: Make sure pending breakpoints
19082 preserve the ignore count.
19083
19084 2004-04-27 Jerome Guitton <guitton@gnat.com>
19085
19086 * i386-prologue.exp: Add testcase for jump instruction as first
19087 instruction of the real code.
19088 * i386-prologue.c (jump_at_beginning): New function.
19089
19090 2004-04-28 Mark Kettenis <kettenis@gnu.org>
19091
19092 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
19093 x86_64-*-*.
19094
19095 2004-04-28 Mark Kettenis <kettenis@gnu.org>
19096
19097 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
19098 i*86-*-*.
19099
19100 2004-04-25 Mark Kettenis <kettenis@gnu.org>
19101
19102 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
19103 expression that checks the return type.
19104
19105 2004-04-23 Andrew Cagney <cagney@redhat.com>
19106
19107 * gdb.base/call-sc.exp: New test of scalar call/return values.
19108 * gdb.base/call-sc.c: Ditto.
19109
19110 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19111
19112 * gdb.threads/manythreads.c: Reduce thread stack size.
19113
19114 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
19115
19116 * gdb.threads/manythreads.c: Add copyright notice.
19117
19118 2004-04-23 Andrew Cagney <cagney@redhat.com>
19119
19120 * gdb.base/siginfo.exp: Better handle step out of signal.
19121 * gdb.base/sigstep.exp: Ditto.
19122
19123 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
19124 Daniel Jacobowitz <drow@mvista.com>
19125
19126 * gdb.threads/manythreads.c: New testcase.
19127 * gdb.threads/manythreads.exp: Ditto.
19128
19129 2004-04-22 Jim Blandy <jimb@redhat.com>
19130
19131 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
19132 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
19133
19134 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
19135
19136 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
19137
19138 2004-04-21 Andrew Cagney <cagney@redhat.com>
19139
19140 * gdb.base/sigstep.c: New file.
19141 * gdb.base/sigstep.exp: New file.
19142
19143 2004-04-16 Joel Brobecker <brobecker@gnat.com>
19144
19145 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
19146 call to observer_notify_normal_stop.
19147
19148 2004-04-15 Andrew Cagney <cagney@redhat.com>
19149
19150 * gdb.base/siginfo.c: New file.
19151 * gdb.base/siginfo.exp: New file.
19152
19153 2004-04-12 J. Brobecker <brobecker@gnat.com>
19154
19155 * gdb.base/sep.exp: Fix typo in comment.
19156
19157 2004-04-12 J. Brobecker <brobecker@gnat.com>
19158
19159 * gdb.base/sep.c: New file.
19160 * gdb.base/sep-proc.c: New file.
19161 * gdb.base/sep.exp: New testcase.
19162
19163 2004-04-09 Mark Kettenis <kettenis@gnu.org>
19164
19165 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
19166 support.
19167
19168 2004-04-05 Andrew Cagney <cagney@redhat.com>
19169
19170 * gdb.base/sigaltstack.c: New file.
19171 * gdb.base/sigaltstack.exp: New file.
19172
19173 2004-04-04 Joel Brobecker <brobecker@gnat.com>
19174
19175 * gdb.base/foll-fork.exp: Update the expected output for
19176 "help set follow-fork-mode", to match a change that was made
19177 to the help of this variable on 2004-01-13.
19178
19179 2004-04-01 Joel Brobecker <brobecker@gnat.com>
19180
19181 * lib/ada.exp: Add copyright notice.
19182 * bar.ads: Likewise.
19183 * bar.adb: Likewise.
19184 * null_record.adb: Likewise.
19185 * null_record.exp: Likewise.
19186 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
19187
19188 2004-04-01 Joel Brobecker <brobecker@gnat.com>
19189
19190 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
19191 * configure: Regenerate.
19192
19193 2004-04-01 Joel Brobecker <brobecker@gnat.com>
19194
19195 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
19196 to build the application. Remove the message printed when in
19197 verbose mode, redundant with the UNSUPPORTED message above.
19198
19199 2004-03-31 Joel Brobecker <brobecker@gnat.com>
19200
19201 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
19202 * gdb.ada (null_record.exp): New testcase.
19203
19204 2004-03-31 Joel Brobecker <brobecker@gnat.com>
19205
19206 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
19207
19208 2004-03-31 Joel Brobecker <brobecker@gnat.com>
19209
19210 * gdb.ada: New subdirectory.
19211 * gdb.ada/Makefile.in: New file.
19212 * gdb.ada/gnat_ada.gpr.in: New file.
19213
19214 2004-03-31 Joel Brobecker <brobecker@gnat.com>
19215
19216 * lib/ada.exp: New file.
19217
19218 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
19219
19220 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
19221 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
19222
19223 2004-03-22 Andrew Cagney <cagney@redhat.com>
19224
19225 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
19226 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
19227 Problem identified by Ulrich Weigand.
19228
19229 2004-03-17 David Carlton <carlton@kealia.com>
19230
19231 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
19232 PR c++/826.
19233
19234 2004-03-16 Roland McGrath <roland@redhat.com>
19235
19236 * gdb.base/auxv.exp: New file.
19237 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
19238
19239 2004-03-12 David Carlton <carlton@kealia.com>
19240
19241 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
19242 * gdb.cp/pr-1553.cc: Ditto.
19243 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
19244 pass branch.
19245
19246 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
19247
19248 * gdb.cp/templates.exp: Accept more template types.
19249
19250 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19251
19252 From Corinna Vinschen with modifications.
19253 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
19254 local variable obj_with_enum.
19255 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
19256 results with obj_with_enum.
19257
19258 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19259
19260 * gdb.cp/classes.cc: New file, copied from misc.cc.
19261 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
19262
19263 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19264
19265 * gdb.cp/misc.cc: Add copyright notice.
19266
19267 2004-03-05 David Carlton <carlton@kealia.com>
19268
19269 * gdb.cp/rtti.exp: Add 'print *obj3' test.
19270 * gdb.cp/rtti.h: Update copyright.
19271 (namespace n2::n3): New.
19272 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
19273 (n2::n3::func3): New.
19274 (main): Call n2::n3::func3.
19275 * gdb.cp/rtti2.cc: Update copyright.
19276 (n2::create3): New.
19277
19278 2004-03-04 Mark Kettenis <kettenis@gnu.org>
19279
19280 * gdb.asm/openbsd.inc: Fix typo.
19281
19282 2004-03-03 Fred Fish <fnf@redhat.com>
19283
19284 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
19285 "val" instead of unused "size". Update copyright year.
19286
19287 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
19288
19289 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
19290 to use unsigned char.
19291 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
19292 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
19293
19294 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
19295
19296 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
19297 line of output.
19298
19299 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
19300
19301 * gdb.base/relocate.c (dummy): Initialize.
19302
19303 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
19304
19305 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
19306 a breakpoint at exit.
19307
19308 2004-02-27 Fred Fish <fnf@redhat.com>
19309
19310 * gdb.base/chng-syms.exp: Add expect condition to match failing
19311 case that isn't a timeout.
19312
19313 2004-02-27 Andrew Cagney <cagney@redhat.com>
19314
19315 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
19316 support.
19317
19318 2004-02-26 Fred Fish <fnf@redhat.com>
19319
19320 * gdb.arch/gdb1431.c: Remove.
19321 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
19322 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
19323 of "until" incorrectly.
19324
19325 2004-02-26 J. Brobecker <brobecker@gnat.com>
19326
19327 * gdb.cp/class2.cc (empty): New class.
19328 (refer): New function.
19329 (main): Declare an object of type empty and use it.
19330 * gdb.cp/class2.exp: Print the value of an object of type empty.
19331
19332 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
19333
19334 * gdb.base/langs.exp: Update query string to match the
19335 new nquery format used for pending breakpoints.
19336
19337 2004-02-26 Andrew Cagney <cagney@redhat.com>
19338
19339 Fix PR i18n/1570.
19340 * gdb.base/charset.c: Update copyright notice.
19341 (main, init_string): Remove the escape character '\e' tests.
19342 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
19343 * gdb.base/charset.exp (valid_host_charset): Ditto.
19344 * gdb.base/setvar.exp: Ditto.
19345
19346 2004-02-24 Andrew Cagney <cagney@redhat.com>
19347
19348 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
19349 mmapped data in core file" PASS and FAIL messages consistent.
19350
19351 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
19352 setting a breakpoint. Work around PR java/1565.
19353
19354 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
19355
19356 * lib/gdb.exp (gdb_breakpoint): Update query string to match
19357 new nquery format.
19358 * gdb.base/pending.exp: Ditto.
19359
19360 2004-02-22 Mark Kettenis <kettenis@gnu.org>
19361
19362 * configure.in: Run stabs tests on *BSD.
19363 * configure: Regenerated.
19364
19365 2004-02-21 Mark Kettenis <kettenis@gnu.org>
19366
19367 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
19368
19369 2004-02-20 Fred Fish <fnf@redhat.com>
19370
19371 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
19372 blank in test for "returns short", for consistency with other
19373 "returns xxx" tests. Update copyright year.
19374
19375 2004-02-19 Fred Fish <fnf@redhat.com>
19376
19377 New testcase for PR breakpoint/1558.
19378 * gdb.arch/gdb1558.exp: New file.
19379 * gdb.arch/gdb1558.c: New file.
19380
19381 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
19382
19383 * gdb.base/nodebug.exp: Fix typo.
19384
19385 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19386
19387 Committed by Jim Blandy <jimb@redhat.com>.
19388
19389 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
19390
19391 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
19392
19393 * gdb.base/float.exp: Support s390*-*-* targets.
19394
19395 2004-02-17 Adam Fedor <fedor@gnu.org>
19396
19397 * gdb.base/gdb1555.exp: New file.
19398 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
19399
19400 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
19401
19402 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
19403
19404 2004-02-16 Fred Fish <fnf@redhat.com>
19405
19406 * gdb.arch/gdb1291.c: Remove
19407 * gdb.arch/gdb1291.s: New test input file.
19408 * gdb.arch/gdb1291.exp: Expand test to check case that should not
19409 fail. Test for correct result, known incorrect result, other
19410 failures and timeouts.
19411
19412 2004-02-16 Andrew Cagney <cagney@redhat.com>
19413
19414 * gdb.base/bigcore.exp: New file.
19415 * gdb.base/bigcore.c: New file.
19416
19417 2004-02-13 Andrew Cagney <cagney@redhat.com>
19418
19419 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
19420 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
19421 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
19422 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
19423 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
19424 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
19425 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
19426 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
19427 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
19428 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
19429
19430 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
19431
19432 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
19433 executed is an alloc instruction.
19434
19435 2004-02-11 David Carlton <carlton@kealia.com>
19436
19437 * gdb.cp/breakpoint.exp: New.
19438 * gdb.cp/breakpoint.cc: New.
19439
19440 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
19441
19442 Partial fix for PR gdb/1543.
19443 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
19444 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
19445 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
19446 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
19447 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
19448 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
19449 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
19450 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
19451 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
19452 to bug-gdb@prep.ai.mit.edu .
19453 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
19454 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
19455 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
19456 Likewise.
19457
19458 2004-02-10 Andrew Cagney <cagney@redhat.com>
19459
19460 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
19461 using gdb_internal_error_resync.
19462
19463 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
19464
19465 * gdb.threads/thread-specific.exp: Stop early if no threads are
19466 found.
19467
19468 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
19469
19470 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
19471
19472 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
19473
19474 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
19475 breakpoints.
19476
19477 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
19478
19479 * config/sim.exp (gdb_load): Handle $arg == "".
19480 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
19481 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
19482
19483 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
19484
19485 * gdb.base/maint.exp: Update test to reflect
19486 obstack changes.
19487
19488 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
19489
19490 * gdb.base/pendshr.c (pendfunc): New function that calls
19491 pendfunc1.
19492 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
19493
19494 2004-02-04 Fred Fish <fnf@redhat.com>
19495
19496 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
19497 function symbols and update copyright years.
19498 * gdb.arch/gdb1291.c: Ditto.
19499
19500 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19501
19502 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
19503
19504 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19505
19506 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
19507
19508 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19509
19510 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
19511
19512 2004-02-02 Fred Fish <fnf@redhat.com>
19513
19514 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
19515 remote targets. Update copyright years.
19516
19517 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
19518
19519 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
19520 support.
19521 * gdb.base/langs.exp: Fix test which attempts to create
19522 breakpoint on non-existent function to handle new pending
19523 support.
19524 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
19525 a breakpoint.
19526 * gdb.base/pending.exp: New test.
19527 * gdb.base/pending.c: New file.
19528 * gdb.base/pendshr.c: Ditto.
19529
19530 2004-02-02 David Carlton <carlton@kealia.com>
19531
19532 * gdb.cp/overload.exp: Add overloadNamespace tests.
19533 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
19534 (overloadNamespace, XXX): New.
19535 (main): Call XXX::marker2.
19536
19537 2004-02-01 Fred Fish <fnf@redhat.com>
19538
19539 * gdb.base/dump.exp: Use runto_main instead of "runto main".
19540 * gdb.base/finish.exp: Ditto.
19541 * gdb.base/gcore.exp: Ditto.
19542 * gdb.base/huge.exp: Ditto.
19543 * gdb.base/info-proc.exp: Ditto.
19544 * gdb.base/return2.exp: Ditto.
19545 * gdb.threads/gcore-thread.exp: Ditto.
19546
19547 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
19548
19549 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
19550
19551 2004-02-01 Mark Kettenis <kettenis@gnu.org>
19552
19553 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
19554 that opening the file succeeds on OpenBSD.
19555
19556 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
19557
19558 * gdb.threads/thread-specific.c: New file.
19559 * gdb.threads/threads-specific.exp: New test script.
19560 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
19561 to expect_out.
19562
19563 2004-02-01 Mark Kettenis <kettenis@gnu.org>
19564
19565 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
19566 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
19567 only on the "print_small_structs from print_long_arg_list" test.
19568
19569 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
19570
19571 * gdb.base/completion.exp: Kill a stray backslash.
19572
19573 From Jim Ingham <jingham@apple.com>:
19574 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
19575 agrees with the result from sending a tab.
19576
19577 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
19578
19579 * gdb.base/chng-syms.exp: Remove stray newline.
19580
19581 2004-01-31 Mark Kettenis <kettenis@gnu.org>
19582
19583 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
19584 *-*-openbsd*.
19585 * gdb.asm/openbsd.inc: New file.
19586
19587 2004-01-30 Mark Kettenis <kettenis@gnu.org>
19588
19589 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
19590 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
19591 *-*solaris2*. Remove commented out default settings for
19592 asm-flags. Replace gdb_compile with target_link.
19593
19594 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
19595
19596 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
19597 for all tests. Remove old hp-ux and cygnus xfail cases.
19598
19599 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
19600
19601 * gdb.base/chng-syms.exp: New file.
19602 * gdb.base/chng-syms.c: New file.
19603
19604 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19605
19606 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
19607 Provide arms for current output in all my configurations.
19608
19609 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19610
19611 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
19612 * lib/compiler.cc: Likewise.
19613 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
19614 get the right preprocessor. Eval the output directly. Remove
19615 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
19616 hp_f77_compiler and hp_f90_compiler completely.
19617 (gdb_preprocess): Delete.
19618 (get_compiler): Delete.
19619
19620 2004-01-24 Mark Kettenis <kettenis@gnu.org>
19621
19622 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
19623 <string.h>.
19624
19625 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
19626
19627 * gdb.mi/mi-stack.exp: Update copyright.
19628
19629 2004-01-23 David Carlton <carlton@kealia.com>
19630
19631 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
19632 test for cp_lookup_transparent_type.
19633 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
19634 call them.
19635
19636 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
19637
19638 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
19639 after -var-update.
19640
19641 2004-01-23 David Carlton <carlton@kealia.com>
19642
19643 * gdb.cp/namespace.cc (C::ensureRefs): New.
19644 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
19645
19646 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
19647
19648 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
19649 case "-stack-list-locals 2".
19650 * gdb.mi/mi-var-child.exp: Test for case
19651 "-var-list-children --all-values NAME".
19652
19653 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
19654
19655 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
19656
19657 2004-01-18 Mark Kettenis <kettenis@gnu.org>
19658
19659 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
19660 used with gdb_test_multiple.
19661
19662 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
19663 read at address 0. This fixes PR testsuite/1504.
19664
19665 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
19666
19667 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
19668 Remove downloading, guessing the host executable, the calls to
19669 gdb_file_cmd and gdb_target_cmd, and "load" support.
19670 (infer_host_exec): New function broken out from gdb_load.
19671 (gdb_load): New wrapper for gdbserver_gdb_load.
19672 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
19673 gdb_target_cmd. Use -target-select.
19674 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
19675 Download binaries to the host. Clear last_mi_remote_file when
19676 we load a new binary.
19677 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
19678 call gdbserver_gdb_load and mi_gdb_target_cmd.
19679
19680 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19681
19682 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
19683 type patterns.
19684
19685 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19686
19687 * gdb.cp/templates.exp: Fix typo in test name of
19688 "print Foo<volatile char*>::foo".
19689
19690 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19691
19692 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
19693
19694 2004-01-16 Ben Elliston <bje@wasabisystems.com>
19695
19696 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
19697 (clean mostlyclean): Remove empty rm.
19698
19699 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19700
19701 * gdb.base/setvar.exp: Add copyright years.
19702
19703 2004-01-14 David Carlton <carlton@bactrian.org>
19704
19705 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
19706 PR c++/1511 and update coment.
19707 * gdb.cp/templates.exp: Update patterns to match current output.
19708 If changes involve something other than whitespace, KFAIL
19709 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
19710
19711 2004-01-14 David Carlton <carlton@kealia.com>
19712
19713 * gdb.cp/namespace.exp: Add tests involving classes defined within
19714 namespaces.
19715 * gdb.cp/namespace.cc (C::CClass): New.
19716 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
19717
19718 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
19719
19720 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
19721 what debug info we have. Print a better message if something goes
19722 wrong while producing the separate debug info file.
19723
19724 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19725
19726 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
19727
19728 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19729
19730 * gdb.base/callfuncs.c: Add copyright notice.
19731
19732 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
19733
19734 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
19735 inheritance. PR gdb/1498, PR gcc/13539.
19736
19737 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
19738
19739 * gdb.threads/gcore-thread.exp: Prefix name of binary with
19740 test specific name.
19741 * gdb.mi/gdb669.exp: Ditto.
19742 * gdb.mi/mi-pthreads.exp: Ditto.
19743 * gdb.mi/mi1-pthreads.exp: Ditto.
19744 * gdb.mi/mi2-pthreads.exp: Ditto.
19745
19746 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19747
19748 * gdb.cp/member-ptr.cc: Add copyright notice.
19749
19750 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19751
19752 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
19753 some patterns for recent versions of gcc and hpacc. Delete
19754 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
19755 Delete tests that access a NULL pointer-to-member-data. This
19756 script is still disabled for gcc.
19757
19758 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
19759
19760 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
19761 escaped correctly.
19762
19763 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
19764
19765 * gdb.base/sepdebug.exp: New file.
19766 * gdb.base/sepdebug.c: New file.
19767 * lib/gdb.exp (separate_debug_filename): New procedure.
19768 (gdb_gnu_strip_debug): New procedure.
19769
19770 2004-01-12 Andrew Cagney <cagney@redhat.com>
19771
19772 * gdb.mi/ChangeLog: Delete file. Renamed to ...
19773 * gdb.mi/ChangeLog-1999-2003: New file.
19774
19775 2004-01-12 Andrew Cagney <cagney@redhat.com>
19776
19777 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
19778 "Renaming a directory to a non-empty directory returns ENOTEMPTY
19779 or EEXIST", treat EBUSY as an XFAIL.
19780
19781 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
19782
19783 * gdb.base/scope.exp: Remove obsolete setup_xfail for
19784 hp_cc_compiler.
19785
19786 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19787
19788 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
19789 decorations.
19790
19791 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19792
19793 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
19794 and "(aCC)" decorations. Remove obsolete doco about old
19795 test results.
19796
19797 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19798
19799 * gdb.cp/exception.exp: Fix typo in doco.
19800
19801 2004-01-09 Mark Kettenis <kettenis@gnu.org>
19802
19803 * gdb.base/gdb1476.exp: Fix typo.
19804
19805 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19806
19807 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
19808 file.
19809
19810 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19811
19812 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
19813 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
19814 Use gdb_compile. Remove restriction on gcc. Add some patterns
19815 for recent version of gdb. Delete second half, which was a copy
19816 of the first half with different build flags. This test is
19817 still disabled because it is still not ready for production.
19818
19819 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19820
19821 * gdb.cp/exception.cc: Add copyright notice.
19822 * gdb.cp/exception.exp: Add a notice that this file is broken
19823 because of line number changes caused by addition of copyright
19824 notice.
19825
19826 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19827
19828 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
19829 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
19830
19831 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19832
19833 * gdb.cp/classes.exp: Accept gnu abi 2.
19834 * gdb.cp/derivation.exp: Likewise.
19835 * gdb.cp/overload.exp: Likewise.
19836 * gdb.cp/virtfunc.exp: Likewise.
19837
19838 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19839
19840 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
19841 semicolon after end of function.
19842
19843 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19844
19845 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
19846 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
19847 boilerplate code for compiling and running the program under
19848 test. Add some string method tests.
19849
19850 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19851
19852 * gdb.cp/bs15503.cc: Add copyright notice.
19853 * gdb.cp/bs15503.exp: Adjust line number.
19854
19855 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19856
19857 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
19858 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
19859
19860 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19861
19862 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
19863 hp_cc_compiler.
19864
19865 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19866
19867 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
19868 * gdb.cp/ctti.exp: Use the marker instead of "next".
19869 With gcc, run further before bailing.
19870
19871 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19872
19873 * gdb.cp/cttiadd.cc: Add copyright notice.
19874 * gdb.cp/cttiadd1.cc: Likewise.
19875 * gdb.cp/cttiadd2.cc: Likewise.
19876 * gdb.cp/cttiadd3.cc: Likewise.
19877
19878 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19879
19880 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
19881 Use gdb_test, gdb_test_multiple. Use floating-point values that
19882 have exact representations in IEEE-ish formats.
19883
19884 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19885
19886 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
19887 compilers. Delete duplicate call to get_compiler_info.
19888 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
19889 * gdb.base/volatile.exp: Likewise.
19890
19891 2004-01-07 Mark Kettenis <kettenis@gnu.org>
19892
19893 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
19894 memory at address 0.
19895
19896 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19897
19898 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
19899 to test for hp-ux assembler. Fix copyright years.
19900
19901 2004-01-07 Andrew Cagney <cagney@redhat.com>
19902
19903 * gdb.base/fileio.c (strerrno): Add "EBUSY".
19904
19905 2004-01-07 Andrew Cagney <cagney@redhat.com>
19906
19907 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
19908 when creating the read-only file. From analysis by Roland McGrath
19909 and Elena Zannoni.
19910
19911 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19912
19913 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
19914
19915 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19916
19917 * gdb.base/cvexpr.c: Be type-safe with function pointers and
19918 data pointers.
19919
19920 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19921
19922 * gdb.cp/m-static.exp: Compile one source file at a time.
19923 Delete unused call to get_compiler_info.
19924
19925 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19926
19927 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
19928 * gdb.base/call-rt-st.exp: Likewise.
19929 * gdb.base/nodebug.exp: Likewise.
19930 * gdb.base/volatile.exp: Likewise.
19931 * gdb.cp/ref-types.exp: Likewise.
19932 * gdb.cp/templates.exp: Likewise.
19933
19934 2004-01-05 Mark Kettenis <kettenis@gnu.org>
19935
19936 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
19937
19938 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
19939
19940 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
19941 hppa*-hp-hpux*.
19942
19943 2004-01-04 Mark Kettenis <kettenis@gnu.org>
19944
19945 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
19946 x86_64-*-*.
19947
19948 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
19949 sparc64-*-* and sparc*-solaris2*.
19950
19951 2004-01-04 Mark Kettenis <kettenis@gnu.org>
19952
19953 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
19954 return ${tests}" test. The ${tests} already mentions the
19955 filename.
19956
19957 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19958
19959 * gdb.cp/local.exp: Accept gcc abi 2.
19960
19961 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19962
19963 * gdb.cp/templates.exp: Accept gcc abi 2.
19964
19965 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19966
19967 * lib/compiler.cc: Remove supports_template_debugging.
19968 * gdb.cp/templates.exp: Do not test supports_template_debugging.
19969
19970 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19971
19972 * gdb.cp/namespace.exp: Accept gcc abi 2.
19973
19974 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19975
19976 * gdb.cp/method.exp: Accept gcc abi 2.
19977
19978 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19979
19980 * gdb.cp/classes.exp: Generate identical results as old version.
19981 * gdb.cp/derivation.exp: Likewise.
19982 * gdb.cp/overload.exp: Likewise.
19983 * gdb.cp/virtfunc.exp: Likewise.
19984
19985 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19986
19987 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
19988 mysterious bug with sourceware version of expect.
19989
19990 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19991
19992 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
19993 current versions of gcc, including gcc abi 2. Remove gratuitous
19994 restart of test program. Use gdb_test_multiple and gdb_test for
19995 all tests. Add patterns to xfail missing "const" in "const char *"
19996 and kfail PR gdb/1155.
19997
19998 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19999
20000 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
20001 current versions of gcc, including gcc abi 2. Remove gratuitous
20002 restart of test program. Use gdb_test_multiple and gdb_test for
20003 all tests. Add patterns to kfail PR gdb/1498.
20004
20005 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20006
20007 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
20008 current versions of gcc, including gcc abi 2. Use "breakpoint"
20009 and "continue" instead of restarting the target program. Use
20010 gdb_test_multiple and gdb_test for all tests.
20011
20012 2004-01-01 Mark Kettenis <kettenis@gnu.org>
20013
20014 * gdb.asm/asm-source.exp: Update copyright year. Link statically
20015 for *-*-solaris2*.
20016
20017 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20018
20019 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
20020 current versions of gcc, including gcc abi 2. Use "breakpoint"
20021 and "continue" instead of restarting the target program several
20022 times. Use gdb_test_multiple and gdb_test for all tests.
20023
20024 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
20025
20026 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
20027 source files.
20028
20029 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20030
20031 * gdb.base/environ.exp: Handle compiling test case from multiple
20032 source files.
20033
20034 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20035
20036 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
20037
20038 2003-12-17 Jim Blandy <jimb@redhat.com>
20039
20040 * gdb.base/freebpcmd.c: Add copyright notice.
20041
20042 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
20043
20044 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20045
20046 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
20047
20048 2003-12-13 Jim Blandy <jimb@redhat.com>
20049
20050 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
20051
20052 2003-12-12 Kevin Buettner <kevinb@redhat.com>
20053
20054 * gdb.asm/frv.inc: New file.
20055 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
20056
20057 2003-12-09 Fred Fish <fnf@redhat.com>
20058
20059 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
20060 functions to break1.c and leave prototypes behind. Add more
20061 "set breakpoint NN here" comments.
20062 * gdb.base/break1.c: New file.
20063
20064 * gdb.base/break.exp: Handle compiling test case from multiple
20065 source files and change source file references as needed.
20066 * gdb.base/completion.exp: Ditto.
20067 * gdb.base/condbreak.exp: Ditto.
20068 * gdb.base/define.exp: Ditto.
20069 * gdb.base/ena-dis-br.exp: Ditto.
20070 * gdb.base/info-proc.exp: Ditto.
20071 * gdb.base/maint.exp: Ditto.
20072 * gdb.base/until.exp: Ditto.
20073
20074 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
20075 hardcoded line numbers.
20076 * gdb.base/define.exp: Ditto.
20077 * gdb.base/ena-dis-br.exp: Ditto.
20078 * gdb.base/maint.exp: Ditto.
20079 * gdb.base/until.exp: Ditto.
20080
20081 * gdb.base/completion.exp: Use "break1" for completion tests since
20082 "break" is no longer a unique prefix.
20083
20084 2003-12-06 Andrew Cagney <cagney@redhat.com>
20085
20086 * gdb.base/structs.exp (test_struct_returns): When applicable, set
20087 "return_value_unimplemented". When an unimplemented struct return
20088 architecture, report incorrect values as a KFAIL
20089
20090 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20091
20092 * gdb.cp/rtti.exp: Accept new wording of warning from
20093 cp_lookup_rtti_type.
20094
20095 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20096
20097 Partial fix for PR testsuite/1456.
20098 * gdb.base/scope.exp (test_at_main): Replace references to
20099 gcc_compiled with calls to test_compiler_info.
20100 (test_at_foo): Likewise.
20101 (test_at_bar): Likewise.
20102
20103 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
20104
20105 Partial fix for PR testsuite/1456.
20106 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
20107 to test_compiler_info.
20108
20109 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
20110
20111 * gdb.base/so-impl-ld.exp: Update copyright notice.
20112
20113 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
20114
20115 Partial fix for PR testsuite/1456.
20116 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
20117 to test_compiler_info.
20118
20119 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20120
20121 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
20122 from current versions of gdb. Clean up regular expressions.
20123 Delete redundant timeout case.
20124
20125 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20126
20127 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
20128 from current versions of gdb. Clean up regular expressions.
20129 Delete redundant timeout case.
20130
20131 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
20132
20133 Partial fix for PR testsuite/1456.
20134 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
20135 gcc_compiled with call to test_compiler_info.
20136
20137 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
20138
20139 Partial fix for PR testsuite/1456.
20140 * gdb.base/list.exp (test_list_function): Delete unused declaration
20141 of gcc_compiled.
20142
20143 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
20144
20145 Partial fix for PR testsuite/1456.
20146 * gdb.base/complex.exp: Replace reference to gcc_compiled with
20147 call to test_compiler_info.
20148
20149 2003-11-29 Mark Kettenis <kettenis@gnu.org>
20150
20151 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
20152 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
20153 it to create the appropriate note.inc.
20154 * gdb.asm/asmsrc1.s: Include "note.inc".
20155 * gdb.asm/netbsd.inc: New file.
20156 * gdb.asm/empty.inc: New file.
20157
20158 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20159
20160 Partial fix for PR testsuite/1456.
20161 * gdb.base/constvars.exp: Replace references to gcc_compiled with
20162 calls to test_compiler_info.
20163
20164 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
20165
20166 Partial fix for PR testsuite/1456.
20167 * gdb.base/volatile.exp: Replace references to gcc_compiled with
20168 calls to test_compiler_info.
20169
20170 2003-11-27 Mark Kettenis <kettenis@gnu.org>
20171
20172 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
20173 pattern for the KFAILs.
20174
20175 2003-11-25 Adam Fedor <fedor@gnu.org>
20176
20177 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
20178 * gdb.objc/objcdecode.m: New file.
20179
20180 2003-11-25 Adam Fedor <fedor@gnu.org>
20181
20182 * gdb.objc/nondebug.exp: Test for PR objc/1236.
20183 * gdb.objc/nondebug.m: New file.
20184
20185 2003-11-26 Ben Elliston <bje@wasabisystems.com>
20186
20187 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20188 NetBSD as it does on FreeBSD. Modelled on a similar change by
20189 Mark Kettenis on 2003-05-30.
20190 (link-flags): Set to "--entry _start" regardless of target.
20191 Special linker flags are to be appended to $link-flags.
20192 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
20193
20194 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20195
20196 * gdb.cp/method.exp: Accept output of new demangler.
20197
20198 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20199
20200 * gdb/class2.exp: New file.
20201 * gdb/class2.cc: New file.
20202
20203 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20204
20205 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
20206 of new demangler.
20207
20208 2003-11-23 Mark Kettenis <kettenis@gnu.org>
20209
20210 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
20211 of gdb_test "run".
20212
20213 2003-11-23 Mark Kettenis <kettenis@gnu.org>
20214
20215 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
20216 "continue" into "run".
20217
20218 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
20219
20220 Partial fix for PR testsuite/1456.
20221 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
20222 call to test_compiler_info.
20223 * gdb.cp/ctti.exp: Likewise.
20224 * gdb.cp/derivation.exp: Likewise.
20225 * gdb.cp/member-ptr.exp: Likewise.
20226 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
20227 reference to gcc_compiled.
20228
20229 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
20230
20231 Fix PR testsuite/1463.
20232 * gdb.base/structs.exp (start_structs_test): Call
20233 get_debug_format before using the debug format.
20234
20235 2003-11-22 Andrew Cagney <cagney@redhat.com>
20236
20237 * lib/gdb.exp (gdb_test_multiple): Add simple example.
20238 * gdb.base/structs.exp: Use gdb_test_multiple.
20239
20240 2003-11-20 Andrew Cagney <cagney@redhat.com>
20241
20242 * gdb.base/structs.exp: Handle and recover from internal errors.
20243 Replace "foo${n}" with "foo<n>" in test messages.
20244
20245 * gdb.base/structs.exp: Update copyright. Rewrite.
20246 * gdb.base/structs.c: Update copyright. Rewrite.
20247
20248 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
20249 resync count exceeded.
20250
20251 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
20252 from the internal error.
20253 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
20254 Original from Jim Blandy.
20255 (gdb_test_multiple): Use gdb_internal_error_resync.
20256
20257 2003-11-19 Andrew Cagney <cagney@redhat.com>
20258
20259 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
20260 KFAIL.
20261
20262 2003-11-17 Mark Kettenis <kettenis@gnu.org>
20263
20264 New testcase for PR backtrace/1435.
20265 * gdb.arch/i386-unwind.exp: New file.
20266 * gdb.arch/i386-unwind.c: New file.
20267
20268 2003-11-17 Andrew Cagney <cagney@redhat.com>
20269
20270 * lib/gdb.exp (compiler_info): New global.
20271 (test_compiler_info): New function.
20272 (get_compiler_info): Set compiler_info.
20273 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
20274 "compiler_info" to gcc-<major>-<minor>.
20275
20276 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
20277
20278 * gdb.trace/configure: Remove.
20279
20280 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
20281
20282 * gdb.base/break.c: Add comments to aid finding line numbers for
20283 breakpoints.
20284 * gdb.base/break.exp: Remove all references to explicit line
20285 numbers.
20286
20287 2003-11-11 Nick Clifton <nickc@redhat.com>
20288
20289 * gdb.base/shreloc.exp: Do not run for targets which do not
20290 support shared objects.
20291
20292 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
20293
20294 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
20295 Don't run tests if nofileio flag is given.
20296
20297 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
20298
20299 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
20300 as well as 'Watchpoint'.
20301
20302 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
20303
20304 Reported by Jim Ingham <jingham@apple.com>:
20305 * gdb.base/annota1.exp: Match at least one occurrence of the
20306 signal handler annotation.
20307
20308 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
20309
20310 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
20311 as well as 'Watchpoint'.
20312
20313 2003-11-05 Michael Chastain <mec@shout.net>
20314
20315 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
20316
20317 2003-11-03 Kris Warkentin <kewarken@qnx.com>
20318
20319 * gdb.arch/gdb1291.c: New test file.
20320 * gdb.arch/gdb1291.exp: New test script.
20321 * gdb.arch/gdb1431.c: New test file.
20322 * gdb.arch/gdb1431.exp: New test script.
20323
20324 2003-10-22 Michael Chastain <mec@shout.net>
20325
20326 * gdb.mi/pthreads.c: Add copyright notice.
20327
20328 2003-10-22 Michael Chastain <mec@shout.net>
20329
20330 * gdb.threads/pthreads.c: Add copyright notice.
20331
20332 2003-10-20 Michael Chastain <mec@shout.net>
20333
20334 * gdb.base/gdb1056.exp: New test script.
20335
20336 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
20337
20338 * gdb.threads/killed.exp: Use gdb_run_cmd.
20339
20340 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
20341
20342 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
20343 create a core file.
20344 * gdb.threads/gcore-thread.exp: Likewise.
20345
20346 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
20347
20348 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
20349 type, based on char type.
20350 (struct bit_flags_short_t): New bitfield type, based on short type.
20351 (init_bit_flags_char): New fuction.
20352 (init_bit_flags_short): Ditto.
20353 (print_bit_flags_char): Ditto.
20354 (print_bit_flags_short): Ditto.
20355 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
20356
20357 2003-10-11 Michael Chastain <mec@shout.net>
20358
20359 * gdb.base/call-rt-st.exp: Update copyright year.
20360
20361 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
20362
20363 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
20364 * gdb.disasm/sh3.s: Ditto.
20365
20366 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
20367
20368 * gdb.threads/switch-threads.exp: New test.
20369 * gdb.threads/switch-threads.c: New source file.
20370
20371 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
20372
20373 * gdb.base/ending-run.exp: Add sh specific case.
20374
20375 2003-10-06 Andrew Cagney <cagney@redhat.com>
20376
20377 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
20378 * gdb.disasm/mn10200.exp: Delete obsolete file.
20379
20380 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
20381
20382 * ChangeLog: Correct an entry command.exp -> commands.exp.
20383 * gdb.base/commands.exp (bp_deleted_in_command_test)
20384 (temporary_breakpoint_commands): Check noargs.
20385
20386 2003-09-25 David Carlton <carlton@kealia.com>
20387
20388 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
20389 of some print tests, where appropriate. Add tests for C::D::cd,
20390 E::ce, F::cXfX, G::XgX.
20391 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
20392
20393 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
20394
20395 * lib/java.exp (java_init): Import target_alias before using it.
20396
20397 2003-09-25 David Carlton <carlton@kealia.com>
20398
20399 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
20400
20401 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
20402
20403 * gdb.base/selftest.exp: Accomodate more instruction reordering
20404 weirdness.
20405
20406 2003-09-17 Michael Chastain <mec@shout.net>
20407
20408 * gdb.cp/gdb1355.exp: New file.
20409 * gdb.cp/gdb1355.c: New file.
20410
20411 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
20412
20413 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
20414 * gdb.asm/sh.inc: New file.
20415
20416 2003-09-11 David Carlton <carlton@kealia.com>
20417
20418 * gdb.cp/namespace.exp: Add tests for namespace types.
20419 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
20420 (test_namespace): New.
20421
20422 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
20423
20424 * gdb.base/relocate.exp: Handle new gdb output at startup.
20425 * gdb.stabs/weird.exp: Ditto.
20426
20427 2003-09-08 Michael Chastain <mec@shout.net>
20428
20429 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
20430
20431 2003-09-07 Michael Chastain <mec@shout.net>
20432
20433 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
20434 'parse error'.
20435
20436 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
20437
20438 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
20439
20440 2003-08-30 Michael Chastain <mec@shout.net>
20441
20442 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
20443 * gdb.gdb/observer.exp: Ditto.
20444 * gdb.gdb/xfullpath.exp: Ditto.
20445
20446 2003-08-29 Mark Kettenis <kettenis@gnu.org>
20447
20448 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
20449 *-*-*bsd*.
20450
20451 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
20452
20453 * gdb.base/dump.exp: Skip for ia64.
20454
20455 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
20456
20457 * gdb.asm/asm-source.exp: Add ia64 support.
20458 * gdb.asm/ia64.inc: New file.
20459
20460 2003-08-22 Michael Chastain <mec@shout.net>
20461
20462 * gdb.cp: New directory.
20463 * gdb.cp/*: Copy from gdb.c++/*.
20464 * gdb.c++/*: Remove.
20465 * Makefile.in: Change gdb.c++ to gdb.cp.
20466 * configure.in: Ditto.
20467 * configure: Regnerate.
20468
20469 2003-08-18 Mark Kettenis <kettenis@gnu.org>
20470
20471 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
20472 * gdb.arch/i386-prologue.c (gdb1338): Add function.
20473
20474 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
20475
20476 * mi-var-display.exp (-var-list-children weird): Accept function
20477 pointers with argument types.
20478 * mi1-var-display.exp (-var-list-children weird): Likewise.
20479 * mi2-var-display.exp (-var-list-children weird): Likewise.
20480
20481 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
20482
20483 * gdb.base/annota3.exp: Add missing newline.
20484
20485 2003-08-06 Michael Chastain <mec@shout.net>
20486
20487 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
20488
20489 2003-08-12 Michael Snyder <msnyder@redhat.com>
20490
20491 * gdb.base/float.exp: Add test for SH.
20492
20493 2003-08-10 Mark Kettenis <kettenis@gnu.org>
20494
20495 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
20496
20497 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
20498
20499 * gdb.base/completion.exp: Remove reduntant completion test
20500 on filename.
20501
20502 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
20503
20504 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
20505 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
20506 gdb.trace/save-trace.exp: Make sure that full pathnames are
20507 escaped correctly.
20508
20509 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
20510
20511 * configure.in: Don't generate config.h from config.hin.
20512 * configure: Regenerate.
20513 * config.hin: Remove file.
20514 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
20515 * gdb.threads/pthreads.c: Ditto.
20516
20517 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
20518
20519 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20520 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
20521 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
20522 Replace ld24 with seth/add3.
20523
20524 2003-08-02 Andrew Cagney <cagney@redhat.com>
20525
20526 * gdb.base/annota3.exp: New file.
20527 * gdb.base/annota3.c: New file.
20528 * gdb.c++/annota3.exp: New file.
20529 * gdb.c++/annota3.cc: New file.
20530
20531 2003-07-29 Michael Chastain <mec@shout.net>
20532
20533 * gdb.threads/tls.c (spin): Check errno only if sem_wait
20534 actually failed.
20535 (do_pass): Likewise.
20536 * gdb.threads/tls.exp: Always initialize no_of_threads.
20537
20538 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
20539
20540 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
20541 pattern.
20542 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
20543 * gdb.threads/tls.exp: Recognize one case of the host library not
20544 supporting TLS.
20545
20546 2003-07-27 Andrew Cagney <cagney@redhat.com>
20547
20548 * gdb.base/fileio.exp: Use SH when running commands using
20549 remote_exec.
20550
20551 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
20552
20553 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20554 * gdb.base/relocate.c (dummy): New padding array.
20555
20556 2003-07-22 Michael Snyder <msnyder@redhat.com>
20557
20558 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
20559
20560 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
20561 patterns to be more general, accepting old and new output.
20562 Some output chars (such as '+') also must be quoted.
20563 Some addresses are displayed numerically instead of
20564 symbolically.
20565
20566 2003-07-23 Michael Snyder <msnyder@redhat.com>
20567
20568 * gdb.base/return2.exp: Don't test long-long return.
20569
20570 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
20571 * gdb.disasm/t01_mov.exp: Ditto.
20572 * gdb.disasm/t02_mova.s: Ditto.
20573 * gdb.disasm/t02_mova.exp: Ditto.
20574 * gdb.disasm/t03_add.s: Ditto.
20575 * gdb.disasm/t03_add.exp: Ditto.
20576 * gdb.disasm/t04_sub.s: Ditto.
20577 * gdb.disasm/t04_sub.exp: Ditto.
20578 * gdb.disasm/t05_cmp.s: Ditto.
20579 * gdb.disasm/t05_cmp.exp: Ditto.
20580 * gdb.disasm/t06_ari2.s: Ditto.
20581 * gdb.disasm/t06_ari2.exp: Ditto.
20582 * gdb.disasm/t07_ari3.s: Ditto.
20583 * gdb.disasm/t07_ari3.exp: Ditto.
20584 * gdb.disasm/t08_or.s: Ditto.
20585 * gdb.disasm/t08_or.exp: Ditto.
20586 * gdb.disasm/t09_xor.s: Ditto.
20587 * gdb.disasm/t09_xor.exp: Ditto.
20588 * gdb.disasm/t10_and.s: Ditto.
20589 * gdb.disasm/t10_and.exp: Ditto.
20590 * gdb.disasm/t11_logs.s: Ditto.
20591 * gdb.disasm/t11_logs.exp: Ditto.
20592 * gdb.disasm/t12_bit.s: Ditto.
20593 * gdb.disasm/t12_bit.exp: Ditto.
20594 * gdb.disasm/t13_otr.s: Ditto.
20595 * gdb.disasm/t13_otr.exp: Ditto.
20596
20597 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
20598
20599 * gdb.threads/tls.exp :Add kfail for 'info address' case.
20600
20601 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
20602
20603 * gdb.threads/tls.c : New file.
20604 * gdb.threads/tls.exp : New file.
20605 * gdb.threads/tls-main.c : New file.
20606 * gdb.threads/tls-shared.c : New file.
20607 * gdb.threads/tls-shared.exp : New file.
20608
20609 2003-07-22 Andreas Schwab <schwab@suse.de>
20610
20611 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
20612
20613 2003-07-20 Andreas Schwab <schwab@suse.de>
20614
20615 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
20616 due to insn reordering.
20617
20618 2003-07-15 Andrew Cagney <cagney@redhat.com>
20619
20620 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
20621
20622 2003-07-15 Michael Chastain <mec@shout.net>
20623
20624 * gdb.base/gdb1250.exp: New file.
20625 * gdb.base/gdb1250.c: New file.
20626
20627 2003-07-09 Michal Ludvig <mludvig@suse.cz>
20628
20629 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
20630 expansion of size_t to 'unsigned long', not only to 'unsigned'.
20631
20632 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
20633
20634 * gdb.threads/tls.c: New file.
20635 * gdb.threads/tls.exp: New file.
20636 * gdb.threads/tls-main.c: New file.
20637 * gdb.threads/tls-shared.c: New file.
20638 * gdb.threads/tls-shared.exp: New file.
20639
20640 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
20641
20642 * gdb.base/annota1.exp: Make sure that we properly escape the
20643 full path of the source file. Xfail more permissive patterns,
20644 due to a compiler debug info problem.
20645
20646 2003-07-07 Andreas Schwab <schwab@suse.de>
20647
20648 * gdb.asm/m68k.inc: New file.
20649 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
20650
20651 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
20652 arguments"): Also match negative number.
20653
20654 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
20655
20656 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
20657
20658 * gdb.base/store.c (charest): New typedef.
20659 (add_char): Rename to add_charest, update.
20660 (wack_char): Rename to wack_charest, update types. Return l + r
20661 to keep r live across the call.
20662 (wack_short, wack_int, wack_long, wack_longest, wack_float)
20663 (wack_double, wack_doublest): Return l + r to keep r live across
20664 the call.
20665 * gdb.base/store.exp: Accomodate store.c changes.
20666
20667 2003-06-30 David Carlton <carlton@kealia.com>
20668
20669 * gdb.c++/maint.exp (test_invalid_name): New.
20670 (test_first_component): Add tests for invalid names.
20671
20672 2003-06-29 Michael Chastain <mec@shout.net>
20673
20674 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
20675 output of '<VTT for class>' for virtual base classes.
20676
20677 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
20678
20679 * gdb.base/completion.exp: Tab-complete "complet" instead of
20680 "compl".
20681 * gdb.base/complex.exp, gdb.base/complex.c: New files.
20682
20683 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
20684
20685 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
20686 * gdb.base/volatile.exp: Likewise.
20687
20688 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
20689
20690 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
20691 gdb/1265.
20692
20693 2003-06-28 Michael Chastain <mec@shout.net>
20694 Daniel Jacobowitz <drow@mvista.com>
20695
20696 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
20697 initial line count of 'captured_main' from 26 to 32.
20698 (test_with_self): Allow xmalloc call to be interleaved with the
20699 preceding two lines.
20700
20701 2003-06-24 Joel Brobecker <brobecker@gnat.com>
20702
20703 * gdb.base/bang.exp: New testcase.
20704
20705 2003-06-23 Joel Brobecker <brobecker@gnat.com>
20706
20707 * gdb.base/langs.exp: Add some tests for the "minimal" language
20708 support.
20709
20710 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
20711
20712 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
20713 the testcase.
20714
20715 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
20716
20717 * gdb.base/relocate.exp: Test add-symbol-file with a variable
20718 offset.
20719
20720 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
20721
20722 * gdb.c++/pr-1210.cc: New file.
20723 * gdb.c++/pr-1210.exp: New file.
20724
20725 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
20726
20727 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
20728 000-exec-continue.
20729
20730 2003-06-15 Mark Kettenis <kettenis@gnu.org>
20731
20732 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
20733 on *-*-*bsd* instead of *-*-freebsd*.
20734
20735 2003-06-14 Andrew Cagney <cagney@redhat.com>
20736
20737 * gdb.base/store.exp: Test longest and doublest. Test all
20738 parameters. Weaken return statement match.
20739 * gdb.base/store.c: Add longest and doublest - aka long long and
20740 long double functions. Put all parameters into local register
20741 variables. Use negative values.
20742
20743 2003-06-14 Andrew Cagney <cagney@redhat.com>
20744
20745 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
20746 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
20747 exit status.
20748 * gdb.base/fileio.exp: Disable target when nointerrupts and
20749 noinferiorio, instead of limiting it to remote. Use remote_exec
20750 instead of system.
20751
20752 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
20753
20754 * gdb.base/float.exp: Add ia64 support.
20755
20756 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
20757
20758 * gdb.base/fileio.exp: Run only on remote targets.
20759
20760 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
20761
20762 * gdb.base/fileio.c: New file, testing File-I/O.
20763 * gdb.base/fileio.exp: Ditto.
20764
20765 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
20766
20767 * gdb.base/shreloc.exp: New file, check symbol values obtained from
20768 shared objects after relocation at load time (gdb PR/1132).
20769 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
20770 as above, part of the shared object relocation test.
20771
20772 2003-06-08 Mark Kettenis <kettenis@gnu.org>
20773
20774 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
20775 fully filled history list.
20776 * gdb.base/gdb_history: New file.
20777
20778 * gdb.base/signals.exp: XFAIL "continue to func1" on
20779 i*86-*-freebsd*.
20780
20781 * gdb.base/attach.exp: When trying to attach to a nonexistent
20782 process, make it possible to specify the PID based on the target,
20783 and do so for *-*-freebsd*.
20784
20785 2003-06-02 Richard Henderson <rth@redhat.com>
20786
20787 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
20788
20789 2003-06-02 Richard Henderson <rth@redhat.com>
20790
20791 * gdb.base/selftest.exp: Next over lim_at_start initialization.
20792
20793 2003-06-02 Richard Henderson <rth@redhat.com>
20794
20795 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
20796
20797 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
20798
20799 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
20800 of globalvar.
20801
20802 2003-06-01 Mark Kettenis <kettenis@gnu.org>
20803
20804 * gdb.asm/asm-source.exp: Check for memory read errors in
20805 disassembler test on *BSD too.
20806
20807 2003-06-01 Richard Henderson <rth@redhat.com>
20808
20809 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
20810 for .frame.
20811 (gdbasm_call): Lose ldgp.
20812 (gdbasm_startup): Add frame information.
20813 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
20814
20815 2003-05-31 Mark Kettenis <kettenis@gnu.org>
20816
20817 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
20818 i?86-*-*.
20819
20820 2003-05-30 Mark Kettenis <kettenis@gnu.org>
20821
20822 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20823 FreeBSD.
20824
20825 2003-05-29 Richard Henderson <rth@redhat.com>
20826
20827 * gdb.asm/alpha.inc: New file.
20828 * gdb.asm/asm-source.exp: Use it.
20829
20830 2003-05-29 Jim Blandy <jimb@redhat.com>
20831
20832 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
20833 'core.PID'.
20834
20835 2003-05-22 Jim Blandy <jimb@redhat.com>
20836
20837 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
20838 backtrace.
20839
20840 2003-05-20 David Carlton <carlton@math.stanford.edu>
20841
20842 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
20843 this time.
20844
20845 2003-05-19 David Carlton <carlton@bactrian.org>
20846
20847 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
20848 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
20849
20850 2003-05-19 David Carlton <carlton@bactrian.org>
20851
20852 * gdb.c++/namespace.exp: Add namespace scope and anonymous
20853 namespace tests.
20854 Bump copyright date.
20855 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
20856 (main): Call C::D::marker2.
20857 * gdb.c++/namespace1.cc: New file.
20858
20859 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
20860
20861 Roland McGrath <roland@redhat.com>
20862 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
20863 there is no manager thread.
20864
20865 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
20866
20867 * gdb.threads/schedlock.exp: Remove assumption that all threads
20868 will run in a particular small time slice. Also ensure we break
20869 in one of the child threads rather than the main thread.
20870
20871 2003-05-07 Jim Blandy <jimb@redhat.com>
20872
20873 Add support for assembly source testing on the s390x.
20874 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
20875 architecture.
20876 * gdb.asm/s390x.inc: New file.
20877
20878 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
20879 succession of 'if' statements.
20880
20881 2003-05-05 Andrew Cagney <cagney@redhat.com>
20882
20883 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
20884
20885 2003-05-05 Andrew Cagney <cagney@redhat.com>
20886
20887 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
20888 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
20889
20890 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
20891
20892 * gdb.base/charset.exp: Update based on new behavior of set/show
20893 charset commands.
20894
20895 2003-05-01 Andrew Cagney <cagney@redhat.com>
20896
20897 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
20898 variable do not give memory errors.
20899
20900 2003-04-30 Adam Fedor <fedor@gnu.org>
20901
20902 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
20903 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
20904 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
20905 gdb.objc/basicclass.m: : New files
20906
20907 * lib/gdb.exp (gdb_compile_objc): New procedure.
20908
20909 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
20910
20911 * gdb.base/signals.exp: Make backtrace tests more specific.
20912
20913 2003-04-23 David Carlton <carlton@bactrian.org>
20914
20915 * gdb.c++/maint.exp (test_first_component): Add tests for
20916 'operator' in more locations.
20917
20918 2003-04-16 Kevin Buettner <kevinb@redhat.com>
20919
20920 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
20921
20922 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
20923
20924 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
20925 func marke' instead. Update test name.
20926
20927 2003-04-15 David Carlton <carlton@math.stanford.edu>
20928
20929 * gdb.c++/maint.exp: New file.
20930
20931 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
20932
20933 * gdb.threads/schedlock.c: Change type of thread function argument
20934 to long, to avoid warnings on 64-bit platforms.
20935
20936 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
20937
20938 * gdb.base/attach.exp: Add new message from ptrace in case of
20939 attaching to nonexistent process.
20940
20941 2003-04-11 Jim Blandy <jimb@redhat.com>
20942
20943 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20944 gdb.c++/userdef.cc: Place comments on the lines to which the
20945 marker function might return.
20946 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20947 gdb.c++/userdef.exp: Look for those comments to check that we've
20948 returned to the right place, instead of checking line numbers.
20949
20950 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
20951
20952 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
20953 match on sourcefile name, instead of directory name.
20954
20955 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
20956
20957 * gdb.base/completion.exp: Use string_to_regexp to match the
20958 working directory name.
20959
20960 2003-04-09 Jim Blandy <jimb@redhat.com>
20961
20962 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20963 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
20964 after an inferior function call, report the failure, but allow the
20965 test to continue.
20966
20967 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
20968
20969 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
20970 with -DPROTOTYPES.
20971
20972 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
20973
20974 * gdb.base/break.exp: Revert last patch.
20975
20976 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
20977
20978 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
20979 with -DPROTOTYPES.
20980
20981 2003-04-02 Andrew Cagney <cagney@redhat.com>
20982
20983 * gdb.base/callfuncs.exp: Make "print add" messages unique.
20984 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
20985 matching directories by the name breakpoint.
20986 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
20987 Make "continue to marker1" consistent.
20988 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
20989 message consistent.
20990 * lib/gdb.exp: Put "the program is no longer running", and "the
20991 program exited" in parenthesis.
20992 * lib/mi-support.exp: Ditto.
20993
20994 2003-04-02 Bob Rossi <bob_rossi@cox.net>
20995
20996 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
20997
20998 2003-03-29 Andrew Cagney <cagney@redhat.com>
20999
21000 * gdb.base/sizeof.c (main): Print the value of '\377'.
21001 * gdb.base/sizeof.exp: Check the sign of '\377'.
21002
21003 2003-03-27 Michael Chastain <mec@shout.net>
21004
21005 * gdb.base/gdb1090.exp: New file.
21006 * gdb.base/gdb1090.cc: New file.
21007
21008 2003-03-27 J. Brobecker <brobecker@gnat.com>
21009
21010 * gdb.gdb/observer.exp: New regression test.
21011
21012 2003-03-27 Michael Chastain <mec@shout.net>
21013
21014 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
21015 * gdb.base/ptype.exp: Likewise.
21016
21017 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
21018
21019 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
21020
21021 2003-03-26 Michael Chastain <mec@shout.net>
21022
21023 * gdb.base/ptype.exp: Actually use some typedef'd types.
21024
21025 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
21026
21027 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
21028 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
21029
21030 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21031
21032 * gdb.base/default.exp: Fix regular expression.
21033
21034 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21035
21036 * gdb.base/args.exp: Fix regular expression.
21037
21038 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21039
21040 * gdb.base/help.exp: Allow Win32 child process.
21041
21042 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21043
21044 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
21045 when stepping out of main().
21046
21047 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21048
21049 * gdb.base/default.exp: Check for win32 specific message when calling
21050 "run" without executable.
21051
21052 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21053
21054 * gdb.base/args.exp: Expect .exe in output.
21055
21056 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21057
21058 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
21059 Cygwin native.
21060
21061 2003-03-17 Andrew Cagney <cagney@redhat.com>
21062
21063 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
21064 vector registes.
21065 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
21066 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
21067
21068 2003-03-17 David Carlton <carlton@math.stanford.edu>
21069
21070 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
21071 test, for PR breakpoints/38.
21072 Call test_watchpoint_and_breakpoint.
21073 * gdb.base/watchpoint.c (func3): New function.
21074 (main): Call func3.
21075
21076 2003-03-04 David Carlton <carlton@math.stanford.edu>
21077
21078 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
21079 Garply<Garply<char> >:: garply".
21080 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
21081 with respect to PR c++/1111; note also PR c++/1113.
21082 (test_template_breakpoints): KFAIL "constructor breakpoint" with
21083 respect to PR c++/1062.
21084 KFAIL "destructor breakpoint" with respect to PR c++/1112.
21085
21086 2003-03-03 David Carlton <carlton@math.stanford.edu>
21087
21088 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
21089 with respect to PR c++/57.
21090 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
21091 c++/826.
21092 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
21093 respect to PR c++/57.
21094
21095 2003-03-03 David Carlton <carlton@math.stanford.edu>
21096
21097 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
21098 respect to PR c++/33 into FAILs.
21099
21100 2003-03-03 Michael Chastain <mec@shout.net>
21101
21102 * configure.in: Update copyright years.
21103
21104 2003-03-03 Michael Chastain <mec@shout.net>
21105
21106 * Makefile.in: Update copyright years.
21107
21108 2003-02-28 David Carlton <carlton@math.stanford.edu>
21109
21110 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
21111 print class instead of struct and/or superfluous protection
21112 specifiers, as long as the resulting output is equivalent to the
21113 source code.
21114 Delete FIXME from end of messages on tests that don't need
21115 fixing.
21116
21117 2003-02-28 David Carlton <carlton@math.stanford.edu>
21118
21119 * gdb.c++/templates.exp (do_tests): Allow const in the two
21120 Foo<volatile char *>::foo tests.
21121
21122 2003-02-27 Michael Snyder <msnyder@redhat.com>
21123
21124 * gdb.base/restore.c (main): Return zero, so exit code
21125 will be consistant.
21126
21127 2003-02-26 David Carlton <carlton@math.stanford.edu>
21128
21129 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
21130 char *>::foo" test with respect to PR c++/33. Create a new test
21131 which is identical to that one except that it doesn't put the
21132 space between the "char" and the "*"; KFAIL it, too.
21133
21134 2003-02-26 David Carlton <carlton@math.stanford.edu>
21135
21136 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
21137 template types into either PASSes or KFAILs (corresponding to PR
21138 c++/57). Tweak indentation. Update copyright.
21139
21140 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
21141
21142 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
21143
21144 2003-02-13 Michael Chastain <mec@shout.net>
21145
21146 * gdb.base/exprs.exp: Remove i960 remnants.
21147 * gdb.base/funcargs.exp: Likewise.
21148 * gdb.base/list.exp: Likewise.
21149 * gdb.base/ptype.exp: Likewise.
21150
21151 2003-02-14 David Carlton <carlton@math.stanford.edu>
21152
21153 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
21154 pEe->D::vg()" from XFAIL to KFAIL.
21155
21156 2003-02-13 Jason Molenda (jmolenda@apple.com)
21157
21158 * gdb.base/maint.exp: Update maint print statistics regexp to include
21159 new entries.
21160
21161 2003-02-13 Michael Chastain <mec@shout.net>
21162
21163 * gdb.c++/inherit.exp: Remove call to get_debug_format.
21164
21165 2003-02-12 Michael Chastain <mec@shout.net>
21166
21167 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
21168 * gdb.c++/inherit.exp: Likewise.
21169 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
21170 * gdb.c++/templates.exp: Likewise.
21171 * gdb.c++/virtfunc.exp: Likewise.
21172
21173 2003-02-06 Jason Molenda (jason-cl@molenda.com)
21174
21175 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
21176 why the code is written that way.
21177
21178 2003-02-05 Michael Chastain <mec@shout.net>
21179
21180 * gdb.base/dump.exp: Add missing copyright line.
21181
21182 2003-02-05 Jason Molenda (jason-cl@molenda.com)
21183
21184 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
21185 at the beginning so the breakpoint doesn't get set on the loop.
21186
21187 2003-02-05 Michael Chastain <mec@shout.net>
21188
21189 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
21190 output for configurations with gcc 2.95.3.
21191
21192 2003-02-05 Keith Seitz <keiths@redhat.com>
21193 Andrew Cagney <ac131313@redhat.com>
21194
21195 * gdb.mi/mi-cli.exp: New file.
21196
21197 2003-02-04 Michael Chastain <mec@shout.net>
21198
21199 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
21200 Call perror and then continue.
21201
21202 2003-02-03 Michael Chastain <mec@shout.net>
21203
21204 * gdb.c++/pr-1023.cc: New file.
21205 * gdb.c++/pr-1023.exp: New file.
21206
21207 2003-02-05 Jim Blandy <jimb@redhat.com>
21208
21209 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
21210 it's local to foobar. Check for it there, and check that it's not
21211 present in main.
21212 * gdb.c++/local.cc (marker2): New function.
21213 (foobar): Call marker1.
21214 (main): Call marker2 instead of marker1.
21215
21216 2003-02-04 Andrew Cagney <ac131313@redhat.com>
21217
21218 * gdb.disasm/mn10200.exp: Obsolete file.
21219 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
21220 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
21221 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
21222
21223 2003-02-04 David Carlton <carlton@math.stanford.edu>
21224
21225 * gdb.c++/overload.exp: Test intToChar(1).
21226 * gdb.c++/overload.cc (intToChar): New.
21227 (main): Call intToChar.
21228
21229 2003-02-03 David Carlton <carlton@math.stanford.edu>
21230
21231 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
21232 'might_kfail' arg.
21233 KFAIL some of the continue_to_bp_overloaded calls, according to
21234 PR c++/1025.
21235
21236 2003-02-01 Michael Chastain <mec@shout.net>
21237
21238 * gdb.base/advance.c (marker1): New marker function.
21239 * gdb.base/advance.exp: When the 'advance' command lands on the
21240 return breakpoint, it can legitimately stop on either the
21241 current line or the next line. Accommodate both outcomes.
21242 * gdb.base/until.exp: Likewise.
21243
21244 2003-02-02 Andrew Cagney <ac131313@redhat.com>
21245
21246 2002-11-10 Jason Molenda (jason-cl@molenda.com):
21247 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
21248 now a list, not a tuple.
21249 * gdb.mi/mi-var-display.exp: Ditto.
21250 * gdb.mi/gdb792.exp: Ditto.
21251
21252 2003-02-01 Andrew Cagney <ac131313@redhat.com>
21253
21254 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
21255 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
21256 stack backtraces.
21257 * gdb.mi/mi-syn-frame.c: Part of same.
21258
21259 2003-02-01 Mark Kettenis <kettenis@gnu.org>
21260
21261 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21262 gdb.mi/mi1-pthreads.exp: Return instead of calling
21263 gdb_suppress_entire_file.
21264
21265 2003-02-01 Mark Salter <msalter@redhat.com>
21266
21267 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
21268
21269 2003-01-31 Mark Salter <msalter@redhat.com>
21270
21271 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
21272 Support empty arg.
21273
21274 2003-01-30 Michael Chastain <mec@shout.net>
21275
21276 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
21277 This was a workaround for a UTF-8 bug in readline 4.3. The bug
21278 has been fixed in gdb/readline on 2003-01-09.
21279
21280 2003-01-29 Michael Snyder <msnyder@redhat.com>
21281
21282 * gdb.base/maint.exp: Allow for leading underscore in symbol.
21283 * gdb.base/display.exp: Allow for leading underscore in symbol.
21284 * gdb.base/args.exp: Skip if target does not support args passing.
21285
21286 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
21287
21288 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
21289 gdb_test. Accept a list of expect arguments as the third
21290 parameter.
21291 (gdb_test): Use it.
21292
21293 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
21294
21295 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
21296 allow for different test tree configurations. Update some
21297 tescases accordingly.
21298 * gdb.arch/altivec-regs.exp: Ditto.
21299 * gdb.asm/asm-source.exp: Ditto.
21300 * gdb.base/advance.exp: Ditto.
21301 * gdb.base/display.exp: Ditto.
21302 * gdb.base/long_long.exp: Ditto.
21303 * gdb.base/mips_pro.exp: Ditto.
21304 * gdb.base/overlays.exp: Ditto.
21305 * gdb.base/relocate.exp: Ditto.
21306 * gdb.base/setshow.exp: Ditto.
21307 * gdb.base/step-line.exp: Ditto.
21308 * gdb.base/step-test.exp: Ditto.
21309 * gdb.base/until.exp: Ditto.
21310 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
21311
21312 2003-01-17 David Carlton <carlton@math.stanford.edu>
21313
21314 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
21315 corresponding to PR c++/945.
21316 Update copyright.
21317
21318 2003-01-17 David Carlton <carlton@math.stanford.edu>
21319
21320 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
21321 corresponding to PR c++/68.
21322
21323 2003-01-17 David Carlton <carlton@math.stanford.edu>
21324
21325 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
21326 (test_paddr_hairy_functions): Call print_addr_2_kfail for
21327 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
21328
21329 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
21330
21331 * gdb.base/break.exp: Fix change of default location, because of
21332 removal of until tests.
21333 * gdb.base/help.exp: Update test for new 'until' help message.
21334 Add test for help on 'advance'.
21335 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
21336
21337 2003-01-15 Mark Kettenis <kettenis@gnu.org>
21338
21339 * gdb.base/default.exp: Adapt "info float" test for recent changes
21340 to that command. Add test for "info vector".
21341 * gdb.base/float.exp: New file. Add test for "info float" that
21342 resembles the old test in gdb.base/default.exp.
21343
21344 2003-01-15 David Carlton <carlton@math.stanford.edu>
21345
21346 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
21347
21348 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
21349
21350 * gdb.base/break.exp: Move the tests of until command from here...
21351 * gdb.base/until.exp: ... to here. New file. Add other tests.
21352 * gdb.base/advance.c: New file.
21353 * gdb.base/advance.exp: New file.
21354
21355 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
21356
21357 * gdb.base/args.c: New file.
21358 * gdb.base/args.exp: New file.
21359
21360 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
21361
21362 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
21363
21364 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
21365
21366 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
21367
21368 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
21369
21370 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
21371 dates.
21372
21373 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21374
21375 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
21376
21377 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21378
21379 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
21380 (ptype &*"foo").
21381 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
21382
21383 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21384
21385 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
21386 * gdb.mi/mi1-console.exp: Likewise.
21387
21388 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21389
21390 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
21391 * gdb.mi/mi1-console.exp: Likewise.
21392
21393 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21394
21395 * gdb.c++/overload.exp: Remove some fixed XFAILs.
21396
21397 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
21398
21399 * gdb.base/detach.exp: New test.
21400
21401 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
21402
21403 * Makefile.in (ALL_SUBDIRS): New variable.
21404 (subdirs, clean, distclean): Use it.
21405 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
21406 regenerating Makefile, since it is generated from the top level.
21407 * gdb.asm/Makefile.in: Likewise.
21408 * gdb.base/Makefile.in: Likewise.
21409 * gdb.c++/Makefile.in: Likewise.
21410 * gdb.disasm/Makefile.in: Likewise.
21411 * gdb.java/Makefile.in: Likewise.
21412 * gdb.mi/Makefile.in: Likewise.
21413 * gdb.threads/Makefile.in: Likewise.
21414 * gdb.trace/Makefile.in: Likewise.
21415
21416 2003-01-09 David Carlton <carlton@math.stanford.edu>
21417
21418 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
21419 Add copyright year 2003.
21420
21421 2003-01-06 Michael Chastain <mec@shout.net>
21422
21423 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
21424 When selecting a thread, 'line' and 'file' are optional.
21425 * gdb.mi/mi1-pthreads.exp: Likewise.
21426
21427 2003-01-06 Andreas Schwab <schwab@suse.de>
21428
21429 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
21430 failures.
21431
21432 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
21433
21434 Fix PR gdb/844
21435 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
21436 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
21437
21438 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
21439 instead of calling gdb_suppress_entire_file.
21440 * gdb.threads/print-threads.exp: Likewise.
21441 * gdb.threads/schedlock.exp: Likewise.
21442
21443 * gdb.threads/killed.exp: Return instead of calling
21444 gdb_suppress_entire_file.
21445 * gdb.threads/linux-dp.exp: Likewise.
21446 * gdb.threads/pthreads.exp: Likewise.
21447
21448 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
21449
21450 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
21451 stabs.
21452 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
21453 * gdb.base/whatis.exp: Always allow (void) after function names.
21454
21455 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
21456
21457 * gdb.c++/casts.exp: Correct regexp.
21458
21459 2003-01-04 Mark Kettenis <kettenis@gnu.org>
21460
21461 * configure.in: Call AC_CONFIG_HEADER. Don't call
21462 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
21463 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
21464 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
21465 aforementioned directories in the AC_OUPUT call.
21466 * config.hin: New file.
21467 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21468 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
21469 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
21470 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
21471 pass -I$objdir instead of -I$objdir/$subdir in compilation.
21472 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
21473 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
21474 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
21475 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
21476 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
21477 gdb.threads/configure.in, gdb.threads/configure,
21478 gdb.threads/config.in, gdb.trace/configure.in,
21479 gdb.trace/configure: Removed.
21480
21481 2003-01-03 Michael Chastain <mec@shout.net>
21482
21483 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
21484 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
21485
21486 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
21487
21488 * gdb.base/store.exp: Fix regular expressions.
21489
21490 2002-12-28 Mark Kettenis <kettenis@gnu.org>
21491
21492 * configure.in: Rewrite.
21493 * configure: Regenerated.
21494
21495 2003-01-03 David Carlton <carlton@math.stanford.edu>
21496
21497 * gdb.base/psymtab.exp: New file.
21498 * gdb.base/psymtab1.c: Ditto.
21499 * gdb.base/psymtab2.c: Ditto.
21500
21501 2002-12-23 Adam Fedor <fedor@gnu.org>
21502
21503 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
21504
21505 2002-12-23 David Carlton <carlton@math.stanford.edu>
21506
21507 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
21508 and current_directory initialization.
21509
21510 2002-12-22 Jim Blandy <jimb@redhat.com>
21511
21512 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
21513 rather than as part of the output file name.
21514
21515 * gdb.base/attach.exp: There's no need to copy the test program to
21516 /tmp; that was only ever necessary on HP/UX, and this test is
21517 entirely disabled there anyway.
21518
21519 2002-12-21 Jim Blandy <jimb@redhat.com>
21520
21521 * gdb.c++/psmang.exp: Doc fix.
21522
21523 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
21524 test.
21525
21526 2002-12-20 David Carlton <carlton@math.stanford.edu>
21527
21528 * gdb.c++/annota2.exp: KFAIL annotate-quit.
21529
21530 2002-12-18 Michael Chastain <mec@shout.net>
21531
21532 * gdb.c++/annota2.exp: Add copyright year 2002.
21533
21534 2002-12-17 David Carlton <carlton@math.stanford.edu>
21535
21536 * gdb.c++/try_catch.cc: Add marker comments.
21537 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
21538 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
21539 * gdb.c++/m-static.cc: Ditto.
21540 * gdb.c++/m-static1.cc: Ditto.
21541 * gdb.c++/try_catch.cc: Ditto.
21542
21543 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
21544
21545 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
21546 to see whether we are using the new -environment-directory
21547 command which resets via -r or the old version of the command
21548 which may prompt the user. Part of fix for gdb/741.
21549
21550 2002-12-13 Andrew Cagney <ac131313@redhat.com>
21551
21552 * gdb.fortran/types.exp: Update obsolete comment.
21553 * gdb.fortran/exprs.exp: Ditto.
21554 * lib/gdb.exp: Delete obsolete code.
21555 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
21556 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
21557 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
21558 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
21559 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
21560 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
21561 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
21562 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
21563 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
21564 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
21565 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
21566 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
21567 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
21568 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
21569 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
21570 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
21571 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
21572 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
21573 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
21574 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
21575 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
21576 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
21577 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
21578 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
21579 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
21580 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
21581 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
21582 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
21583 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
21584 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
21585 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
21586 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
21587 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
21588 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
21589 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
21590 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
21591 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
21592
21593 2002-12-11 David Carlton <carlton@math.stanford.edu>
21594
21595 * gdb.c++/m-data.exp: Add test for members that shadow global
21596 variables: see PR gdb/804.
21597 * gdb.c++/m-data.cc: Ditto.
21598
21599 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
21600
21601 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
21602
21603 2002-12-06 David Carlton <carlton@math.stanford.edu>
21604
21605 * gdb.base/store.c: Don't declare functions static.
21606
21607 2002-12-04 Andrew Cagney <ac131313@redhat.com>
21608
21609 * gdb.base/store.exp, gdb.base/store.c: New files.
21610
21611 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
21612
21613 * gdb.base/selftest.exp: Update for current gdb.
21614
21615 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
21616
21617 * gdb.base/maint.exp: Only dump symbols from one source file
21618 or objfile.
21619
21620 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
21621
21622 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
21623 function call.
21624
21625 2002-11-25 Jim Blandy <jimb@redhat.com>
21626
21627 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
21628 function appearing in error message.
21629
21630 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
21631
21632 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
21633
21634 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
21635
21636 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
21637 for mi1 and current mi is in correct format. New mi startup message
21638 should be in mi console format. This is part of fix for PR gdb/604.
21639
21640 2002-09-18 Fernando Nasser <fnasser@redhat.com>
21641
21642 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
21643 which explicitly prints the zero offset as "+0".
21644
21645 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
21646
21647 * gdb.threads/schedlock.c (args): Make unsigned.
21648
21649 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
21650
21651 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
21652 numbers. Allow "foo2|selected stack frame".
21653 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
21654 * gdb.asm/asmsrc2.s: Likewise.
21655 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
21656 comments.
21657 * gdb.asm/mips.inc: New file.
21658
21659 2002-10-18 Adam Fedor <fedor@gnu.org>
21660
21661 * gdb.base/default.exp: Update expected output to include 'ObjC'.
21662 * gdb.base/help.exp: Likewise.
21663
21664 2002-10-17 Kevin Buettner <kevinb@redhat.com>
21665
21666 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
21667 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
21668
21669 2002-10-02 Jim Blandy <jimb@redhat.com>
21670
21671 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
21672
21673 2002-10-01 Andrew Cagney <ac131313@redhat.com>
21674
21675 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
21676 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
21677 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
21678 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
21679 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
21680 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
21681 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
21682
21683 2002-09-29 Andrew Cagney <ac131313@redhat.com>
21684
21685 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
21686 * mi0-disassemble.exp, mi0-eval.exp: Delete.
21687 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
21688 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
21689 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
21690 * mi0-var-block.exp, mi0-var-child.exp: Delete.
21691 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
21692
21693 2002-09-27 Kevin Buettner <kevinb@redhat.com>
21694
21695 * gdb.base/annota1.exp (info break): Make directory components of
21696 path optional since not all compilers emit this debug information.
21697
21698 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
21699 step ends up stepping out of the function instead of stopping on
21700 the epilogue.
21701
21702 2002-09-26 Keith Seitz <keiths@redhat.com>
21703
21704 * lib/insight-support.exp (gdbtk_start): Figure out where
21705 the insight executable is based on where gdb is. Use this
21706 executable to start insight instead of gdb.
21707
21708 2002-09-25 Andrew Cagney <cagney@redhat.com>
21709
21710 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
21711
21712 2002-09-24 Andrew Cagney <ac131313@redhat.com>
21713
21714 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
21715 test_isolated_complaints.
21716 (test_empty_complaint): New function.
21717 (test_empty_complaints): New function. Check no output when no
21718 complaints.
21719
21720 2002-09-19 Jim Blandy <jimb@redhat.com>
21721
21722 * gdb.base/charset.exp, gdb.base/charset.c: New files.
21723
21724 2002-09-19 Andrew Cagney <ac131313@redhat.com>
21725
21726 * gdb.gdb/complaints.exp: New file.
21727
21728 2002-09-18 Andrew Cagney <ac131313@redhat.com>
21729
21730 * gdb.base/maint.exp: Check `help maint internal-warning'.
21731
21732 2002-09-18 David Carlton <carlton@math.stanford.edu>
21733
21734 * gdb.c++/m-static.exp: Remove breakpoints depending on line
21735 numbers, and replace them by a single breakpoint after the
21736 constructors are all finished.
21737 Add test 4.
21738 * gdb.c++/m-static.cc: Add test 4.
21739 * gdb.c++/m-static.h: New file.
21740 * gdb.c++/m-static1.cc: New file.
21741
21742 * gdb.c++/printmethod.exp: New file.
21743 * gdb.c++/printmethod.cc: New file.
21744
21745 * gdb.c++/pr-574.exp: New file.
21746 * gdb.c++/pr-574.cc: New file.
21747
21748 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
21749
21750 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
21751 embedded targets which never actually exit.
21752
21753 2002-09-18 Fernando Nasser <fnasser@redhat.com>
21754
21755 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
21756 "don't step after run" as unresolved or unsupported, instead of xfail.
21757
21758 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
21759
21760 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
21761 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
21762 Add newline to expected string in "step out of main (status wrapper)"
21763 case.
21764
21765 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
21766
21767 * lib/gdb.exp (rerun_to_main): Allow restarting application.
21768 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
21769
21770 2002-09-17 Tom Tromey <tromey@redhat.com>
21771
21772 * gdb.base/printcmds.exp (test_print_string_constants): Expect
21773 \000, not \0, in double-quoted string.
21774
21775 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
21776
21777 * gdb.base/commands.exp: Don't expect a "Program exited normally"
21778 string after running the commands execution on breakpoint tests.
21779
21780 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
21781
21782 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
21783
21784 2002-09-12 Joel Brobecker <brobecker@gnat.com>
21785
21786 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
21787
21788 2002-09-10 Keith Seitz <keiths@redhat.com>
21789
21790 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
21791 runto proc.
21792 (mi_run_to_main): Use mi_runto.
21793 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
21794
21795 2002-09-10 Keith Seitz <keiths@redhat.com>
21796
21797 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
21798 regexp for stopping at main. Could have multiple event notifications.
21799 Don't assume that main was declared with no parameters.
21800 (mi_next): Use mi_step_to.
21801 (mi_step): Use mi_next_to.
21802
21803 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
21804
21805 * gdb.base/default.exp: Fix expected string in `info float' test.
21806
21807 2002-09-09 Ben Elliston <bje@redhat.com>
21808
21809 * config/mips.exp: Update comments.
21810 * config/mips-idt.exp: Likewise.
21811 * config/nind.exp: Likewise.
21812 * config/slite.exp: Likewise.
21813 * config/sparclet.exp: Likewise.
21814 * config/udi.exp: Likewise.
21815 * config/vx.exp: Likewise.
21816 * config/vxworks29k.exp: Likewise.
21817
21818 2002-09-05 Jim Blandy <jimb@redhat.com>
21819
21820 * gdb.threads/killed.exp: Fix test failure message.
21821
21822 2002-09-04 Keith Seitz <keiths@redhat.com>
21823
21824 * lib/mi-support.exp: Update copyright.
21825 (mi_gdb_test): Increase the priority of the expected pattern
21826 so that it matches gdb_test.
21827
21828 2002-09-03 Keith Seitz <keiths@redhat.com>
21829
21830 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
21831 Use integer comparison instead of string comparison for testing
21832 whether binary was built.
21833
21834 2002-09-03 Jim Blandy <jimb@redhat.com>
21835
21836 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
21837
21838 2002-08-29 Jim Blandy <jimb@redhat.com>
21839
21840 * gdb.threads/pthreads.exp: Move the portable thread compilation
21841 code into a function in lib/gdb.exp, and call that from here.
21842 * lib/gdb.exp (gdb_compile_pthreads): New function.
21843
21844 2002-08-29 Keith Seitz <keiths@redhat.com>
21845
21846 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
21847 expect_out so that callers can get at it.
21848
21849 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
21850
21851 * gdb.threads/print-threads.c: New file.
21852 * gdb.threads/print-threads.exp: New file.
21853 * gdb.threads/schedlock.c: New file.
21854 * gdb.threads/schedlock.exp: New file.
21855
21856 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
21857
21858 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
21859 not altivec.c.
21860
21861 2002-08-17 Mark Kettenis <kettenis@gnu.org>
21862
21863 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
21864 targets. The problem should be fixed now.
21865
21866 2002-08-15 Mark Kettenis <kettenis@gnu.org>
21867
21868 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
21869 2002-07-24 change that removes final dots from error messages.
21870
21871 2002-08-13 Tom Tromey <tromey@redhat.com>
21872
21873 * gdb.base/readline.exp: New file.
21874
21875 2002-08-01 Andrew Cagney <ac131313@redhat.com>
21876
21877 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
21878 supress message.
21879
21880 2002-08-01 Andrew Cagney <cagney@redhat.com>
21881
21882 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
21883 CHILL_FOR_TARGET and CHILL_LIB.
21884 * configure.in (configdirs): Remove gdb.chill.
21885 * configure: Regenerate.
21886 * lib/gdb.exp: Obsolete references to chill.
21887 * gdb.fortran/types.exp: Ditto.
21888 * gdb.fortran/exprs.exp: Ditto.
21889
21890 2002-07-30 Kevin Buettner <kevinb@redhat.com>
21891
21892 * gdb.base/shlib-call.exp (additional_flags): Conditionally
21893 set Irix-specific compile and link flags.
21894
21895 2002-07-29 Kevin Buettner <kevinb@redhat.com>
21896
21897 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
21898 source files. The ``-o'' option doesn't work with the ``-E'' option
21899 when using the Irix compiler.
21900
21901 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
21902
21903 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
21904 Improve support for reusing an exec file. Copy exec file
21905 to target, and run gdbserver on the target instead of on the host.
21906
21907 2002-07-18 Jim Blandy <jimb@redhat.com>
21908
21909 * gdb.base/ending-run.exp: Don't expect to see the program end in
21910 some orderly fashion when we're running on a real stand-alone
21911 board.
21912
21913 * gdb.base/interrupt.exp: Correct logic for skipping tests on
21914 targets that don't support interrupts.
21915
21916 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
21917
21918 * gdb.base/attach.exp: Add patterns to match output from /proc-based
21919 systems.
21920 Move comments in expect statements to inside the actions, so that they
21921 don't get matched against.
21922
21923 2002-07-10 Mark Kettenis <kettenis@gnu.org>
21924
21925 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
21926 function when asleep" test.
21927
21928 2002-07-10 Andrew Cagney <ac131313@redhat.com>
21929
21930 * gdb.base/page.exp: Rewrite to handle problems with very long
21931 `info set' output. Update copyright.
21932
21933 2002-06-26 Andrew Cagney <ac131313@redhat.com>
21934
21935 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
21936 gdb.threads-hp.
21937 * gdb.hp/configure: Regenerate.
21938 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
21939 * gdb.hp/gdb.threads-hp/configure: Delete file.
21940 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
21941
21942 2002-06-22 Andrew Cagney <ac131313@redhat.com>
21943
21944 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
21945 setlocale, bindtextdomain and textdomain.
21946
21947 2002-06-11 Jim Blandy <jimb@redhat.com>
21948
21949 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
21950 preprocessor macro information is present.
21951
21952 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
21953 tests.
21954
21955 2002-06-06 Michael Snyder <msnyder@redhat.com>
21956
21957 * gdb.base/overlays.exp: Record addresses of overlay
21958 functions in TCL variables rather than in GDB variables,
21959 to avoid having GDB convert them to pointers (with loss
21960 of information).
21961
21962 * gdb.base/d10v.ld: Merge in several years worth of
21963 default linker script changes.
21964 * gdb.base/long_long.exp: Add check for sizeof (long double).
21965
21966 2002-06-06 Michal Ludvig <mludvig@suse.cz>
21967
21968 * gdb.asm/asm-source.exp: Add x86-64 target.
21969 * gdb.asm/x86_64.inc: New.
21970
21971 2002-05-30 Michael Chastain <mec@shout.net>
21972
21973 From Benjamin Kosnik <bkoz@redhat.com>:
21974 * gdb.c++/m-static.cc: New file.
21975 * gdb.c++/m-static.exp: New file.
21976
21977 2002-05-28 Michael Snyder <msnyder@redhat.com>
21978
21979 * gdb.base/call-ar-st.exp: Allow for reduced floating point
21980 precision.
21981
21982 2002-05-27 Michael Chastain <mec@shout.net>
21983
21984 From Benjamin Kosnik <bkoz@redhat.com>:
21985 * gdb.c++/m-data.cc: New file.
21986 * gdb.c++/m-data.exp: New file.
21987
21988 2002-05-27 Michael Chastain <mec@shout.net>
21989
21990 From Benjamin Kosnik <bkoz@redhat.com>:
21991 * gdb.c++/try_catch.cc: New file.
21992 * gdb.c++/try_catch.exp: New file.
21993
21994 2002-05-27 Michael Chastain <mec@shout.net>
21995
21996 * gdb.c++/local.exp: Accept more nested types in output.
21997
21998 2002-05-26 Michael Chastain <mec@shout.net>
21999
22000 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
22001
22002 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
22003
22004 * lib/gdb.exp (gdb_wrapper_init): Just because
22005 gdb_wrapper_file exists, this does not mean that the file
22006 should not be rebuilt. That is what gdb_wrapper_initialized
22007 is for.
22008 (default_gdb_init): Reset gdb_wrapper_initialized.
22009
22010 2002-05-23 Michael Snyder <msnyder@redhat.com>
22011
22012 * gdb.base/all-bin.exp: Revise previous patch by just reducing
22013 the precision of the floating point test results.
22014 * gdb.base/call-rt-st.exp: Ditto.
22015
22016 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
22017 * gdb.base/call-rt-st.exp: Ditto.
22018
22019 2002-05-19 Michael Chastain <mec@shout.net>
22020
22021 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
22022
22023 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
22024
22025 * configure.in (configdirs): Add gdb.arch.
22026 * configure: Regenerate.
22027
22028 2002-05-17 Jim Blandy <jimb@redhat.com>
22029
22030 * gdb.base/completion.exp: Recognize the more detailed error
22031 messages produced by the macro expander's lexical analyzer.
22032
22033 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
22034
22035 * gdb.arch/altivec-abi.c: New file.
22036 * gdb.arch/altivec-abi.exp: New file.
22037 * gdb.arch/altivec-regs.c: New file.
22038 * gdb.arch/altivec-regs.exp: New file.
22039
22040 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
22041
22042 * gdb.base/maint.exp (maint print type): Update for new type
22043 structure.
22044
22045 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
22046
22047 * gdb.arch: New directory.
22048 * gdb.arch/configure.in: New file.
22049 * gdb.arch/configure: New file.
22050 * gdb.arch/Makefile.in: New file.
22051
22052 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
22053
22054 * gdb.asm/asm-source.exp: Add v850 as supported target.
22055 * gdb.asm/v850.inc: New file.
22056
22057 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
22058
22059 * gdb.c++/annota2.exp (annotate-quit): Add comment.
22060
22061 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
22062
22063 * gdb.base/break.exp: Check 'break "marker2"'.
22064
22065 2002-05-10 Michael Snyder <msnyder@redhat.com>
22066
22067 * gdb.base/long_long.exp: Fix typo.
22068
22069 2002-05-10 Jim Blandy <jimb@redhat.com>
22070
22071 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
22072 a bug.
22073
22074 * gdb.base/printcmds.exp (test_integer_literals_rejected):
22075 Recognize more detailed error message produced by the macro
22076 expander's lexical analyzer.
22077 * lib/gdb.exp (test_print_reject): Same.
22078
22079 2002-05-09 Mark Kettenis <kettenis@gnu.org>
22080
22081 * gdb.c++/method.exp: Fix typo.
22082
22083 2002-05-08 Michael Snyder <msnyder@redhat.com>
22084
22085 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
22086 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
22087 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
22088 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
22089 Add iftarget clause for strongarm.
22090
22091 2002-05-06 Michael Snyder <msnyder@redhat.com>
22092
22093 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
22094 (gdb_continue_to_end): Accept output from status wrapper.
22095 * gdb.base/ending-run.exp: Add case for output from status wrapper.
22096 Clean up fail messages to match pass messages.
22097
22098 Enable the "needs_status_wrapper" testsuite feature.
22099 * lib/gdb.exp (gdb_wrapper_init): New procedure.
22100 (gdb_compile): Conditionally call gdb_wrapper_init.
22101 * gdb.base/a2-run.exp: Recognize output from status wrapper.
22102 * gdb.c++/method.exp: Recognize output from status wrapper.
22103
22104 2002-05-06 Ben Elliston <bje@redhat.com>
22105 From Graydon Hoare <graydon@redhat.com>
22106
22107 * config/sid.exp: Include support for "rawsid" protocol.
22108
22109 2002-05-03 Jim Blandy <jimb@redhat.com>
22110
22111 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
22112 * gdb.c++/hang3.C: New file.
22113
22114 2002-05-04 Andrew Cagney <ac131313@redhat.com>
22115
22116 * gdb.base/default.exp: Remove obsolete code.
22117 * gdb.c++/misc.exp: Ditto. Update copyright.
22118 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
22119 * gdb.base/whatis.exp: Ditto. Update copyright.
22120 * gdb.base/scope.exp: Ditto. Update copyright.
22121 * gdb.base/ptype.exp: Ditto. Update copyright.
22122 * gdb.base/printcmds.exp: Ditto. Update copyright.
22123 * gdb.base/opaque.exp: Ditto. Update copyright.
22124 * gdb.base/list.exp: Ditto.
22125 * gdb.base/funcargs.exp: Ditto. Update copyright.
22126 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
22127 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
22128 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
22129 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
22130 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
22131 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
22132
22133 2002-05-02 Michael Snyder <msnyder@redhat.com>
22134
22135 * gdb.base/watchpoint.exp: Add xscale target.
22136 * gdb.base/long_long.exp: Add xscale target.
22137 * gdb.base/default.exp: Add xscale target.
22138
22139 2002-05-01 Jim Blandy <jimb@redhat.com>
22140
22141 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
22142 gdb.c++/hang.exp: New test.
22143
22144 2002-05-01 Fred Fish <fnf@redhat.com>
22145
22146 * gdb.base/completion.exp: Handle completions of "./Make" for
22147 more than one completion possibility, as is the case when we
22148 build and test in the source tree.
22149
22150 2002-04-29 Anthony Green <green@redhat.com>
22151
22152 * gdb.java/jmisc1.exp: New file.
22153 * gdb.java/jmisc2.exp: New file.
22154
22155 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
22156
22157 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
22158
22159 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
22160
22161 * gdb.base/help.exp: Change 'help status' to allow for target
22162 dependent output differences.
22163
22164 2002-04-22 Michael Chastain <mec@shout.net>
22165
22166 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
22167
22168 2002-04-22 Michael Chastain <mec@shout.net>
22169
22170 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
22171
22172 2002-04-17 David S. Miller <davem@redhat.com>
22173
22174 * gdb.asm/sparc64.inc: New file.
22175 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
22176
22177 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
22178
22179 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
22180 instruction file directly into the build tree. Clean up at end of
22181 test.
22182
22183 2002-04-18 David S. Miller <davem@redhat.com>
22184
22185 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
22186 handle 64-bit platforms correctly.
22187 * gdb.base/maint.exp: Likewise.
22188
22189 2002-04-18 Kevin Buettner <kevinb@redhat.com>
22190
22191 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
22192 ``-fpic'' when compiling files comprising a shared library, but
22193 it does need additional linker flags in order to find shared
22194 libraries at run time.
22195
22196 2002-04-18 Kevin Buettner <kevinb@redhat.com>
22197
22198 * gdb.base/cvexpr.c (use): New function.
22199 (main): Invoke use() on all global variables to prevent
22200 some linkers from deleting these otherwise unused symbols.
22201
22202 2002-04-17 Michael Chastain <mec@shout.net>
22203 From David S. Miller <davem@redhat.com>
22204
22205 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
22206 handle 64-bit platforms correctly.
22207
22208 2002-04-12 Michael Snyder <msnyder@redhat.com>
22209 From Jim Blandy <jimb@redhat.com>
22210 * gdb.base/foo.c (foox): Remove section attribute; the linker
22211 script can handle this instead.
22212 * gdb.base/bar.c (barx): Same.
22213 * gdb.base/baz.c (bazx): Same.
22214 * gdb.base/grbx.c (grbxx): Same.
22215
22216 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
22217 manager doesn't automatically unmap overlays unnecessarily.
22218
22219 2002-04-10 Martin M. Hunt <hunt@redhat.com>
22220
22221 * gdb.base/ending-run.exp: Fix pattern for Mips targets
22222 stepping out of main.
22223
22224 2002-04-09 Michael Chastain <mec@shout.net>
22225
22226 * gdb.c++/local.cc (main): Move call to marker1() inside nested
22227 scope so that the nested scope tests will make sense.
22228 * gdb.c++/local.exp: Write patterns that actually work with gcc
22229 (the HP patterns "were never known to work with gcc").
22230 Keep the old aCC patterns too.
22231
22232 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
22233
22234 * gdb.base/attach.exp: Correct target board test.
22235
22236 2002-04-08 Michael Chastain <mec@shout.net>
22237
22238 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
22239 in a const method. Add some xfail and fail cases for configurations
22240 that do not emit the "const ...".
22241
22242 2002-04-07 Michael Chastain <mec@shout.net>
22243
22244 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
22245 Accept "A * const" and "const A * const" as type of "this".
22246 Fix spelling of getFunky throughout. Make messages uniform.
22247
22248 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
22249
22250 Work around for PR gdb/285:
22251 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
22252
22253 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
22254
22255 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
22256 instructions file at run time instead of configure time.
22257 Sometimes we run the test in a directory that is not the one we
22258 configured in.
22259 * gdb.asm/configure.in: Delete creation of symlink.
22260 * gdb.asm/configure: Regenerate.
22261
22262 2002-04-05 J. Brobecker <brobecker@gnat.com>
22263
22264 * gdb.gdb/xfullpath.exp: New test, to exercise the new
22265 xfullpath () function.
22266
22267 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
22268
22269 * gdb.asm/Makefile.in: Correct dependencies.
22270
22271 * gdb.asm/powerpc.inc: New file.
22272 * gdb.asm/asm-source.exp: Add PowerPC.
22273 * gdb.asm/configure.in: Likewise.
22274 * gdb.asm/configure: Regenerated.
22275
22276 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
22277
22278 * gdb.base/relocate.exp: New file.
22279 * gdb.base/relocate.c: New file.
22280
22281 2002-04-04 Fred Fish <fnf@redhat.com>
22282
22283 * gdb.base/step-test.exp: Update comment regarding stopping in
22284 memcpy/bcopy calls inserted as part of the compiler runtime.
22285
22286 2002-04-04 Michael Snyder <msnyder@redhat.com>
22287
22288 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
22289
22290 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
22291
22292 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
22293 (gdb_expect): Remove $notransfer hack.
22294
22295 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
22296
22297 * gdb.c++/classes.exp ("calling method for small class"): Match
22298 updated register output.
22299
22300 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
22301
22302 Fix PR gdb/452
22303 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
22304 when finished. Make gdb_file_cmd send "exec-file" when
22305 appropriate.
22306
22307 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
22308
22309 * gdb.base/attach.exp: Remove extra setup_xfail.
22310
22311 2002-03-26 Michael Snyder <msnyder@redhat.com>
22312
22313 * gdb.base/default.exp: Add tests for dump, append, and restore.
22314 * gdb.base/help.exp: Add tests for dump, append, and restore.
22315 * gdb.base/dump.exp: New file, test dump, append and restore.
22316 * gdb.base/dump.c: New file.
22317
22318 2002-03-27 Michael Snyder <msnyder@redhat.com>
22319
22320 * gdb.base/help.exp: Modify expect strings to reflect
22321 clean-ups in help messages.
22322
22323 2002-03-26 Fred Fish <fnf@redhat.com>
22324
22325 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
22326 have debugging info for those functions and the compiler uses them
22327 internally to copy structs around.
22328
22329 2002-03-26 Fred Fish <fnf@redhat.com>
22330
22331 * gdb.base/list.exp: Revert the change made yesterday and add note
22332 about why we don't list the default lines for remote targets.
22333
22334 2002-03-25 Michael Snyder <msnyder@redhat.com>
22335
22336 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
22337
22338 2002-03-25 Fred Fish <fnf@redhat.com>
22339
22340 * gdb.base/list.exp: This test works on remote targets so remove
22341 the short circuit for remote targets. Update copyright.
22342
22343 2002-03-25 Fred Fish <fnf@redhat.com>
22344
22345 * gdb.base/attach.exp: Fix logic error that was suppressing this
22346 test for all non hppa*-*-hpux* targets, instead of the hp target.
22347 Move comments closer to the suppression point. Also now need to
22348 check that we are running natively.
22349
22350 2002-03-22 Michael Snyder <msnyder@redhat.com>
22351
22352 * gdb.base/default.exp: Add test for gcore. Update copyright.
22353 * gdb.base/help.exp: Add test for gcore. Update copyright.
22354
22355 2002-03-06 Fred Fish <fnf@redhat.com>
22356
22357 * gdb.base/funcargs.c: Remove extraneous ';' character.
22358 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
22359
22360 2002-03-04 Michael Chastain <mec@shout.net>
22361
22362 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
22363 accommodate gcc v3 function signature.
22364 * gdb.mi/mi0-var-cmd-exp: Ditto.
22365
22366 2002-02-24 Andrew Cagney <ac131313@redhat.com>
22367
22368 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
22369 ``GNU/Linux'' or ``Linux kernel''
22370 * testsuite/gdb.threads/pthreads.c: Ditto.
22371
22372 2002-02-24 Michael Chastain <mec@shout.net>
22373
22374 * gdb.threads/pthreads.c (thread1): Add a return statement.
22375 (thread2): Likewise.
22376 (foo): Likewise.
22377
22378 2002-02-23 Michael Chastain <mec@shout.net>
22379
22380 * gdb.threads/linux-dp.c (philosopher): Add a return statement
22381 to placate gcc.
22382
22383 2002-02-23 Michael Chastain <mec@shout.net>
22384
22385 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
22386 test "ptype bint". The test passes on all my stabs configurations.
22387
22388 2002-02-21 Jim Blandy <jimb@redhat.com>
22389
22390 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
22391 filename at a time, and watch for the ones we want to see.
22392
22393 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
22394 types of pointers to prototyped functions.
22395
22396 2002-02-20 Andrew Cagney <ac131313@redhat.com>
22397
22398 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
22399 signed, unsigned and straight char.
22400 (padding_char, padding_short, padding_int, padding_long,
22401 padding_long_long, padding_float, padding_double,
22402 padding_long_double): New global variables.
22403 (fill, fill_structs): New functions.
22404
22405 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
22406 for correctly sized writes. Update copyright.
22407 (get_valueof): New procedure.
22408 (get_sizeof): Call get_valueof.
22409 (check_valueof): New procedure.
22410 (check_padding): New procedure.
22411
22412 2002-02-20 Michael Chastain <mec@shout.net>
22413
22414 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
22415 to setup_xfail. Document some of the remaining calls.
22416
22417 2002-02-18 Michael Chastain <mec@shout.net>
22418
22419 * gdb.c++/userdef.exp: Update copyright year.
22420
22421 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
22422
22423 * gdb.c++/userdef.exp: Test overloaded operators properly.
22424 Remove xfails.
22425
22426 2002-02-14 Michael Snyder <msnyder@redhat.com>
22427
22428 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
22429
22430 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
22431
22432 * gdb.base/a2-run.exp: Check for a remote target properly.
22433 * gdb.base/annota1.exp: Likewise.
22434 * gdb.base/list.exp: Likewise.
22435 * gdb.base/reread.exp: Likewise.
22436 * gdb.base/scope.exp: Likewise.
22437 * gdb.base/shlib-call.exp: Likewise.
22438 * gdb.base/term.exp: Likewise.
22439 * gdb.c++/annota2.exp: Likewise.
22440
22441 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
22442
22443 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
22444
22445 2002-02-10 Michael Chastain <mec@shout.net>
22446
22447 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
22448 (call_after_alloca): Ditto.
22449
22450 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
22451
22452 * gdb.base/ending-run.exp: Guard "cont" test with
22453 gdb_skip_stdio_test.
22454
22455 2002-02-06 Jim Blandy <jimb@redhat.com>
22456
22457 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
22458 from here...
22459 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
22460 To here. Disable this test on non-HP platforms. Add big comment.
22461
22462 2002-02-04 Michael Snyder <msnyder@redhat.com>
22463
22464 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
22465 other than d10v and m32r.
22466
22467 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
22468
22469 * gdb.base/default.exp: Rewrite test patterns to reduce time
22470 taken to match them.
22471
22472 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
22473
22474 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
22475 Allow a start function above main.
22476 * gdb.threads/linux-dp.exp: Fix copyright date.
22477
22478 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
22479
22480 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
22481 (check_philosopher_stack): Check for manager thread before checking
22482 for a just-starting thread.
22483
22484 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
22485
22486 From Neil Booth <neil@daikokuya.demon.co.uk>:
22487 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
22488 warnings.
22489
22490 2002-01-21 Fred Fish <fnf@redhat.com>
22491
22492 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
22493 not caller.
22494
22495 2002-01-21 Jim Blandy <jimb@redhat.com>
22496
22497 * gdb.base/reread.exp: Check that GDB properly re-reads the
22498 executable file when it changes while no inferior is running.
22499
22500 2002-01-21 Fred Fish <fnf@redhat.com>
22501
22502 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
22503 optionally accept the "shlib events" variation.
22504
22505 2002-01-21 Jim Blandy <jimb@redhat.com>
22506
22507 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
22508 call `fflush' after every `printf', so that the output is produced
22509 at predictable points, regardless of whatever buffering does (or
22510 doesn't) take place.
22511 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
22512 at different points.
22513
22514 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
22515
22516 * gdb.c++/inherit.exp: Update copyright years.
22517 * gdb.c++/method.exp: Likewise.
22518
22519 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
22520
22521 * gdb.c++/classes.exp: Update for improved v3 support and skipping
22522 artificial methods/arguments.
22523 * gdb.c++/derivation.exp: Likewise.
22524 * gdb.c++/inherit.exp: Likewise.
22525 * gdb.c++/method.exp: Likewise.
22526 * gdb.c++/virtfunc.exp: Likewise.
22527
22528 2002-01-18 Andrew Cagney <ac131313@redhat.com>
22529
22530 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
22531 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
22532 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
22533 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
22534 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
22535 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
22536
22537 2002-01-17 Jim Blandy <jimb@redhat.com>
22538
22539 * gdb.asm/asm-source.exp (info symbol): Take another shot at
22540 anchoring the pattern matching the entry point symbol's name.
22541
22542 2002-01-17 Andrew Cagney <ac131313@redhat.com>
22543
22544 * gdb.base/maint.exp: Update ``maint internal-error'' to match
22545 continue/quit query. Update copyright.
22546
22547 2002-01-14 Michael Snyder <msnyder@redhat.com>
22548
22549 * gdb.base/gcore.exp: Remove extra debugging output.
22550
22551 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
22552
22553 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
22554 for slightly dubious v2 mangled string.
22555
22556 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
22557
22558 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
22559
22560 2002-01-10 Jason Merrill <jason@redhat.com>
22561
22562 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
22563
22564 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
22565 constructors.
22566 * gdb.c++/derivation.exp: Likewise.
22567 * gdb.c++/templates.exp: Likewise.
22568 * gdb.c++/virtfunc.exp: Likewise.
22569
22570 2002-01-10 Michael Snyder <msnyder@redhat.com>
22571
22572 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
22573
22574 2002-01-08 Michael Snyder <msnyder@redhat.com>
22575
22576 * gdb.base/gcore.exp: New test for generate-core-file command.
22577 * gdb.base/gcore.c: Testcase for above.
22578 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
22579
22580 2002-01-08 Jason Merrill <jason@redhat.com>
22581
22582 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
22583
22584 2002-01-07 Fred Fish <fnf@redhat.com>
22585
22586 * gdb.c++/overload.exp: Remove unconditional xfails for:
22587 print foo_instance1.overloadargs(1)
22588 print foo_instance1.overloadargs(1, 2)
22589 print foo_instance1.overloadargs(1, 2, 3)
22590 print foo_instance1.overloadargs(1, 2, 3, 4)
22591 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
22592 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
22593 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
22594 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
22595 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
22596 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
22597 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
22598 print foo_instance1.overload1arg()
22599 print foo_instance1.overload1arg((char)arg2)
22600 print foo_instance1.overload1arg((signed char)arg3)
22601 print foo_instance1.overload1arg((unsigned char)arg4)
22602 print foo_instance1.overload1arg((int)arg7)
22603 print foo_instance1.overload1arg((unsigned int)arg8)
22604 print foo_instance1.overload1arg((float)arg11)
22605 print foo_instance1.overload1arg((double)arg12)
22606
22607 2002-01-07 Michael Snyder <msnyder@redhat.com>
22608
22609 * gdb.base/huge.exp: New test. Print a very large target data object.
22610 (skip_huge_test): New test variable. Define if you want to skip this
22611 test. The test reads an 8 megabyte data object from the target, so it
22612 might be very time consuming on remote targets with a slow connection.
22613 * gdb.base/huge.c: New file. Test case for above.
22614
22615 2002-01-07 Fred Fish <fnf@redhat.com>
22616
22617 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
22618 g_instance.bfoo, and g_instance.cfoo.
22619
22620 2002-01-07 Jeffrey A Law <law@redhat.com>
22621
22622 * gdb.base/break.c (multi_line_if_conditional): New function.
22623 (multi_ilne_while_conditional): Likewise.
22624 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
22625 IF or WHILE condition puts the breakpoint at the start of
22626 the condition.
22627
22628 * gdb.base/selftest.exp (backtrace through signal handler): Remove
22629 hppa*-*-hpux* expected failure.
22630 * gdb.base/structs.exp (do_function_calls): Similarly.
22631
22632 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
22633 watchpoints.
22634
22635 2002-01-06 Andrew Cagney <ac131313@redhat.com>
22636
22637 Fix PR gdb/66.
22638 * gdb.base/structs.exp: Replace skip for a29k with skip for
22639 gdb,cannot_call_functions.
22640 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
22641 * gdb.base/callfuncs.exp: Ditto.
22642 * gdb.base/call-rt-st.exp: Ditto.
22643 * gdb.base/call-strs.exp: Ditto.
22644 * gdb.base/callfwmall.exp: Ditto.
22645 * gdb.base/scope.exp: Obsolete xfail a29k.
22646 * gdb.c++/misc.exp: Ditto.
22647 * gdb.c++/cplusfuncs.exp: Ditto.
22648 * gdb.base/ptype.exp: Ditto.
22649 * gdb.base/printcmds.exp: Ditto.
22650 * gdb.base/opaque.exp: Ditto.
22651 * gdb.base/list.exp: Ditto.
22652 * gdb.base/funcargs.exp: Ditto.
22653 * gdb.base/default.exp: Ditto.
22654
22655 2002-01-04 Michael Snyder <msnyder@redhat.com>
22656
22657 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
22658 * gdb.base/maint.exp: Add tests for maint info sections options.
22659
22660 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
22661
22662 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
22663
22664 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
22665
22666 * gdb.asm/arm.inc: New file.
22667 * gdb.asm/asm-source.exp: Add arm targets.
22668 * gdb.asm/configure.in: Ditto.
22669 * gdb.asm/configure: Recreated from configure.in.
22670
22671 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
22672
22673 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
22674 with HP's compiler.
22675 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
22676 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
22677 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
22678 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
22679
22680 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
22681 either HP's compilers or GCC.
22682
22683 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
22684 a SIGBUS or SIGSEGV.
22685
22686 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
22687
22688 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
22689 can be compiled with either HP's compiler or GCC.
22690
22691 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
22692 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
22693 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
22694
22695 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
22696 to match current gdb output. Update due to using auto-solib-limit
22697 for limiting instead of overloading auto-solib-add.
22698 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
22699 test program.
22700
22701 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
22702 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
22703 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
22704 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
22705 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
22706 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
22707 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
22708 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
22709 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
22710 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
22711 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
22712 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
22713 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
22714
22715 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
22716 a SIGTRAP to the inferior.
22717
22718 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
22719
22720 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
22721 Substitute call to target_link by call to gdb_compile.
22722
22723 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
22724
22725 * gdb.base/break.exp: Fix HP specific search string when testing
22726 backtracing in a called function.
22727
22728 * gdb.base/constvars.exp: Only set lang to C++ if we're
22729 compiling the test with HP's compilers.
22730 * gdb.base/volatile.exp: Similarly.
22731
22732 2001-12-19 Jim Blandy <jimb@redhat.com>
22733
22734 * gdb.base/printcmds.exp: Expect the null character to be printed
22735 as '\0', and the '\013' to be printed as '\v'.
22736 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
22737 * gdb.base/setvar.exp: Same.
22738
22739 2001-12-17 Jim Blandy <jimb@redhat.com>
22740
22741 * gdb.base/completion.exp: Rather than completing very long
22742 filenames, which can make the readline library produce output we
22743 don't recognize, cd to the directory first, and then complete
22744 using nice, short relative paths.
22745
22746 * gdb.base/completion.exp: On some systems, there is, in fact, a
22747 variable named `b' in scope, since GDB treats all static
22748 variables as being in scope. So use `no_var_named_this'
22749 instead of `b'.
22750
22751 * gdb.base/corefile.exp: Recognize the message saying that GDB
22752 can't find the core file's registers as a failure.
22753
22754 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
22755
22756 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
22757 test expect string more specific.
22758
22759 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
22760
22761 * gdb.asm/asm-source.exp: Add support for xstormy16.
22762 * gdb.asm/configure.in: Ditto.
22763 * gdb.asm/configure: Rebuild.
22764 * gdb.asm/xstormy16.inc: New file.
22765
22766 2001-12-10 Fred Fish <fnf@redhat.com>
22767
22768 * gdb.base/maint.exp: Update to match changes in type dumping code.
22769
22770 2001-12-10 Jim Blandy <jimb@redhat.com>
22771
22772 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
22773 matching the entry point symbol's name at the beginning of the
22774 line.
22775
22776 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
22777
22778 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
22779 gdb.c++/inherit.exp, gdb.c++/method.exp,
22780 gdb.c++/namespace.exp, gdb.c++/templates.exp,
22781 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
22782 and class layout support.
22783
22784 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
22785
22786 * gdb.c++/classes.exp: Add test for static member function.
22787 * gdb.c++/misc.cc: Add class with static member function.
22788
22789 2001-12-07 Jim Blandy <jimb@redhat.com>
22790
22791 If GDB says it can't find the struct the function returned, report
22792 those tests as `unsupported'.
22793 * gdb.base/call-rt-st.exp (print_struct_call): New function.
22794 Rewrite subsequent tests to use it.
22795
22796 If GDB says it can't find the struct the function returned, report
22797 those tests as `unsupported'.
22798 * gdb.base/structs.exp (call_struct_func): New function.
22799 (do_function_calls): Use call_struct_func to call the functions
22800 returning structs.
22801
22802 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
22803 whether functions are prototyped or not, so we can't possibly pass
22804 arguments to t_float_values2 properly.
22805
22806 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
22807 value of `timeout' for targets other than the mips*tx39-*.
22808
22809 2001-12-06 Michael Snyder <msnyder@redhat.com>
22810
22811 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
22812 and detect whether the start symbol has a leading underscore.
22813
22814 2001-12-04 Jim Blandy <jimb@redhat.com>
22815
22816 * gdb.base/completion.exp: Clarify indentation.
22817
22818 2001-12-03 Jim Blandy <jimb@redhat.com>
22819
22820 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
22821 variables on the S/390, not `.word'.
22822
22823 2001-11-30 Jim Blandy <jimb@redhat.com>
22824
22825 Add assembly-source tests for s390-ibm-linux.
22826 * gdb.asm/s390.inc: New file.
22827 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
22828 the S/390 architecture.
22829 * gdb.asm/configure: Regenerated.
22830
22831 2001-11-30 Michael Snyder <msnyder@redhat.com>
22832
22833 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
22834 next, info source, info sources, info line, global and static
22835 variables, and static functions.
22836 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
22837 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
22838 * gdb.asm/asmsrc1.s: Add a static function and some variables.
22839 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
22840 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
22841 (gdbasm_leave): Restore frame pointer.
22842 (gdbasm_startup): Copy stack set-up from crt0.S.
22843
22844 2001-11-26 Fernando Nasser <fnasser@redhat.com>
22845
22846 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
22847 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
22848 to a local (non-static) variable. Copy tstruct.a to a static buffer
22849 and return a pointer to that buffer.
22850 * gdb.base/callfwmall.c (t_structs_a): Ditto.
22851
22852 2001-11-24 Mark Kettenis <kettenis@gnu.org>
22853
22854 * gdb.asm/configure.in: Fix recognition of ix86 target.
22855 * gdb.asm/configure: Regenerate.
22856
22857 2001-11-21 Michael Snyder <msnyder@redhat.com>
22858
22859 * gdb.asm/sparc.inc: New file.
22860 * gdb.asm/asm-source.exp: Recognize sparc target.
22861 * gdb.asm/configure.in: Recognize sparc target.
22862 * gdb.asm/configure: Regenerate.
22863
22864 2001-11-21 Michael Snyder <msnyder@redhat.com>
22865
22866 * gdb.asm/m32r.inc: New file.
22867 * gdb.asm/asm-source.exp: Recognize m32r target.
22868 * gdb.asm/configure.in: Recognize m32r target.
22869 * gdb.asm/configure: Regenerate.
22870
22871 2001-11-20 Michael Snyder <msnyder@redhat.com>
22872
22873 * gdb.asm/i386.inc: New file.
22874 * gdb.asm/asm-source.exp: Recognize ix86 target.
22875 * gdb.asm/configure.in: Recognize ix86 target.
22876 * gdb.asm/configure: Regenerate.
22877
22878 * gdb.c++/namespace.exp: Fix quotes in output messages.
22879
22880 2001-11-14 Michael Snyder <msnyder@redhat.com>
22881
22882 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
22883 qualifier in a type cast expression, to designate an address
22884 in the instruction space (Harvard architecture).
22885
22886 2001-11-13 Michael Snyder <msnyder@redhat.com>
22887
22888 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
22889 Tests for expressions using 'const' and 'volatile'.
22890
22891 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
22892
22893 * gdb.asm/asm-sources.exp: Allow defining linker flags.
22894
22895 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
22896
22897 * lib/mi-support.exp (mi_run_to_helper): Move comments
22898 outside of gdb_expect.
22899
22900 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
22901
22902 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
22903 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
22904 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
22905 mi0_run_to): New functions.
22906 * gdb.mi/mi-simplerun.exp: Use them.
22907 * gdb.mi/mi0-simplerun.exp: Likewise.
22908 * gdb.mi/mi-var-cmd.exp: Likewise.
22909 * gdb.mi/mi0-var-cmd.exp: Likewise.
22910
22911 2001-11-10 Andrew Cagney <ac131313@redhat.com>
22912
22913 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
22914 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
22915
22916 2001-11-09 Andrew Cagney <ac131313@redhat.com>
22917
22918 * gdb.base/restore.exp: Include $expected value in restored test
22919 message.
22920
22921 2001-11-09 Andrew Cagney <ac131313@redhat.com>
22922
22923 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
22924 implemented.
22925
22926 2001-11-08 Michael Snyder <msnyder@redhat.com>
22927
22928 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
22929 Add pass/fail message for stop at breakpoint in call dummy function.
22930
22931 2001-11-07 Michael Snyder <msnyder@redhat.com>
22932
22933 * gdb.c++/templates.exp (test_template_breakpoints):
22934 If we get an overload menu, but it does not match what
22935 we expect, we still need to issue the "cancel" command.
22936 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
22937 making the whitespace optional. Argument for "new" may be
22938 "unsigned" as well as "unsigned int/long".
22939 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
22940 making the whitespace optional. Also replace "(void) with
22941 "((void|)), making the keyword "void" optional.
22942 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
22943 making the whitespace optional. Also replace "(void) with
22944 "((void|)), making the keyword "void" optional.
22945 * gdb.base/callfuncs.c (t_float_values): This function must
22946 _not_ be prototyped, and the following function (t_float_values2)
22947 must be prototyped (if the compiler supports it), so that GDB
22948 can be tested against both cases. Usually one case involves
22949 promotion of float to double, while the other does not.
22950 * gdb.base/callfwmall.c: Ditto.
22951 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
22952 includes a stack frame for "start".
22953
22954 2001-11-05 Jim Blandy <jimb@redhat.com>
22955
22956 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
22957 pointers are 32 bits long, and that offsets of relocs are always
22958 stored in the data (REL-style), and not in the reloc entry itself
22959 (RELA-style).
22960 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
22961 stabs.
22962
22963 2001-11-01 Michael Snyder <msnyder@redhat.com>
22964
22965 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
22966 and regular expression operators by using quoting.
22967
22968 2001-10-31 Michael Snyder <msnyder@redhat.com>
22969
22970 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
22971 depending on what the symbol table contains.
22972 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
22973 the output of the ptype command. Similarly, accept both "const &"
22974 and "const&".
22975
22976 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
22977
22978 * gdb.base/miscexprs.c (main): Add usage of preprocessor
22979 symbol `STORAGE' to allow to choose the storage class of
22980 the local datastructures.
22981 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
22982 compiler directive.
22983
22984 2001-10-30 Michael Snyder <msnyder@redhat.com>
22985
22986 * gdb.base/jump.exp: Allow it to run for all targets.
22987
22988 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
22989
22990 * gdb.base/call-ar-st.c (print_double_array): Match for loop
22991 with new double_array size.
22992 (main): Change storage class of all local variables to static.
22993 Reduce size of double_array to 9.
22994 * gdb.base/call-ar-st.exp: Increase timeout value.
22995 Change expected output for double array to match new size in
22996 call-ar-st.c.
22997
22998 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
22999
23000 * gdb.base/ending-run.exp: Create identical output when passing
23001 `step to end of run' case. Add regular expression branch satisfying
23002 Stormy16 target.
23003
23004 2001-10-28 Mark Kettenis <kettenis@gnu.org>
23005
23006 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
23007 that we catch the expected failure under Linux/x86.
23008
23009 2001-10-29 Orjan Friberg <orjanf@axis.com>
23010
23011 * gdb.base/setvar.exp: Escape curly braces.
23012 * gdb.stabs/weird.exp: Ditto.
23013
23014 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
23015
23016 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
23017 * gdm.mi/mi0-hack-cli.exp: Likewise.
23018
23019 2001-10-25 Andrew Cagney <ac131313@redhat.com>
23020
23021 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
23022 messages.
23023
23024 2001-10-21 Andrew Cagney <ac131313@redhat.com>
23025
23026 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
23027 checking MI enabled.
23028
23029 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
23030
23031 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
23032
23033 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
23034
23035 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
23036 if gdb child process crashes, just signal an error.
23037
23038 2001-10-02 Jim Blandy <jimb@redhat.com>
23039
23040 * lib/gdb.exp (test_xfail_format): Simplify.
23041
23042 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
23043 front of the variable name `format'. Simplify `if'.
23044
23045 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
23046
23047 * gdb.threads/pthreads.exp: Wait for output and delay
23048 before sending ^C.
23049
23050 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
23051
23052 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
23053 some incorrect output instead of timing out.
23054 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
23055
23056 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
23057
23058 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
23059 check to allow additional `int'.
23060
23061 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
23062
23063 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
23064 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
23065
23066 2001-09-27 Michael Snyder <msnyder@redhat.com>
23067
23068 * lib/gdb.exp (test_debug_format): New proc.
23069 (setup_xfail_format): Use new proc test_debug_format.
23070 * gdb.base/constvars.exp (local_compiler_xfail_check): New
23071 proc; use new service proc test_debug_format.
23072 Replace all other "gcc_compiled" tests with this test.
23073 * gdb.base/volatile.exp (local_compiler_xfail_check): New
23074 proc; use new service proc test_debug_format.
23075 Replace all other "gcc_compiled" tests with this test.
23076
23077 2001-09-27 Michael Snyder <msnyder@redhat.com>
23078
23079 * gdb.base/cvexpr.exp: New file.
23080 * gdb.base/cvexpr.c: New file
23081 Test for expressions using const and volatile keywords.
23082
23083 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
23084
23085 * gdb.base/constvars.exp: Check for different orders of keywords
23086 and additional "int" strings in output.
23087
23088 2001-09-22 Andrew Cagney <ac131313@redhat.com>
23089
23090 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
23091 responses from "help maint".
23092
23093 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
23094
23095 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
23096 to localhost:NNN instead of :NNN, in case Xvfb is listening
23097 only on TCP.
23098
23099 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
23100
23101 * gdb.base/recurse.exp: When checking leaving the watchpoint
23102 scope, recognize when gdb is in function's epilogue and pass.
23103
23104 2001-09-18 Keith Seitz <keiths@redhat.com>
23105
23106 * lib/insight-support.exp (_gdbtk_export_target_info): Add
23107 support for running tests against sid targets.
23108 (gdbtk_done): Ditto.
23109
23110 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
23111
23112 * gdb.base/ending-run.c (main): Set stdout buffersize
23113 to the same reasonable value for any target.
23114 * gdb.base/ending-run.exp: Add a regular expression
23115 to make testsuite happy on Sanyo Stormy16 target.
23116
23117 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
23118
23119 * gdb.base/display.c (do_loops): Add float variable `f'.
23120 Increment f in loop.
23121 * gdb.base/display.exp: Increment timeout by 60 seconds.
23122 Change float display test to use variable `f'.
23123
23124 2001-09-17 Jim Blandy <jimb@redhat.com>
23125
23126 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
23127 overflowing the limited breakpoint tables on some ROM monitors
23128 (like the ROM68K).
23129
23130 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
23131
23132 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
23133 the "-ac" (disable access control) flag.
23134
23135 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
23136
23137 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
23138 ints.
23139
23140 2001-08-30 Keith Seitz <keiths@redhat.com>
23141
23142 * lib/gdb.exp: Move all insight-related functionality into
23143 separate file.
23144 * lib/insight-support.exp: New file.
23145
23146 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
23147
23148 * config/sid.exp (sid_start): Never set sid verbosity; disable
23149 expect_background {} that consumed its stdout; tolerate </dev/null.
23150 Attempt to set endianness override in "sid" protocol mode. Cleanup.
23151
23152 2001-08-18 Andrew Cagney <ac131313@redhat.com>
23153
23154 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
23155 CLI jump command to start it.
23156 (mi_run_to_main): Fail immediatly when unexpected output.
23157
23158 2001-08-18 Andrew Cagney <ac131313@redhat.com>
23159
23160 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
23161 beginning of function. Fix PR gdb/191.
23162
23163 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
23164
23165 * config/sid.exp (sid_start): Don't warn if we cannot figure out
23166 what to force sid endianness to.
23167
23168 2001-08-15 Keith Seitz <keiths@redhat.com>
23169
23170 * lib/gdb.exp (gdbtk_start): Don't set environment
23171 variables for TCL_LIBRARY and friends. Insight will
23172 now figure these out for itself.
23173
23174 2001-08-02 Michael Snyder <msnyder@redhat.com>
23175
23176 * gdb.base/completion.exp: Remove the symbol "a64l" from
23177 the expect string; this is target-specific, and not related
23178 to what is being tested.
23179
23180 2001-08-02 Dave Brolley <brolley@redhat.com>
23181
23182 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
23183
23184 2001-07-25 Michael Snyder <msnyder@redhat.com>
23185
23186 * gdb.base/consecutive.exp: New file. Test stepping over
23187 breakpoints on consecutive instructions.
23188 * gdb.base/consecutive.c: New file.
23189
23190 * gdb.base/call-rt-st.exp: Use double-backslash to quote
23191 curly braces in regular expressions.
23192
23193 2001-07-25 Michael Snyder <msnyder@redhat.com>
23194
23195 * gdb.base/ending-run.exp: Accept "Program exited normally" as
23196 legitimate output from stepping out of main.
23197
23198 2001-07-22 Keith Seitz <keiths@redhat.com>
23199
23200 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
23201 the empty string, do not run the tests.
23202
23203 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23204
23205 * gdb.base/long_long.exp: Detect size of pointer. Take into
23206 account 2-byte pointers when testing for p/a results.
23207
23208 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23209
23210 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
23211 and defined to 1K for m68hc11.
23212 (random_data): Reduce table to 1K for embedded platforms (68hc11).
23213 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
23214 (sizeof_random_data): New variable to tell the size of the data table;
23215 don't test past this size; always run to main.
23216
23217 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23218
23219 * gdb.base/return2.exp: return of long long and double fails for
23220 68HC11; don't execute these tests on that platform.
23221 * gdb.base/return.exp: Return of a double fails for 68hc11.
23222
23223 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23224
23225 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
23226 tests that print a float.
23227 * call-rt-st.exp: Likewise.
23228
23229 2001-07-12 Mark Kettenis <kettenis@gnu.org>
23230
23231 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
23232 running this test on Linux.
23233
23234 2001-06-24 Michael Chastain <chastain@redhat.com>
23235
23236 * gdb.base/arithmet.exp: Remove some tests to make all test names
23237 unique.
23238
23239 2001-07-03 Michael Snyder <msnyder@redhat.com>
23240
23241 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
23242 the output of the ptype command.
23243
23244 2001-07-02 Michael Snyder <msnyder@redhat.com>
23245
23246 * gdb.base/completion.exp: Don't assume that break.c is the only
23247 source file that may contain functions named "marker".
23248 * gdb.base/corefile.exp: Quote the curly braces in regexp.
23249
23250 2001-06-28 Andrew Cagney <ac131313@redhat.com>
23251
23252 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
23253 of files to delete.
23254
23255 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
23256 * gdb.disasm/h8300s.exp: New file.
23257 gdb.disasm/h8300s.s: Likewise.
23258
23259 2001-06-27 Andrew Cagney <ac131313@redhat.com>
23260
23261 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
23262 empty breakpoint tables.
23263
23264 2001-06-25 Andrew Cagney <ac131313@redhat.com>
23265
23266 * lib/mi-support.exp: Update args=... part of stop-reason
23267 patterns. Accept either a list or a tuple.
23268
23269 2001-06-23 Andrew Cagney <ac131313@redhat.com>
23270
23271 * lib/mi-support.exp: Remove local emacs variable defining
23272 change-log-default-name.
23273
23274 2001-06-22 Michael Chastain <chastain@redhat.com>
23275
23276 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
23277 This is operationally compatible with the previous version.
23278
23279 2001-06-13 Jim Blandy <jimb@redhat.com>
23280
23281 * lib/gdb.exp (gdb_test): Doc fix.
23282
23283 2001-06-10 Michael Chastain <chastain@redhat.com>
23284
23285 * gdb.base/exprs.exp: Remove a duplicate test.
23286
23287 2001-06-06 Jim Blandy <jimb@redhat.com>
23288
23289 * gdb.base/return2.exp (main): Use values to test float and double
23290 returns that are not NaN's, to avoid being confused by IEEE
23291 comparison rules.
23292
23293 2001-06-04 Michael Snyder <msnyder@redhat.com>
23294
23295 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
23296 non-zero if control_c fails. Terminate the test on failure,
23297 rather than wait for 12 more tests to time out.
23298
23299 2001-06-06 Jim Blandy <jimb@redhat.com>
23300
23301 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
23302 Don't forget to match the GDB prompt.
23303
23304 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
23305
23306 2001-06-04 Jim Blandy <jimb@redhat.com>
23307
23308 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
23309 command.
23310
23311 2001-05-31 Kevin Buettner <kevinb@redhat.com>
23312
23313 * gdb.base/annota1.exp (info break): Match four or more spaces
23314 after "Address".
23315
23316 2001-05-31 Michael Chastain <chastain@redhat.com>
23317
23318 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
23319 (dm_type_int_star): Likewise.
23320 (dm_type_long_star): Likewise.
23321 (dm_type_void_star): Likewise.
23322
23323 2001-05-29 Kevin Buettner <kevinb@redhat.com>
23324
23325 * gdb.base/completion.exp (INPUTRC): Set this environment variable
23326 to a known value in order to get consistent results regardless
23327 of the setting of INPUTRC or the presence or contents of .inputrc.
23328
23329 2001-05-24 Michael Snyder <msnyder@redhat.com>
23330
23331 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
23332 Don't require that the main thread and the manager thread are the
23333 first in the list.
23334
23335 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
23336 debugging. If test fails, issue an "unsupported" not a "fail".
23337
23338 2001-05-24 Jim Blandy <jimb@redhat.com>
23339
23340 Don't assume that short is shorter than int.
23341 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
23342 assume that shorts are smaller than ints. On a 16-bit machine,
23343 this isn't true.
23344 ("print unsigned char == (~0)"): Add test that verifies that ~0,
23345 an int, is not equal to ~0 stored in an unsigned char. This tests
23346 the same thing that the previous test meant to, but works on
23347 16-bit machines, too.
23348 ("print unsigned char != (~0)"): Same test, complemented.
23349
23350 2001-05-24 Michael Snyder <msnyder@redhat.com>
23351
23352 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
23353 test for (full_coverage == 0). This makes the test run faster,
23354 and prevents dejagnu getting out of step.
23355
23356 2001-05-23 Kevin Buettner <kevinb@redhat.com>
23357
23358 * gdb.base/finish.exp (finish_void): Revise pattern for
23359 stopping on the call statement to not permit stopping at
23360 the start of the instructions comprising the call sequence.
23361
23362 2001-05-19 Michael Chastain <chastain@redhat.com>
23363
23364 * gdb.base/callfuncs.exp: Make all test names unique.
23365 * gdb.base/commands.exp: Make all test names unique.
23366 * gdb.base/condbreak.exp: Make all test names unique.
23367 * gdb.base/dbx.exp: Make all test names unique.
23368 * gdb.base/default.exp: Make all test names unique.
23369 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
23370 and TIMEOUT messages to their corresponding PASS message.
23371 * gdb.base/ending-run.exp: Make all test names unique.
23372 * gdb.base/long_long.exp: Remove duplicate test.
23373
23374 2001-05-21 Kevin Buettner <kevinb@redhat.com>
23375
23376 * gdb.base/finish.exp (finish_void): Allow "finish" command to
23377 stop on the call statement as well as the statement after the
23378 call.
23379
23380 2001-05-21 Michael Snyder <msnyder@redhat.com>
23381
23382 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
23383
23384 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
23385
23386 * gdb.base/completion.exp: Revamp test. Make it execute on all
23387 platforms.
23388
23389 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
23390
23391 * config/gdbserver.exp (gdb_load): Handle the case
23392 in which the arguments to gdbserver are given in the
23393 baseboard configuration file.
23394 Also handle the case in which the server needs to do a
23395 load.
23396
23397 2001-05-07 Keith Seitz <keiths@cygnus.com>
23398
23399 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
23400 set up the display for testing.
23401 (gdbtk_start): Convert all paths to paths that tcl will like.
23402 Export target information to environment.
23403 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
23404 necessary.
23405 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
23406 (to_tcl_path): New proc to convert a given pathname into
23407 a path acceptible as an argument to a tcl command.
23408 (_gdbtk_export_target_info): New proc to export target info
23409 into the environment for gdbtk testing.
23410 (gdbtk_done): New proc to signal end-of-test.
23411
23412 2001-05-06 Jim Blandy <jimb@redhat.com>
23413
23414 * restore.c: Make the code of caller0 correspond to its comment.
23415
23416 2001-05-03 Michael Snyder <msnyder@redhat.com>
23417
23418 * config/sid.exp (gdb_target_sid): Check for error messages.
23419 On error or timeout, don't make expect exit (which will terminate
23420 all subsequent tests); instead just make gdb exit.
23421 (gdb_load): Check for error messages. On error or timeout,
23422 return a negative value.
23423
23424 2001-04-24 Jim Blandy <jimb@redhat.com>
23425
23426 * gdb.c++/templates.exp: If we see the prompt for the overload
23427 list, but we haven't recognized any of the longer patterns,
23428 arrange for this test to fail, not hang.
23429
23430 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
23431 variations.
23432
23433 2001-04-22 Michael Chastain <chastain@redhat.com>
23434
23435 * gdb.c++/local.exp: Use the 'runto' library function.
23436 * gdb.c++/namespace.exp: Likewise.
23437 * gdb.c++/overload.exp: Likewise.
23438
23439 2001-03-26 Kevin Buettner <kevinb@redhat.com>
23440
23441 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
23442 * gdb.base/step-line.exp: New file. Test step/next in presence of
23443 #line directives.
23444 * gdb.base/step-line.c: New file. Test program for the above.
23445 * gdb.base/step-line.inp: New file. We pretend that this file has
23446 been transformed by some other tool into step-line.c.
23447
23448 2001-03-21 Jim Blandy <jimb@redhat.com>
23449
23450 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
23451 unmangled operator names.
23452
23453 2001-03-20 Jim Blandy <jimb@redhat.com>
23454
23455 * gdb.threads/linux-dp.exp: Recognize an additional message
23456 generated by GDB when it doesn't understand how to debug threads
23457 on the target system.
23458
23459 2001-03-19 Andrew Cagney <ac131313@redhat.com>
23460
23461 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
23462
23463 2001-03-12 Michael Chastain <chastain@redhat.com>
23464
23465 * gdb.c++/derivation.exp: Use the 'runto' library function.
23466
23467 2001-03-12 Michael Chastain <chastain@redhat.com>
23468
23469 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
23470
23471 2001-02-24 Michael Chastain <chastain@redhat.com>
23472
23473 * gdb.c++/ref-types.exp: Change handwritten code to library
23474 function 'runto'.
23475
23476 2001-03-16 Orjan Friberg <orjanf@axis.com>
23477
23478 * gdb.base/signals.exp: Set count to 0 explicitly.
23479
23480 2001-03-15 Mark Salter <msalter@redhat.com>
23481
23482 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
23483 (gdb_target_monitor): Add check of gdb_target_cmd return value.
23484 (gdb_load): Add support for additional target_info: gdb_download_size
23485 and gdb_load_timeout.
23486
23487 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
23488
23489 * gdb.base/annota1.exp: Move test of isnative to earlier in the
23490 file -- to prevent failing when the compile fails but we have no
23491 intention of running the tests anyway.
23492
23493 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
23494 tests if set.
23495
23496 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
23497 integers.
23498
23499 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
23500 * gdb.c++/namespace.exp: Ditto.
23501
23502 2001-03-07 Orjan Friberg <orjanf@axis.com>
23503
23504 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
23505 * gdb.base/pointers.exp: Relax pattern match of decimals.
23506
23507 2001-03-06 Kevin Buettner <kevinb@redhat.com>
23508
23509 * Makefile.in, config/abug.exp, config/cfdbug.exp,
23510 config/cpu32bug.exp, config/dve.exp, config/est.exp,
23511 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
23512 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
23513 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
23514 config/sh.exp, config/sid.exp, config/slite.exp,
23515 config/sparclet.exp, config/udi.exp, config/unknown.exp,
23516 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
23517 config/vxworks.exp, config/vxworks29k.exp,
23518 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
23519 gdb.base/all-bin.exp, gdb.base/annota1.exp,
23520 gdb.base/arithmet.exp, gdb.base/assign.exp,
23521 gdb.base/async.exp, gdb.base/attach.exp,
23522 gdb.base/bitfields.exp, gdb.base/bitops.exp,
23523 gdb.base/break.exp, gdb.base/call-ar-st.exp,
23524 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
23525 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
23526 gdb.base/commands.exp, gdb.base/completion.exp,
23527 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
23528 gdb.base/constvars.exp, gdb.base/corefile.exp,
23529 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
23530 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
23531 gdb.base/ending-run.exp, gdb.base/environ.exp,
23532 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
23533 gdb.base/finish.exp, gdb.base/foll-exec.exp,
23534 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
23535 gdb.base/funcargs.exp, gdb.base/help.exp,
23536 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
23537 gdb.base/logical.exp, gdb.base/long_long.exp,
23538 gdb.base/maint.exp, gdb.base/mips_pro.exp,
23539 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
23540 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
23541 gdb.base/pointers.exp, gdb.base/printcmds.exp,
23542 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
23543 gdb.base/regs.exp, gdb.base/relational.exp,
23544 gdb.base/remote.exp, gdb.base/reread.exp,
23545 gdb.base/restore.exp, gdb.base/return2.exp,
23546 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
23547 gdb.base/selftest.exp, gdb.base/setshow.exp,
23548 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
23549 gdb.base/sigall.exp, gdb.base/signals.exp,
23550 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
23551 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
23552 gdb.base/step-test.exp, gdb.base/structs.c,
23553 gdb.base/structs.exp, gdb.base/structs2.exp,
23554 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
23555 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
23556 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
23557 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
23558 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
23559 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
23560 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
23561 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
23562 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
23563 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
23564 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
23565 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
23566 gdb.fortran/types.exp, gdb.java/jmisc.exp,
23567 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
23568 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
23569 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
23570 gdb.trace/circ.exp, gdb.trace/collection.exp,
23571 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
23572 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
23573 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
23574 gdb.trace/report.exp, gdb.trace/save-trace.exp,
23575 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
23576 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
23577 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
23578 notices.
23579
23580 2001-02-27 Michael Snyder <msnyder@cygnus.com>
23581
23582 * gdb.base/varargs.c (find_max_double): Fix printf format string:
23583 first arg is int not float.
23584
23585 2001-02-22 Michael Snyder <msnyder@cygnus.com>
23586
23587 * gdb.base/reread.exp: Unsupported for non-native targets;
23588 doesn't work for remote debugging.
23589
23590 2001-02-19 Fernando Nasser <fnasser@redhat.com>
23591
23592 From Drew Moseley <dmoseley@redhat.com>
23593 * gdb.base/ending-run.exp: Properly handle the BSP state when
23594 stepping past the end of main.
23595
23596 2001-02-19 John Moore <jmoore@redhat.com>
23597
23598 * gdb.base/commands.exp (infrun_breakpoint_command_test):
23599 Converted HPUX fix for non-expected items following multiple
23600 step commands into general solution for all platforms.
23601
23602 2001-02-18 Michael Chastain <chastain@redhat.com>
23603
23604 * gdb.c++/classes.exp (do_tests): Change runto statements
23605 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23606 statements demangler agnostic.
23607 * gdb.c++/virtfunc.exp (do_tests): Likewise.
23608 (gdb_virtfunc_restart): Likewise.
23609
23610 2001-02-14 Michael Chastain <chastain@redhat.com>
23611
23612 * gdb.c++/inherit.exp (do_tests): Change runto statements
23613 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23614 statements demangler agnostic.
23615
23616 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
23617
23618 * gdb.threads/pthreads.exp: Unify pass/fail messages for
23619 ``continue to bkpt at common_routine in thread 2'' and ``stopped
23620 before calling common_routine 15 times'' tests.
23621
23622 2001-02-11 Michael Chastain <chastain@redhat.com>
23623
23624 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
23625 Helps the test script figure out which demangler is in use.
23626 (dm_type_foo_ref): Ditto.
23627 (dm_type_int_star): Ditto.
23628 (dm_type_long_star): Ditto.
23629 (dm_type_unsigned_int): Ditto.
23630 (dm_type_void): Ditto.
23631 (dm_type_void_star): Ditto.
23632 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
23633 Probe the gdb demangler and set variables to accommodate
23634 formatting differences.
23635 (info_func_regexp): New function. Same as info_func, but
23636 matches against a regexp.
23637 (info_func): Match against a literal string.
23638 (print_addr_2): New function. Match against a literal string,
23639 which can be different from the input to gdb.
23640 (print_addr): Simply call print_addr_2 with the same argument twice.
23641 (test_lookup_operator_functions): Use demangler formatting variables.
23642 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
23643 the tests in the same order as the C++ class declaration.
23644 (test_paddr_operator_functions): Ditto.
23645 (test_paddr_overloaded_functions): Ditto.
23646 (test_paddr_hairy_functions): Use demangler formatting variables.
23647 Add reference to gdb/19 for related tests.
23648 (do_tests): Call probe_demangler.
23649
23650 2001-01-30 Kevin Buettner <kevinb@redhat.com>
23651
23652 * gdb.c++/templates.cc (printf): Remove unused function definition.
23653
23654 2001-01-26 Felix Lee <flee@redhat.com>
23655
23656 * sid.exp (sid_exit): Pass host, not target, to remote_close.
23657
23658 2001-01-25 matthew green <mrg@redhat.com>
23659
23660 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
23661 up sid.
23662 (sid_exit): Call `remote_pop_conn' after GDB is gone.
23663
23664 2001-01-25 matthew green <mrg@redhat.com>
23665
23666 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
23667 Deprecate $sid_spawn_id.
23668 (sid_exit): Remove code necessary only for `spawn.'
23669
23670 2001-01-25 matthew green <mrg@redhat.com>
23671
23672 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
23673
23674 2001-01-28 Michael Chastain <chastain@redhat.com>
23675
23676 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
23677 to call when tests fail. It takes gdb out of the overloaded
23678 function choice menu back to the main prompt, so that the test
23679 program stays synchronized.
23680 (set_bp_overloaded): New proc to collect all the common
23681 code for setting a breakpoint on an overloaded name. Calls
23682 take_gdb_out_of_choice_menu when needed.
23683 (menu_overload1arg): New variable to collect the repeated
23684 instances of the expected menu for an overloaded name. Change
23685 the regular expression to handle changes in g++ type encoding:
23686 "void" can be either "void" or "", and "unsigned int" can be
23687 either "unsigned int" or "unsigned".
23688 (continue_to_bp_overloaded): Change regular expressions to handle
23689 changes in g++ type encoding.
23690 (no proc): Call take_gdb_out_of_choice_menu when needed.
23691 Remove redundant calls to "info break". Accept either "canceled"
23692 or "cancelled". Change regular expressions in "info break"
23693 calls to handle changes in g++ type encoding. Give all tests
23694 unique strings.
23695
23696 2001-01-17 Ben Elliston <bje@redhat.com>
23697
23698 * config/sid.exp: New file.
23699
23700 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
23701
23702 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
23703
23704 2000-12-21 Michael Snyder <msnyder@cygnus.com>
23705
23706 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
23707 Add a RE to accept a non-ascii char if one is ever presented.
23708
23709 2000-12-20 Fernando Nasser <fnasser@redhat.com>
23710
23711 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
23712
23713 2000-12-18 Michael Snyder <msnyder@cygnus.com>
23714
23715 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
23716 in regexp. One '\' does not suffice on Linux.
23717
23718 2000-12-09 Michael Chastain <chastain@redhat.com>
23719
23720 * gdb.base/break.exp (test_clear_command): Use a marker function
23721 rather than 'main' for the test function. Also move this
23722 test to an execution point where the marker function names are
23723 guaranteed to be bound to functions. (Executing tests after a
23724 'finish' from main runs into name conflicts with local names
23725 in __libc_start_main).
23726
23727 2000-12-07 Michael Snyder <msnyder@cygnus.com>
23728
23729 * gdb.base/finish.exp: New test for gdb's "finish" command.
23730 * gdb.base/return2.exp: New test for gdb's "return" command.
23731 * gdb.base/return2.c: New source file for above.
23732
23733 2000-12-05 Michael Snyder <msnyder@cygnus.com>
23734
23735 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
23736 * gdb.base/miscexprs.exp: Ditto.
23737 * gdb.base/pointers.exp: Ditto.
23738 * gdb.c++/derivation.exp: Ditto.
23739 * gdb.c++/local.exp: Ditto.
23740 * gdb.c++/namespace.exp: Ditto.
23741 * gdb.c++/overload.exp: Ditto.
23742 * gdb.c++/ref-types.exp: Ditto.
23743
23744 2000-12-05 Michael Snyder <msnyder@cygnus.com>
23745
23746 * gdb.base/constvars.exp: Test result of "up" command.
23747 * gdb.base/miscexprs.exp: Ditto.
23748 * gdb.base/pointers.exp: Ditto.
23749 * gdb.base/scope.exp: Ditto.
23750 * gdb.c++/derivation.exp: Ditto.
23751 * gdb.c++/local.exp: Ditto.
23752 * gdb.c++/namespace.exp: Ditto.
23753 * gdb.c++/overload.exp: Ditto.
23754 * gdb.c++/ref-types.exp: Ditto.
23755
23756 2000-11-22 Michael Chastain <chastain@redhat.com>
23757
23758 * mips_pro.exp: Accept either "middle -> top -> main" or
23759 "middle -> main" in the backtrace, because gcc can optimize
23760 tail calls to jumps. Remove setup_xfail for the hppa case.
23761 Add a comment with the original warning messages from PR 3016,
23762 which was filed in 1993, to preserve them for posterity.
23763
23764 2000-11-17 Nick Duffek <nsd@redhat.com>
23765
23766 * lib/gdb.exp (gdb_test): Override timeout with board info.
23767
23768 2000-11-17 Nick Duffek <nsd@redhat.com>
23769
23770 * gdb.base/display.exp: Don't kill running stub. Add "again" to
23771 the second kill and detach messages.
23772
23773 2000-11-17 Nick Duffek <nsd@redhat.com>
23774
23775 * configure.in: Add AC_EXEEXT.
23776 * configure: Regenerate.
23777 * Makefile.in (just-check): Export EXEEXT.
23778 * lib/gdb.exp ($EXEEXT): Import from environment.
23779 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
23780 expect "maint dump-me" on Cygwin.
23781 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
23782 $EXEEXT.
23783
23784 2000-11-17 Nick Duffek <nsd@redhat.com>
23785
23786 * gdb.base/break.exp: Test backtrace and finish from called
23787 function on all platforms, not just HP-UX.
23788
23789 2000-11-03 Michael Snyder <msnyder@cygnus.com>
23790
23791 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
23792 code from gdb_target_monitor, so it can be used independantly
23793 for gdbserver. Also comment out an unnecessary PUTS.
23794
23795 2000-11-03 Michael Snyder <msnyder@cygnus.com>
23796
23797 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
23798 * gdb.base/corefile.exp: Expect the message "Program is being
23799 debugged already" when we send the "corefile" command, since
23800 the preceeding gdb_load may have connected gdb to a remote target.
23801 * gdb.base/display.exp: Disable hardware watchpoints if new
23802 board info variable "no_hardware_watchpoints" is true.
23803 Replace single-letter commands with more readable ones.
23804 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
23805 if new board info variable "no_hardware_watchpoints" is true.
23806 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
23807 to see if stdio (printf) testing is possible.
23808 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
23809 board info variable "no_hardware_watchpoints" is true. Use new
23810 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
23811
23812 2000-11-13 Fernando Nasser <fnasser@redhat.com>
23813
23814 From Orjan Friberg <orjanf@axis.com>:
23815 * gdb.base/printcmds.exp: Escape curly braces followed by a number
23816 in array print pattern match.
23817
23818 2000-11-09 Fernando Nasser <fnasser@redhat.com>
23819
23820 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
23821 spelling "cancelled" to U.S. spelling "canceled" to match changes
23822 made to gdb.
23823 * gdb.c++/ovldbreak.exp: Ditto.
23824
23825 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23826
23827 * gdb.base/callfuncs.c (main): Moved to end of file, call
23828 t_double_values to initialize the FPU before inferior calls are made.
23829 * gdb.base/callfuncs.exp: Test for register preservation after calling
23830 inferior functions. Add tests for continuining, finishing and
23831 returning from a stop in a call dummy.
23832
23833 2000-10-24 Michael Snyder <msnyder@cygnus.com>
23834
23835 * gdb.base/commands.exp: Break up long lines, and re-indent.
23836
23837 2000-10-19 Michael Snyder <msnyder@cygnus.com>
23838
23839 * config/gdbserver.exp: Rewritten from the ground up, to make it
23840 compatible with the current dejagnu tree, and to make it work with
23841 the new "gdbserver" in libremote.
23842
23843 2000-10-16 Michael Snyder <msnyder@cygnus.com>
23844
23845 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
23846 * gdb.base/varargs.exp: Skip entire test if no printf support.
23847 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
23848 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
23849
23850 2000-10-13 Michael Snyder <msnyder@cygnus.com>
23851
23852 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
23853 no floating point support.
23854 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
23855 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
23856 * gdb.base/call-rt-st.exp: Ditto.
23857 * gdb.base/call-strs.exp: Ditto.
23858
23859 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
23860
23861 * gdb.base/sizeof.c: include <stdio.h>.
23862
23863 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
23864 'finish', otherwise uncaptured gdb_prompt would potentially
23865 throw remaining test points out of sync.
23866
23867 2000-07-26 Scott Bambrough <scottb@netwinder.org>
23868
23869 * gdb.base/recurse.exp: Run tests for all targets.
23870 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
23871 gnu-oldld case on ARM.
23872 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
23873 for ARM targets.
23874
23875 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
23876
23877 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
23878 * gdb.java/configure: Rebuild.
23879
23880 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
23881
23882 * gdb.java/jv-exp.exp: New file.
23883
23884 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
23885
23886 * configure: Rebuilt.
23887 * configure.in (configdirs): Add gdb.java.
23888 * gdb.java/jmisc.java: New file.
23889 * gdb.java/jmisc.exp: New file.
23890 * gdb.java/Makefile.in: New file.
23891 * gdb.java/configure: Rebuilt.
23892 * gdb.java/configure.in: New file.
23893 * lib/java.exp: New file.
23894
23895 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
23896
23897 * gdb.base/exprs.exp: Test casts to a pointer including over and
23898 underflow.
23899
23900 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
23901
23902 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
23903 and the compilers sizes.
23904
23905 2000-07-09 Nick Duffek <nsd@redhat.com>
23906
23907 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
23908 (use_methods): New function.
23909 (main): Call use_methods().
23910 * gdb.c++/classes.exp (test_method_param_class): New procedure.
23911 (do_tests): Call test_method_param_class.
23912
23913 2000-07-09 Nick Duffek <nsd@redhat.com>
23914
23915 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
23916 spelling.
23917 (test_enums): New procedure. Move enum tests from end of script
23918 to here. Set breakpoint on function name instead of line number.
23919 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
23920 (enums2): New marker function.
23921 (enums1): New function.
23922 (main): Call enums1(). Move enum tests to enums1().
23923
23924 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
23925
23926 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
23927 compile/link program. Update line numbers.
23928 * gdb.asm/d10v.inc: Define ``startup''.
23929 * gdb.asm/asmsrc1.s: Add definition of _start.
23930
23931 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
23932
23933 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
23934
23935 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23936
23937 * gdb.base/maint.exp: Add 'maint print architecture' item to output
23938 of 'help maint print' command.
23939
23940 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
23941
23942 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
23943 they use gdb_expect_list.
23944
23945 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
23946
23947 * gdb.base/commands.exp: Use ``set remote
23948 memory-read-packet-size'' instead of ``set endian big'' to test
23949 long commands.
23950
23951 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
23952
23953 * gdb.c++/templates.exp (do_tests): Make all of these work under
23954 g++, and stop skipping them.
23955
23956 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
23957 work under g++.
23958
23959 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
23960 initialization.
23961
23962 2000-06-02 Michael Snyder <msnyder@cygnus.com>
23963
23964 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
23965 the regular expression: accept an (almost) arbitrary sequence of
23966 "frames-invalid" and "breakpoints-invalid" messages both before
23967 and after the "starting" message.
23968
23969 2000-06-02 Michael Snyder <msnyder@cygnus.com>
23970
23971 * gdb.c++/local.exp: This test has never been known to work with g++.
23972
23973 2000-05-18 Michael Snyder <msnyder@cygnus.com>
23974
23975 * gdb.base/annota1.exp (annotate-signal-handler-caller):
23976 Relax the regular expression a little, make it pass on Solaris 8.
23977
23978 2000-05-12 Kevin Buettner <kevinb@redhat.com>
23979
23980 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
23981 a call, do not require that gdb stop on the line after the call.
23982 Instead, it is permissible for gdb to stop on the line of the
23983 call itself.
23984
23985 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
23986
23987 * gdb.base/break.exp (bp on small function, optimized file):
23988 Add a second pass pattern. The behavior differs here between stabs
23989 and dwarf for one-line functions. Stabs preserves two line symbols
23990 (one before the prologue and one after) with the same line number,
23991 but dwarf regards these as duplicates and discards one of them.
23992 Therefore the address after the prologue (where the breakpoint is)
23993 has no exactly matching line symbol, and GDB reports the breakpoint
23994 as if it were in the middle of a line rather than at the beginning.
23995
23996 2000-05-08 Michael Snyder <msnyder@cygnus.com>
23997
23998 * gdb.base/interrupt.exp: Make "pass" message say "send"
23999 rather than "send_gdb" (for consistancy).
24000
24001 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
24002
24003 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
24004 * gdb.c++/templates.cc: Properly check for GCC version number.
24005 * lib/compiler.cc: Likewise
24006
24007 2000-04-28 Michael Snyder <msnyder@cygnus.com>
24008
24009 * gdb.base/break.exp: When compiled with -O2 optimization,
24010 gdb may not stop at the first line of main, due to code motion.
24011
24012 2000-04-26 Michael Snyder <msnyder@cygnus.com>
24013
24014 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
24015 This test depends on parsing the printf output from the target.
24016 Since the sparclet stub doesn't do stdio, this will never work.
24017 * gdb.base/call-rt-st.exp: ditto.
24018 * gdb.base/call-strs: ditto.
24019
24020 2000-04-24 Michael Snyder <msnyder@cygnus.com>
24021
24022 * gdb.base/miscexprs.exp: make sizeof long array test portable.
24023
24024 * gdb.base/ending-run.exp: After connecting to a remote target,
24025 but before running, the target will appear to be in a random
24026 location. Specify both a file and a line for breakpoints.
24027 Also, the function that calls main may be called 'init'
24028 rather than 'start'.
24029
24030 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24031
24032 * gdb.base/help.exp: Update output for add-symbol-file command.
24033
24034 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
24035
24036 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24037 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
24038
24039 2000-04-07 J.T. Conklin <jtc@redback.com>
24040
24041 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
24042
24043 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
24044
24045 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
24046
24047 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
24048 values that can be represented exactly.
24049 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
24050 above change, and to not check against the directory part of the source
24051 file name.
24052 (step into print_long_arg_list): Likewise.
24053 (print print_small_structs from print_long_arg_list): Likewise.
24054 (print print_long_arg_list): Likewise.
24055
24056 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24057
24058 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
24059
24060 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
24061
24062 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
24063
24064 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
24065
24066 * gdb.base/commands.exp (deprecated_command_test): Add test for
24067 deprecate with no arguments.
24068
24069 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
24070
24071 * gdb.base/break.exp: Add new test for setting breakpoints on
24072 optimized code so we can test breakpoints work even when function
24073 prologues may be optimized away
24074
24075 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
24076
24077 From David Whedon <dwhedon@gordian.com>
24078 * gdb.base/commands.exp : Added command deprecator tests.
24079
24080 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
24081
24082 * gdb.base/help.exp: Added test for new apropos command.
24083
24084 2000-03-21 Kevin Buettner <kevinb@redhat.com>
24085
24086 * gdb.base/pointers.c (usevar): New function.
24087 (main): Make sure that global variables v_int_pointer2, rptr,
24088 and y are all referenced someplace in the program by calling
24089 usevar() on them. [Some linkers delete symbols which are
24090 never referenced. The space remains, but there's no way to
24091 get a (symbolic) handle on the variable from the debugger.]
24092
24093 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24094
24095 * gdb.base/printcmds.c: Add typedeffed arrays.
24096
24097 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
24098 procedure to test arrays that are typedef'd.
24099
24100 2000-03-13 James Ingham <jingham@leda.cygnus.com>
24101
24102 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
24103 the library directories.
24104
24105 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
24106
24107 * configure.in (configdirs): Add sub directory gdb.mi.
24108 * configure: Re-generate.
24109
24110 * gdb.mi: New directory.
24111
24112 2000-02-25 Scott Bambrough <scottb@netwinder.org>
24113
24114 * gdb.base/long_long.exp: Correct test suite failure when printing
24115 a long long value as a double on ARM platforms.
24116
24117 2000-02-16 Jim Blandy <jimb@redhat.com>
24118
24119 * gdb.base/break.exp ("breakpoint line number"): Make sure the
24120 default source file is set properly before running this test.
24121
24122 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24123
24124 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
24125 gdbtk/library directory, not in gdbtcl2.
24126
24127 2000-02-04 Jim Blandy <jimb@redhat.com>
24128
24129 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
24130 backslash from regexp pattern.
24131
24132 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
24133 procedure. Use it to run all the "continue to bp overloaded"
24134 tests. Note that this changes the names of the tests slightly.
24135 If the breakpoint hit message includes a hex PC value, because
24136 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
24137 from the real source code, still consider that a pass.
24138
24139 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
24140 XFAIL here if the breakpoint message contains a hex address. Note
24141 similar change on 1999-11-02.
24142
24143 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
24144
24145 * gdb.base/ptype.exp: Establish a default source file before
24146 calling get_debug_format.
24147
24148 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
24149
24150 * gdb.base/watchpoint.exp: Remove duplication of test messages.
24151
24152 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24153
24154 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
24155 of successive stepi commands -- while in the prologue we should see
24156 the function entry bracket.
24157
24158 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24159
24160 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
24161 reach __change_mode() when stepping through the end of main().
24162
24163 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
24164
24165 * gdb.base/default.exp: Fix expected pattern.
24166 * gdb.base/help.exp: Same.
24167
24168 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24169
24170 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
24171 Don't use xfail's because that affects only the following test.
24172
24173 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
24174 solaris or linux.
24175
24176 * gdb.base/selftest.exp: Update to reflect changes to main.c.
24177
24178 2000-01-07 Michael Snyder <msnyder@cygnus.com>
24179
24180 * gdb.base/display.exp: Some yacc parsers like to say
24181 "A syntax error" rather than "A parse error". Accept both.
24182
24183 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
24184
24185 * gdb.base/default.exp: Remove OS dependent string from "target
24186 remote" test.
24187 * gdb.base/help.exp: Same for "help target remote" test.
24188
24189 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24190
24191 From Jim Kingdon <kingdon@redhat.com>:
24192
24193 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
24194 prompt (cleanup rather than necessity, but still might keep output
24195 from spilling to next test).
24196
24197 2000-01-02 Fred Fish <fnf@cygnus.com>
24198
24199 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
24200 AIX, which defines them in <sys/types.h>.
24201
24202 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
24203
24204 * gdb.base/default.exp: Match arm* etc instead of arm in "info
24205 float" test.
24206
24207 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
24208
24209 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
24210
24211 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
24212 outermost frame disallowed".
24213
24214 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
24215
24216 * gdb.base/setvar.exp: New tests for setting the value of a struct
24217 with a constant list.
24218
24219 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24220
24221 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
24222 require the user to type a cast before setting the value of a struct.
24223
24224 1999-12-06 Jim Blandy <jimb@cygnus.com>
24225
24226 * gdb.base/default.exp: Expect the new 'info float' command on
24227 all i386 platforms.
24228
24229 * gdb.threads/linux-dp.exp: Expand our ability to recognize
24230 LinuxThreads libraries that don't support debugging.
24231
24232 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24233
24234 * gdb.base/remote.c: Fill the buffer with truely random data.
24235 Change the buffer type to ``unsigned char'' to simplify size
24236 arithmetic.
24237
24238 * gdb.base/remote.exp: Reduce download numbers by one. Typical
24239 stub only handles 400-1 byte packets. Verify that the download
24240 worked.
24241
24242 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
24243
24244 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
24245 tests, using UNRESOLVED for the untested cases. Also, does not wait
24246 for a timeout if the prompt was received before a recognizable pattern.
24247
24248 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
24249
24250 * lib/gdb.exp (gdb_expect_list): Fix spelling.
24251
24252 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24253
24254 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
24255 watchpoints.
24256
24257 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
24258
24259 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
24260
24261 * gdb.c++/local.exp: Be more flexible in recognizing local class
24262 name mangling. Don't allow horribly truncated method names.
24263 * gdb.c++/derivation.exp: Expect protected inheritance.
24264 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
24265 * gdb.c++/virtfunc.exp: Likewise.
24266 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
24267 when printing a nested enum.
24268
24269 1999-11-22 Jim Blandy <jimb@cygnus.com>
24270
24271 * gdb.base/step-test.exp: Properly await GDB's response to setting
24272 a breakpoint on the call to large_struct_by_value.
24273
24274 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
24275 just because we have debug info for the `start' function.
24276
24277 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
24278
24279 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
24280 "Unknown signal" messages, which indicate (on LinuxThreads) that
24281 GDB doesn't know how to debug threads on this system. This is
24282 better than hanging while philosopher 0 dumps chatter into gdb.log.
24283
24284 1999-11-18 Tom Tromey <tromey@cygnus.com>
24285
24286 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
24287
24288 1999-11-18 Fred Fish <fnf@cygnus.com>
24289
24290 * gdb.base/coremaker2.c: Add sample program for generating
24291 cores that is more self contained than coremaker.c. Eventually
24292 I'll add more code to this and tie it into the testsuite.
24293
24294 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
24295
24296 * gdb.base/dollar.exp: Remove, now in gdb.hp.
24297
24298 1999-11-10 Jimmy Guo <guo@cup.hp.com>
24299
24300 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
24301 from $srcdir/lib/.
24302 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
24303 and gdb.c++/.
24304
24305 * gdb.c++/derivation.exp: remove redundant get compiler info code.
24306
24307 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
24308 'continue with watch' test point.
24309
24310 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
24311
24312 Merged from p2linux-990323-branch:
24313
24314 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
24315
24316 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
24317
24318 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
24319 {limit,fixed}''. Test ``set download-write-size''.
24320
24321 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
24322
24323 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
24324 gdb_expect_list.
24325
24326 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
24327
24328 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
24329
24330 1999-11-03 Mark Salter <msalter@cygnus.com>
24331
24332 * gdb.base/break.exp: Fix "stub continue" pattern.
24333
24334 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
24335
24336 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
24337
24338 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
24339
24340 * gdb.base/display.exp ("finish"): Add timeout clause.
24341
24342 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
24343 plain prompt clause, so this doesn't have to time out in order to
24344 fail.
24345
24346 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
24347 breakpoint hit messages include an address.
24348
24349 * gdb.base/display.exp: Don't forget to escape parens in regular
24350 expressions. Unix regexp notatation sucks.
24351
24352 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24353
24354 * gdb.base/annota1.exp: Test for annotate-signalled: change output
24355 order for 'signalled' message.
24356
24357 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
24358
24359 From Jimmy Guo <guo@cup.hp.com>:
24360 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
24361 * gdb.base/annota1.c: Add code for tests to work with.
24362
24363 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
24364
24365 * gdb.base/remote.exp: New test for remote downloading settings.
24366 * gdb.base/remote.c: New file with large .data.
24367
24368 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
24369
24370 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
24371 for LinuxThreads support, merged from the Code Fusion branch.
24372
24373 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
24374
24375 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
24376 containing exp_continue into a while within an expect. Don't
24377 attempt a start more than three times. Check return value from
24378 gdb_load.
24379
24380 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
24381
24382 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
24383 a pass case.
24384
24385 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
24386
24387 * gdb.base/break.c (main): Added a statement that we can step
24388 off of.
24389 * gdb.base/break.exp: Added tests for setting a breakpoint
24390 at an offset and stepping onto a breakpoint.
24391
24392 1999-10-01 Fred Fish <fnf@cygnus.com>
24393
24394 * gdb.base/help.exp (help add-symbol-file): Update to match current
24395 gdb output.
24396
24397 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
24398
24399 * gdb.base/break.exp: Code locations are in hex, don't forget!
24400 (For HP-UX.)
24401
24402 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
24403
24404 * condbreak.exp: Use break.c as test program.
24405 * condbreak.c: Remove, redundant with break.c.
24406
24407 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
24408
24409 * config/monitor.exp (gdb_target_monitor): Disable X- and
24410 Z-packets if the target needs it.
24411
24412 1999-09-13 James Ingham <jingham@leda.cygnus.com>
24413
24414 * gdb.c++/overload.exp: Added tests for listing overloaded
24415 functions with function pointers in the arg, explicitly calling
24416 out the version you want.
24417
24418 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
24419
24420 * long_long.exp: Add variations of test cases that work for
24421 targets with 16-bit ints and 32-bit doubles.
24422
24423 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
24424
24425 * break.c (main): Compare a possibly-uninitialized argc with an
24426 unlikely value that fits in 16 bits.
24427
24428 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
24429
24430 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
24431 0xfeeb, don't want negative numbers if ints are 16 bits.
24432
24433 * lib/gdb.exp (skip_cplus_tests): New proc.
24434 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24435 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
24436 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
24437 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
24438 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
24439 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
24440 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
24441 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
24442
24443 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
24444
24445 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
24446
24447 * gdb.base/corefile.exp (up): Allow a parameter to appear
24448 in the frame that we're going up to.
24449
24450 From Jim Blandy <jimb@cygnus.com>:
24451
24452 * gdb.base/default.exp (info float): Expect some output now.
24453
24454 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
24455 returning floating-point values to fail on the x86.
24456 * gdb.base/callfwmall.exp (do_function_calls): Same.
24457
24458 * gdb.base/list.exp (test_listsize): Correct expectations for
24459 listing line 1 with listsize 2. Also, listing a single line
24460 works now, as does listing three lines. [Kevin's note: There
24461 were a number of other cases fixed too where the expectations
24462 differed...]
24463
24464 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
24465
24466 * gdb.base/selftest.exp: Add case for when version prints as
24467 constant string instead of char pointer.
24468
24469 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
24470
24471 * gdb.base/ending-run.exp: Add Solaris case for what happens when
24472 stepping out of main.
24473
24474 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
24475 G++ used.
24476
24477 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
24478 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
24479
24480 * gdb.c++/ovldbreak.exp: Update match string in test that
24481 includes a warning of multiple breakpoints.
24482
24483 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
24484
24485 * gdb.base/display.exp: Improve precision of step-after-finish
24486 added yesterday.
24487
24488 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
24489 test.
24490
24491 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
24492 configs when using G++, not just hppa*.
24493
24494 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24495
24496 * gdb.base/async.c: New file.
24497 * gdb.base/async.exp: New file.
24498
24499 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
24500
24501 * gdb.base/break.exp: Tweak PA specific tests to properly handle
24502 PA64.
24503
24504 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
24505
24506 * gdb.base/display.exp: "finish" can leave us mid-line on many
24507 targets, deal with it. Add a small constant to main, instead of
24508 1000 since main+1000 may not be a valid address in the target.
24509
24510 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
24511 on hpux11.
24512
24513 * gdb.base/attach.exp: Handle another hpux11 error message variant
24514 when attaching to a process that does not exist.
24515
24516 1999-08-19 J.T. Conklin <jtc@redback.com>
24517
24518 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
24519 characters in 'continue to 1241' test.
24520
24521 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
24522
24523 * gdb.base/call-ar-st.exp: Add a shorter match case for the
24524 stop in print_long_arg_list, define and use a whitespace
24525 variable in print_small_structs test, add an XFAIL for Solaris.
24526 * gdb.base/dbx.exp: XFAIL func commands until somebody is
24527 interested enough to fix.
24528
24529 1999-08-13 Keith Seitz <keiths@cygnus.com>
24530
24531 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
24532 (dbx_gdb_load): Remove. Use gdb_load instead, since that
24533 proc knows about targets other than the natives.
24534 (test_assign): Use "gdb_run_cmd" to "run" the target.
24535 Check that we've actually hit the breakpoint at main.
24536 When we attempt to assign a value to a local variable, check
24537 that the variable is in the current scope, i.e., don't use
24538 a test with an empty result.
24539
24540 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
24541
24542 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
24543 command.
24544
24545 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
24546
24547 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24548 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
24549 gdb.compat, gdb.threads-hp.
24550 gdb.hp/configure, gdb.hp/configure.in: New files.
24551 gdb.hp/Makefile.in: Recurse into new subdirs.
24552 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
24553 gdb.hp/gdb.objdbg: New directory, tests for debugging info
24554 in object files.
24555 gdb.hp/tools: New directory, aux tools for HP-specific tests.
24556
24557 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
24558
24559 * gdb.base/display.exp: Help expect by putting a newline in the
24560 funky printf, remove a bogus p/a test.
24561
24562 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24563
24564 * gdb.base/display.exp: Make sure that when we say 'run', we are
24565 connected to the target. This is necessary when running not
24566 natively.
24567
24568 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
24569
24570 * gdb.base/step-test.exp: Removed some extraneous messages.
24571
24572 * gdb.base/long_long.exp: Don't run memory examination tests
24573 on little-endian targets (they will need a different set of
24574 results to match).
24575
24576 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
24577
24578 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
24579 until somebody decides to fix GDB.
24580
24581 * gdb.base/long_long.c: Stop compiler complaint by specifying long
24582 constant as "ULL".
24583 * gdb.base/long_long.exp: Loosen x/c test, add partial result
24584 matches for a couple x/2 commands.
24585
24586 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
24587
24588 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
24589 by merging in ref-types2 tests.
24590 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
24591
24592 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24593 * gdb.c++/Makefile.in: Add standard actions.
24594 (EXECUTABLES): Rename from PROGS, update list.
24595 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
24596 from gdb.hp.
24597 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
24598 foo and bar locals.
24599 * gdb.c++/anon-union.exp: Fix tests to match.
24600 * gdb.c++/classes.exp: Run if HP compiler used, add extra
24601 expect matches to handle output variations.
24602 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
24603 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
24604 output, add HP alternatives for new and delete prints.
24605 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
24606 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
24607 * gdb.c++/demangle.exp: Use $style when reporting failure.
24608 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
24609 * gdb.c++/inherit.exp: Run if HP compiler used, add some
24610 match alternatives.
24611 * gdb.c++/local.exp: Add match alternatives or xfails for HP
24612 compilers.
24613 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
24614 * gdb.c++/method.exp: Add match alternatives.
24615 * gdb.c++/misc.cc: Add bool types.
24616 * gdb.c++/misc.exp: Add tests for bool types.
24617 * gdb.c++/overload.exp: Add xfails.
24618 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
24619 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
24620 add some more template parameter tests (only for HP currently).
24621 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
24622 * gdb.c++/virtfunc.cc: Add return type and value for main.
24623 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
24624 match alternatives.
24625
24626 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24627
24628 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
24629
24630 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
24631
24632 * gdb.base/signals.exp: Don't expect getting a backtrace from
24633 within a signal handler to fail on Linux.
24634
24635 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
24636
24637 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24638 * lib/gdb.exp: Remove some gratuitious semicolons.
24639 (delete_breakpoints): Increase timeout.
24640 (gdb_expect): Add -notransfer option.
24641 (gdb_test): Use -notransfer option.
24642 (get_compiler_info): Add f77 case.
24643 (get_compiler): New proc, split out from gdb_preprocess, add f77
24644 case.
24645 (gdb_preprocess): Call get_compiler.
24646
24647 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
24648 * gdb.base/attach.exp, gdb.base/display.exp,
24649 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
24650 gdb.base/long_long.exp, gdb.base/printcmds.exp,
24651 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
24652 third arg to gdb_test.
24653 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
24654 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
24655 HP-UX xfails, add others.
24656 * gdb.base/completion.exp: Reflect name change of self-test.
24657 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
24658 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
24659 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
24660 HP failure number.
24661 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
24662 useless HP-UX 10.30 references.
24663 * gdb.base/maint.exp: Loosen matches.
24664 * gdb.base/pointers.c (main): Declare more_code.
24665 * gdb.base/pointers.exp: Match on output of a `next'.
24666 * gdb.base/structs.c: Add prototypes.
24667 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
24668 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
24669
24670 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24671
24672 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
24673 command.
24674
24675 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24676
24677 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
24678 Fix run to main failures. Watchpoint can be hardware watchpoint.
24679
24680 * gdb.base/annota1.exp: Clean up some more, in case printf has
24681 debug info. Deal with lack of signal hanlder info in stack.
24682
24683 From Jim Kingdon <kingdon@redhat.com>:
24684 * gdb.base/annota1.exp: If printf has debug info, deal with it.
24685
24686 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
24687
24688 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
24689 gdb.base/foll-vfork.exp: Don't run for crosses.
24690
24691 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24692
24693 * gdb.base/configure.in: Check for gdbvars.exp instead of
24694 a1-selftest.exp.
24695 * gdb.base/configure: Re-generate.
24696
24697 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
24698
24699 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
24700 in trying to run first and name is too long.
24701
24702 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
24703 pointers2.c and pointers2.exp, respectively.
24704 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
24705 doschk happier.
24706
24707 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
24708
24709 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
24710 callfuncs2.c and callfuncs2.exp.
24711
24712 * gdb.base/list.exp: Remove mistaken xfails.
24713 * gdb.base/list0.h: Add optional prototypes.
24714
24715 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
24716
24717 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
24718 calling malloc.
24719 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
24720 * ptype.exp: Move test for get_debug_format to before its first
24721 use.
24722
24723 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24724
24725 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
24726 * gdb.base/annota2.cc, annota2.exp: Move from here.
24727 * gdb.c++/annota2.cc, annota2.exp: To here.
24728 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
24729
24730 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
24731
24732 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
24733 a consistent format.
24734
24735 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
24736
24737 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24738 * lib/gdb.exp (get_compiler_info): Add detection for assorted
24739 HP compilers, also set the globals $true and $false.
24740
24741 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
24742 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
24743 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
24744 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
24745 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
24746 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
24747 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
24748 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
24749 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
24750 whatis.c} Add C++ compatible function definitions and return
24751 types, add includes for library functions.
24752 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
24753 * gdb.base/step-test.c (myglob): Rename from glob.
24754 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
24755 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
24756 files, move here from gdb.hp.
24757 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
24758 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
24759 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
24760 Adjust line numbers in regexps.
24761
24762 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
24763 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
24764 instead of 0/1.
24765
24766 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
24767 foll-vfork.exp: New files, move here from gdb.hp.
24768 * gdb.base/page.exp: New file, test of pagination command.
24769
24770 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
24771 recursion test.
24772 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
24773
24774 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
24775 gdb.base/solib.exp: Fix compiler invocation process.
24776
24777 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
24778 HP-UX 11, turn off overload resolution explicitly.
24779 * gdb.base/commands.exp: Set argument list explicitly, add
24780 watchpoint test.
24781 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
24782 them work.
24783 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
24784 expressions properly.
24785 * gdb.base/corefile.exp: Loosen the match slightly.
24786 * gdb.base/default.exp: Allow "Error accessing memory" message
24787 also.
24788 * gdb.base/display.exp: Skip over x/0 j if PA64.
24789 * gdb.base/funcargs.exp: Add xfails for HP-UX.
24790 * gdb.base/interrupt.exp: Ditto.
24791 * gdb.base/langs.exp: Add symbolic matches governed by compiler
24792 in use.
24793 * gdb.base/list.exp: Add xfails for HP-UX.
24794 * gdb.base/long_long.exp: Refine some of the numeric matches.
24795 * gdb.base/mips_pro.exp: Xfail on HP-UX.
24796 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
24797 * gdb.base/nodebug.exp: Succeed on more varieties of output.
24798 * gdb.base/opaque.exp: Remove some HP-UX xfails.
24799 * gdb.base/ptype.exp: Succeed on more varieties of output.
24800 * gdb.base/scope.exp: Add xfails for HP-UX.
24801 * gdb.base/sect-cmd.exp: Add more cases.
24802 * gdb.base/setvar.exp: Add xfails for HP-UX.
24803 * gdb.base/shlib-call.exp: Loosen some matches slightly.
24804 * gdb.base/signals.exp: Match on void symbolically.
24805 * gdb.base/step-test.exp: Add case for PA64.
24806 * gdb.base/term.exp: Add exit and restart.
24807 * gdb.base/twice.exp: Clean up after self.
24808 * gdb.base/varargs.exp: Disable overload resolution explicitly.
24809 * gdb.base/whatis.exp: Allow more ways to pass tests.
24810
24811 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
24812 no longer useful.
24813
24814 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
24815
24816 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
24817 list of patterns.
24818 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
24819 print_double_array(double_array)", "continuing to breakpoint
24820 1018", "print print_double_array(array_d)" and "continuing to
24821 1034" tests.
24822
24823 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
24824
24825 * Makefile.in: Add empty html and install-html targets.
24826
24827 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
24828
24829 * config/mt-*: Remove, these haven't been used since 1996.
24830
24831 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
24832
24833 * gdb.base/call-strs.c, gdb.base/ending-run.c,
24834 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
24835 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
24836
24837 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
24838
24839 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
24840 simpler match case for the ptype of the big class.
24841
24842 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24843
24844 * gdb.exp: Fix test for gdb_prompt existence.
24845
24846 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24847
24848 * gdb.exp (gdb_test): Add fail after calls to perror.
24849
24850 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24851
24852 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
24853
24854 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24855
24856 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
24857
24858 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
24859
24860 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
24861 malloc() is linked in.
24862
24863 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24864
24865 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
24866 step at end.
24867
24868 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
24869
24870 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
24871
24872 * gdb.java/jv-print.exp: New file. (Our first Java test!)
24873
24874 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
24875
24876 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
24877 * gdb.base/mips_pro.exp: Likewise.
24878
24879 1999-06-02 Keith Seitz <keiths@cygnus.com>
24880
24881 * gdb.c++/templates.cc: Change all "new" operators to throw
24882 an exception.
24883 * gdb.c++/cplusfuncs.cc: Likewise.
24884
24885 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
24886
24887 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
24888
24889 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
24890 * gdb.base/ending-run.exp: When stepping out of main, accept a
24891 step into an arbitrary assembler file.
24892
24893 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24894
24895 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
24896 "breakpoint-invalid" to be printed.
24897 * gdb.base/annota2.exp: Revise line number for main
24898 breakpoint. Allow any number of "frames-invalid" and
24899 "breakpoint-invalid" to be printed.
24900 * gdb.base/annota2.cc: Initialize a.x to 0.
24901
24902 1999-05-17 Keith Seitz <keiths@cygnus.com>
24903
24904 * gdb.base/call-ar-st.exp: Skip
24905 "print print_double_array (double_array)" when "skip_float_tests" set.
24906 Ditto for "print print_double_array(array_d)",
24907 "print print_small_structs", "print print_ten_doubles", and
24908 "step into print_long_arg_list".
24909 Don't assume we can step into "print_long_arg_list": we could step
24910 into memcpy.
24911 * gdb.base/call-rt-st.exp: Don't run float-related tests when
24912 "skip_float_tests" is set: "print print_one_double(*d1)"
24913 and "print print_two_floats(*f3)".
24914 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
24915 "skip_float_tests" is set.
24916 * gdb.base/varargs.exp: Skip
24917 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
24918 "skip_float_tests" set.
24919
24920 1999-05-06 Keith Seitz <keiths@cygnus.com>
24921
24922 * gdb.base/annota2.cc: Include stdio.h.
24923
24924 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
24925
24926 * gdb.base/crossload.exp: Remove, this has been disabled ever
24927 since BFD stopped including all targets, and cross-GDB gets
24928 plenty of testing anyway.
24929 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
24930 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
24931 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
24932 * gdb.base/README: Remove, was doc for this.
24933 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
24934 needed.
24935
24936 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24937
24938 * gdb.base/call-ar-st.exp: Fix one regular expression in test
24939 output.
24940
24941 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
24942 * gdb.base/annota2.exp: New file. More annotation tests.
24943 * gdb.base/annota1.c: New file. Source file for annota1.exp.
24944 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
24945
24946 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
24947
24948 * config/cfdbug.exp: New file.
24949
24950 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
24951
24952 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
24953 Marcus Daniel's and Dale Hawkins's demangler crashes.
24954
24955 * gdb.c++/demangle.exp (test_gnu_style_demangling,
24956 test_lucid_style_demangling, test_arm_style_demangling,
24957 test_hp_style_demangling): Try Tom Tromey's core-dumping
24958 identifier under each demangling style.
24959
24960 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
24961
24962 * gdb.c++/demangle.exp: Include the current demangling style
24963 in all test names.
24964 (current_demangling_style): New global variable.
24965 (set_demangling_style, test_demangling_core, test_demangling,
24966 test_demangling_exact): New functions.
24967 (test_gnu_style_demangling, test_lucid_style_demangling,
24968 test_arm_style_demangling, test_hp_style_demangling): Use those,
24969 instead of calling gdb_test and gdb_test_exact directly.
24970 (catch_demangling_errors): New function, which reports errors
24971 signalled by the demangling test functions in an orderly way.
24972 (do_tests): Use catch_demangling_errors.
24973
24974 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
24975
24976 * gdb.base/signals.exp (test_handle_all_print): Use () for
24977 grouping in expressions, not {}.
24978
24979 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
24980 initialized yet.
24981
24982 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
24983
24984 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
24985 are listed.
24986
24987 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
24988
24989 * gdb.stabs/weird.exp: Test for CC being defined before
24990 looking at its value.
24991
24992 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
24993
24994 * gdb.base/call-ar-st.exp: Remove stray '#'.
24995 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
24996 "short int" and "long int".
24997 * gdb.c++/overload.cc: Cast the string added in the previous
24998 change, to mollify finicky HP compiler.
24999 * gdb.hp/reg-test.exp (testfile): Fix file name.
25000 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
25001
25002 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
25003 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
25004 alternate form of enum ptype.
25005
25006 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
25007
25008 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
25009 * gdb.hp/*.exp: Change all to run compiler probe only after
25010 passing skip_hp_tests, so as not to waste time on guaranteed
25011 failure.
25012
25013 * gdb.c++/overload.cc: Pass string instead of char addr, always
25014 init ccpfoo.
25015 * gdb.c++/templates.cc: Fix syntax error.
25016
25017 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25018
25019 * gdb.base/commands.exp: Add test for correct position of '>'
25020 when issuing the 'commands' command after a 'while' or 'if'
25021 command.
25022
25023 1999-03-18 James Ingham <jingham@cygnus.com>
25024
25025 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
25026
25027 * gdb.c++/method.exp: It was testing an uninitialized int on the
25028 stack and assuming it was positive.
25029
25030 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
25031
25032 * gdb.base/step-test.exp: Catch a case where finish is broken and
25033 keep it from killing the rest of the tests.
25034 Use gdb_continue_to_end.
25035
25036 * gdb.base/sigall.exp: use gdb_continue_to_end.
25037
25038 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
25039
25040 * gdb.base/display.exp: use runto_main, not run.
25041
25042 * gdb.base/default.exp: Check for the current error message in the
25043 r abbreviation test.
25044 Add strongarm to the targets that know info float.
25045
25046 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
25047 run which doesn't work with monitors.
25048
25049 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
25050 1034 test.
25051
25052 * gdb.base/break.exp: use the gdb_continue_to_end proc.
25053
25054 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
25055 end of a program. Traps the case (in Cygmon) when the program
25056 never really exits. Same as Mark's continue_to_exit, but I had
25057 put it in a lot more places, so I used my name. Sorry Mark...
25058
25059 * config/monitor.exp (gdb_target_monitor): added another
25060 target_info parameter: remotebinarydownload. This will set the
25061 remotebinarydownload flag if this is causing some boards trouble.
25062
25063 1999-03-18 Mark Salter <msalter@cygnus.com>
25064
25065 * lib/gdb.exp (continue_to_exit): New function.
25066
25067 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
25068 * gdb.base/ending-run.exp: Ditto.
25069 * gdb.base/step-test.exp: Ditto.
25070
25071 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
25072
25073 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
25074 (suggested by Art Haas <ahaas@neosoft.com>).
25075
25076 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
25077
25078 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
25079
25080 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
25081
25082 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
25083 descriptions of types (short unsigned int vs unsigned short, etc).
25084
25085 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
25086
25087 * gdb.base/call-strs.exp: Don't assume that `step' will step over
25088 a call to strlen; sometimes we do have sources.
25089
25090 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
25091
25092 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
25093 character, so GDB won't print garbage after its end.
25094
25095 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
25096 breakpoint there instead. Sometimes GCC emits memcpy to handle
25097 the large structures being passed by value, so we step into that
25098 instead of sum_array_print, which obscures what we're really testing.
25099 * gdb.base/step-test.exp: However, we do want a test that notices
25100 the bizarre steps into memcpy, so do that here. Add check for
25101 stepping into function calls that pass large structures by value.
25102 ("Is that a noun clause, or are you just happy to see me?")
25103 Remove all references to specific line numbers.
25104 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
25105 New type and function.
25106 (main): Call large_struct_by_value, passing it a large struct by value.
25107 * lib/gdb.exp (gdb_get_line_number): New function.
25108
25109 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
25110 more portable.
25111
25112 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
25113
25114 * lib/gdb.exp: Doc fixes.
25115
25116 1999-03-05 Nick Clifton <nickc@cygnus.com>
25117
25118 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
25119
25120 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
25121
25122 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
25123 commands. They're not germane to this test, and they don't work
25124 that way on remote targets.
25125
25126 1999-03-01 James Ingham <jingham@cygnus.com>
25127
25128 * Changelog entries merged over from gdb development branch.
25129
25130 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
25131
25132 * lib/gdb.exp (gdbtk_analyze_results): Generic function
25133 for outputting results of test run.
25134
25135 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
25136
25137 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
25138
25139 1999-02-25 Felix Lee <flee@cygnus.com>
25140
25141 * lib/gdb.exp (debug_format): initialize
25142
25143 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
25144
25145 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
25146 * gdb.base/call-rt-st.c: Ditto.
25147
25148 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
25149
25150 * gdb.threads/pthreads.exp (horiz): New variable.
25151 (test_startup): Fix regexps that capture thread numbers.
25152
25153 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
25154
25155 * gdb.base/smoke.exp: Disambiguate two test case names (both
25156 called ``print'').
25157
25158 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25159
25160 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
25161 compilation.
25162
25163 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25164
25165 * gdb.base/miscexprs.exp: Change patterns to match GDB's
25166 actual output formatting.
25167 * gdb.base/smoke.exp: GDB removes leading 0's.
25168 * gdb.base/volatile.exp: Don't check type of remuneration;
25169 that variable is no longer defined in constvars.c.
25170 * gdb.base/step-test.c (main): Exit with explicit exit code.
25171 * gdb.base/step-test.exp: Remove two nexti checks--they are
25172 not portable.
25173
25174 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25175
25176 * gdb.base/help.exp ("help delete display"): Fix test to match
25177 gdb's output.
25178
25179 * gdb.base/long_long.c (known_types): Initialize values to zero.
25180 * gdb.base/long_long.exp: Step one more line
25181 so 'dec' is initialized in "get to known place". GDB removes
25182 leading zeros. Explicitly ask for hex formatting. Use
25183 unique test case names.
25184
25185 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25186
25187 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
25188
25189 * gdb.c++/method.exp: Add missing close brace.
25190
25191 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
25192
25193 * gdb.base/maint.exp: Use 'set height 0' to disable page
25194 prompting, not 'set height 400'.
25195
25196 Fix a bunch of timeouts.
25197 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
25198 four separate tests, so expect doesn't take forever to match a ton
25199 of text against a regexp with lots of .* forms.
25200 ("maint print psymbols", "maint print symbols"): Make some of
25201 these greps more selective, so that expect doesn't try to wade
25202 through huge piles of output and time out.
25203
25204 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
25205
25206 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
25207 tests: one which doesn't expect shlib events to be reported, and
25208 another which does, but is XFAIL for all platforms other than
25209 HP/UX.
25210
25211 * gdb.base/break.exp: Teach the test suite that the `catch
25212 fork', `catch vfork', and `catch exec' commands produce error
25213 messages on platforms that don't provide these features.
25214
25215 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25216
25217 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
25218 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
25219 (shortening names from solib_threshold.exp etc), won't run on
25220 anything but HP-UX for the foreseeable future.
25221 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
25222 reflect move.
25223
25224 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
25225
25226 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25227 gdb.trace/Makefile.in (clean): Remove all test executables.
25228
25229 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
25230
25231 * gdb.base/shlib-call.exp: add test cases to verify that gdb
25232 successfully re-sets breakpoints in shared libraries.
25233 * gdb.base/shmain.c (main): return 0, don't fall off the end.
25234
25235 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25236
25237 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
25238 and compiled w/o GCC.
25239
25240 * gdb.hp/watch-cmd.exp: ditto.
25241
25242 * gdb.hp/watch-hp.exp: ditto.
25243
25244 * gdb.hp/xdb1.exp: ditto.
25245
25246 * gdb.hp/xdb2.exp: ditto.
25247
25248 * gdb.hp/dbx.exp: ditto.
25249
25250 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
25251
25252 * constvars.c: Remove C++-isms.
25253 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
25254 with GCC.
25255
25256 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
25257
25258 The following changes are part of the HP merge.
25259
25260 * gdb.base/break.exp: new tests to verify that catchpoints for
25261 fork, vfork, and exec don't trigger inappropriately.
25262
25263 * gdb.base/opaque.exp: compile one file at a time, then link.
25264
25265 * gdb.base/signals.exp: be more restrictive about which hppa
25266 systems receive a setup_xfail. new tests.
25267
25268 * gdb.base/solib_threshold.build: new file.
25269 * gdb.base/solib_threshold.exp: new file.
25270 * gdb.base/solib_threshold.link_opts: new file.
25271 * gdb.base/solib_threshold.mk: new file.
25272 * gdb.base/gen_solib_threshold.c: new file.
25273
25274 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
25275 tests. New tests for enums inside classes.
25276
25277 * gdb.c++/compiler.cc: indicate support of template debugging.
25278
25279 * gdb.c++/demangle.exp: run hp style demangling tests.
25280
25281 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
25282 tests.
25283
25284 * gdb.c++/misc.cc: changes to support new tests.
25285
25286 * gdb.c++/templates.cc: changes to support HP's compiler; changes
25287 to support new tests.
25288
25289 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
25290 gcc, then skip these tests.
25291
25292 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
25293
25294 The following files are part of the HP merge; some had longer
25295 names at HP, but have been renamed to be no more than 14
25296 characters in length.
25297
25298 * gdb.hp/ambiguous.cc: new file.
25299 * gdb.hp/ambiguous.exp: new file.
25300 * gdb.hp/attach.exp: new file.
25301 * gdb.hp/attach2.exp: new file.
25302 * gdb.hp/classes-hp.exp: new file.
25303 * gdb.hp/ctti.exp: new file.
25304 * gdb.hp/ctti-add.cc: new file.
25305 * gdb.hp/ctti-add1.cc: new file.
25306 * gdb.hp/ctti-add2.cc: new file.
25307 * gdb.hp/ctti-add3.cc: new file.
25308 * gdb.hp/dbx.exp: new file.
25309 * gdb.hp/exception.cc: new file.
25310 * gdb.hp/exception.exp: new file.
25311 * gdb.hp/foll-exec.c: new file.
25312 * gdb.hp/foll-exec.exp: new file.
25313 * gdb.hp/foll-fork.c: new file.
25314 * gdb.hp/foll-fork.exp: new file.
25315 * gdb.hp/foll-vfork.c: new file.
25316 * gdb.hp/foll-vfork.exp: new file.
25317 * gdb.hp/inherit-hp.exp: new file.
25318 * gdb.hp/more-steps.exp: new file.
25319 * gdb.hp/namespace.cc: new file.
25320 * gdb.hp/namespace.exp: new file.
25321 * gdb.hp/optimize.exp: new file.
25322 * gdb.hp/pxdb.c: new file.
25323 * gdb.hp/pxdb.exp: new file.
25324 * gdb.hp/quicksort.exp: new file.
25325 * gdb.hp/reg-test.exp: new file.
25326 * gdb.hp/reg-test.s: new file.
25327 * gdb.hp/sized-enum.c: new file.
25328 * gdb.hp/sized-enum.exp: new file.
25329 * gdb.hp/start-stop.exp: new file.
25330 * gdb.hp/templ-hp.cc: new file.
25331 * gdb.hp/templ-hp.exp: new file.
25332 * gdb.hp/thr-lib.c: new file.
25333 * gdb.hp/thr-lib.exp: new file.
25334 * gdb.hp/thr-lib.h: new file.
25335 * gdb.hp/thr-liblib.c: new file.
25336 * gdb.hp/virtfun-hp.c: new file.
25337 * gdb.hp/virtfun-hp.exp: new file.
25338 * gdb.hp/watch-cmd.exp: new file.
25339 * gdb.hp/watch-hp.exp: new file.
25340 * gdb.hp/xdb1.exp: new file.
25341 * gdb.hp/xdb2.exp: new file.
25342 * gdb.hp/xdb3.exp: new file.
25343
25344 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
25345
25346 The following files are part of the HP merge; some had longer
25347 names at HP, but have been renamed to be no more than 14
25348 characters in length.
25349
25350 * gdb.base/ss.h: new file.
25351 * gdb.base/call-ar-st.c: new file.
25352 * gdb.base/call-ar-st.exp: new file.
25353 * gdb.base/call-rt-st.c: new file.
25354 * gdb.base/call-rt-st-exp: new file.
25355 * gdb.base/call-strs.exp: new file.
25356 * gdb.base/ena-dis-br.exp: new file.
25357 * gdb.base/environ.exp: new file.
25358 * gdb.base/long_long.exp: new file.
25359 * gdb.base/sect-cmd.exp: new file.
25360 * gdb.base/shlib-cl2.exp: new file.
25361 * gdb.base/smoke.exp: new file.
25362 * gdb.base/so-impl-ld.c: new file.
25363 * gdb.base/so-impl-ld.exp: new file.
25364 * gdb.base/so-indr-cl.c: new file.
25365 * gdb.base/so-indr-cl.exp: new file.
25366 * gdb.base/varargs.exp: new file.
25367 * gdb.base/volatile.exp: new file.
25368 * gdb.base/whatis-exp.exp: new file.
25369 * gdb.base/display.exp: new file.
25370 * gdb.c++/derivation.exp: new file.
25371 * gdb.c++/local.exp: new file.
25372 * gdb.c++/member-ptr.exp: new file.
25373 * gdb.c++/overload.exp: new file.
25374 * gdb.c++/ovldbreak.exp: new file.
25375 * gdb.c++/ref-types.exp: new file.
25376 * gdb.c++/ref-types2.exp: new file.
25377 * gdb.c++/userdef.exp: new file.
25378
25379 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
25380
25381 * gdb.base/default.exp: Reflect wording change in remote.c.
25382
25383 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
25384
25385 * gdb.base/help.exp: Update to reflect current text.
25386
25387 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
25388
25389 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
25390 they're stack variables and contain garbage.
25391 * gdb.c++/anon-union.exp: new file.
25392
25393 The following changes were made by David Taylor
25394 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25395 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25396 in changes by HP.
25397
25398 * gdb.base/bitops.exp: new file.
25399 * gdb.base/default.exp: change expected messages for catch and
25400 info catch tests to reflect HP merge changes.
25401 * gdb.base/enable-disable-break.exp
25402 * gdb.base/ending-run.c: new file.
25403 * gdb.base/long_long.c: new file.
25404 * gdb.base/maint.exp: new file.
25405 * gdb.base/pointers2.exp: new file.
25406 * gdb.base/shlib-call2.exp: new file.
25407 * gdb.base/solib.exp: new file.
25408 * gdb.base/step-test.c: new file.
25409 * gdb.c++/anon-union.cc: new file.
25410 * gdb.c++/local.cc: new file.
25411 * gdb.c++/member-pointer.cc: new file.
25412 * gdb.c++/method.cc: new file.
25413 * gdb.c++/ref-types.cc: new file.
25414 * gdb.c++/ref-types2.cc: new file.
25415 * gdb.c++/userdef.cc: new file.
25416
25417 * gdb.base/scope.exp: compile one file at a time, then link.
25418 * gdb.base/langs.exp: ditto.
25419 * gdb.base/list.exp: ditto.
25420
25421 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
25422
25423 The following changes were made by David Taylor
25424 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25425 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25426 in changes by HP.
25427
25428 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
25429 skip tests. When compiling pass c++ flag to gdb_compile.
25430 * gdb.c++/
25431
25432 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
25433 test for on hppa*-*-hpux*; use args to see if c++ was specified.
25434 (skip_hp_tests): new function.
25435 (gdb_preprocess): new function.
25436
25437 * configure.in (hpdir): decide whether to configure gdb.hp.
25438 * configure: regenerated.
25439
25440 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
25441 to delete on clean.
25442 (EXECUTABLES): update to reflect new additions.
25443 * gdb.base/commands.exp: update message expected.
25444 * gdb.base/default.exp: add copyright notice.
25445 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
25446 * gdb.base/help.exp: update messages to reflect current text.
25447 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
25448 targets for recurse tests.
25449 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
25450 skip this file.
25451
25452 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
25453 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
25454 compilation.
25455 * gdb.c++/misc.exp: ditto.
25456 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
25457 run the tests. tell gdb_compile that it's a c++ compilation.
25458
25459 * gdb.threads/pthreads.exp: fix typo in message.
25460
25461 * gdb.base/all-bin.exp: new file.
25462 * gdb.base/arithmet.exp: new file.
25463 * gdb.base/assign.exp: new file.
25464 * gdb.base/completion.exp: new file.
25465 * gdb.base/cond-expr.exp: new file.
25466 * gdb.base/condbreak.exp: new file.
25467 * gdb.base/define.exp: new file.
25468 * gdb.base/dollar.exp: new file.
25469 * gdb.base/environment.exp: new file.
25470 * gdb.base/eval-skip.exp: new file.
25471 * gdb.base/jump.exp: new file.
25472 * gdb.base/logical.exp: new file.
25473 * gdb.base/pointers.exp: new file.
25474 * gdb.base/relational.exp: new file.
25475 * gdb.base/section_command.exp: new file.
25476 * gdb.base/whatis-expr.exp: new file.
25477
25478 * gdb.base/all-types.c: new file.
25479 * gdb.base/call-array-struct.c: new file.
25480 * gdb.base/call-return-struct.c: new file.
25481 * gdb.base/call-strings.c: new file.
25482 * gdb.base/callfuncs2.c: new file.
25483 * gdb.base/condbreak.c: new file.
25484 * gdb.base/constvars.c: new file.
25485 * gdb.base/display.c: new file.
25486 * gdb.base/int-type.c: new file.
25487 * gdb.base/jump.c: new file.
25488 * gdb.base/miscexprs.c: new file.
25489 * gdb.base/pointers.c: new file.
25490 * gdb.base/pointers2.c: new file.
25491 * gdb.base/shmain.c: new file.
25492 * gdb.base/shr1.c: new file.
25493 * gdb.base/shr2.c: new file.
25494 * gdb.base/solib.c: new file.
25495 * gdb.base/solib1.c: new file.
25496 * gdb.base/solib2.c: new file.
25497 * gdb.base/varargs.c: new file.
25498 * gdb.c++/derivation.cc: new file.
25499 * gdb.c++/overload.cc: new file.
25500 * gdb.c++/ovldbreak.cc: new file.
25501 * gdb.hp/attach.c: new file.
25502 * gdb.hp/attach2.c: new file.
25503 * gdb.hp/average.c: new file.
25504 * gdb.hp/compiler.c: new file.
25505 * gdb.hp/compiler.cc: new file.
25506 * gdb.hp/execd-program.c: new file.
25507 * gdb.hp/follow-exec.c: new file.
25508 * gdb.hp/follow-fork.c: new file.
25509 * gdb.hp/follow-vfork-and-exec.c: new file.
25510 * gdb.hp/misc-hp.cc: new file.
25511 * gdb.hp/more-steps.c: new file.
25512 * gdb.hp/optimize.c: new file.
25513 * gdb.hp/quicksort.c: new file.
25514 * gdb.hp/run-hp.c: new file.
25515 * gdb.hp/start-stop.c: new file.
25516 * gdb.hp/sum.c: new file.
25517 * gdb.hp/templates-hp.cc: new file.
25518 * gdb.hp/thread-local-in-lib.c: new file.
25519 * gdb.hp/thread-local-in-lib.h: new file.
25520 * gdb.hp/thread-local-in-lib.lib.c: new file.
25521 * gdb.hp/vforked-program.c: new file.
25522 * gdb.hp/virtfunc-hp.cc: new file.
25523 * gdb.hp/watchpoint-hp.c: new file.
25524 * gdb.hp/xdb.c: new file.
25525 * gdb.hp/xdb0.c: new file.
25526 * gdb.hp/xdb0.h: new file.
25527 * gdb.hp/xdb1.c: new file.
25528
25529 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
25530
25531 The following change was made by Edith Epstein
25532 <eepstein@cygnus.com> as part of a project to merge in changes
25533 originally made by HP; HP did not create ChangeLog entries.
25534
25535 * gdb.c++/demangle.exp: changed the expected output for some
25536 ARM-style mangling -- removed second reference to datatype.
25537 For example, maint demangle __dt__11T1__pt__2_cFv
25538 T1<char>::~T1<char>(void)
25539 becomes,
25540 maint demangle __dt__11T1__pt__2_cFv
25541 T1<char>::~T1(void)
25542
25543 (test_hp_style_demangling): new hp specific demangling test cases.
25544
25545 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
25546
25547 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
25548 * gdb.trace/backtrace.exp: Likewise.
25549 * gdb.trace/circ.exp: Likewise.
25550 * gdb.trace/collection.exp: Likewise.
25551 * gdb.trace/deltrace.exp: Likewise.
25552 * gdb.trace/infotrace.exp: Likewise.
25553 * gdb.trace/limits.exp: Likewise.
25554 * gdb.trace/packetlen.exp: Likewise.
25555 * gdb.trace/passc-dyn.exp: Likewise.
25556 * gdb.trace/passcount.exp: Likewise.
25557 * gdb.trace/report.exp: Likewise.
25558 * gdb.trace/save-trace.exp: Likewise.
25559 * gdb.trace/tfind.exp: Likewise.
25560 * gdb.trace/tracecmd.exp: Likewise.
25561 * gdb.trace/while-dyn.exp: Likewise.
25562 * gdb.trace/while-stepping.exp: Likewise.
25563
25564 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
25565
25566 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
25567
25568 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
25569
25570 From Brendan Kehoe:
25571 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
25572 int return types.
25573
25574 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
25575
25576 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
25577 remote dos host testing right.
25578
25579 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
25580
25581 * gdb.base/corefile.exp: remove some xfails.
25582
25583 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
25584
25585 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
25586 have different timestamps.
25587
25588 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
25589
25590 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
25591 gdb.base/default.exp: Replace "exec" with "executable".
25592
25593 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
25594
25595 * gdb.base/default.exp: Change else if to elseif from previous
25596 delta.
25597
25598 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
25599
25600 * gdb.base/default.exp: Add brace missing from previous delta.
25601
25602 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
25603
25604 * gdb.base/default.exp: Support test for info float for all
25605 varieties of arm toolchain.
25606
25607 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
25608
25609 * gdb.trace/*.exp: remove "remote_download" command.
25610
25611 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
25612
25613 * gdb.trace/*.exp: remove -gdwarf from compile.
25614
25615 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
25616
25617 * gdb.trace/configure.in(AC_INIT): typo
25618 * gdb.trace/configure: regenerated
25619
25620 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
25621
25622 * config/m68k-emc.exp: New file.
25623 * lib/<emc-support.exp trace-support.exp}: New files.
25624 * configure.in: add new test directory gdb.trace.
25625 * gdb.trace/{configure configure.in Makefile.in}: New files.
25626 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
25627 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
25628 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
25629 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
25630 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
25631 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
25632 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
25633
25634 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
25635
25636 * gdb.c++/classes.exp: Change all regular expressions to match
25637 arbitrary combinations of newline/carriage-return, so that they
25638 will work equally well on Unix and Windows.
25639 * gdb.c++/inherit.exp: ditto.
25640 * gdb.c++/virtfunc.exp: ditto.
25641
25642 1998-08-11 Dawn Perchik <dawn@cygnus.com>
25643
25644 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
25645
25646 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
25647
25648 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
25649 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
25650 to use a0-a3/d0-d3 as needed.
25651
25652 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
25653
25654 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
25655 * gdb.disasm/am33.exp: Corresponding changes.
25656
25657 1998-07-11 Felix Lee <flee@cygnus.com>
25658
25659 * gdb.base/callfuncs.exp: add cmp10 test.
25660 * gdb.base/callfuncs.c (cmp10): new function.
25661
25662 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
25663
25664 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
25665 into two parts to get around a synchronization problem in expect.
25666
25667 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
25668
25669 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
25670
25671 * configure.in: Add options for gdbtk testsuite.
25672
25673 * configure: Regenerate.
25674
25675 * gdb.gdbtk: New directory to hold gdbtk tests.
25676
25677 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25678
25679 * gdb.fortran/types.exp: Escape brackets in expect patterns
25680 for test_float_literal_types_accepted tests.
25681 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
25682 before run test.
25683
25684 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
25685
25686 * am33.exp: Just compile, do not link the testcase.
25687 * am33.s: Add ".am33" pseudoop to force am33 mode.
25688
25689 1998-06-25 Felix Lee <flee@cygnus.com>
25690
25691 * gdb.base/setshow.exp: make sure $pc is sane.
25692
25693 * gdb.stabs/weird.exp: split expect patterns properly.
25694
25695 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
25696
25697 * gdb.disasm/am33.s: New disassembler testfile for the am33.
25698 * gdb.disasm/am33.exp: Run it.
25699
25700 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
25701
25702 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
25703 match processing (and eliminate spurious timeouts when running).
25704
25705 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
25706
25707 * gdb.base/signals.exp (test_handle_all_print): put back Mach
25708 exception test, but conditionalize it on target [mach | gnu].
25709
25710 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
25711
25712 * gdb.base/overlays.exp: fixup compile line for linker script.
25713
25714 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
25715
25716 * gdb.fortran/types.exp: don't guess at float size.
25717
25718 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
25719
25720 * gdb.base/exprs.exp: delete test that depends on int size.
25721
25722 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
25723
25724 * config/sim.exp: Removed checks for target triplets.
25725 (gdb_target_sim): Use gdb,target_sim_options.
25726
25727 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
25728
25729 * gdb.base/reread.exp: New file.
25730 * gdb.base/reread1.c: New file.
25731 * gdb.base/reread2.c: New file.
25732
25733 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
25734
25735 * config/sim.exp: Use 'target sim -sparclite' when running
25736 SPARClite programs.
25737
25738 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
25739
25740 * gdb.base/structs2.exp: New file.
25741 * gdb.base/structs2.c: New file.
25742
25743 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
25744
25745 * gdb.asm/common.inc: New file.
25746 * gdb.asm/d10v.inc: New file.
25747 * asm-source.exp: Pass -I's to gas to find .inc files.
25748 Update line numbers in expected output.
25749 * asmsrc1.s: Rewrite.
25750 * asmsrc2.s: Rewrite.
25751 * configure.in: Create arch.inc symlink.
25752 * configure: Regenerate.
25753 * Makefile.in (distclean): Delete arch.inc.
25754
25755 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
25756
25757 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
25758 (t_enum_value2): ditto
25759 (t_enum_value3): ditto
25760 (main): ditto
25761 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25762
25763 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
25764 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
25765 change.
25766 Use gdb_test instead of send_gdb/gdb_expect sequences.
25767
25768 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
25769
25770 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
25771 not void.
25772
25773 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
25774
25775 * gdb.base/branches.c: Code with lots of loops and
25776 subroutines. Used to test gdbs ability to single step through PC
25777 changes, especially to test mips-tdep.c:mips_next_pc
25778
25779 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
25780
25781 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
25782 more rigorous EGCS C++ error checking.
25783
25784 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25785
25786 * gdb.base/help.exp: Clean up `help set args' and `help show args'
25787 tests.
25788 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
25789 function when asleep.
25790 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
25791 for i*86 Linux and SVR4 signal handling problems.
25792 Remove linux xfail for `next to handler in signals_tests_1', fixed
25793 by recent infrun.c change.
25794 Limit backtrace to 10 frames to avoid timeout problems with infinite
25795 stack backtraces.
25796 Adjust expect pattern in `handle all print' test to match Apr 28 1997
25797 target.[ch] change.
25798
25799 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
25800
25801 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
25802 for a newline from gdb before continuing.
25803 (default_gdb_exit): Just look for y or n.
25804 (gdb_test): Detect abnormal exit from GDB running on DOS; if
25805 it does, fail the rests of the tests in the file.
25806
25807 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
25808
25809 * config/cygmon.exp: New file.
25810
25811 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
25812
25813 * gdb.base/list.exp: Fix problem with "list default lines around
25814 main" test on remote targets.
25815
25816 * gdb.base/scope.exp: Fix problem with filelocal_bss before
25817 run test on remote targets.
25818
25819 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
25820
25821 * gdb.asm: New directory.
25822 * configure.in: Configure it.
25823 * configure: Regenerate.
25824 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
25825 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
25826
25827 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
25828
25829 * config/mn10300-eval.exp: New file to support MN10300 eval board.
25830
25831 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
25832
25833 * gdb.base/overlays (several files): Merge the two overlay
25834 managers into one. Change variables (foox, barx, bazx, grbxx)
25835 back into ints but force them to load in their proper sections.
25836
25837 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
25838
25839 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
25840 on-chip insn memory and IMAP1 to upper 128k.
25841 (D10VCopy): Handle memory regions crossing 16k boundaries.
25842 (D10VCopy): Transfer data in 32 bit chunks.
25843
25844 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
25845
25846 * gdb.base/overlays.c (main): Exit normally when result is
25847 correct.
25848
25849 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
25850 map. Include space for printf in .text segment.
25851
25852 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
25853 updated d10v memory VMA/LMA map.
25854 (D10VCopy): Call D10VTranslate.
25855
25856 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
25857
25858 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
25859
25860 * gdb.base/bar.c (barx, bar): Change variable to small array so
25861 that it won't be put into the .sdata - small data -
25862 section. Update reference.
25863 * gdb.base/baz.c (bazx, baz): Ditto.
25864 * gdb.base/foo.c (foox, foo): Ditto.
25865 * gdb.base/grbx.c (grbxx, grbx): Ditto.
25866
25867 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
25868 to be arrays.
25869
25870 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
25871
25872 * gdb.base/overlays.exp: fix up and get working again.
25873 Add tests for backtraces from an overlay function.
25874
25875 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
25876
25877 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
25878 "calling function with watchpoint enabled".
25879
25880 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
25881
25882 * gdb.base/break.exp (test_next_with_recursion): Remove
25883 gdb_suppress_tests for d10v-*-*.
25884 * lib/gdb.exp (gdb_suppress_tests): Disable this function
25885 pending review of whether it is useful or not.
25886
25887 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
25888
25889 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
25890
25891 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
25892
25893 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
25894 * config/dve.exp: New file to support Densan boards.
25895
25896 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
25897
25898 * gdb.base/interrupt.exp: Document problem of simulators, signals,
25899 reads and BSD.
25900
25901 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
25902
25903 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
25904 response.
25905
25906 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
25907
25908 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
25909
25910 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
25911 test.
25912
25913 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
25914 target_sizeof_long and target_bigendian_p.
25915 (structs_by_value, structs_by_reference): Check values according
25916 to targets word size and endianess.
25917
25918 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
25919
25920 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
25921 output.
25922
25923 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
25924
25925 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
25926 Update test of set args help to match source change.
25927
25928 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
25929
25930 * gdb.base/default.exp: Expect help system output to be in
25931 alphabetical order.
25932 * gdb.base/help.exp: Ditto.
25933
25934 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
25935
25936 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
25937 "i*86-pc-linux-gnu*".
25938 * gdb.base/interrupt.exp: Ditto.
25939 * gdb.base/corefile.exp: Ditto.
25940
25941 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
25942 define vxworks when building the testcase.
25943
25944 * gdb.base/ptype.exp: Fix testnames to be unique.
25945 * gdb.base/radix.exp: Ditto.
25946 * gdb.base/term.exp: Ditto.
25947 * gdb.base/whatis.exp: Ditto.
25948 * gdb.c++/classes.exp: Ditto.
25949
25950 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
25951
25952 * gdb.base/callfuncs.exp: Fix indentation.
25953
25954 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
25955 suppress_flag has been set.
25956 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
25957 target feature.
25958
25959 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
25960
25961 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
25962 the testcase.
25963
25964 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
25965 set_debug_traps() and breakpoint().
25966 * gdb.c++/misc.cc (main): Ditto.
25967 * gdb.c++/templates.cc (main): Ditto.
25968 * gdb.c++/virtfunc.cc (main): Ditto.
25969
25970 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
25971
25972 * lib/gdb.exp(gdb_step_for_stub): New function.
25973 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
25974 exists, reload the executable and do a "continue" instead of
25975 doing a jump.
25976 (runto_main): Use gdb_step_for_stub.
25977
25978 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
25979 tests to have unique names.
25980 * gdb.base/callfuncs.exp: Ditto.
25981 * gdb.base/commands.exp: Ditto.
25982 * gdb.base/default.exp: Ditto.
25983 * gdb.base/help.exp: Ditto.
25984 * gdb.base/list.exp: Ditto.
25985 * gdb.base/opaque.exp: Ditto.
25986 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
25987 similar tests.
25988
25989 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
25990 * gdb.c++/cplusfuncs.cc: Ditto.
25991 * gdb.c++/virtfunc.cc: Ditto.
25992
25993 * config/monitor.exp: Keep track of the last file we saw, rather
25994 than trying to get the info from gdb.
25995
25996 * gdb.fortran/types.exp: Move comment to previous line.
25997
25998 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
25999
26000 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
26001 target mode.
26002
26003 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
26004
26005 From Bob Manson:
26006 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
26007 string from GDB when it connects.
26008
26009 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
26010
26011 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
26012
26013 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
26014 if we can't get a debug format from GDB (we may be testing an
26015 older GDB). Use a 10 second timeout when checking for the format.
26016
26017 * gdb.stabs/weird.exp: Fix quoting.
26018
26019 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
26020
26021 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
26022
26023 * config/arm-ice.exp: New file.
26024
26025 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
26026
26027 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
26028 until it has been modified to work with the new testsuite.
26029
26030 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
26031 testcase won't compile, cause all of the testcases in the file to
26032 fail instead.
26033
26034 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
26035 (gdb_clear_suppressed): New procedure.
26036 (gdb_stop_suppressing_tests): Only clear suppress_flag if
26037 it contains a positive value.
26038
26039 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
26040
26041 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
26042
26043 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
26044
26045 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
26046
26047 * lib/gdb.exp (setup_xfail_format): New function.
26048 (get_debug_format): New function to get debug format.
26049 (debug_format): New global variable to hold last value set
26050 by get_debug_format.
26051 * gdb.base/list.exp: Call get_debug_format and expect some
26052 tests to fail for DWARF 1 and COFF formats.
26053 * gdb.c++/ptype.exp: Ditto.
26054 * gdb.c++/classes.exp: Ditto.
26055 * gdb.c++/cplusfuncs.exp: Ditto.
26056 * gdb.c++/inherit.exp: Ditto.
26057 * gdb.c++/templates.exp: Ditto.
26058 * gdb.c++/virtfunc.exp: Ditto.
26059
26060 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
26061
26062 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
26063 host doesn't have a currently-open connection.
26064
26065 * config/sparclet.exp: Cleanups and fixes to make it generic for
26066 any gdb stub target. Handle cases where gdb doesn't respond when
26067 interrupted in a sane fashion.
26068
26069 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
26070 same thing in a totally different way.
26071
26072 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
26073 setting "timeout".
26074 (gdb_start): We set the global gdb_prompt variable in
26075 default_gdb_init now.
26076
26077 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
26078
26079 * gdb.base/printcmds.exp: Fix "check for floating addition"
26080 regexp to accept results within approx +/- .01 of exact value.
26081 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
26082
26083 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
26084
26085 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
26086 properly.
26087 (gdb_expect): Add optional timeout parameter, and add timeout
26088 value to various calls.
26089 (gdb_suppress_tests): Only give one warning message per group.
26090
26091 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
26092
26093 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
26094 global variables. Handle getting a value for $timeout more
26095 gracefully.
26096
26097 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26098
26099 * lib/gdb.exp: Close connection to remote host if gdb doesn't
26100 initialize.
26101 (default_gdb_init): New procedure; allow gdb_init to be overridden
26102 by a target configuration file.
26103 (gdb_expect): Pass the timeout to remote_expect.
26104
26105 * config/monitor.exp(gdb_load): Fix typo in regexp.
26106
26107 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
26108
26109 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
26110
26111 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
26112
26113 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
26114 here. Call gdb_target_exec before rebooting the target, to make
26115 sure the connection to the target is closed.
26116 (gdb_load): Pass the name of the executable to gdb_target_monitor.
26117 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
26118 Also detect "Timeout reading from remote" error.
26119
26120 * config/gdbserver.exp: Pass the executable being loaded to
26121 gdb_target_monitor. Don't call gdb_file_cmd here; let
26122 gdb_target_monitor do it.
26123
26124 * gdb.disasm/hppa.exp: Don't use exec_output.
26125
26126 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
26127
26128 * gdb.base/list.exp: If we're debugging a non-native target,
26129 try to set the pc register to point to the start of the
26130 program before doing the first list command.
26131
26132 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
26133 test_calls after restarting.
26134
26135 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
26136 reloading.
26137
26138 * gdb.base/watchpoint.exp: Fix typo.
26139
26140 * gdb.base/setshow.exp: Check for use_gdb_stub.
26141
26142 * gdb.base/break.exp: Fix continue until exit test for the gdb
26143 stub case.
26144 * gdb.base/langs.exp: Ditto.
26145
26146 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
26147 gdb_load_offset. If we weren't given a file to load, figure out
26148 what the current file is and use it.
26149
26150 * config/i386-bozo.exp: New file.
26151
26152 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
26153
26154 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
26155 feature.
26156
26157 * config/proelf.exp: New entry.
26158
26159 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
26160
26161 * lib/gdb.exp: Remove spurious .* patterns at the beginning
26162 of regexps.
26163
26164 * gdb.base/watchpoint.exp: Don't run the test_stepping
26165 tests if gdb can't call functions on the target.
26166
26167 * gdb.base/setshow.exp: Don't run the set prompt tests if
26168 the board has gdb_prompt set.
26169
26170 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
26171
26172 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
26173 * gdb.base/commands.exp: Likewise.
26174 * gdb.base/setshow.exp: Likewise.
26175
26176 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
26177
26178 * config/monitor.exp(gdb_start): Look for gdb_prompt target
26179 feature.
26180
26181 * config/i960.exp: New file.
26182
26183 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
26184
26185 * gdb.base/funcargs.exp: Check for gdb,short_int target
26186 feature instead of looking for explicit target triplets.
26187
26188 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
26189
26190 * gdb.base/printcmds.exp: add a couple more tests a la
26191 "p 123DEADBEEF", to check parse_number.
26192 * top.c: change "to enable to enable" to "to enable" in a couple
26193 of help strings.
26194
26195 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
26196
26197 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
26198 on the mn10300.
26199
26200 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
26201
26202 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
26203 where the test executable is run with explicit args.
26204 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
26205
26206 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
26207
26208 * gdb.base/run.c: Use FAKEARGV to build test executable that
26209 does not require a command line arg, since most simulators
26210 don't currently support passing such an arg into the simulated
26211 program.
26212 * gdb.base/commands.exp: Change tests to insert the proper
26213 value as the arg to the first recursive factorial call. Change
26214 compilation line to define FAKEARGV at compile time.
26215
26216 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
26217
26218 * gdb.base/recurse.exp: Enable these tests for the mn10300.
26219 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
26220 function with watchpoint enabled" test.
26221
26222 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
26223
26224 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
26225 Don't call gdb_test when the command doesn't return to a gdb prompt.
26226
26227 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
26228 "Tests restarted" messages.
26229
26230 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
26231
26232 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
26233
26234 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
26235
26236 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
26237 for INFO SYMBOL; add help tests for OVERLAY commands.
26238 * gdb.base/default.exp: add tests for INFO SYMBOL command;
26239 add tests for OVERLAY commands
26240 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
26241 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
26242 * gdb.base/sigall.c: add usestubs code frag
26243 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
26244
26245 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
26246
26247 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
26248 failures.
26249 (gdb_stop_suppressing_tests): Note that tests have restarted.
26250
26251 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
26252
26253 * config/h8300.exp: New file.
26254
26255 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
26256
26257 * gdb.base/setshow.exp: Check for the existence of a
26258 feature, not its value.
26259
26260 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
26261
26262 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
26263
26264 * gdb.base/scope.exp: It's now init0(), not init().
26265
26266 * gdb.base/scope0.c: For now, change init() to be init0().
26267
26268 * config/monitor.exp: Use gdb_serial in preference to serial
26269 or netport.
26270
26271 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
26272 and it's not already set.
26273
26274 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
26275
26276 * gdb.base/setshow.exp: Only test the run command if the target
26277 isn't using a stub and if it supports argument passing.
26278
26279 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
26280
26281 * config/udi.exp(gdb_start): Make sure UDICONF is set
26282 properly before starting gdb.
26283
26284 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
26285
26286 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
26287 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
26288 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
26289
26290 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
26291
26292 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
26293 specialized code to reboot the board, use remote_reboot instead.
26294
26295 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
26296
26297 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
26298
26299 * config/monitor.exp: Make sure we disconnect from the target.
26300 Also, try a reboot/reload cycle instead of failing if the
26301 load fails.
26302
26303 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
26304
26305 * gdb.base/default.exp: Don't set match_max.
26306 * gdb.base/help.exp: Ditto.
26307 * gdb.base/list.exp: Ditto.
26308 * gdb.base/signals.exp: Ditto.
26309
26310 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
26311 set, use remote_ld to download the testcase instead of
26312 the GDB loader.
26313
26314 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
26315
26316 * config/vr5000.exp: New file.
26317
26318 * config/monitor.exp(gdb_target_monitor): Add pattern for
26319 "Ending remote" to detect errors in connecting.
26320
26321 * gdb.base/setshow.exp: Add .* within auto language test.
26322
26323 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
26324 target feature.
26325
26326 * config/monitor.exp(gdb_load): Check for a failure when loading,
26327 and reboot the board if necessary.
26328
26329 * gdb.base/setvar.exp(test_set): Handle multiple prints within
26330 a set of tests. Remove print.* from the patterns being checked.
26331
26332 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
26333
26334 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
26335 refer to gdb_spawn_id.
26336
26337 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
26338 longer used.
26339 * config/sparclet.exp: Ditto.
26340 * config/sparclet-old.exp: Ditto.
26341 * config/slite.exp: Ditto.
26342 * config/sim.exp: Ditto.
26343 * gdb.base/funcargs.exp: Ditto.
26344
26345 * lib/gdb.exp:Remove references to gdb_spawn_id.
26346 (gdb_expect): Move to remote.exp.
26347
26348 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
26349
26350 * config/monitor.exp: Detect the "Couldn't establish connection"
26351 message from GDB.
26352
26353 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
26354
26355 * gdb.base/bitfields.exp: Use runto instead of explicit
26356 gdb_run_cmd/gdb_expect sequences.
26357
26358 * gdb.base/break.exp(text_next_with_recursion): Add match for
26359 gdb_expect call.
26360
26361 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
26362 We also need to handle the "A program is being debugged already"
26363 prompt from gdb. Use gdb_test to set the baud rate.
26364
26365 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
26366 to 20000. Really. I mean it.
26367
26368 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26369
26370 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
26371 fails. If suppress_flag is set, skip perror message about not
26372 being able to send to GDB.
26373 (send_gdb): If suppress_flag is set, don't try to send commands to
26374 GDB.
26375 (gdb_expect): If suppress_flag is set, always fail immediately.
26376 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
26377 (gdb_init): Call gdb_stop_suppressing_tests.
26378 (default_gdb_exit): Ditto.
26379 (default_gdb_start): Ditto.
26380
26381 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
26382 gdb_stop_suppressing_tests as appropriate.
26383 * gdb.base/break.exp: Ditto.
26384 * gdb.base/callfuncs.exp: Ditto.
26385 * gdb.base/commands.exp: Ditto.
26386 * gdb.base/exprs.exp: Ditto.
26387 * gdb.base/funcargs.exp: Ditto.
26388 * gdb.base/list.exp: Ditto.
26389 * gdb.base/recurse.exp: Ditto.
26390 * gdb.base/scope.exp: Ditto.
26391 * gdb.base/structs.exp: Ditto.
26392 * gdb.c++/inherit.exp: Ditto.
26393
26394 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
26395
26396 * config/vr4300.exp: New file.
26397
26398 * gdb.*/*.exp: Call gdb_expect instead of expect.
26399
26400 * lib/gdb.exp(gdb_expect): New function.
26401
26402 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
26403
26404 * lib/gdb.exp(gdb_init): New function.
26405
26406 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
26407 for each individual variable set.
26408
26409 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
26410 name.
26411
26412 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
26413
26414 * gdb.base/scope.exp: Use gdb_test.
26415
26416 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
26417 aborting; the testsuite driver will do that for us (see
26418 gdb_finish). Also, use gdb_test in a few more places.
26419
26420 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
26421
26422 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
26423
26424 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
26425
26426 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
26427 and "add_tests" are not at the same address.
26428
26429 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
26430
26431 * gdb.base/ptype.exp: Use gdb_test.
26432
26433 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
26434
26435 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
26436 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
26437 left in. No longer expect them to fail.
26438
26439 * gdb.stabs/*.mt; Deleted, no longer used.
26440 * gdb.stabs/configure.in: Remove references to target makefile
26441 frags.
26442 * gdb.stabs/configure: Rebuilt.
26443
26444 * gdb.disasm/*.mt: Deleted, no longer used.
26445 * gdb.disasm/configure.in: Remove references to target makefile
26446 frags. Use "sh3.s" as the unique filename for this directory.
26447 * gdb.disasm/configure: Rebuilt.
26448
26449 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
26450 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
26451 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
26452
26453 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
26454
26455 * config/udi.exp: Use mondfe,name instead of remote_host.
26456
26457 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
26458
26459 * gdb.base/watchpoint.exp: Don't expect a failure when calling
26460 a function with a watchpoint enabled on the mn10200.
26461
26462 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
26463 before trying to create it!
26464
26465 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
26466
26467 * config/vx.exp: Use hostname instead of netport.
26468
26469 * config/vxworks.exp: New file.
26470
26471 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
26472
26473 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
26474 gdb before assuming everything worked. Send a ^C if a timeout
26475 occurs.
26476
26477 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
26478 $gdb_spawn_id directly.
26479 (gdb_run_cmd): Try _start as well as start. Use the target feature
26480 gdb,start_symbol as the symbol to start from when jumping.
26481
26482 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
26483
26484 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
26485 redundant) test.
26486
26487 * gdb.base/recurse.exp: Relax final value test for 'b' so that
26488 it doesn't lose for 16bit integer systems.
26489
26490 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
26491
26492 * gdb.fortran/types.exp: If the target doesn't support "double"
26493 data types, then expect "real" types to only be 4 bytes.
26494
26495 * gdb.c++/virtfunc.exp: Expect failure for virtual function
26496 call tests if the target doesn't support inferior function calls.
26497
26498 * gdb.base/printcmds.exp: Allow minor deviation in FP values
26499 in printf tests.
26500
26501 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
26502
26503 * gdb.base/help.exp: Disable "help set", "help show", and
26504 "help support". Simplify regexp for "help stack".
26505
26506 * gdb.base/default.exp: Set match_max to 5000 and the timeout
26507 to 60 seconds. Temporarily set match_max to 15000 around the
26508 "info copying" test.
26509
26510 * gdb.base/nodebug.exp: Don't try to do an inferior function
26511 call if the target doesn't support them.
26512 * gdb.base/printcmds.exp: Likewise.
26513 * gdb.base/setvar.exp: Likewise.
26514 * gdb.base/structs.exp: Likewise.
26515 * gdb.c++/templates.exp: Likewise.
26516 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
26517
26518 * gdb.base/recurse.exp: Enable for the mn10200.
26519
26520 * configure.in: Do configure gdb.stabs directory for *-*-elf
26521 targets.
26522 * configure: Rebuilt.
26523
26524 * gdb.base/break.exp: Check for gdb,noresults before testing
26525 exit status and/or results from the target.
26526 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
26527 * lib/gdb.exp: Remove old (now bogus) initialization of
26528 noinferior, noargs, noresults and nosignals.
26529
26530 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
26531
26532 * config/sh.exp: New file.
26533
26534 * config/slite.exp: Try to connect multiple times to the board
26535 before rebooting. Only send a "monitor run" if need_monitor_run
26536 is set.
26537
26538 * gdb.base/break.exp: Don't do the "stub continue" test if
26539 the target has gdb_stub set.
26540
26541 * gdb.base/callfuncs.exp: Increase the timeout.
26542
26543 * gdb.base/interrupt.exp: Don't even try to compile the testcase
26544 if the target has gdb,noinferiorio set.
26545
26546 * gdb.base/list.exp: Increase match_max to 10000 characters.
26547
26548 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
26549
26550 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
26551 target.
26552
26553 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
26554
26555 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
26556
26557 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
26558 trying to delete the copy of gdb. Catch the file delete so we
26559 don't die if the delete fails; also, the file should be copied to
26560 the host, not to the build.
26561
26562 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
26563
26564 * lib/gdb.exp(gdb_test): Surround the result pattern with
26565 parenthesis in case it contains multiple regexps separated
26566 with |.
26567
26568 * gdb.base/watchpoint.exp: Use gdb_test.
26569 * gdb.base/default.exp: Ditto.
26570
26571 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
26572
26573 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
26574
26575 * gdb.base/scope.exp: Use gdb_test.
26576 * gdb.c++/classes.exp: Ditto.
26577 * gdb.c++/inherit.exp: Ditto.
26578
26579 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
26580
26581 * gdb.base/crossload.exp: Don't use execute_anywhere, use
26582 remote_exec instead.
26583 * gdb.base/corefile.exp: Don't be ridiculous.
26584 * gdb.base/*.c: Add missing stub invocations.
26585
26586 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
26587
26588 * config/slite.exp: Miscellaneous fixes.
26589
26590 * lib/gdb.exp: Fix runto.
26591
26592 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
26593 the target.
26594
26595 * gdb.base/watchpoint.exp: Fix regexp.
26596
26597 * lib/gdb.exp(default_gdb_exit): Add a catch to the
26598 close and wait commands, as the descriptor may now be
26599 invalid. Always call "remote_close host".
26600
26601 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
26602
26603 Major rewrite for testsuite revision.
26604
26605 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
26606 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
26607 instead of relying on spawn_id to always contain a valid
26608 spawn id.
26609 (get_compiler_info): New procedure to build the ${binfile}.ci
26610 file, instead of replicating this in N different places.
26611 (gdb_compile): New procedure.
26612
26613 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
26614 appropriate arguments) instead of compile. Use gdb_test in a lot
26615 more places. Use send_gdb instead of send. Always run gdb_start
26616 at the start of a testcase, as this is no longer done magically.
26617
26618 config/*-gdb.exp: Rename without the -gdb suffix.
26619
26620 config/mips.exp: Use remote_close instead of exit_remote_shell.
26621 config/monitor.exp: Use target_info instead of looking at
26622 baud, timeout, etc.
26623 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
26624
26625 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26626
26627 * gdb.c++/templates.exp (test_ptype_of_templates),
26628 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
26629 Update expect patterns for destructors and assignment operators
26630 to match corresponding c-typeprint.c changes.
26631 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
26632 to destructor breakpoint test, GDB should be able to set the
26633 destructor breakpoint without specifying arguments.
26634
26635 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
26636
26637 * gdb.threads/pthreads.exp: Change result for failure to compile due
26638 to lack of pthreads runtime support from an error to simply an
26639 unsupported test, per dejagnu standards.
26640
26641 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26642
26643 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
26644 where GDB exits to reduce pattern match time.
26645 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
26646
26647 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
26648
26649 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
26650
26651 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
26652 * gdb.base/default.exp: ditto.
26653 * gdb.base/nodebug.exp: ditto.
26654 * gdb.base/printcmds.exp: ditto.
26655 * gdb.base/ptype.exp: ditto.
26656 * gdb.base/setvar.exp: ditto.
26657 * gdb.base/structs.exp: ditto.
26658 * gdb.base/setshow.c: Guard against uninitialized values of argc.
26659
26660 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
26661
26662 * configure, */configure: Rebuild with autoconf 2.12.
26663
26664 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
26665
26666 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
26667 use new i*86-pc-linux*-gnu quads.
26668 * gdb.base/corefile.exp: Ditto.
26669 * gdb.base/signals.exp: Ditto.
26670 * gdb.base/sigall.exp: Ditto.
26671 * gdb.base/interrupt.exp: Ditto.
26672
26673 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
26674 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
26675 RedHat 4.0.
26676
26677 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
26678 linux. This allows the test case to at least compile on latest
26679 linux, but still not run due to missing the threads runtime library.
26680
26681 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26682
26683 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
26684 directory to search gdb directory. Accept and step over conditional
26685 stack alignment code. Consume $prompt in failure cases.
26686 Reset timeout to $oldtimeout instead of some arbitrary value.
26687 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
26688 timeout problems with infinite stack backtraces.
26689 * gdb.base/ptype.exp (ptype struct link, union tu_link):
26690 Accept function parameters for linkfunc member.
26691
26692 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
26693
26694 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
26695 (CXXFLAGS): Remove, unreferenced.
26696 (B_OPTIONS): Add for -B options and add code to initialize with
26697 previous -B options and also add -B option to pick up cross compiled
26698 runtime.
26699 (TARGET_INCLUDES): Add for -I options and add code to initialize when
26700 doing cross compiles.
26701 (target_alias): Declare global.
26702 (xgcc): Set variable to full path of gcc in build tree. Use findfile
26703 to verify that gcc exists in build tree, and if so set CC to that
26704 gcc and to use B_OPTIONS and TARGET_INCLUDES.
26705
26706 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
26707
26708 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
26709 ptype test for anonymous union. Fixup testcase to match
26710 current gcc debug output.
26711
26712 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
26713
26714 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
26715 force argument to an unsigned long type.
26716
26717 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
26718
26719 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
26720 tests and anonymous union print/ptype tests.
26721 * gdb.base/list.exp (test_forward-search): Increase timeout by
26722 5 minutes for the "search extremely long line" case.
26723 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
26724 completely optional and that the pass/fail messages use the command as
26725 the message if that third arg is a null string.
26726 (gdb_test_exact): Arrange that a null string pattern means match a
26727 null string output rather than any output, which might include random
26728 errors.
26729 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
26730 backtrace test.
26731 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
26732 always failing and failure is now exposed by gdb.exp changes.
26733
26734 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
26735
26736 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
26737 weren't being noted.
26738
26739 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26740
26741 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
26742 * gdb.stabs/weird.exp: Remove v_comb xfails.
26743
26744 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
26745
26746 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
26747 list.exp scope.exp watchpoint.exp]
26748 Make all timeout error msgs explicitly say "(timeout)".
26749
26750 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
26751
26752 * config/monitor.exp: Increase download timeout to 1000 seconds.
26753
26754 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
26755
26756 * config/m32r.exp: Increase timeout to 120 seconds.
26757
26758 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
26759
26760 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
26761 and accept older ordering as obsolescent gcc or gdb.
26762 * gdb.c++/templates.exp: Ditto.
26763 * gdb.c++/virtfunc.exp: Ditto.
26764
26765 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
26766
26767 * gdb.base/coremaker.c: Add code to mmap some data so we
26768 can check that it ends up in the core file.
26769 * gdb.base/corefile.exp: Add test to read mmapped data
26770 from core file.
26771
26772 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
26773
26774 * config/m32r.exp: New file.
26775
26776 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
26777
26778 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
26779 that cflags can contains -gstabs, and work correctly for other tests.
26780
26781 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
26782
26783 * gdb.base/setshow.exp: New file, tests show and set.
26784 * gdb.base/setshow.c: New file, tests show and set.
26785 * gdb.base/help.exp: Add test for help set|show annotate.
26786 * gdb.base/default.exp: Add test for set|show annotate.
26787
26788 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
26789
26790 * testsuite/gdb.base/break.exp: Make backtrace from factorial
26791 errors unique.
26792 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
26793 explicitly.
26794
26795 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
26796
26797 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
26798 and width commands. This is done elsewhere.
26799 * (gdb_start): Don't call gdb_start_sim here. That's already
26800 done in gdb_load. This fixes lots of failures in default.exp.
26801
26802 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
26803
26804 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
26805 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
26806 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
26807 in the same we we treat other failures (since it may be an expected
26808 condition), rather than as an error.
26809 * gdb.base/signals.exp (test_handle_all_print): Revert back to
26810 old test format.
26811
26812 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
26813
26814 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
26815 (distclean maintainer-clean realclean): No need to remove files
26816 twice. Nuke the duplicates.
26817 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
26818 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
26819 Remove config.h along with other config files.
26820
26821 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
26822
26823 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
26824 "p func1 ()" and note that rests of tests are skipped.
26825 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
26826 setup_xfails for "print func2::coremaker_local".
26827 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
26828 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
26829 affected by the previous run test.
26830 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
26831 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
26832 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
26833 "pass int powerset tuple" and "pass modeless int powerset tuple".
26834 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
26835 "real write 4" and "real write 8".
26836 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
26837 setup_xfails for "print vs1 after tuple assign 2",
26838 "print \$i after tuple assign 2", and
26839 "print vs2 after tuple assign 2".
26840 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
26841 meaningful error message and return -1 so the caller can
26842 suppress further tests and avoid a cascade of errors.
26843
26844 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
26845
26846 * gdb.base/a1-selftest.exp: Tweak tests to account for new
26847 format for printing version.
26848 * gdb.base/default.exp: Ditto.
26849 * gdb.base/interrupt.exp: Fix problem with cascade of
26850 errors if child process dies while calling a function.
26851
26852 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
26853
26854 * Makefile.in (VPATH): Add
26855 * Makefile.in (Makefile, config.status): Fix rules so things get
26856 remade when necessary.
26857
26858 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
26859
26860 * Makefile.in (just-check): Add path to sibling expect dir
26861 to environment variable specified by RPATH_ENVVAR.
26862
26863 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
26864
26865 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
26866 (just-check): Add shared library paths for libstdc++, tk,
26867 tcl, bfd, and opcodes to the environment variable specified
26868 in RPATH_ENVVAR.
26869 * configure.in: Add support to recognize --enable-shared flag
26870 and generate correct value for RPATH_ENVVAR.
26871 * configure: Regenerated with autoconf.
26872
26873 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
26874
26875 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
26876 include all osf versions.
26877 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
26878 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
26879 when target is linux. When failing to build pthreads test
26880 executable, give more meaningful message.
26881 * gdb.threads/pthreads.c: Hpux also uses old definition of second
26882 arg for pthread_create.
26883
26884 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
26885
26886 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
26887 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
26888 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
26889 and -lpthreads (everybody else).
26890 (test_startup): Fail gracefully if threads are not supported.
26891 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
26892 "p/c array_index("abcdef",2)" when not gcc compiled.
26893 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
26894 "print func2::coremaker_local" when not gcc compiled.
26895 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
26896 "ptype on opaque struct tagname (statically)",
26897 "ptype on opaque struct tagname (dynamically) 1", and
26898 "ptype on opaque struct tagname (dynamically) 2"
26899 for not compiled with gcc.
26900 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
26901 backtrace when compiled with gcc.
26902 * lib/gdb.exp (runto_main): Return result of "runto main" rather
26903 than always return success.
26904
26905 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
26906
26907 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
26908
26909 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
26910
26911 * gdb.base/structs.exp: Undo last change.
26912
26913 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
26914
26915 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
26916 encapsulate all the steps/nexts done during self test, starting
26917 at main, and makes them less sensitive to optimization issues.
26918 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
26919 signal handler" test.
26920 * gdb.threads/pthreads.exp: Only run this for native configs.
26921 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
26922 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
26923 tests.
26924 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
26925 for "runto test_calls(void)" test.
26926
26927 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
26928
26929 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
26930 and don't expect address info in breakpoint confirmations.
26931
26932 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
26933
26934 * gdb.base/list.exp (test_forward_search): Increase timeout
26935 temporarily by 60 seconds for searching extremely long line,
26936 and then reset to old value when done. Increase expect input
26937 buffer to 10000.
26938
26939 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
26940
26941 * gdb.base/list.exp (test_forward_search): Fix to handle very
26942 long source line without overflowing expect's input buffer.
26943
26944 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
26945
26946 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
26947 "buffer_full".
26948
26949 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
26950 "buffer_full".
26951
26952 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
26953 "buffer_full".
26954
26955 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
26956 "buffer_full".
26957
26958 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
26959
26960 * configure.in (configdirs): Add gdb.threads.
26961 * configure: Regenerated with autoconf.
26962 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
26963 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
26964 * gdb.threads/configure: New, generated with autoconf.
26965
26966 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
26967
26968 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
26969
26970 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
26971
26972 * gdb.base/signals.exp (test_handle_all_print): Test separately for
26973 each signal's status in the output of "handle all print".
26974 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
26975 the \r\n sequence that immediately precedes the gdb prompt.
26976 * gdb.base/a1-selftest.exp: Save original timeout and restore
26977 after test.
26978
26979 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
26980
26981 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
26982 symbol.
26983
26984 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
26985
26986 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
26987
26988 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
26989
26990 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
26991 timeout by 60 seconds.
26992
26993 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
26994
26995 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
26996 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
26997 error return.
26998
26999 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
27000
27001 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
27002 gdb initialization, also report how long dejagnu waited. Restore
27003 old timeout before doing error return. Temporarily increase timeout
27004 by 3 minutes to allow for slow startups over heavy NFS use.
27005
27006 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
27007
27008 * lib/gdb.exp: Report timeout value for verbosity level 2.
27009 * config/gdbserver.exp: Ditto.
27010 * config/hppro.exp: Ditto.
27011 * config/mips-gdb.exp: Ditto.
27012 * config/monitor.exp: Ditto.
27013 * config/netware.exp: Ditto.
27014 * config/sim-gdb.exp: Ditto.
27015 * config/slite-gdb.exp: Ditto.
27016 * config/udi-gdb.exp: Ditto.
27017 * config/unix-gdb.exp: Ditto.
27018 * config/vx-gdb.exp: Ditto.
27019 * gdb.base/a1-selftest.exp: Ditto.
27020 * gdb.base/a2-run.exp: Ditto.
27021 * gdb.base/break.exp: Ditto.
27022 * gdb.base/corefile.exp: Ditto.
27023 * gdb.base/list.exp: Ditto.
27024 * gdb.base/recurse.exp: Ditto.
27025 * gdb.base/scope.exp: Ditto.
27026 * gdb.base/signals.exp: Ditto.
27027
27028 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27029
27030 * gdb.threads/Makefile.in (docdir): Removed.
27031
27032 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27033
27034 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
27035 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
27036 @srcdir@.
27037 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
27038 autoconf 2.5 or higher.
27039 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
27040
27041 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
27042
27043 * configure: Regenerated.
27044 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
27045 avoid name clashes with SunOS headers.
27046
27047 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
27048
27049 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
27050
27051 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
27052
27053 * gdb.base/callfuncs.exp: Finish last change -- make sure the
27054 prototype information ends up in the compiler info file.
27055
27056 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
27057
27058 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
27059 attempting to regenerate it. Eliminate use of a temporary file
27060 and just generate the info file directly. Source it immediately,
27061 for consistency of use.
27062 * gdb.base/corefile.exp: Ditto
27063 * gdb.base/exprs.exp: Ditto.
27064 * gdb.base/funcargs.exp: Ditto.
27065 * gdb.base/langs.exp: Ditto.
27066 * gdb.base/list.exp: Ditto.
27067 * gdb.base/mips_pro.exp: Ditto.
27068 * gdb.base/nodebug.exp: Ditto.
27069 * gdb.base/opaque.exp: Ditto.
27070 * gdb.base/ptype.exp: Ditto.
27071 * gdb.base/scope.exp: Ditto.
27072 * gdb.base/setvar.exp: Ditto.
27073 * gdb.base/signals.exp: Ditto.
27074 * gdb.base/whatis.exp: Ditto.
27075 * gdb.c++/templates.exp: Ditto.
27076 * gdb.c++/virtfunc.exp: Ditto.
27077 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
27078 whether or not to add -lstdc++ to the compile command line args.
27079
27080 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27081
27082 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
27083 it got fixed by the recent lookup_minimal_symbol_by_pc change.
27084 Increase timeout, a lot of single stepping might be needed if the
27085 target has no hardware watchpoints.
27086
27087 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
27088
27089 * gdb.base/break.exp: Ignore compiler warnings when compiling
27090 break.c.
27091 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
27092 * gdb.base/default.exp: Add h8300 xfails. Handle messages
27093 from remote-sim.
27094 * gdb.base/exprs.exp: Add h8300 xfails.
27095 * gdb.base/funcargs.exp: Likewise.
27096 * gdb.base/nodebug.exp: Likewise.
27097 * gdb.base/printcmds.exp: Likewise.
27098 * gdb.base/ptype.exp: Likewise.
27099 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
27100 h8300 xfails.
27101 * gdb.base/return.exp: Handle float/double precision problems
27102 on the h8300.
27103 * gdb.base/funcargs.c: Explicitly make last constant argument to
27104 call_after_alloca_subr an unsigned long type.
27105 * gdb.base/return.c: Include stdio.h.
27106
27107 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
27108
27109 * config/abug.exp: New file for the older Motorola Bug monitor
27110 that runs on the mvme13x series VME boards.
27111 * config/monitor.exp: Use the new config array for target settings
27112 if they exist.
27113
27114 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
27115
27116 * sim-gdb.exp: Make the SH simulator allocate less space when
27117 it is targeted.
27118
27119 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
27120
27121 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
27122 test.
27123
27124 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
27125
27126 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
27127 "rs6000-*-*" for "list function in include file" when gcc compiled.
27128 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
27129 for "p ctable1[120]".
27130 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
27131 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
27132 Remove setup_xfail for "rs6000-*-*" for
27133 "print 'scope0.c'::filelocal before run".
27134 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
27135 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
27136 since some compilers don't allow both options to be given
27137 on the same command line. Create object file and move it.
27138
27139 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
27140
27141 * gdb.base/corefile.exp: Always regenerate the core file, since
27142 we always regenerate the coremaker program. Detect special case
27143 where registers cannot be read from core file.
27144
27145 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
27146
27147 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
27148 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
27149 * gdb.c++/templates.exp: Only match on basename of file since
27150 some formats like xcoff don't encode directory information.
27151 * gdb.stabs/weird.exp: Use the right sed script for powerpc
27152 and rs6000 AIX xcoff targets.
27153 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
27154 * configure: Regenerate.
27155 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
27156 here, rather than in distclean.
27157
27158 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
27159
27160 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
27161 defined, and use it to compile the test case with -O2. The
27162 native compilation still uses no optimization.
27163 * gdb.base/mips_pro.c: Remove inline assembly code since
27164 it is compiled PIC by default, which results in assembler
27165 warnings that make the testsuite think the compilation
27166 was unsuccessful.
27167
27168 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
27169
27170 * gdb.c++/misc.exp: Add note to message for
27171 "print s.a for foo struct" that this is a known gcc 2.7.2
27172 and earlier bug.
27173
27174 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
27175
27176 * gdb.base/break.exp: Fix pattern for matching "Delete all
27177 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
27178 setup_xfail for deleting all breakpoints test. Fix various
27179 timeout messages to include "(timeout)".
27180 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
27181 for "p t_float_values2(3.14159,float_val2)".
27182 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
27183 for "continue to call2g" when gcc compiled.
27184 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
27185 "up to foo in langs.exp", "show language at foo in langs.exp",
27186 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
27187 and "show language at fsub in langs.exp".
27188 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
27189 "list line 1 in include file", "list message for lines past EOF",
27190 "list function in include file", "list list0.h:foo", and
27191 "list filename:function; nonexistant function".
27192 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
27193 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
27194 and "ptype t_char_array" to be for native cc only.
27195
27196 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
27197
27198 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
27199 setup_xfail for "print coremaker_bss", "print coremaker_ro",
27200 "print func2::coremaker_local", and "backtrace in corefile.exp".
27201
27202 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
27203
27204 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
27205 "bt in signals.exp". This problem only appears when running
27206 the testsuite, and then only intermittently.
27207
27208 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
27209
27210 * gdb.base/return.exp (return_tests): Differentiate between
27211 two tests of continuing.
27212
27213 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
27214
27215 * */Makefile.in (maintainer-clean): Remove config.log.
27216 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
27217 * gdb.c++/Makefile.in (PROGS): Add inherit.
27218 (clean): Remove *.ci.
27219
27220 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
27221
27222 * gdb.c++/misc.cc: Add test code from Mike Stump.
27223 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
27224
27225 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
27226
27227 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
27228 to "alpha-*-osf2*" and add comment.
27229 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
27230 setup_xfail for "step over execarg initialization" and
27231 "step over corearg initialization".
27232 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
27233 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
27234 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
27235 gcc compiled for "print coremaker_bss", "print coremaker_ro",
27236 "print func2::coremaker_local", and "backtrace in corefile.exp".
27237 * gdb.base/signals.exp: Build and source signals.ci.
27238 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
27239 to be for gcc only.
27240 * lib/gdb.exp: Move verbose statements outside conditionals.
27241
27242 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27243
27244 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
27245 Feb 3 procfs.c change.
27246
27247 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
27248
27249 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
27250
27251 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
27252
27253 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
27254 from dejagnu's apparent default of 10 seconds, which gives random
27255 results when running the tests over NFS on moderately loaded systems.
27256 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
27257
27258 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
27259
27260 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
27261 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
27262 result reports.
27263
27264 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
27265
27266 * configure.in (CY_AC_PATH_TCLH): Remove.
27267 * configure: Regenerate.
27268
27269 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
27270
27271 * gdb.c++/Makefile.in (clean): Add missing '{'.
27272
27273 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
27274
27275 * lib/gdb.exp: Provide a default value for noinferior.
27276
27277 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
27278 Load libgloss.exp.
27279
27280 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
27281
27282 * gdb.disasm/hppa.exp: Compile directly into an executable, use
27283 the executable, not the .o to run the tests from.
27284
27285 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
27286
27287 * gdb.base/break.exp: Don't test for program exit or exit status
27288 if $noresults if nonzero.
27289 * gdb.base/langs.exp: Likewise.
27290 * gdb.base/watchpoint.exp: Likewise.
27291
27292 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
27293 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
27294 trying to compile the testcase.
27295
27296 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
27297
27298 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
27299 * gdb.base/signals.exp (continue to handler): Likewise.
27300
27301 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
27302
27303 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
27304
27305 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
27306
27307 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
27308
27309 * gdb.base/corefile.exp: Recognize "not found" as failure
27310 when trying to determine if a core file was generated.
27311 If no core file was generate the first time, try again without
27312 the ulimit -c to work around braindamaged shells.
27313
27314 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
27315
27316 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
27317 [] tests with "test" and enclose string in quotes.
27318 * gdb.stabs/configure: Rebuild
27319
27320 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
27321
27322 Changes in sync with expect:
27323 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
27324 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
27325 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
27326 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
27327 argument to AC_REQUIRE.
27328 * configure: Regenerated.
27329
27330 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
27331
27332 * gdb.base/corefile.exp: When generating a core, discard any
27333 error messages about ulimit not found and the "core dumped"
27334 message from the shell that runs the coredumper.
27335
27336 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
27337
27338 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
27339
27340 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
27341 which sed script to run. Expect failure for v_comb test
27342 on PA targets too.
27343
27344 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
27345
27346 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
27347 "print func2::coremaker_local" and for "backtrace in corefile.exp"
27348
27349 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
27350
27351 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
27352 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
27353 "sparc-sun-solaris*" xfails for "p v_comb".
27354 * lib/gdb.exp (default_gdb_start): Fix typo.
27355 * gdb.base/corefile.exp: Allow "Core was generated by ..."
27356 messages to not include the full program name that caused
27357 the core dump since some systems (such as solaris) apparently
27358 truncate this path to about 80 characters.
27359 When generating a core file first try increasing the core file
27360 size limit to unlimited since some systems may default it to
27361 zero, and it is harmless to try it. Move the test for failing
27362 to generate a core file to where it will actually get executed.
27363 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
27364 new gdb result from g++ debug info improvements and make old
27365 pattern obsolescent. Also account for size_t differences
27366 (may be int or long).
27367 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
27368 initialization before function call is placed in the delay slot
27369 and thus appears to be skipped over by commands such as "next".
27370
27371 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
27372
27373 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
27374
27375 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
27376
27377 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
27378 input source file; fix code to compile test to deal with this
27379 convention.
27380 * gdb.c++/*.exp: Likewise.
27381
27382 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
27383
27384 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
27385 "bt in signals.exp".
27386
27387 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
27388
27389 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
27390 "step over execarg initialization" and
27391 "step over corearg initialization".
27392
27393 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
27394
27395 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
27396 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
27397
27398 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
27399
27400 From Rob Savoye (rob@poseidon.cygnus.com)
27401 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
27402 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
27403 configure.in}, gdb.disasm/{Makefile.in, configure.in},
27404 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
27405 configure.in}: Major reworking for autoconfig.
27406 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
27407 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
27408 New files.
27409 * config/unix-gdb.exp: Make GDB global.
27410 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
27411 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
27412 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
27413 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
27414 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
27415 term.exp, twice.exp, watchpoint.exp, whatis.exp},
27416 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
27417 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
27418 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
27419 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
27420 pr-8136.exp, result.exp, string.exp, tuples.exp},
27421 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
27422 to returns as necessary, arrange for test to compile own testcase
27423 executable.
27424 * lib/gdb.exp: Changes for testsuite to compile own test cases.
27425
27426 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
27427
27428 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
27429 clear_xfail at end of test which might not call either pass or fail.
27430 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
27431 "backtrace through signal handler".
27432
27433 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27434
27435 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
27436 continuing from a job control stop signal.
27437 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
27438
27439 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
27440
27441 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
27442 * gdb.base/corefile.exp: Likewise.
27443 * gdb.base/funcargs.exp: Likewise.
27444
27445 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
27446
27447 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
27448 * config/monitor.exp: Add support for setting baud rate.
27449
27450 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
27451
27452 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
27453 i*86-*-linux* xfails for "backtrace through signal handler".
27454 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
27455 "print func2::coremaker_local".
27456 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
27457 alpha-dec-osf2* xfail for
27458 "delete all breakpoints when none".
27459
27460 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
27461
27462 * gdb.base/break.exp: Change test that deletes all breakpoints
27463 when no user breakpoints are installed. A post 4.15 change
27464 causes gdb to no longer prompt in this case.
27465
27466 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
27467
27468 * gdb.base/return.exp (return_tests): Change xfail for test
27469 "correct value returned double test" to stop xfailing at
27470 Solaris 2.5. Apparently the bug has been fixed.
27471
27472 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
27473
27474 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
27475 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
27476
27477 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
27478
27479 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
27480 * gdb.disasm/hppa.s: Corresponding changes.
27481
27482 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
27483
27484 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
27485 makefile fragment.
27486 * config/mt-hpux: Deleted.
27487
27488 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
27489
27490 * Many files: When warning about suppressed tests due to a
27491 nonexistant test binary, avoid incrementing the warning count.
27492
27493 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
27494
27495 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
27496
27497 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27498
27499 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
27500 "sparc-*-solaris2*".
27501
27502 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27503
27504 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
27505 Add global and local variables and initialize them.
27506 * gdb.base/corefile.exp: Test correct mapping of corefile sections
27507 by printing variables. Remove rs6000 and powerpc xfails, BFD now
27508 extracts the file name and terminating signal from the core file.
27509 * TODO: Remove note about tests for correct mapping of corefile.
27510 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
27511 from optimizing it away.
27512 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
27513 handles common blocks.
27514
27515 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
27516
27517 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
27518 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
27519
27520 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
27521
27522 * Makefile.in (maintainer-clean): New target, synonym for
27523 realclean.
27524 * gdb.base/Makefile.in (maintainer-clean): Likewise.
27525 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
27526 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
27527 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
27528 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
27529 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
27530
27531 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
27532
27533 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
27534 xfails when not gcc compiled for "print foo::funclocal".
27535 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
27536 "print foo::funclocal at foo",
27537 "print 'scope1.c'::foo::funclocal at foo",
27538 "print foo::funclocal_bss at foo",
27539 "print 'scope1.c'::foo::funclocal_bss at foo",
27540 "print foo::funclocal_ro at foo",
27541 "print 'scope1.c'::foo::funclocal_ro at foo",
27542 "print bar::funclocal at foo" and
27543 "print 'scope1.c'::bar::funclocal at foo".
27544 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
27545 gcc compiled for "print foo::funclocal at bar".
27546 Expand all messages to ensure that they identify that
27547 the test is at bar().
27548 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
27549 gcc compiled for:
27550 "ptype on opaque struct pointer (statically)",
27551 "ptype on opaque struct tagname (statically)",
27552 "ptype on opaque struct pointer (dynamically) 1",
27553 "ptype on opaque struct tagname (dynamically) 1",
27554 "ptype on opaque struct pointer (dynamically) 2" and
27555 "ptype on opaque struct tagname (dynamically) 2
27556 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
27557 gcc compiled for:
27558 "p datalocal"
27559 "whatis datalocal",
27560 "ptype datalocal",
27561 "p bsslocal",
27562 "whatis bsslocal", and
27563 "ptype bsslocal".
27564 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
27565 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
27566 when not gcc compiled.
27567 * gdb.base/funcargs.exp (float_and_integral_args): Add
27568 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
27569 compiled.
27570 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
27571 "backtrace from call6a" when not gcc compiled.
27572 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
27573 "backtrace from call7a" when not gcc compiled.
27574 * gdb.base/callfuncs.exp (do_function_calls):
27575 Add "hppa*-*-hpux*" xfail when not gcc compiled for
27576 "p t_char_array_values(char_array_val2,char_array_val1)",
27577 "p t_char_array_values(char_array_val1,char_array_val2)",
27578 "p t_char_array_values("carray 1","carray 2")",
27579 "p t_char_array_values("carray 1",char_array_val2)",
27580 "p t_char_array_values(char_array_val1,"carray 2")",
27581 "p sum_args(1,{2})",
27582 "p sum_args(2,{2,3})",
27583 "p sum_args(3,{2,3,4})",
27584 "p sum_args(4,{2,3,4,5})"
27585 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
27586 "backtrace in corefile.exp" when not gcc compiled.
27587
27588 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27589
27590 * gdb.base/signals.exp: Rewrite `handle all print' test as
27591 a procedure. Accept blanks or TABs as whitespace, increase
27592 timeout and expect input buffer size for the large output
27593 from the command. Remove "i*86-*-bsdi2.0" xfail.
27594
27595 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27596
27597 * gdb.base/setvar.exp: Add new testcases for truncation when
27598 assigning invalid values to bitfields.
27599
27600 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
27601
27602 * gdb.base/callfuncs.exp (do_function_calls): Remove
27603 mips-sgi-irix* xfail for
27604 "call inferior func with struct - returns char *"
27605 and fix test so that an optional (unsigned char *) cast is
27606 accepted in the result.
27607
27608 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
27609
27610 * gdb.base/funcargs.exp (float_and_integral_args): Remove
27611 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
27612 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
27613 * gdb.base/signals.exp: Remove duplicate "handle all print" test
27614 that accidentally got checked in.
27615
27616 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
27617
27618 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
27619 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
27620 compiled test.
27621 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
27622 Add mips-sgi-irix5* xfail for not gcc compiled.
27623 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
27624 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
27625 compiled for "p top", "whatis top", "p middle", and "whatis
27626 middle".
27627 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
27628 "whatis signed char" for not gcc compiled.
27629 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
27630 "set variable signed char=-1 (-1)" and
27631 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
27632 * gdb.base/funcargs.exp (float_and_integral_args):
27633 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
27634 Add mips-sgi-irix* xfail when not gcc compiled for
27635 "continue to call2b".
27636 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
27637 "continue to call2g".
27638 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
27639 compiled for "backtrace from call6a"
27640 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
27641 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
27642 when not gcc compiled for "backtrace from call7a".
27643 (localvars_after_alloca): Fix gdb_test cmds for
27644 "print * after runto ...".
27645 Remove rs6000-*-* xfails for
27646 "print i after runto localvars_after_alloca" and
27647 "print l after runto localvars_after_alloca"
27648 for all compilers.
27649 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
27650 when not compiled with gcc, for:
27651 "print signed char == (minus)",
27652 "print signed char != (minus)",
27653 "print signed char < (minus)",
27654 "print signed char > (minus)".
27655 * gdb.base/callfuncs.exp (do_function_calls):
27656 Add mips-sgi-irix* xfail, when compiled with native compiler, for
27657 "call inferior func with struct - returns char *".
27658 * gdb.base/return.exp (return_tests): Change xfail for
27659 "correct value returned double test" to include Solaris 2.4.
27660 * gdb.base/funcargs.exp (float_and_integral_args):
27661 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
27662
27663 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27664
27665 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
27666 enumeration bitfields if compiling with GNU C.
27667 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
27668 to empty' prompt.
27669
27670 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
27671
27672 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
27673 test for PRO targets.
27674
27675 * gdb.base/funcargs.exp: Avoid ever setting more than 8
27676 breakpoints in the inferior at any given time by making
27677 two groups of breakpoints for call2*, call6* and call7*
27678 tests.
27679
27680 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27681
27682 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
27683 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
27684 from optimizing it away.
27685 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
27686 "call inferior func with struct".
27687
27688 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
27689
27690 * configure.in: Only configure gdb.chill for particular targets.
27691
27692 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
27693
27694 * gdb.base/Makefile.in: Add action to .c.o transformation
27695 rule that generates a .ci file for each .o file and remove
27696 explicit .c.o rules except for callfuncs.o.
27697 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
27698 generates a .ci file for each .o file and remove explicit
27699 .cc.o rules.
27700 (clean): Remove *.tmp *.ci files.
27701 (EXECUTABLES): Remove templ-info.exp.
27702 * gdb.base/compiler.c: New file.
27703 * gdb.c++/compiler.cc: New file
27704 * gdb.base/scope.exp: Source gdb.base/scope.ci.
27705 Change rs6000-*-* xfail for
27706 "print 'scope0.c'::filelocal_ro" and
27707 "print 'scope1.c'::filelocal" and
27708 "print 'scope1.c'::filelocal_bss" and
27709 "print 'scope1.c'::filelocal_ro" and
27710 "print 'scope1.c'::foo::funclocal" and
27711 "print 'scope1.c'::foo::funclocal_ro" and
27712 "print 'scope1.c'::bar::funclocal" and
27713 "print 'scope0.c'::filelocal_ro" and
27714 "print 'scope1.c'::filelocal at foo" and
27715 "print 'scope1.c'::filelocal_bss at foo" and
27716 "print 'scope1.c'::filelocal_ro at foo" and
27717 "print 'scope1.c'::foo::funclocal at foo" and
27718 "print 'scope1.c'::foo::funclocal_bss at foo" and
27719 "print 'scope1.c'::foo::funclocal_ro at foo" and
27720 "print 'scope1.c'::bar::funclocal at foo" and
27721 "print 'scope0.c'::filelocal_ro" and
27722 "print 'scope1.c'::filelocal" and
27723 "print 'scope1.c'::filelocal_bss" and
27724 "print 'scope1.c'::filelocal_ro" and
27725 "print 'scope1.c'::foo::funclocal" and
27726 "print 'scope1.c'::foo::funclocal_bss" and
27727 "print 'scope1.c'::foo::funclocal_ro" and
27728 "print 'scope1.c'::bar::funclocal" and
27729 "print 'scope1.c'::bar::funclocal_bss"
27730 to only be xfail'd when not compiled with gcc.
27731 Add rs6000-*-* xfail for
27732 "print 'scope0.c'::filelocal_bss before run"
27733 when compiled with gcc.
27734 (test_at_main): Add rs6000-*-* xfail for
27735 "print filelocal_ro in test_at_main"
27736 when compiled with gcc.
27737 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
27738 Add rs6000-*-aix* xfail for
27739 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
27740 "ptype t_char_array", not compiled with gcc.
27741 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
27742 xfail for "list foo (in include file)" when gcc compiled.
27743 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
27744 (integral_args): Add rs6000-*-* xfail for
27745 "run to call0a" if not compiled with gcc.
27746 (unsigned_integral_args): Add rs6000-*-* xfail for
27747 "run to call1a" if not compiled with gcc.
27748 (float_and_integral_args): Add rs6000-*-* xfail for
27749 "run to call2a" if not compiled with gcc and for
27750 "continue to call2b" for any compiler.
27751 Add rs6000-*-* xfail to
27752 "print f1 after run to call2a" for gcc compiled.
27753 (discard_and_shuffle): Add rs6000-*-* xfail for
27754 "run to call6a".
27755 (shuffle_round_robin): Add rs6000-*-* xfail for
27756 "backtrace from call7a" if not compiled with gcc.
27757 Add rs6000-*-* xfail for
27758 "backtrace from call7b" if compiled with gcc.
27759 (call_after_alloca): Add rs6000-*-* xfail for
27760 "print c in call_after_alloca" and
27761 "print s in call_after_alloca" and
27762 "backtrace from call_after_alloca_subr"
27763 if not compiled with gcc.
27764 (localvars_in_indirect_call): Add rs6000-*-* xfail for
27765 "print c in localvars_in_indirect_call" and
27766 "print c in localvars_in_indirect_call" and
27767 "backtrace in indirectly called function" and
27768 "stepping into indirectly called function"
27769 if not compiled with gcc.
27770 (localvars_after_alloca): Add rs6000-*-* xfail for
27771 "print c after runto localvars_after_alloca" and
27772 "print s after runto localvars_after_alloca" and
27773 "print i after runto localvars_after_alloca" and
27774 "print l after runto localvars_after_alloca"
27775 for all compilers.
27776 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
27777 than whatis-info.exp.
27778 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
27779 than opaque-info.exp.
27780 Setup rs6000-*-* xfail for
27781 "ptype on opaque struct pointer (statically)" and
27782 "ptype on opaque struct pointer (dynamically)" when
27783 not compiled with gcc.
27784 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
27785 rather than callf-info.exp.
27786 (do_function_calls): Add clear_xfail for rs6000-*-* for
27787 "p t_float_values2(3.14159,float_val2)". Seems to work
27788 fine there, both with xlc and gcc. Need to find out what
27789 it is doing right and fix other platforms.
27790 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
27791 "call inferior func with struct - returns int",
27792 "call inferior func with struct - returns long",
27793 "call inferior func with struct - returns float",
27794 "call inferior func with struct - returns double",
27795 "call inferior func with struct - returns char *",
27796 but only if not gcc compiled (presumes xlc compiled).
27797 Change rs6000-*-* xfails for
27798 "call inferior func with struct - returns char" and
27799 " call inferior func with struct - returns short" to only
27800 xfail if not using gcc.
27801 (clean mostlyclean): Remove *.ci and *.tmp files.
27802 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
27803 than templ-info.exp.
27804 * gdb.base/langs.exp: Source gdb.base/langs.ci.
27805 Add rs6000-*-* xfail for "up to foo in langs.exp"
27806 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
27807 when not gcc compiled.
27808
27809 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27810
27811 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
27812 * gdb.base/corefile.exp: Likewise.
27813 * gdb.base/list.exp: Likewise.
27814 * gdb.base/scope.exp: Likewise.
27815 * gdb.base/siganls.exp: Likewise.
27816
27817 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
27818 compiler output.
27819 * gdb.base/whatis.exp: Likewise.
27820
27821 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
27822
27823 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
27824 failure (opcode table has been fixed to match reality).
27825
27826 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
27827
27828 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
27829 "call inferior func with struct - returns char",
27830 "call inferior func with struct - returns short"
27831
27832 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
27833 "print 'scope0.c'::filelocal at main",
27834 "print 'scope0.c'::filelocal_bss in test_at_main",
27835 "print 'scope0.c'::filelocal at foo",
27836 "print 'scope0.c'::filelocal_bss in test_at_foo",
27837 "print 'scope0.c'::filelocal at bar",
27838 "print 'scope0.c'::filelocal_bss in test_at_bar"
27839
27840 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
27841 in source file 1". This bug seems to have been fixed with both
27842 gcc and native cc (was native assembler bug?).
27843
27844 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
27845
27846 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
27847 "backtrace through signal handler" to "i*86-*-sysv4*".
27848 * gdb.base/signals.exp: Add xfail for "'next' behaved as
27849 continue" case. Add "known SVR4 bug" to fail message.
27850 Add "i*86-*-bsdi2.0" xfail for "handle all print".
27851 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
27852 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
27853 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
27854 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
27855 "up to foo in langs.exp", "show language at foo in
27856 langs.exp", "up to cppsub_ in langs.exp", "show
27857 language at cppsub_ in langs.exp", "up to fsub in
27858 langs.exp", and "show language at fsub in langs.exp".
27859 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
27860 "bactrace in corefile.exp".
27861 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
27862 "call inferior function with struct - returns float" and
27863 "call inferior function with struct - returns double".
27864
27865 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
27866
27867 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
27868 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
27869 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
27870 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
27871
27872 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
27873
27874 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
27875 (or overriden) "CHILL" macro rather then bare "gcc".
27876 Also look for ../../gcc/xgcc since that is what we will
27877 actually need, not "Makefile". Remove following assignment
27878 of CHILL to CHILL_FOR_TARGET because that results in
27879 recursive definition.
27880
27881 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
27882
27883 * gdb.base/corefile.exp: Change xfail for backtrace in
27884 corefile.exp from linuxaout to all linux.
27885 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
27886 cases where we miss the breakpoint at the signal handler
27887 for some reason. Setup xfail for linuxoldld/linuxaout and
27888 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
27889 hitting SIGURG breakpoint.
27890 * gdb.base/signals.exp: Setup xfail for "next" acting like
27891 continue to add linuxoldld. Setup xfail for all linux for
27892 "next to handler in signals_tests_1", "backtrace in
27893 signals_tests_1", "continue to func1", "pass SIGUSR1",
27894 and continue to handler".
27895
27896 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
27897
27898 * Update all FSF addresses except those in COPYING* files.
27899
27900 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
27901
27902 * gdb.base/a2-run.exp: Change messages to be more explicit about
27903 the status of args, and quote binfile in results.
27904
27905 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
27906
27907 * gdb.base/callfuncs.exp: Add tests for passing structs to
27908 inferior functions and return various types.
27909 * gdb.base/callfuncs.c: Add functions to receive a struct
27910 and return a member of the struct, in various types.
27911
27912 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27913
27914 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
27915
27916 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
27917
27918 * config/vxworks29k.exp: New file, sources vxworks.exp.
27919
27920 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27921
27922 * config/gdbremote.exp: New file. Testing framework using
27923 gdbserver.
27924
27925 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
27926
27927 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
27928 "call function when asleep" and "send end of file".
27929 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
27930 for "backtrace in corefile.exp".
27931 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
27932 for "backtrace through signal handler".
27933 * gdb.base/corefile.exp: Make sure we actually generate a core file
27934 before trying the core tests. Some systems allow the user to suppress
27935 generation of core files and default to that (linux for example).
27936 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
27937 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
27938
27939 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27940
27941 * gdb.threads: New directory with some crude multi-threaded
27942 gdb tests (step.exp and step2.exp).
27943 * config/mt-lynx (STEP_EXECUTABLE): Define.
27944 (THREADFLAGS): Define.
27945
27946 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
27947
27948 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
27949
27950 * gdb.base/signals.exp: Disable whole file for lynx until
27951 further notice.
27952
27953 * gdb.base/signals.exp: xfail test where "next" acts like
27954 "continue" for lynx.
27955
27956 * gdb.base/interrupt.exp: xfail test for calling function while
27957 inferior is asleep for lynx.
27958
27959 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
27960 than one cr-lf after each command.
27961
27962 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27963
27964 * configure.in: Reinstate setting of stabsdirs variable, fix
27965 typo in setting up configdirs for native builds.
27966
27967 * gdb.base/return.exp: Fix typo in return double test.
27968 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
27969 compiler from optimizing them away.
27970
27971 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
27972
27973 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
27974 sequences to be echo'd by gdb when using gdb_test.
27975 * gdb.chill/chexp.exp: Likewise.
27976 * gdb.fortran/exprs.exp: Likewise
27977
27978 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27979
27980 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
27981 after the inferior gdb has started.
27982
27983 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
27984 after each command.
27985 * gdb.base/funcargs.exp: Likewise.
27986 * gdb.base/gdbvars.exp: Likewise.
27987 * gdb.base/interrupt.exp: Likewise.
27988 * gdb.base/list.exp: Likewise.
27989 * gdb.base/watchpoint.exp: Likewise.
27990 * gdb.c++/demangle.exp: Likewise.
27991 * gdb.c++/inherit.exp: Likewise.
27992 * gdb.chill/chexp.exp: Likewise.
27993 * gdb.fortran/exprs.exp: Likewise.
27994
27995 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
27996 test if we can't handle IO to/from the inferior.
27997
27998 * gdb.c++/misc.exp: Always check for a program already being
27999 started after sending a "run" command to gdb.
28000
28001 * gdb.base/twice.exp: Start with a fresh gdb.
28002
28003 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
28004 only depend on gdb's expression code, not the chill runtime.
28005
28006 * gdb.base/return.c: Put return values into variables so we
28007 can have gdb print them rather than depending on the program
28008 to print them.
28009 * gdb.base/return.exp: Corresponding changes.
28010
28011 * lib/gdb.exp: Provide default value for noinferiorio.
28012 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
28013 the inferior.
28014
28015 * gdb.base/break.exp: Always check for a program already being
28016 started after sending a "run" command to gdb.
28017 (text_next_with_recursion): Don't check the output from the
28018 program's printf statement. Instead just make sure the program
28019 exited.
28020
28021 * gdb.base/commands.exp: Protect tests which need arguments with
28022 $noargs conditionals.
28023
28024 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28025
28026 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
28027 of structure member arrays to match gdb/valops.c:value_addr change.
28028
28029 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
28030
28031 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
28032 cases.
28033
28034 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
28035
28036 * configure.in (configdirs): Remove gdb.chill from default list
28037 of subdirs and then add it back in only if doing a native build.
28038 The current chill compiler does not yet work in any cross build.
28039 * Revert all signal changes from Jul 6.
28040 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
28041 for sh-hms targets, allowing these tests to link, with no other
28042 changes. Testing is suppressed by setting "nosignals" in site.exp.
28043
28044 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
28045
28046 * configure.in (signaldirs): Define and add to configdirs for all
28047 targets except some specific ones that are known to not support signals.
28048 Also clean up formatting.
28049 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
28050 (signals, sigall): Remove rules to build.
28051 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
28052 Moved to new gdb.signals directory.
28053 * gdb.signals: New test directory.
28054 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
28055 signals.c signals.exp}: New or moved files.
28056
28057 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
28058
28059 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
28060
28061 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
28062
28063 * gdb.base/return.exp: Xfail `return double' test failure
28064 on at least Solaris 2.3 and handle future/past versions on
28065 a case by case basis as appropriate. Also update message
28066 to include i*86 failures.
28067
28068 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28069
28070 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
28071
28072 * lib/gdb.exp: Fix comment which erroneously identified
28073 gdb_file_cmd as gdb_load (the 19 May change was in fact to
28074 gdb_file_cmd not gdb_load).
28075 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
28076
28077 * gdb.base/setvar.exp: Make test names consistent between pass and
28078 fail cases. Use gdb_test more.
28079
28080 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28081
28082 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
28083
28084 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28085
28086 * gdb.base/help.exp: Fix expected help string for `show commands'.
28087
28088 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
28089
28090 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
28091
28092 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
28093 of a text section.
28094
28095 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
28096
28097 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
28098 that loop eventually terminates. Fix Connection refused logic so
28099 that testsuite will expire nicely.
28100
28101 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
28102
28103 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
28104 config/rom68k.exp: New tcl glue for the appropriate monitors.
28105 These all just end up calling monitor.exp.
28106 * config/monitor.exp (gdb_target_monitor): Handle `Connection
28107 refused' by retrying. Cleanup some timeout issues.
28108 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
28109 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
28110 callers don't have to set/restore global timeout variable.
28111
28112 * The following set of changes centralizes management of the global
28113 timeout variable. This way, it can be set in one target dependent
28114 place instead of dozens of places scattered throughout the test suite.
28115 If you need to lengthen a timeout, then you should either set timeout
28116 in one of the config/{target}.exp files, or multiply it by a factor.
28117 Setting it to an absolute value is always going to lose for some
28118 targets.
28119 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
28120 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
28121 * gdb.base/funcargs.exp: Don't set timeout.
28122 * gdb.base/list.exp (test_forward_search): Only use local timeout.
28123 * gdb.base/printcmds.exp (test_print_string_constants
28124 test_print_array_constants): Don't set timeout.
28125 * gdb.base/ptype.exp: Don't set timeout.
28126 * gdb.base/recurse.exp: Don't set timeout.
28127 * gdb.base/return.exp: Don't set timeout.
28128 * gdb.base/watchpoint.exp: Don't set timeout.
28129 * gdb.c++/classes.exp (do_tests): Don't set timeout.
28130 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
28131
28132 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
28133
28134 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
28135
28136 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28137
28138 * lib/gdb.exp: Disable chill tests for irix5.
28139
28140 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28141
28142 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
28143 each test pass or fail.
28144
28145 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28146
28147 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
28148 xlc not gcc.
28149
28150 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
28151
28152 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
28153
28154 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
28155
28156 * config/est.exp: Fix copyright and comments. Remove dead code.
28157 Use targetname, serialport and baud variables instead of fixed
28158 constants.
28159 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
28160 * config/cpu32bug.exp: New file to support cpu32bug monitors.
28161
28162 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28163
28164 * gdb.base/watchpoint.exp: Don't run
28165 test_watchpoint_triggered_in_syscall for sunos.
28166
28167 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28168
28169 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
28170 they don't seem to exist. Do include stdio.h.
28171
28172 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28173
28174 * gdb.base/a1-selftest.exp: Add alpha xfail.
28175
28176 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28177
28178 * gdb.base/watchpoint.c (main): Prompt before calling read().
28179 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
28180 Revise accordingly. Remove cruft about sending "123" several
28181 times, until it gets noticed. Clean up the "print buf[0]" stuff
28182 so that it passes or fails, and waits for prompts in the usual way.
28183
28184 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28185
28186 * gdb.base/recurse.exp: Fix comment.
28187
28188 * TODO: Remove item about printing variables in nodebug.exp. Add
28189 item about enabling tests which are only run on some targets.
28190
28191 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
28192 fail, make test names unique, use new gdb_test convention
28193 regarding pattern, use gdb_test more, etc.).
28194
28195 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
28196 fail, make test names unique, etc.).
28197
28198 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28199
28200 * gdb.base/nodebug.c: Change return type of top and middle to
28201 short.
28202 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
28203 are fixed by the recent mdebugread.c changes. Allow `short ()'
28204 as type for top and middle.
28205
28206 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28207
28208 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
28209 nearly as I can tell, the whole thing was an accident in Stu's
28210 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
28211 to replace a send/expect pair with gdb_test, but ended up only
28212 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
28213 of 30 Mar 1995 took care of it, but left this vestigial comment
28214 which I am now nuking.
28215
28216 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28217
28218 * gdb.base/break.exp: Look for different line number for
28219 breakpoint at main depending on usestubs.
28220
28221 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28222
28223 * gdb.base/list.exp: Adjust some alternate expect patterns to
28224 match recent list0.c change. Add alternate expect pattern for
28225 output from `list default lines around main' for optimizing
28226 compilers.
28227
28228 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28229
28230 * lib/gdb.exp: If nosignals is not set, set it to 0.
28231
28232 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
28233
28234 * config/slite-gdb.exp: Responds to load symbol table prompt.
28235 * gdb.base/break.exp: Adjust line number, fix rerun.
28236 * gdb.base/langs0.c: Add #ifdef usestubs.
28237
28238 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
28239
28240 * gdb.base/list.exp: Adjust line contents after adding new lines in
28241 list0.c. Also fix a syntax error.
28242
28243 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
28244 * gdb.base/break.exp: ditto.
28245 * gdb.base/list.exp: ditto.
28246 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
28247 * gdb.base/run.c: ditto.
28248 * gdb.base/list0.c: ditto.
28249 * gdb.base/funcargs.c: ditto.
28250
28251 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
28252
28253 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
28254 $targetname, $serialport and $baud instead of hardwired variables.
28255 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
28256 target doesn't support signals.
28257
28258 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
28259
28260 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
28261
28262 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28263
28264 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
28265 Don't rely on the value of an auto variable before it has been
28266 initialized. Use gdb_test more.
28267
28268 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28269
28270 * lib/gdb.exp (default_gdb_version): A version number must start
28271 with a digit, but other than that contains all characters up to
28272 the first whitespace character.
28273
28274 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28275
28276 * gdb.base/commands.exp (breakpoint_command_test): New tests.
28277
28278 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28279
28280 * gdb.c++/*.exp: Warn if executable does not exist. The original
28281 reason for skipping the warning was that configure.in sometimes
28282 intentionally skipped building the executables but the tcl code
28283 had no way of knowing. That (a) was always bogus with respect to
28284 error handling, (b) is no longer true (right now there is no way
28285 to skip C++ tests).
28286
28287 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
28288
28289 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28290
28291 * gdb.base/list.exp: Add expect patterns for output from
28292 SunPRO compiled executables.
28293 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
28294 types.
28295
28296 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28297
28298 * gdb.base/break.exp (test_next_with_recursion): Accept any line
28299 number (we are already testing that the correct source line text
28300 gets printed).
28301
28302 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
28303 that is what is intended, but something needed to be done to get
28304 sunos4 native working again.
28305
28306 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
28307
28308 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
28309 apparently went with a (very) old xfail.
28310
28311 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
28312
28313 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
28314 runto_main is a proc in gdb.exp that will do 'step' for target use
28315 stubs.
28316 * gdb.base/exprs.exp: ditto.
28317 * gdb.base/interrupt.exp: ditto.
28318 * gdb.base/opaque.exp: ditto.
28319 * gdb.base/printcmds.exp: ditto.
28320 * gdb.base/ptype.exp: ditto.
28321 * gdb.base/scope.exp: ditto.
28322 * gdb.base/setvar.exp: ditto.
28323 * gdb.base/signals.exp: ditto.
28324 * gdb.base/twice.exp: ditto.
28325 * gdb.c++/classes.exp: ditto.
28326 * gdb.c++/inherit.exp: ditto.
28327 * gdb.c++/templates.exp: ditto.
28328 * gdb.base/break.exp: no run and hit main for stubs. Change line
28329 numbers for breakpoints and info breakpoint.
28330 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
28331 breakpoint().
28332 * gdb.base/callfuncs.c: ditto.
28333 * gdb.base/exprs: ditto.
28334 * gdb.base/interrupt.c: ditto.
28335 * gdb.base/opaque0.c: ditto.
28336 * gdb.base/printcmds.c: ditto.
28337 * gdb.base/ptype.c: ditto.
28338 * gdb.base/scope0.c: ditto.
28339 * gdb.base/setvar.c: ditto.
28340 * gdb.base/signals.c: ditto.
28341 * gdb.base/twice.c: ditto.
28342 * gdb.c++/misc.cc: ditto.
28343 * gdb.c++/templates.cc: ditto.
28344
28345 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28346
28347 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
28348
28349 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
28350 somewhere between `read' and `main.c'. I'm pretty sure the
28351 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
28352 and it isn't particularly useful.
28353
28354 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
28355
28356 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28357
28358 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
28359
28360 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
28361
28362 * config/mt-slite: add LIBS and -nostdlib.
28363 * config/slite-gdb.exp: add this new file to support sparclite target.
28364
28365 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
28366
28367 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
28368
28369 * gdb.base/a2-run.exp: Change argument to istarget from
28370 "*-*-vxworks" to "*-*-vxworks*".
28371 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
28372
28373 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
28374
28375 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
28376 will not runto main but do a 'step' to step out of breakpoint().
28377 * config/mt-slite: add -Dusestubs.
28378
28379 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28380
28381 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
28382 instead of just @.
28383
28384 * gdb.base/signals.exp: Add test for "handle all print".
28385 * TODO: Remove "handle all print". Also remove item about
28386 checking copyright date (I don't like the idea of a spurious FAIL
28387 based on when we run the tests).
28388
28389 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
28390 for SunOS4 (reason for failure not investigated). Remove
28391 redundant test for $binfile.
28392
28393 * gdb.base/nodebug.c (array_index): Call malloc.
28394
28395 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
28396
28397 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
28398
28399 * gdb.base/recurse.exp: Update gdb_test invocation to use new
28400 conventions and slightly simplify the matching regexp.
28401
28402 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28403
28404 * gdb.base/break.exp: Update gdb_test invocation to use new
28405 convention.
28406
28407 * lib/gdb.exp: If noargs is not set, set it to 0.
28408
28409 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
28410 tests unique.
28411
28412 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
28413
28414 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28415
28416 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
28417 one argument of type "<non-float parameter>".
28418
28419 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
28420
28421 * config/rom68k.exp: New file to support Motorola IDP board.
28422 * gdb.base/a2-run.exp: Skip this file if noargs is set.
28423 * gdb.base/break.c: Change things around so that this program
28424 doesn't depend upon args. This is necessary to make remote
28425 targets work (in general, they can't take args).
28426 * gdb.base/break.exp: Don't try to send args to program. Don't
28427 expect output. Also, replace lots of code with gdb_test.
28428
28429 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28430
28431 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
28432 printing of '\'' (which is what the comment says we are testing,
28433 even though we were not), not '''.
28434 (test_integer_literals_rejected): Test that printing ''' is an error.
28435
28436 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28437 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
28438 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
28439 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
28440 Use gdb_test not test_print_accept.
28441 * lib/gdb.exp: Remove test_print_accept.
28442
28443 * gdb.base/signals.exp (signal_tests_1): Make pass message
28444 consistent with fail message.
28445
28446 * gdb.base/whatis.exp: Remove xfails for printing char vs.
28447 unsigned char; the bug (PR 1821) is fixed.
28448
28449 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
28450
28451 * gdb.base/scope.exp (test_at_localscopes): Call pass for
28452 successful tests--makes xfailing them work right.
28453
28454 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28455
28456 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
28457 only \r\n, not .*. The test can pass .* as the last thing in
28458 $pattern if that is what it wants. In addition to providing this
28459 flexibility, this change should speed up pattern matching in cases
28460 where the pattern already ended with .* (there were a number of
28461 them). This change also helps catch bad patterns--in the old
28462 scheme the typo "char \*" instead of "char \\*" would pass. Now
28463 it is caught.
28464 * Many .exp files: Update callers.
28465
28466 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
28467 clearer and does not spuriously match multiple ('s. Likewise for
28468 ) and *.
28469
28470 * gdb.base/nodebug.exp: Test ability to call a function and pass
28471 it a string (even with no debugging info).
28472
28473 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
28474 "p '\'", which is the same as "p ''" once tcl gets done with
28475 quoting, to "p '\\'", which I suspect is what is intended (one
28476 backslash gets sent to GDB).
28477
28478 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
28479
28480 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28481
28482 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
28483 1817) was fixed literally years ago.
28484
28485 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28486
28487 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
28488 test, it causes stepping out of call_after_alloca_subr with
28489 optimizing compilers.
28490 (localvars_in_indirect_call): Consume GDB prompt if `finish'
28491 fails.
28492
28493 * gdb.c++/templates.exp: Source templ-info.exp only if
28494 the templates executable exists.
28495
28496 * gdb.c++/misc.cc (class Contains_static_instance,
28497 class Contains_nested_static_instance),
28498 gdb.c++/classes.exp (test_static_members): Test printing of
28499 a class that contains a static instance of the class.
28500
28501 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28502
28503 * gdb.base/langs2.c (cppsub_): Don't prototype.
28504 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
28505 only, I believe).
28506
28507 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28508
28509 * lib/gdb.exp (skip_chill_tests): New procedure.
28510
28511 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
28512
28513 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
28514
28515 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
28516 each expect pattern. Cuts runtime from 12 to about 4 seconds.
28517
28518 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28519
28520 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
28521
28522 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
28523 disassemble 8, not 16, instructions for part 4.
28524
28525 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
28526 support the latter anymore.
28527
28528 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
28529 -DNO_PROTOTYPES.
28530 * gdb.base/callfuncs.c: Control use of prototypes based on
28531 NO_PROTOTYPES, not __STDC__.
28532 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
28533 t_float_values2 tests if prototypes in use.
28534
28535 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
28536 t_double_values): When checking differences against DELTA, check
28537 that difference is within the range (-DELTA,DELTA), not just
28538 (-infinity,DELTA).
28539
28540 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
28541
28542 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
28543 'file' command firts, then 'target', then 'load', this is due to gdb
28544 target set up.
28545 * config/mips-gdb.exp: Fix a couple regular exp bugs.
28546
28547 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
28548
28549 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
28550 FP load/store variants.
28551 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
28552
28553 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28554
28555 * gdb.base/term.exp: Do not give a warning if not native, it is
28556 not an abnormal condition.
28557
28558 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
28559
28560 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
28561 t_char_array".
28562
28563 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28564
28565 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
28566 are getting the version number.
28567
28568 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
28569 if not native, it is not an abnormal condition.
28570
28571 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28572
28573 * lib/gdb.exp: Just use "file exists", rather than undocumented
28574 dejagnu procedure "findfile".
28575
28576 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28577
28578 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
28579 (LDFLAGS): Set to -Xlinker -Ur.
28580
28581 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
28582 Removed, these values are set by lib/gdb.exp.
28583
28584 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
28585
28586 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28587
28588 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
28589 of replicating gdb startup code.
28590
28591 * config/mt-vxworks (LDFLAGS): Set to -r.
28592 (CFLAGS_FOR_TARGET): Removed.
28593
28594 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
28595 (gdb) and gdb for vxworks uses (vxgdb).
28596
28597 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
28598 executable is not in the tree and host != target, use sed and
28599 program_transform_name to determine the gdb name used by the
28600 target.
28601
28602 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
28603 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
28604
28605 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28606
28607 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
28608 floats, chars, and shorts where there are ANSI-style function
28609 definitions.
28610
28611 * gdb.base/langs.exp, gdb.base/langs*: New test.
28612 * gdb.base/Makefile.in: Build it.
28613 * TODO: Remove item about checking that C names don't get C++
28614 demangling applied; this test tests it.
28615
28616 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28617
28618 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
28619 went with the const70 xfail. The xfail went away a year ago.
28620
28621 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
28622
28623 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
28624 for hp300.
28625
28626 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
28627
28628 * gdb.base/a1-selftest.exp: Don't run on hp300.
28629
28630 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28631
28632 * Makefile.in (site.exp): Set host_alias and target_alias as well
28633 as host_triplet and target_triplet.
28634
28635 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28636
28637 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
28638
28639 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
28640 places as other ecoff systems).
28641
28642 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
28643 ultrix.
28644
28645 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28646
28647 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
28648 remove them.
28649 * gdb.base/nodebug.exp: Accept "function" in addition to "text
28650 variable and "variable" in addition to "data variable".
28651 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
28652
28653 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
28654 2.
28655 * gdb.base/list1.c (long_line): Add additional statement at start
28656 of function.
28657 * gdb.base/list.exp (test_forward_search): Update line number to
28658 reflect new statement.
28659
28660 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28661
28662 * gdb.base/signals.exp: Reinitialize searched source directories
28663 after gdb_start call.
28664
28665 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
28666
28667 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
28668 * gdb.stabs/Makefile.in: Likewise.
28669
28670 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
28671 change. Instead split the tests into smaller pieces.
28672 * gdb.disasm/hppa.s: Corresponding changes.
28673
28674 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28675
28676 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28677 Quote ^C when passing it to stty. For some shells ^ is a pipe.
28678
28679 * gdb.base/funcargs.exp: Modify many tests so that every test
28680 either passes or fails. Make some test names unique.
28681
28682 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28683
28684 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28685 Call stty to set interrupt character.
28686
28687 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
28688 for HP assembler versus GNU assembler based on actual behavior of
28689 $(CC), rather than assuming that $(AS) is always the GNU assembler.
28690
28691 * TODO: Suggest a few more stepping tests.
28692
28693 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
28694
28695 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
28696 restart GDB for h8300 after a continue.
28697 (return): Add pattern to match a29k-udi behavior.
28698 * gdb.base/nodebug.exp: Remove obsolete comment.
28699 * gdb.base/regs.exp: New file, testing of register displays.
28700 * gdb.base/return.exp: Fix typo in reference to $objdir.
28701 * gdb.base/whatis.exp: Always start with a fresh GDB.
28702
28703 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28704
28705 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
28706 higher, these tests generate a lot of output.
28707
28708 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28709
28710 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
28711 code following the catch silently ignored some errors; without the
28712 catch they should be thrown like any other tcl error. Also, the
28713 catch used "" instead of {} which meant all the callers who wanted
28714 to include one of the characters "[]$ had to quote it an extra time.
28715 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
28716 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
28717 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
28718 Remove extra quoting.
28719
28720 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
28721
28722 * gdb.base/commands.exp: Make test names unique; every test either
28723 passes or fails. Update some comments.
28724
28725 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
28726
28727 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28728
28729 The following fixes a FAIL caused by the fact that the alpha stabs
28730 configuration didn't use the ".if alpha" code in weird.def.
28731 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
28732 bit pointer, so the 32 bit version works even on the alpha.
28733 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
28734 Remove the stuff which allowed us to have separate versions for
28735 alpha and everything else.
28736
28737 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
28738 regexp which "info func operator\[\](" is supposed to match. Fix
28739 string to send to GDB. Note that GDB still doesn't work right. Add a
28740 new test for "info func .perator\[\](" which GDB does handle correctly.
28741
28742 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
28743
28744 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28745
28746 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
28747 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
28748 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
28749 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
28750 it makes the tests harder to understand and confuses test-o-matic.
28751 The preferred style is that each test provides a PASS or a FAIL,
28752 and has a unique message (e.g. "continue #54" not just "continue")
28753 which is the same for the pass and the fail.
28754 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28755 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
28756 to lib/gdb.exp.
28757 * gdb.base/printcmds.exp: Use test_print_accept. Remove
28758 prt_accept which was basically the same thing. Likewise for
28759 test_print_reject and prt_reject.
28760 * lib/gdb.exp (test_print_reject): Add some more error message
28761 patterns to match from the former printcmds.exp (prt_reject).
28762 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
28763 One defect of the passcount stuff is that some of it failed to
28764 report XPASS where appropriate.
28765 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
28766 stuff before and after arg in expected pattern.
28767 (test_paddr_operator_functions): Re-do test without print_addr_of;
28768 this is the only test which seems to want extra stuff there.
28769
28770 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28771
28772 * gdb.base/nodebug.exp: Update new tests to reflect improved
28773 wording of gdb output.
28774
28775 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
28776 and "ptype" work on variables in files compiled without -g.
28777 Replaces commented out "maint print msymbol" tests.
28778
28779 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28780
28781 * gdb.base/setvar.c (dummy): Call malloc.
28782
28783 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
28784 losing with the irix4 sed.
28785
28786 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
28787 ALRM" on irix4.
28788
28789 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28790
28791 * TODO: Remove items about corefile.exp testing new exec-file and
28792 backtrace; both are now done. Add items about printing enums.
28793
28794 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28795
28796 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
28797 "get signal $thissig" test fails.
28798
28799 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
28800
28801 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28802
28803 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
28804 compiler warning with dec alpha compiler.
28805
28806 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
28807 extra \n from gdb_test call (this explains why the prompt test
28808 that I removed yesterday was there).
28809 (user_defined_command_test): Remove extra \n and prompt test.
28810
28811 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
28812 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
28813 doesn't exist.
28814 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
28815 Also remove alpha workaround, which turns out to be because
28816 SIGABRT == SIGLOST.
28817
28818 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
28819
28820 * gdb.base/help.exp: Don't test "help show".
28821
28822 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28823
28824 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
28825 "set print address" is on.
28826 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
28827 pass prompt to gdb_test; gdb_test already looks for the prompt.
28828
28829 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
28830
28831 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
28832 was a vestige of the manual TESTSTRATEGY, and the purpose of it
28833 was to make sure that gdb can read a core file. But (a) the "read
28834 the corefile" part didn't make it to a1-selftest.exp, we just
28835 delete the corefile after creating it, and (b) we test reading
28836 corefiles in corefile.exp anyway. Also, this test left around a
28837 xgdb process on Solaris.
28838
28839 * gdb.base/corefile.exp: Also test backtrace.
28840
28841 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
28842
28843 * gdb.base/commands.exp: Test a simple user defined command with
28844 arguments and if/while statements; verify the full user command is
28845 printed by "show user".
28846
28847 * gdb.base/commands.exp: Test if/while commands as part of a
28848 breakpoint command list; verify they appear in breakpoint
28849 information.
28850
28851 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28852
28853 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
28854 than by dividing by zero.
28855
28856 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
28857
28858 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
28859 performing an inferior call with watchpoints enabled.
28860 * gdb.base/watchpoint.c (main): Delete second unnecessary read
28861 call.
28862
28863 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28864
28865 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
28866 of "file" command.
28867
28868 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
28869 Add additional pattern for when "int operator int(void);" appears
28870 in a different order.
28871
28872 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28873
28874 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
28875
28876 * gdb.base/help.exp: Replace most of docstrings for "info signals"
28877 and "signal" with ".*".
28878
28879 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28880
28881 * TODO: Add note about "handle all nostop".
28882
28883 * gdb.base/{sigall.c, sigall.exp}: New test.
28884 * gdb.base/Makefile.in: Add it.
28885
28886 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
28887
28888 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
28889 when invoking GDB, suppresses any windowing interface.
28890
28891 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
28892
28893 * config/sim-gdb: New file, simulator testing support.
28894
28895 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
28896
28897 * gdb.base/interrupt.exp: Test calling func1 twice.
28898
28899 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
28900
28901 * gdb.base/list.exp (test_forward_search): Set timeout higher
28902 when we'll be getting lots of output from gdb.
28903
28904 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
28905 "init_malloc" to after the expect statement. Run it if that
28906 regexp is taken, but also for two others which happen if source
28907 cannot be found.
28908
28909 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28910
28911 * gdb.base/printcmds.exp: New test, for printing register before
28912 program is running.
28913
28914 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28915
28916 * gdb.base/list.exp: Correct some alternate expect patterns
28917 to reflect changes in list1.c.
28918
28919 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28920
28921 * TODO: Add item regarding large frames.
28922
28923 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
28924
28925 * TODO: Remove item about enabling return.exp; it
28926 is enabled. Suggest a few more "return" tests.
28927
28928 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28929
28930 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
28931 anonymous unions.
28932
28933 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28934
28935 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
28936 and pr-5646.o, so "make" is the same as "make all", not "make
28937 pr-4975.o".
28938
28939 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
28940
28941 * gdb.base/list.exp: Adjust expectations to reflect changes in
28942 list1.c.
28943 (test_forward_search): New test proc.
28944 * gdb.base/list1.c (long_line): New function, has long source line.
28945
28946 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
28947
28948 * gdb.base/a1-selftest.exp: Change initial stepping to know about
28949 additional line of code that was added.
28950
28951 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
28952
28953 * gdb.disasm/hppa.s: Break the large branching tests into smaller
28954 tests so as not to overflow expect's input buffers.
28955 * gdb.disasm/hppa.exp: Corresponding changes.
28956
28957 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28958
28959 Beginnings of template debugging tests.
28960 * gdb.c++/templ-info.cc: New file to test for template
28961 debugging capability of the compiler.
28962 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
28963 templ-info.cc.
28964 * gdb.c++/templates.cc: Add explicit template instantiations
28965 to enable compiling with -fno-implicit-templates. Add destructor
28966 and 'value' method to T5 class for template tests.
28967 * gdb.c++/templates.exp: Add testcases for printing of template
28968 types, setting breakpoints on template methods and calling a
28969 template method.
28970
28971 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
28972
28973 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
28974 branch target since some assemblers (gas-2.5) may emit a
28975 relocation for the branch instead of resolving it in the
28976 assembler.
28977
28978 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28979
28980 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
28981 through signal handler.
28982
28983 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28984
28985 * configure.in (*-*-netware): Use config/mt-netware.
28986
28987 * config/mt-netware: New file.
28988 * config/mt-i386-netware: Removed, separate configs for different
28989 netware architectures are no longer needed now that we have
28990 --with-headers.
28991
28992 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28993
28994 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
28995 by the recent changes to use ANSI C arithmetic conversions.
28996
28997 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28998
28999 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
29000 bug involving using inferior_pid to figure out whether to select a
29001 frame.
29002
29003 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
29004
29005 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
29006 match the current disassembler output.
29007
29008 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
29009
29010 * gdb.fortran/exprs.exp: Expect VOID instead of void.
29011 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
29012 types, expect "int" as type of integer values (for now).
29013
29014 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
29015
29016 * gdb.base/commands.exp: New tests for if/while commands.
29017
29018 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
29019
29020 * lib/gdb.exp (runto): Replace sub-pattern for hex value
29021 by .*, since hex values have different syntax in Chill mode.
29022
29023 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29024
29025 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
29026 linefeed from expect pattern for repeated types with indices > 9.
29027
29028 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
29029
29030 First part of Fortran test suite.
29031 * gdb.fortran: New directory.
29032 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
29033
29034 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29035
29036 * gdb.base/default.exp: Update expect pattern for load command
29037 without arguments.
29038
29039 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
29040
29041 * configure.in: Change i386 to i[345]86.
29042 * gdb.base/configure.in: Likewise.
29043 * gdb.c++/configure.in: Likewise.
29044 * gdb.chill/configure.in: Likewise.
29045
29046 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
29047
29048 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
29049 patterns, since that is not a valid context for comments.
29050
29051 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
29052
29053 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
29054 repeated types and repeated types with indices > 9.
29055
29056 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
29057
29058 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
29059 2417; old bug has been fixed.
29060
29061 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
29062
29063 * gdb.base/interrupt.exp: When trying to wake up the inferior,
29064 send the newline ourselves instead of assuming gdb_test will do
29065 so when passed an empty input string.
29066
29067 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
29068 stabs testcode.
29069
29070 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29071
29072 * lib/gdb.exp (gdb_test): Don't send anything if the first
29073 argument is an empty string. This makes cases where we want to
29074 match output that is already in expect's buffers (for example,
29075 matching a breakpoint after gdb_run_cmd has been called) work
29076 reliably.
29077
29078 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29079
29080 * config/netware.exp: New file.
29081
29082 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29083
29084 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
29085 the -B and -L prefixes so we can find the debugging stub.
29086
29087 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
29088 there and we are using the gcc from the tree.
29089
29090 * gdb.base/types.c: Removed.
29091
29092 * gdb.base/configure.in: Look for makefile fragments in ../config.
29093 Recognize i386-*-netware.
29094 * gdb.c++/configure.in: Likewise.
29095
29096 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29097
29098 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
29099 the correct TCL syntax.
29100
29101 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29102
29103 * gdb.base/opaque.exp: use runto instead of messing around with
29104 breakpoints. Simplify by using gdb_test.
29105
29106 * gdb.base/bitfields.exp: restart between tests on netware targets
29107 because breakpoints aren't relocated after target death. Run
29108 processes to completion.
29109
29110 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
29111
29112 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
29113
29114 * Makefile.in: Remove extra tabs that confuse some versions
29115 of "make". Use the newly built gdb to test with by default,
29116 rather than the first one in the tester's search path.
29117
29118 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
29119
29120 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
29121
29122 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
29123 condition help.
29124
29125 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29126
29127 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
29128
29129 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
29130 running.
29131 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
29132 * gdb.base/funcargs.exp: Likewise.
29133
29134 * gdb.base/bitfields.exp: Simplify by using gdb_test.
29135 * gdb.base/funcargs.exp: Likewise.
29136
29137 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
29138 message is "".
29139
29140 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29141
29142 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
29143 return,signals,twice}.exp: Handle non-existant binaries
29144 consistantly.
29145
29146 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
29147 * gdb.base/Makefile.in: Don't try to generate a core dump, we
29148 might testing a cross development system.
29149
29150 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29151
29152 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
29153 runtest script is relative to ${srcdir}, not ${rootdir}.
29154
29155 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
29156
29157 * gdb.base/signals.exp: Allow for optionality of breakpoint
29158 address.
29159
29160 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29161
29162 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
29163
29164 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29165
29166 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
29167 for size_t definition.
29168 * gdb.c++/templates.cc: Likewise
29169
29170 * config/mt-i386-netware: New file.
29171
29172 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
29173 defined.
29174
29175 * gdb.base/Makefile.in: Added support for systems that name core
29176 files by appending "core" to the program name.
29177 * gdb.base/a1-selftest.exp: Likewise.
29178
29179 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29180
29181 * gdb.base/return.exp: Add comment and message for `return double'
29182 test failure on Sparc Solaris.
29183
29184 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
29185
29186 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
29187
29188 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29189
29190 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
29191 from optimizing them away.
29192 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
29193 patterns to include default constructors and assignment operators,
29194 to match gcc versions beyond 2.5.8. Accept any cplus demangling
29195 character in the output of the virtual base pointer.
29196
29197 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29198
29199 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
29200 expression match in print_addr_of to avoid unintented matches.
29201 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
29202 versions up to 2.5.8.
29203
29204 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29205
29206 * gdb.base/list.exp: Tweak alternate pattern for listing of an
29207 included file to run under newer versions of expect.
29208 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
29209 consecutive >'s in templates to accomodate recent cplus-dem.c change.
29210 Remove xfail for the virtual table of BDDHookV.
29211
29212 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
29213
29214 * lib/gdb.exp (string_to_regexp): Set a default result.
29215 (default_gdb_start): Fix misleading message.
29216
29217 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
29218
29219 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
29220 Remove all CC, etc definitions.
29221 * config/mt-hpux: New file.
29222 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
29223 (CFLAGS, LDFLAGS): Define.
29224 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
29225
29226 * Makefile.in (site.exp): Don't insert host_os, etc.
29227 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
29228 (distclean): Check existence of subdir.
29229 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
29230 * gdb.base/Makefile.in: General cleanup and simplification.
29231 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29232 to build executables. Use default rule to build .o files.
29233 (EXPECT, RUNTEST, CC): Fix relative pathname.
29234 (site.exp): Don't insert host_os, etc.
29235 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
29236 and/or SIGUSR1 defined.
29237 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
29238 * gdb.c++/Makefile.in: General cleanup and simplification.
29239 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29240 (CFLAGS): Remove.
29241 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
29242
29243 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
29244
29245 * gdb.base/recurse.exp: Misc changes to get tests running again
29246 after Kung's changes to the watchpoint code.
29247 * gdb.base/watchpoint.exp: Likewise.
29248
29249 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
29250
29251 * lib/gdb.exp (string_to_regexp): Convert {\} also.
29252
29253 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
29254
29255 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
29256 * lib/gdb.exp (default_gdb_start): Define.
29257 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
29258 gdb.base/funcargs.exp, gdb.base/opaque.exp,
29259 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
29260 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
29261 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
29262 Don't call gdb_target_udi in between tests.
29263
29264 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29265
29266 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
29267 (which was basically just a local version of the same thing). In
29268 addition to avoiding duplication, gdb_test_exact is faster.
29269 * lib/gdb.exp (gdb_test_exact): Fix typo.
29270
29271 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
29272 don't give an error.
29273
29274 * gdb.base/term.exp: Call delete_breakpoints before starting.
29275
29276 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
29277 (t10): Add comment.
29278
29279 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29280
29281 Reorganization of the GDB Test Suite.
29282
29283 * gdb.base: New directory, contains all the basic tests.
29284 * gdb.c++: New directory, tests specific to C++.
29285 * gdb.chill: New directory, tests specific to Chill.
29286 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
29287 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
29288 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
29289 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
29290 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
29291 t30-31 to chill).
29292 * */gdbme.*: Rename to match appropriate expect scripts.
29293 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
29294 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
29295 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
29296 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
29297 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
29298 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
29299 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
29300 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
29301 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
29302 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
29303 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
29304 gdb.c++/virtfunc.cc: New names of C++ files.
29305 * gdb.chill/chillvars.ch: New name of Chill file.
29306 * gdb.base/configure.in, gdb.c++/configure.in,
29307 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
29308 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
29309 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
29310 * configure.in (configdirs): Update to reflect directory changes.
29311 (target_abbrev): No longer define for any configuration.
29312 * Makefile.in: Cosmetic improvements to header comments.
29313
29314 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
29315
29316 Various changes to gdb.t31:
29317
29318 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
29319 * gdbme.ch: Make all key-words and predefineds be upper-case.
29320 * chillvars.exp: Expect key-words and predefinds in upper-case.
29321
29322 * chillvars.exp: Use gdb_test_exact many places.
29323 Change expected output for arrays (which now includes index labels).
29324
29325 * pr-5020.exp, gdme.ch (module PR_5020):
29326 New test, for PR-5020.
29327
29328 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
29329
29330 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
29331 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
29332
29333 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
29334
29335 * Makefile.in: Fix bit-rot in definitions of CHILL,
29336 CHILL_FOR_TARGET and Chill_LIB.
29337 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
29338 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
29339 CHILL, and CHILL_LIB.
29340
29341 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
29342
29343 * Revert the previous changes. Please see Rob's directory
29344 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
29345
29346 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
29347
29348 * Makefile.in, configure.in, config/mips-gdb.exp,
29349 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
29350 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
29351 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
29352 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
29353 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
29354 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
29355 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
29356 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
29357 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
29358 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
29359 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
29360 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
29361 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
29362 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
29363 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
29364 changes from 94Q1.
29365
29366 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
29367
29368 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
29369 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
29370 Rob's new testing fragments.
29371
29372 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
29373
29374 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
29375 lib/gdb.exp: Replace error proc calls with perror.
29376
29377 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29378
29379 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
29380 version also, match on casted version strings, and match on
29381 gdb startup case where the line numbers might be messed up.
29382
29383 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
29384
29385 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
29386 (CFLAGS): Delete it from here.
29387
29388 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
29389
29390 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
29391
29392 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
29393
29394 * Makefile.in (RUNTEST): Default to just "runtest".
29395
29396 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29397
29398 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
29399 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
29400 the code has been restructured.
29401
29402 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29403
29404 * gdb.t00/default.exp (set write): Allow any number of \r and/or
29405 \n, not just one of each.
29406
29407 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
29408 /bin/cc gives a warning if you do.
29409
29410 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
29411
29412 * gdb.t24/demangle.exp: change expect pattern of
29413 __t10ListS_link1ZUiRCUiPT0
29414
29415 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29416
29417 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
29418 on local variables in recursive functions.
29419
29420 * gdb.t07/Makefile.in: Build the new test.
29421
29422 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29423
29424 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
29425 directly. Instead compare the return values from actual calls.
29426
29427 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
29428
29429 * Makefile.in (check): Set TCL_LIBRARY for runtest.
29430
29431 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29432
29433 * From Peter Schauer with minor modifications.
29434 * gdb.t15/return.exp (return_tests): Handle targets where "return"
29435 stops in mid-line in the caller. Add xfail for returning a float
29436 value on X86 targets.
29437
29438 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29439
29440 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
29441 to avoid expect lossage.
29442 (fmem_LRbug_tests): Likewise.
29443 * gdb.disasm/hppa.s: Corresponding changes.
29444
29445 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
29446 conditions to work with latest dejagnu/expect.
29447
29448 * gdb.t15/funcargs.exp (finish from indirect call): No longer
29449 expected to fail on the PA.
29450 (backtrace in call with trampolines): Explicitly require main
29451 to be frame #1 (no trampolines should show up in backtrace).
29452
29453 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
29454 "continue -expect".
29455 * gdb.t06/break.exp: Likewise.
29456 * gdb.t07/watchpoint.exp: Likewise.
29457 * gdb.t13/bitfields.exp: Likewise.
29458 * gdb.t15/{funcargs,return}.exp: Likewise.
29459 * gdb.stabs/weird.exp: Likewise.
29460 * config/{mips,udi}-gdb.exp: Likewise.
29461
29462 * hppa.sed: Enclose comments within a sed command to avoid
29463 losing with the old OSF1 sed.
29464
29465 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29466
29467 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
29468 sequent dynix.
29469 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
29470 * gdb.t15/funcargs.exp: Conditionally step again to really
29471 finish from marker_call_with_trampolines. Handle the case where
29472 the first step from within call_with_trampolines already steps
29473 us back to main.
29474 * gdb.t15/gdbme.c: Add comment to closing brace of
29475 call_with_trampolines for funcargs.exp.
29476
29477 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29478
29479 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29480 Fix typo(s).
29481
29482 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29483
29484 * gdb.t07/gdbme.c: More code for watchpoint testing.
29485
29486 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
29487 "Hardware watchpoint" throughout file.
29488 (test_watchpoint_triggered_in_syscall): New test.
29489 (test_complex_watchpoint): New test.
29490
29491 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29492
29493 * gdbme.c (call_with_trampolines): New function to try and step
29494 into. Tests trampoline problems on the PA.
29495
29496 * funcargs.exp (localvars_in_indirect_call): No longer expect
29497 stepping into indirect call to fail on PAs.
29498 (test_stepping_over_trampolines): New test.
29499
29500 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29501
29502 * TODO: Add suggestions for static member function tests, and
29503 completion tests.
29504
29505 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29506
29507 * TODO: Add suggestions for "p/a" tests.
29508
29509 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
29510 (default_gdb_exit): Replace all the hair with sending "quit" to
29511 the process with a simple close.
29512
29513 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29514
29515 * TODO: Add suggestions for shared library tests.
29516
29517 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29518
29519 * TODO: Add suggestions for x/s tests.
29520
29521 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29522
29523 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
29524 "enable once", and "enable breakpoints once" with ".*".
29525
29526 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29527
29528 * TODO: Add suggestions about structure passing tests.
29529
29530 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29531
29532 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
29533 the primary1 test, use work around if __GNUC__ < 2.
29534 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
29535 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
29536 Test for bad output rather than waiting for timeout. Issue
29537 second continue only if first continue failed.
29538
29539 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29540
29541 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
29542 operator[] test with gdb_test because the old code didn't seem to
29543 be getting the quoting right with the new dejagnu.
29544
29545 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
29546
29547 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
29548 one from the path.
29549 * Makefile.in: Use a fresh expect if there is one, use runtest
29550 from the src tree if there is one.
29551
29552 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29553
29554 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
29555 next over recursive call. Revise the tests from that point on
29556 (which had been skipped) to match GDB's actual (correct) output.
29557
29558 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
29559 with next over a breakpoint whose condition is false.
29560
29561 * gdb.t00/help.exp: Comment out "help set print" tests just like
29562 (and for same reason as) "help set" test.
29563
29564 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29565
29566 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
29567 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
29568
29569 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29570
29571 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
29572 necessary gdb_target_udi.
29573
29574 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
29575
29576 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
29577 1838 and 2417; they are fixed.
29578
29579 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
29580 gdb.t03/ptype.exp (ptype structure, ptype union):
29581 Remove xfails; the test is looser than when the xfails were added.
29582
29583 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
29584 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
29585
29586 * gdb.t01/run.exp: Only run shell test if isnative.
29587
29588 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
29589 since "run" automatically loads if necessary. Call gdb_target_udi
29590 after the "file" since "file" kills any execution target.
29591
29592 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
29593 GDB. GDB doesn't work that way (not anymore at least) on UDI.
29594 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
29595 argument for UDI.
29596
29597 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29598
29599 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
29600
29601 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
29602
29603 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29604
29605 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
29606 properly quoting regexps. This makes the second argument to
29607 demangle a fixed string, which matches the callers, instead of a
29608 shell-style pattern which is what the previous implementation
29609 used. Update some of the callers.
29610
29611 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29612
29613 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
29614 (comib_nullified_tests): Fix typo.
29615 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
29616 strings. No longer expected to fail.
29617
29618 * gdb.disasm/hppa.s (addib_tests): Fix typo.
29619 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
29620 strings. No longer expected to fail.
29621
29622 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
29623 string. No longer expected to fail.
29624
29625 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29626
29627 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
29628 No longer expected to fail.
29629
29630 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
29631 string. No longer expected to fail.
29632
29633 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29634
29635 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
29636 only in the names (I probably got most of them). I was even
29637 generous with some which differed in underscores in names, and
29638 probably missed a few, and I *still* was able to remove almost a
29639 third of the file with almost no impact on testsuite coverage.
29640
29641 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29642
29643 * gdb.t00/default.exp: Match udi_attach error message as well as
29644 the one from child_attach.
29645
29646 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
29647
29648 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
29649
29650 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
29651 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
29652
29653 * Move test with enums and partial symbols back to
29654 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
29655 Reverts the change of 26 May 93. Per today's change to
29656 stabs.texinfo, the behavior that weird.exp was expecting was
29657 unreasonable; what is important is that the compiler+gdb get
29658 things right, which happens with a recent gcc. Also fix the test
29659 to deal with native compilers which put out the stab gdb can't
29660 deal with.
29661
29662 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29663
29664 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
29665 in the names. The main thing these accomplish is to slow things down.
29666 Many more such duplicates surely remain.
29667
29668 * gdb.t00/help.exp: Comment out "help support" test just like
29669 (and for same reason as) "help set" test.
29670
29671 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
29672
29673 * gdb.t06/break.exp: Remove setup_xfails for
29674 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
29675 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
29676 about known bug in gcc to include up through 2.5.8.
29677 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
29678 well as "_vb$".
29679 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
29680 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
29681 with latest gcc and gdb.
29682 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
29683 well as "_vb$".
29684
29685 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29686
29687 * configure.in (hppa*-*-*): Also configure and build stabs-only
29688 tests.
29689
29690 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29691
29692 * gdb.t10/hppa.mt: A makefile fragment for the PA.
29693 * gdb.t10/configure.in (hppa*-*-*): Use it.
29694
29695 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29696
29697 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
29698
29699 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29700
29701 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
29702 versions prior to 1.13.5.
29703
29704 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29705
29706 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
29707 the prompt is at the start of a line.
29708
29709 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29710
29711 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
29712 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
29713 in the copr tests now.
29714 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
29715 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
29716 expected to fail.
29717
29718 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
29719
29720 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
29721 gdb.t31/chillvars.exp, lib/gdb.exp:
29722 Tweak to run under either version of expect.
29723 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
29724 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
29725 * gdb.t11/list.exp: Remove extraneous whitespace.
29726
29727 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29728
29729 * gdb.t16/printcmds.exp (test_print_strings): Accept
29730 "(unsigned char *) " before the string.
29731
29732 * TODO: Add notes about printing of fancy types and GDB expressions.
29733
29734 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
29735
29736 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
29737 * gdb.t06/configure.in: Don't try to compile signals test program
29738 if doing mips-idt-ecoff.
29739
29740 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
29741
29742 * Most .exp files: Tweak to run under either version of expect.
29743
29744 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29745
29746 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
29747 xfails; I'm not sure why they are failing, but not because of PR 1806.
29748
29749 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
29750
29751 * config/unix-gdb.exp: Remove gdb_unload cause it's already
29752 defined in lib/gdb.exp.
29753
29754 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29755
29756 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
29757 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
29758 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
29759 have to be typeless.
29760
29761 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29762
29763 * TODO: Add suggestion for copyright year test.
29764
29765 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
29766
29767 * configure.in (*-*-lynxos*): Add stabs tests.
29768
29769 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29770
29771 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
29772 so insert a tab before any assembler directive in column zero.
29773
29774 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
29775 stores.
29776 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
29777 stores.
29778 (fpu_short_memory_tests): Likewise.
29779
29780 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29781
29782 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
29783 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
29784 .stabs directives in comments.
29785
29786 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29787
29788 * TODO: New file, describing tests we could write.
29789 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
29790
29791 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29792
29793 * gdb.t06/signals.exp: Add kludge to force re-sync.
29794
29795 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
29796 to xgdb instead of gdb, get out of gdb.
29797
29798 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
29799
29800 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
29801 for info.
29802
29803 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29804
29805 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
29806 * gdb.stabs/configure.in (hppa*-*-*): Use it.
29807 * gdb.stabs/hppa.sed: New sed script for the PA.
29808
29809 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29810
29811 * gdb.stabs: Re-write weird.def and configuration to use sed
29812 instead of cpp. sed is portable and POSIX; cpp is neither.
29813
29814 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29815
29816 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
29817
29818 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29819
29820 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
29821
29822 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29823
29824 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
29825 "_vb$".
29826 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
29827 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
29828
29829 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29830
29831 * lib/gdb.exp: Comment out code which depends on non-existent
29832 `transform' procedure.
29833
29834 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
29835
29836 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
29837 * lib/gdb.exp: Transform tool name.
29838 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
29839 1.1's new error handling system.
29840
29841 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29842
29843 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
29844
29845 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29846
29847 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
29848 They made pattern matching so slow that timeouts happened on
29849 heavily loaded systems. Now any output from "show print" which
29850 gets us back to the GDB prompt is a PASS.
29851
29852 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
29853
29854 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
29855
29856 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29857
29858 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
29859
29860 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
29861 It is not from PR 3220.
29862
29863 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29864
29865 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
29866 just started failing because they depended on the order the
29867 subcommands are presented, or exact docstring text. This kind of
29868 test is a pain and has minimal benefit.
29869
29870 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29871
29872 * gdb.t09/corefile.exp: At end of test, use "core" command with
29873 no arguments.
29874
29875 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
29876
29877 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
29878 17}/Makefile.in: Make it possible to run the testsuite with Sun
29879 make and CC = cross gcc by adding explicit build rules for .o
29880 files.
29881
29882 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29883
29884 * gdb.t15/funcargs.exp: Don't put comments on same line as
29885 setup_xfail (@#$*%& tcl braindamage!).
29886
29887 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29888
29889 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
29890
29891 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
29892
29893 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
29894 * gdb.t20/inherit.exp: remove three dumplicate entries.
29895
29896 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29897
29898 * gdb.t06/break.exp: For "next over recursive call", fail on any
29899 incorrect output, not just on "factorial (value=2)".
29900
29901 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29902
29903 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
29904 working now. Add an xfail if accesing a bss variable causes
29905 a memory error if the target is not yet run.
29906
29907 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29908
29909 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
29910 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
29911 name of __st* demangling (2 strings). Did Kung really get the
29912 more than 95 others right without testing them?
29913
29914 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
29915
29916 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
29917
29918 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
29919
29920 * configure.in (configdirs): Add gdb.disasm
29921 * gdb.disasm: New directory for GDB disassembler tests.
29922 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
29923
29924 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29925
29926 * gdb.t00/help.exp: Don't test "help set".
29927
29928 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
29929 from within expect statements. None of these happen anymore and
29930 they cause regressions to be silently unnoticed.
29931
29932 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
29933 messages) about known failures with gcc cygnus-2.4.5-930417.
29934
29935 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
29936 comp-info.exp so it gets built if it doesn't exist.
29937
29938 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
29939 it is no longer used.
29940 * gdb.t13/comp-info.c: Removed.
29941
29942 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
29943
29944 * gdb.t06/signals.exp: Add xfail for sun3.
29945
29946 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29947
29948 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
29949 relevant because ^C doesn't get sent but failure can be reproduced
29950 interactively).
29951
29952 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29953
29954 * gdb.stabs/alpha.mt: New configuration file for alpha.
29955 * gdb.stabs/configure.in: Use it.
29956 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
29957 sharing with alpha.mt, redefine long to word via preprocessor.
29958 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
29959 for alpha.
29960 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
29961 native cc.
29962 * gdb.t00/teststrategy.exp: Change expect string so that we
29963 consume the `(xgdb)' from the command echo and from the gdb prompt.
29964 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
29965 gdb currently compares all values as long, so this failure probably
29966 applies to any configuration where LONGEST is bigger than a target int.
29967 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
29968 with gcc.
29969 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
29970 to handle opaque pointers, gcc is.
29971 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
29972 as first argument. Include <sys/types.h> and change all operator
29973 new definitions to use size_t.
29974 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
29975 now that we use size_t.
29976
29977 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29978
29979 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
29980 a long or float array cast all array members to the same type.
29981 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
29982 with 64 bit longs.
29983 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
29984 on alpha.
29985 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
29986
29987 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29988
29989 * gdb.t24 (demangle.exp): Constructors of templates have names like
29990 vector<int>::vector(int) not vector<int>::vector<int>(int). See
29991 section 14.6 of the ARM.
29992
29993 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
29994 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
29995 accomplish little and slow down the testsuite.
29996
29997 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
29998 Accept spaces various places.
29999
30000 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30001
30002 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
30003 with watchpoint enabled.
30004
30005 * Makefile.in: Remove definition of CC and remove the second
30006 definition of CXX (the "CXX = gcc" one remains). These definitions
30007 were causing backquotes to be expanded within backquotes, which
30008 doesn't work.
30009
30010 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
30011
30012 * gdb.t17/callfuncs.exp: Add "return 0" to end.
30013
30014 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30015
30016 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
30017 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
30018 by mips cc and contains no stabs entries.
30019
30020 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
30021
30022 * config/vx-gdb.exp: Use fake device to load files rather than
30023 NFS.
30024 * lib/gdb.exp: New proc to do "file" command.
30025 * config/unix-gdb.exp: Use new "file" proc.
30026
30027 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
30028
30029 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
30030 Rework board rebooting slightly.
30031 (gdb_exit): Don't exit from the remote shell; there isn't one.
30032 * gdb.stabs/weird.exp: If a program is being debugged already,
30033 kill it.
30034 * gdb.t04/setvar.exp: Stop and restart gdb.
30035 * gdb.t05/expr.exp: Likewise.
30036 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
30037 restart gdb and reload the program.
30038 * gdb.t08/opaque.exp: Likewise.
30039 * gdb.t12/scope.exp: Likewise.
30040 * gdb.t13/bitfields.exp: Likewise.
30041 * gdb.t15/funcargs.exp: Likewise.
30042 * gdb.t20/classes.exp: Likewise.
30043 * gdb.t03/ptype.exp: Increase timeout.
30044 * gdb.t16/printcmds.exp (test_print_string_constants,
30045 test_print_array_constants): Likewise.
30046 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
30047 * gdb.t20/classes.exp (do_tests): Likewise.
30048 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
30049
30050 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
30051
30052 * gdb.stabs: Renamed *wierd* to *weird*.
30053
30054 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30055
30056 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
30057 for timeout. Add "known gcc 2.4.5 bug" to failure message.
30058
30059 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30060
30061 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
30062 (do_tests): Remove xfail for whatis on one_var and two_var.
30063
30064 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
30065
30066 * Makefile.in: Made cross building work better by adding
30067 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
30068
30069 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30070
30071 * gdb.t15/{return.c,return.exp,Makefile.in}:
30072 New test, currently commented out.
30073
30074 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
30075
30076 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
30077 still running and removes the leftover named socket so GDb can do
30078 clean restarts.
30079
30080 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
30081
30082 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
30083 console, not GDB.
30084 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
30085 cross testing works better with "make check"
30086 * config/unix-gdb: Use default procedures for exit and version.
30087 * config/vx-gdb.exp: Cleaned up and massaged back to working order
30088 with the newest VxWorks.
30089
30090 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30091
30092 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
30093 old form.
30094
30095 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
30096 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
30097
30098 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
30099
30100 * config/unix-gdb.exp: Remove this version of gdb_exit
30101 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
30102 Rob says he'll look at it when he gets back to testing boards.
30103
30104 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
30105
30106 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
30107 an expected fail for certain ptype commands.
30108
30109 * gdb.t20/classes.exp: Update expected results of "ptype class
30110 Base1" to account for the constructor that now appears in the type.
30111
30112 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
30113
30114 * configure.in (configdirs): Restore gdb.t04, which mysteriously
30115 disappeared from list.
30116 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
30117 "alldone" proc with call to cleanup and exit.
30118 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
30119 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
30120 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
30121 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
30122 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
30123 "alldone" proc with simple returns that suppress remaining
30124 tests. The alldone proc went away many months ago.
30125
30126 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30127
30128 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
30129
30130 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
30131
30132 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30133
30134 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
30135 as vax gdb will display them.
30136
30137 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30138
30139 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
30140 optimizers.
30141
30142 * scope.exp: Change "bad value for localval" messages so each one
30143 is unique.
30144
30145 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
30146 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
30147
30148 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
30149
30150 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30151
30152 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
30153 doesn't exist (due to optimization).
30154
30155 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30156
30157 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
30158 contains \r because the filename is long.
30159
30160 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
30161 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
30162
30163 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30164
30165 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
30166 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
30167 Ultrix.
30168 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
30169 int tests.
30170 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
30171
30172 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
30173
30174 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
30175
30176 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
30177 to match does not match the passing case but still matches the
30178 failing case.
30179
30180 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30181
30182 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
30183
30184 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
30185
30186 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
30187 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
30188 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
30189 Remove various versions of gdb_exit.
30190 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
30191 gdb_exit.
30192 * config/unix-gdb.exp: gdb_exit remains here, and should override
30193 the generic version, since it's doing a lot of wierd stuff that
30194 the other versions aren't. FIXME, fold it in, or abandon this
30195 version.
30196
30197 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30198
30199 * gdb.t24/demangle.exp: Add tests for PR 3220.
30200
30201 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30202
30203 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
30204
30205 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
30206
30207 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
30208 "i386-*-*". Works for i486 as well.
30209
30210 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
30211 bug, and expand domain of xfail to all SVR4 systems, since the
30212 actual problem is likely to be in generic SVR4 /proc support.
30213
30214 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30215
30216 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
30217
30218 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
30219
30220 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
30221 xfails for other systems. Match a missing 'Continuing.' as an
30222 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
30223
30224 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
30225 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
30226 Only issue warning for missing executables if -all option is used.
30227
30228 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
30229 file if -all option is used. It's like an unpredictable XFAIL.
30230
30231 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30232
30233 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
30234 for dynamically linked binaries.
30235
30236 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
30237
30238 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30239
30240 * gdb.t20/inherit.exp: Change message for "print tagless struct"
30241 to state that this is a known bug in old versions of g++.
30242
30243 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30244
30245 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
30246 while waiting for `Continuing'.
30247
30248 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
30249
30250 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
30251 in text, data, and bss.
30252 * gdb.t10/nodebug.c: Add local and global test variables for
30253 initialized and uninitialized data.
30254
30255 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30256
30257 * config/unix-gdb.exp (gdb_exit): Add "wait".
30258
30259 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30260
30261 * gdb.t06/signals.exp: xfail the continue from the handler for all
30262 targets.
30263
30264 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
30265 function with watchpoints enabled, the i386 call dummy starts with
30266 a call.
30267
30268 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
30269 386 bsd names its corefiles.
30270
30271 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
30272
30273 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
30274 compilers don't grok it.
30275 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
30276 with small octal ints rather than character constants, which
30277 are signed and might not fit if first promoted to int.
30278
30279 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
30280
30281 * gdb.t09/Makefile.in (clean): Remove corefile.
30282
30283 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30284
30285 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
30286
30287 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30288 and Jim Kingdon (kingdon@cygnus.com)
30289
30290 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
30291 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
30292 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
30293
30294 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30295
30296 * gdb.t17/interrupt.exp: Add xfail for hppa.
30297
30298 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30299
30300 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
30301 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
30302 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
30303 to determine signed-ness of bitfields and use the result to setup
30304 the xfail.
30305 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
30306 * gdb.t15/funcargs.exp: Use them to step until the second indirect
30307 call line is reached if necessary.
30308
30309 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30310
30311 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
30312
30313 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30314
30315 * gdb.t06/break.exp: Also test `clear' command.
30316
30317 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30318
30319 * gdb.t00/teststrategy.exp: Remove extra quote.
30320
30321 * gdb.t07/watchpoint.exp: Change xfail for calling function with
30322 watchpoint enabled to be for all non-68k machines.
30323
30324 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
30325
30326 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30327
30328 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
30329 targets use aout.mt instead of ecoff.mt as gas understands
30330 standard aout format.
30331
30332 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30333
30334 * lib/gdb.exp (runto): Don't insist that function we are running to
30335 was compiled with -g.
30336
30337 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
30338
30339 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
30340 to get back into the read system call.
30341 Accept leading newline in case where we woke it up.
30342
30343 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30344
30345 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
30346 to make the stabs test work on ecoff systems using gcc and -with-stabs.
30347 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
30348 enable ecoff configuration.
30349
30350 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30351
30352 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
30353
30354 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30355
30356 * gdb.t16/printcmds.exp: Add another printf test.
30357
30358 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
30359
30360 * configure.in: If configured -with-stabs on any target, add
30361 stabsdirs to configdirs.
30362
30363 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30364
30365 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
30366 fun" so pattern does not match the command itself.
30367
30368 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30369
30370 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
30371
30372 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30373
30374 * gdb.t17/interrupt.exp: Test for more things.
30375
30376 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30377
30378 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
30379 compiler arranges the code and line numbers.
30380
30381 * gdb.t17/interrupt.exp: Don't send \n after ^C.
30382
30383 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30384
30385 * gdb.t00/help.exp: Increase expect input buffer size.
30386
30387 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30388
30389 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
30390
30391 * gdb.t07/watchpoint.exp: Add xfail for hppa.
30392
30393 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
30394
30395 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
30396 [0-9]*, not just [0-9].
30397
30398 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30399
30400 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
30401
30402 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
30403
30404 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30405
30406 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
30407
30408 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30409
30410 * gdb.t06/signals.c: Add xfails for sun3.
30411
30412 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
30413
30414 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
30415 test_stepping tests.
30416
30417 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30418
30419 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
30420
30421 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
30422
30423 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
30424 rather than actually putting it through cpp twice.
30425
30426 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
30427
30428 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
30429
30430 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
30431 no longer needed.
30432
30433 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30434
30435 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
30436
30437 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
30438 C++ features prints as "struct", make it a pass, not an xfail.
30439
30440 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30441
30442 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
30443 Don't require VA to print as "class" rather than "struct".
30444
30445 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
30446
30447 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
30448
30449 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30450
30451 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
30452
30453 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30454
30455 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
30456 order.
30457
30458 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30459
30460 * gdb.t16/printcmds.exp: Add printf tests.
30461
30462 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
30463
30464 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
30465
30466 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
30467
30468 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
30469 pass counts, to counteract any existing or future setup_xfails.
30470
30471 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30472
30473 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
30474 {BEGIN,END}_COMMON for common block instead of STAB.
30475 * gdb.stabs/wierd.exp: Add xfail for rs6000.
30476
30477 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
30478 intp_var should be N_GSYM not N_LSYM.
30479 wierd-aout.S: Use a label for the value of the N_SO.
30480 wierd.def: Remove all backslashes.
30481 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
30482
30483 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30484
30485 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
30486 get the expected next to inheritance3.
30487
30488 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30489
30490 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
30491 now that gcc-2.4 gets it right.
30492
30493 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30494
30495 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
30496
30497 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
30498 generating comp-info.exp which works for cross-compilation.
30499
30500 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
30501
30502 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
30503 "*-*-sysv4.*".
30504
30505 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
30506
30507 * gdb.t01/run.exp: Start with a fresh gdb.
30508 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
30509 SVR4.x.
30510
30511 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
30512
30513 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
30514 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
30515 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
30516 Makefile.in (distclean, realclean): Remove gdbme.c from list of
30517 things to remove.
30518
30519 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
30520
30521 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
30522 test cases from bug reports.
30523
30524 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
30525
30526 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
30527 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
30528 avoid spurious xfails.
30529 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
30530 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
30531 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
30532
30533 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
30534
30535 * gdb.t00/teststrategy.exp: Rework to provide more useful
30536 description of each test, fix problem with systems that define
30537 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
30538 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
30539 results for "next over recursive call" so timeouts aren't taken
30540 by error.
30541
30542 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
30543
30544 * gdb.t12/scope.exp: Test printing of variables before run.
30545
30546 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
30547 printed in wrong order due to sorting.
30548
30549 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
30550
30551 * gdb.t00/teststrategy.exp: Fix expected results for printing
30552 user entered string constant. Is array of char, prints with no
30553 address.
30554
30555 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
30556 commands.
30557 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
30558 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
30559 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
30560 of struct of char arrays.
30561 * gdb.t00/radix.exp: New tests for radix commands.
30562
30563 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
30564
30565 * gdb.t16/printcmd.exp: Print a variable before running program
30566 (with xfail for AIX).
30567
30568 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
30569
30570 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
30571
30572 * gdb.t16/printcmd.exp: Don't print variables before running program.
30573
30574 * gdb.t06/break.exp: Don't require envp argument to main.
30575
30576 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
30577
30578 * gdb.t02/whatis.exp, gdb.t11/list.exp:
30579 Add xfails for rs6000.
30580
30581 * gdb.t02/whatis.exp: Change other tests not to re-test something
30582 we already tested.
30583
30584 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
30585 each type used has a variable of that type.
30586
30587 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
30588
30589 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
30590
30591 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
30592
30593 * configure.in: change srctrigger to be a file, not a directory
30594
30595 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
30596
30597 * configure.in (mips-idt-ecoff*): Added trailing '*'.
30598
30599 * gdb.t11/list.exp: Fixed a couple of typos.
30600
30601 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
30602
30603 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
30604 is fixed and PR is closed.
30605 * gdb.t16 (gdbme.c): Add simple test string variable.
30606 * gdb.t16 (printcmds.exp): Add tests with simple test string
30607 variable, primarily for boundaries on "set print elements".
30608
30609 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
30610
30611 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
30612 Make leading 0's optional and don't expect a tab in the middle
30613 of the number.
30614
30615 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
30616
30617 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
30618 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
30619 don't end command passed to gdb_test with newline.
30620
30621 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
30622 signed keyword away, don't expect signed bitfields to be signed.
30623
30624 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
30625 printing with only as many 1's as are in the field as well as printing
30626 with 32 1's (see comment).
30627
30628 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
30629
30630 * gdb.t00/default.exp: Start with a fresh gdb.
30631 * configure.in (configdirs): Remove gdb.t31 until the chill
30632 compiler works again. It no longer is able to find chillrt0
30633 since it isn't in libchill.a anymore.
30634 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
30635 wierd.o, make more modular.
30636 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
30637 spurious newlines that caused problems.
30638
30639 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30640
30641 * Move test with enums and partial symbols from gdb.t03/ptype.exp
30642 to gdb.stabs/wierd.exp since GCC has worked around the bug.
30643 gdb.stabs/wierd.{exp,def}: Many new tests.
30644
30645 * gdb.t00/default.exp: update info line for new message.
30646
30647 * gdb.t02/{whatis.exp,gdbme.c}:
30648 Test that "char *" doesn't print as "caddr_t".
30649
30650 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30651
30652 * gdb.t00/help.exp: Use .* in place of some help messages which
30653 just changed.
30654 gdb.t00/default.exp: Update "info frame" test for new message.
30655 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
30656 Remove some xfails
30657
30658 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30659
30660 * gdb.t03/{gdbme.c,ptype.exp}:
30661 Add tests for typedef'd struct and union without tags.
30662 Also check "whatis" on a variable of a typedef'd enum without a tag.
30663
30664 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
30665 PRMS 1823; the bug still exists but isn't reproduced by this test
30666 anymore), and remove rs6000 XFAIL (the bug is fixed).
30667
30668 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
30669 duplicated from whatis.exp. For those that are left, accept
30670 "long", "long int", or "int" for long variables (whatis.exp already
30671 has an XFAIL for "int", so no need to fail it here).
30672
30673 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
30674 Deal with GCC's names for types now that GDB uses the compiler's names.
30675
30676 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
30677 setup_xfail's for sunos4. If we #defined the signed keyword away,
30678 don't expect GDB to know that char it is signed.
30679
30680 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
30681
30682 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
30683
30684 * configure.in (configdirs): Add gdb.t24 for C++ tests that
30685 should work on any system, regardless of debugging format.
30686 * gdb.t21/demangle.exp: Move to gdb.t24.
30687 * gdb.t24/demangle.exp: Move from gdb.t21.
30688 * gdb.t24/{Makefile.in, configure.in}: New files.
30689
30690 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30691
30692 * configure.in: Do gdb.stabs and C++ tests only for stabs.
30693 * gdb.stabs: New directory.
30694
30695 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30696
30697 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
30698 not just "Quit anyway?".
30699
30700 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
30701
30702 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
30703 that all setup_xfails are immediately followed by clear_xfails.
30704
30705 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
30706
30707 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
30708 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
30709 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
30710 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
30711 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
30712 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30713 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30714 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
30715 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
30716 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
30717 gdb.t31/chillvars.exp, lib/gdb.exp:
30718 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
30719 bug-gdb@prep.ai.mit.edu.
30720
30721 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
30722
30723 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
30724 with 0.0, not integer 0.
30725
30726 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
30727
30728 * gdb.t06/break.exp: Update for "Kill the program" message change.
30729
30730 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
30731
30732 * Makefile.in (GDBFLAGS): Set to -nx.
30733 * Makefile.in (site.exp): Use GDBFLAGS.
30734
30735 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30736
30737 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
30738 Makefiles.
30739 (check): depend on just-check.
30740 (just-check): added so that tests can be run without a noop
30741 build pass.
30742
30743 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30744
30745 Switch to using configure's configdirs.
30746 * Makefile.in (Makefile): add configure.in dependency.
30747 (SUBDIRS): removed redundant assignment.
30748 * configure.in: switch subdirs assignment to configdirs.
30749 * gdb.t*/configure.in: new files.
30750
30751 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
30752
30753 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
30754 works.
30755
30756 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
30757
30758 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
30759 in explicit rules. Apparently this is not supported by some makes.
30760
30761 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
30762
30763 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
30764
30765 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30766
30767 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
30768 disappeared.
30769
30770 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
30771
30772 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
30773
30774 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
30775
30776 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
30777 watchpoint problem that is now fixed.
30778 * gdb.t30/chexp.exp: Remove setup_xfail for printing
30779 uninitialized convenience variables.
30780 * gdb.t31/chillvars.exp: Fix expected patterns for printing
30781 structures.
30782
30783 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30784
30785 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
30786 which causes expect to get out of sync with gdb on long output
30787 from help set.
30788 * gdb.t09/corefile.exp: Make expected pattern for core file
30789 failing signal and frame output format less sun specific.
30790
30791 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
30792
30793 * gdb.t31/chillvars.exp: Add and remove initial dummy
30794 breakpoint, so that symbol table is forced in.
30795 (Needed at least on Sunos4, though it seems not SVR4.)
30796 * gdb.t31/chillvars.exp: Update for changed output format.
30797
30798 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
30799
30800 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
30801
30802 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
30803
30804 * Makefile.in: Added --srcdir when invoking runtest, removed the
30805 need for a local config file. (optional now)
30806
30807 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
30808
30809 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
30810 failure count used to force early termination. Add some more
30811 expected failures for gnu style demangling.
30812
30813 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30814
30815 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
30816 pmi variable from gdb.t20/gdbme to get optimized away.
30817 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
30818 Check for written corefile upon timeout _and_ eof.
30819
30820 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30821
30822 * config/unix-gdb.exp: Add missing return 0.
30823
30824 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30825
30826 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
30827 test termination.
30828
30829 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
30830
30831 * configure.in (subdirs): Put back gdb.t17 which mysteriously
30832 disappeared.
30833
30834 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
30835
30836 * gdb.t10/crossload.exp: Disable the i860-elf test until such
30837 time as i860 support works.
30838
30839 * gdb.t15/funcargs.exp: Fix expected outputs to include
30840 "backtrace 100\r" rather than just "backtrace\r", to match last
30841 change.
30842
30843 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
30844
30845 * config/udi-gdb.exp (gdb_exit): Remove close command.
30846 (gdb_target_udi): New procedure to set the UDI target.
30847 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
30848 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
30849 Added waits for prompts after several question responses. Added
30850 some more responses used by a29k-amd-udi-gdb.
30851 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
30852 pass different arguments, restart UDI connection after program
30853 completion.
30854 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
30855 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30856 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
30857 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
30858 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
30859 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
30860 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30861 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
30862 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
30863 after program completion.
30864 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
30865 compiled with a SELECT_VECS setting.
30866 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
30867 infinite recursion.
30868
30869 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
30870 Added checks for COFF results, and made them expected failures for
30871 all targets. It would be better to make them expected failures
30872 for COFF targets only.
30873
30874 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
30875
30876 * Makefile.in: add null dvi target, don't bother to recurse
30877 through test directories for info and install-info; rename
30878 $(datadir) to be dejagnu instead of deja-gnu
30879
30880 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
30881
30882 * gdb.t31/gdbme.ch: Re-enable code that previously caused
30883 compiler to coredump.
30884 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
30885 code.
30886
30887 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
30888
30889 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
30890 coredump.
30891 * gdb.t31/chillvars.exp: Comment out tests that depend on that
30892 code.
30893
30894 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
30895
30896 * gdb.t03/ptype.exp: tests for return code from gdb_test.
30897 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
30898 which in a shell. Deletes xgdb when done.
30899 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
30900 Tests the return from the "set height" or "set width" commands.
30901 Added a few return codes where needed.
30902
30903 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
30904
30905 * Makefile.in (SUBDIRS): Add gdb.t17.
30906 * configure.in (subdirs): Add gdb.t17.
30907 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
30908 files to test gdb's calling of functions in the inferior with
30909 the correct arguments and gdb's ability to retrieve any
30910 result returned.
30911
30912 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
30913
30914 * config/unix-gdb.exp (gdb_exit): Remove close commands that
30915 may be called after gdb goes away. Previous versions of expect
30916 needed these to avoid file descriptor leaks, but they cause
30917 errors with the current revision of expect.
30918 * gdb.t00/gdbvars.exp: Use -re on expected output after
30919 setting sevenbit-strings.
30920 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
30921 to set sevenbit-strings consistent across tests.
30922 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
30923 set sevenbit-strings consistent across tests.
30924
30925 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
30926
30927 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
30928 expected output to match current "expect" expectations.
30929
30930 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
30931
30932 * gdb.t00/default.exp: Change expected output for default "source"
30933 command, to match new gdb behavior which requires a filename to
30934 source.
30935
30936 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
30937
30938 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
30939 expected fail for i486-*-* that misses the marker2 function.
30940 * gdb.t10/crossload.exp (bfddefault): Allow successful
30941 recognition of a format to pass even if no symbols are found.
30942 Explicitly catch failures where the format is not recognized
30943 or is ambiguous, and add the reason to the fail message.
30944 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
30945 the cause is and invalid target and add reason to failure message.
30946 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
30947 elf32-i386, elf32-sparc, and elf32-i860.
30948 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
30949 Set up expected failure for 'filename'::variable scope resolution,
30950 which is now apparently broken on all targets.
30951 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
30952 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
30953 gdb.t23/templates.exp: Change failure for missing binfile into
30954 just a warning.
30955 gdb.t21/demangle.exp: Change all cfront references to 'arm'
30956 references.
30957
30958 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
30959
30960 * gdb.t00/default.exp: Add expected output for default "source"
30961 command, to match new gdb behavior.
30962 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
30963
30964 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
30965
30966 * config/*-gdb.exp: returns an error, rather than exiting on
30967 internal errors.
30968
30969 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
30970
30971 * gdb.t03/gdbme.c: Add pointer to struct variable.
30972 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
30973 referencing struct members.
30974
30975 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
30976
30977 * configure.in (mips-idt-ecoff): New target.
30978 * config/mips-gdb.exp: New file for remote board using MIPS remote
30979 debugging protocol.
30980
30981 * Redid configuration scheme. Removed gdb.t*/configure.in.
30982 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
30983 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
30984 distclean targets. Built executables via .o files. Adjusted
30985 tests to account for source files in $(srcdir) rather than
30986 $(objdir).
30987 * lib/gdb.exp (runto): Don't expect () after the function name,
30988 because it may have arguments.
30989
30990 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
30991
30992 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
30993 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
30994 expected failures for mips-idt-* and mips-sgi-*.
30995 * gdb.t00/default.exp (attach): Kill process if requested.
30996 * gdb.t00/help.exp (help target core, help target): Accept a gdb
30997 that does not read core files.
30998 * gdb.t01/run.exp: Removed checks for exit status code.
30999 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
31000 it is linked in.
31001 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
31002 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
31003 appropriate, rather than doing it by hand.
31004 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
31005 execution.
31006 * gdb.t10/crossload.exp: Kill existing program if needed.
31007 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
31008 appropriate, rather than doing it by hand. Always increase
31009 timeout for this test, not just for VxWorks.
31010
31011 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
31012
31013 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
31014 of Chill STRUCT types and STRUCT values.
31015 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
31016 than "char".
31017 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
31018 struct2): New struct definitions and initializations to test
31019 simple Chill STRUCT types.
31020
31021 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
31022
31023 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
31024 the null byte at the end of strings.
31025 * gdb.t00/default.exp: Make show version insensitive to copyright
31026 date.
31027 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
31028 to avoid dependencies on target char signedness.
31029 * gdb.t16/printcmds.exp: Update expected results for explicitly
31030 unsigned char.
31031 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
31032 now work.
31033 * gdb.t21/demangle.exp: Add many more patterns for template
31034 demangling, most of them being expected failures.
31035 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
31036 string we are matching for, to match on the whole string.
31037 * gdb.t21/demangle.exp: Add many new test strings to demangle,
31038 and fix a whole bunch that had incorrect expected output but were
31039 passing anyway because of the bug in "proc demangle".
31040 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
31041 type.
31042 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
31043
31044 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
31045
31046 * gdb/testsuite: made modifications to testcases, etc., to allow
31047 them to work properly given the reorganization of deja-gnu and the
31048 relocation of the testcases from deja-gnu to a "tool" subdirectory.
31049
31050 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
31051
31052 * gdb/testsuite: Initial creation of gdb/testsuite.
31053 Migrated dejagnu testcases and support files for testing nm to
31054 gdb/testsuite from deja-gnu. These files were moved "as is"
31055 with no modifications. This migration is part of a major overhaul
31056 of dejagnu. The modifications to these testcases, etc., which
31057 will allow them to work with the new version of dejagnu will be
31058 made in a future update.
31059
31060 For additional changes see gdb.mi/ChangeLog-1999-2003.
31061 \f
31062 ;; Local Variables:
31063 ;; mode: change-log
31064 ;; left-margin: 8
31065 ;; fill-column: 74
31066 ;; version-control: never
31067 ;; End:
31068
31069 Copyright 1993-2013 Free Software Foundation, Inc.
31070 Copying and distribution of this file, with or without modification,
31071 are permitted provided the copyright notice and this notice are preserved.
This page took 0.741985 seconds and 4 git commands to generate.