Fix typo in added CL entry.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
99c819ee
MM
12013-03-26 Markus Metzger <markus.t.metzger@intel.com>
2
3 * gdb.btrace/enable.exp: Add regression test.
4
24955f63
TT
52013-03-25 Tom Tromey <tromey@redhat.com>
6
7 * gdb.cp/m-static.exp: Add destructor-printing tests.
8
fce632b6
TT
92013-03-25 Tom Tromey <tromey@redhat.com>
10
11 * gdb.cp/m-static.exp: Add constructor ptype tests.
12 * gdb.cp/m-static.cc (single_constructor): New class.
13 (main): Make instance of single_constructor.
14
598d3636
JK
152013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16 Pedro Alves <palves@redhat.com>
17
18 * gdb.server/server-kill.c: New file.
19 * gdb.server/server-kill.exp: New file.
20
c12440c9
PA
212013-03-21 Pedro Alves <palves@redhat.com>
22
23 * gdb.trace/trace-buffer-size.exp (get default buffer size):
24 Expect $gdb_prompt in gdb_test_multiple.
25
bd712aed
DE
262013-03-21 Doug Evans <dje@google.com>
27
28 * gdb.base/maint.exp: Update tests for per-command stats.
29
b2f83c08
TT
302013-03-21 Tom Tromey <tromey@redhat.com>
31
32 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
33 * gdb.cp/misc.exp: Add test for FILENAME:: case.
34
ef0026f0
PA
352013-03-20 Pedro Alves <palves@redhat.com>
36
37 PR gdb/15289
38
39 * gdb.base/remote.exp: Test
40 "set remote hardware-watchpoint-limit -1",
41 "set remote hardware-breakpoint-limit -1",
42 "set remote hardware-watchpoint-limit 2147483647" and
43 "set remote hardware-breakpoint-limit 2147483647".
44
3f1175a9
PA
452013-03-20 Pedro Alves <palves@redhat.com>
46 Yao Qi <yao@codesourcery.com>
47
48 * gdb.trace/tfile.c: Add comments.
49 (nonconstglob): New global.
50 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
51 global that is not covered by the trace frame. Test
52 disassembling.
53
a09ae1c1
JK
542013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
55
56 * gdb.base/valgrind-infcall.exp
57 (continue #$continue_count) <remote connection closed>
58 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
59 $valgrind_pid.
60
9ce98649
TT
612013-03-15 Tom Tromey <tromey@redhat.com>
62
63 * gdb.cp/overload.cc (intintfunc): New.
64 * gdb.cp/overload.exp: Add regression test.
65
0a251e08
YQ
662013-03-15 Yao Qi <yao@codesourcery.com>
67
68 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
69 using with_test_prefix.
70 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
71 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
72 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
73 * gdb.threads/watchpoint-fork.exp (test): Likewise.
74 * gdb.base/break-interp.exp (test_core): Likewise.
75 (test_attach_gdb): Likewise.
76 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
77 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
78 Likewise.
79 * gdb.base/jit-so.exp (one_jit_test): Likewise.
80 * gdb.base/jit.exp (one_jit_test): Likewise.
81 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
82 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
83 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
84 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
85 Likewise.
86 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
87 Likewise.
88 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
89 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
90 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
91 (tracepoint_change_loc_2): Likewise.
92 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
93 Likewise.
94 (disconnected_tfind): Likewise.
95 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
96 Likewise.
97 (test_tfind_remote): Likewise.
98 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
99 Likewise.
100 (test_pending_resolved): Likewise.
101 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
102 Likewise.
103 (test_upload_tsv): Likewise.
104 * gdb.trace/pending.exp (pending_tracepoint_resolved):
105 Likewise.
106 (pending_tracepoint_works): Likewise.
107 * gdb.trace/report.exp (use_collected_data): Likewise.
108 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
109 Likewise.
110 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
111 * gdb.trace/strace.exp (strace_info_marker): Likewise.
112 (strace_trace_on_same_addr): Likewise.
113 (strace_trace_on_diff_addr): Likewise.
114 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
115 (gdb_collect_locals_test): Likewise.
116 (gdb_unavailable_registers_test): Likewise.
117 (gdb_collect_globals_test): Likewise.
118
2c415c0f
YQ
1192013-03-15 Yao Qi <yao@codesourcery.com>
120
121 * gdb.base/condbreak.exp: Add semicolon back which was removed
122 by my previous commit.
123
ae59b1da
YQ
1242013-03-14 Yao Qi <yao@codesourcery.com>
125
126 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
127 'return'.
128 (gdb_target_monitor, gdb_load): Likewise.
129 * config/sid.exp (gdb_load): Likewise.
130 * config/slite.exp (gdb_load): Likewise.
131 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
132 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
133 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
134 (single_step_until): Likewise.
135 * gdb.arch/powerpc-d128-regs.exp: Likewise.
136 * gdb.arch/system-gcore.exp: Likewise.
137 * gdb.base/bigcore.exp (extract_heap): Likewise.
138 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
139 * gdb.base/call-ar-st.exp: Likewise.
140 * gdb.base/call-rt-st.exp: Likewise.
141 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
142 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
143 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
144 * gdb.base/corefile.exp: Likewise.
145 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
146 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
147 * gdb.base/fixsection.exp: Likewise.
148 * gdb.base/funcargs.exp: Likewise.
149 * gdb.base/gcore-buffer-overflow.exp: Likewise.
150 * gdb.base/gcore-relro.exp: Likewise.
151 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
152 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
153 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
154 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
155 * gdb.base/list.exp: Likewise.
156 (set_listsize): Likewise.
157 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
158 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
159 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
160 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
161 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
162 * gdb.base/setvar.exp: Likewise.
163 (test_set): Likewise.
164 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
165 * gdb.base/solib-overlap.exp: Likewise.
166 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
167 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
168 * gdb.base/watchpoint.exp (initialize): Likewise.
169 (test_simple_watchpoint): Likewise.
170 (test_disabling_watchpoints): Likewise.
171 (test_watchpoint_triggered_in_syscall): Likewise.
172 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
173 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
174 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
175 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
176 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
177 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
178 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
179 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
180 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
181 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
182 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
183 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
184 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
185 * gdb.mi/gdb792.exp: Likewise.
186 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
187 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
188 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
189 * gdb.threads/gcore-thread.exp: Likewise.
190 (load_core): Likewise.
191 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
192 (test_startup, check_control_c): Likewise.
193 * gdb.threads/sigstep-threads.exp: Likewise.
194 * gdb.threads/thread_check.exp: Likewise.
195 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
196 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
197 (set_a_tracepoint, trace_buffer_normal): Likewise.
198 (gdb_trace_circular_tests): Likewise.
199 * gdb.trace/collection.exp: Likewise.
200 * gdb.trace/disconnected-tracing.exp: Likewise.
201 * gdb.trace/infotrace.exp: Likewise.
202 * gdb.trace/mi-traceframe-changed.exp: Likewise.
203 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
204 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
205 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
206 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
207 * gdb.trace/stap-trace.exp: Likewise.
208 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
209 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
210 * gdb.trace/trace-buffer-size.exp: Likewise.
211 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
212 * gdb.trace/unavailable.exp: Likewise.
213 * gdb.trace/while-dyn.exp: Likewise.
214 * lib/fortran.exp (set_lang_fortran): Likewise.
215 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
216 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
217 (default_gdb_start, get_compiler_info): Likewise.
218 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
219 (get_debug_format, setup_xfail_format): Likewise.
220 (rerun_to_main, gdb_skip_float_test): Likewise.
221 (build_id_debug_filename_get, get_remotetimeout): Likewise.
222 * lib/java.exp (set_lang_java): Likewise.
223 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
224 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
225 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
226 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
227 * lib/objc.exp (set_lang_objc): Likewise.
228 * lib/pascal.exp (set_lang_pascal): Likewise.
229 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
230 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
231 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
232
bb869963
SDJ
2332013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
234
235 PR c++/15203
236 PR c++/15210
237 * gdb.cp/m-static.cc (keepalive_int): New function.
238 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
239 * gdb.cp/m-static.exp: New test for `sintvar'.
240
e2be70a0
YQ
2412013-03-14 Yao Qi <yao@codesourcery.com>
242
243 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
244 of 'tstatus' into tstatus_output.
245 (top level): Save the trace data to tfile. Read trace file in
246 tfile target. Check the trace status.
247
8ddb1965
YQ
2482013-03-13 Yao Qi <yao@codesourcery.com>
249
250 * gdb.trace/tsv.exp (check_tsv): New.
251 (top level): Save a tfile on current trace session. Call
252 check_tsv on live target. Load the tfile with target tfile
253 and call check_tsv again.
254
045dd51f
YQ
2552013-03-13 Yao Qi <yao@codesourcery.com>
256
257 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
258 Replace some "gdb_test" with "gdb_test_no_output".
259
82d049ab
PH
2602013-03-12 Paul Hilfinger <hilfingr@adacore.com>
261
262 * gdb.ada/expr_delims.exp: New file.
263 * gdb.ada/expr_delims/foo.adb: New file.
264 * gdb.ada/expr_delims/pck.ads: New file.
265 * gdb.ada/expr_delims/pck.adb: New file.
266
cb8ea32b
KS
2672013-03-11 Keith Seitz <keiths@redhat.com>
268
269 * watchpoint.exp (test_no_hw_watchpoints): Add test using
270 both condition and thread. Then delete the watchpoint.
271
2f1d9bdd
MM
2722013-03-11 Christian Himpel <christian.himpel@intel.com>
273
274 * Makefile.in: Add btrace testsuite.
275 * configure: Regenerated.
276 * configure.ac: Add btrace testsuite.
277 * gdb.btrace/Makefile.in: New file.
278 * gdb.btrace/enable.c: New file.
279 * gdb.btrace/enable.exp: New file.
280 * gdb.btrace/function_call_history.c: New file.
281 * gdb.btrace/function_call_history.exp: New file.
282 * gdb.btrace/instruction_history.c: New file.
283 * gdb.btrace/instruction_history.exp: New file.
284 * gdb.btrace/instruction_history.S: New file.
285 * lib/gdb.exp: Add btrace skip proc.
286
05c56a9d
JK
2872013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
288
289 Fix entry-values if the callee called a noreturn function.
290 * gdb.arch/amd64-tailcall-noret.S: New file.
291 * gdb.arch/amd64-tailcall-noret.c: New file.
292 * gdb.arch/amd64-tailcall-noret.exp: New file.
293
9112db09
JK
2942013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
295
296 Fix entry-values in C++ across CUs.
297 * gdb.arch/amd64-tailcall-cxx.exp: New file.
298 * gdb.arch/amd64-tailcall-cxx1.S: New file.
299 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
300 * gdb.arch/amd64-tailcall-cxx2.S: New file.
301 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
302
be9a119c 3032013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
304 Hafiz Abid Qadeer <abidh@codesourcery.com>
305
306 gdb/testsuite/
307 * gdb.trace/trace-buffer-size.exp: New file.
308 * gdb.trace/trace-buffer-size.c: New file.
309
049109b0
PA
3102013-03-06 Pedro Alves <palves@redhat.com>
311
312 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
313 doesn't support the tested optional feature, call "unsupported"
314 with the same test message as the "pass" case, instead of calling
315 "pass" with a different message. Use the same text for the "fail"
316 cases too.
317
4aa54120
YQ
3182013-03-06 Yao Qi <yao@codesourcery.com>
319
320 * gdb.trace/tstatus.exp: Remove the invocation of
321 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
322 (test_tracepoints): Don't set fast tracepoint.
323 (top level): Don't check agent library is loaded or not.
324
b8b71e63
YQ
3252013-03-06 Yao Qi <yao@codesourcery.com>
326
327 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
328 parentheses by "\\".
329
33f448b1
JK
3302013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
331
332 * gdb.linespec/base/one/thefile.cc (twodup): New.
333 (m): Call it.
334 * gdb.linespec/base/two/thefile.cc (dupname): New.
335 (n): Call it.
336 * gdb.linespec/break-ask.exp: New file.
337 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
338
1c942fb9
YQ
3392013-02-28 Yao Qi <yao@codesourcery.com>
340
341 * gdb.trace/report.exp: Move some code to ...
342 (use_collected_data): New.
343 (top level): Call use_collected_data once on the live target.
344 Save at file of the current trace session, load it with target
345 tfile, and call use_collected_data again.
346
5b967901
JK
3472013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
348
349 * gdb.threads/fork-thread-pending.c (main): Add alarm.
350
6447023f
JK
3512013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
352
353 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
354 Add final kill of ${valgrind_pid}.
355
9f44fbc0
SCR
3562013-02-20 Siva Chandra Reddy <sivachandra@google.com>
357
358 * gdb.python/py-arch.c: New test case
359 * gdb.python/py-arch.exp: New tests to test
360 gdb.Architecture.disassemble
361 * gdb.python/Makefile.in: Add py-arch to the list of
362 EXECUTABLES.
363
4c9ad8c2
TT
3642013-02-18 Tom Tromey <tromey@redhat.com>
365
366 * gdb.dwarf2/subrange.exp: New file.
367
f5911ea1
HAQ
3682013-02-15 Pedro Alves <pedro@codesourcery.com>
369 Hafiz Abid Qadeer <abidh@codesourcery.com>
370
371 * gdb.trace/tfile.exp: Add test for -trace-status command.
372
420f4384
JK
3732013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
374
375 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
376 nanosleep by sleep.
377
4819b3f8
PA
3782013-02-14 Pedro Alves <palves@redhat.com>
379
380 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
381
1773c82c
HAQ
3822013-02-14 Pedro Alves <pedro@codesourcery.com>
383 Hafiz Abid Qadeer <abidh@codesourcery.com>
384
385 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
386
e234dfaf
TT
3872013-02-12 Tom Tromey <tromey@redhat.com>
388
389 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
390 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
391
6c01dd94
PA
3922013-02-12 Pedro Alves <palves@redhat.com>
393
394 * gdb.base/catch-signal.c: Update copyright years.
395 * gdb.base/catch-signal.exp: Update copyright years.
396 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
397 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
398 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
399 * gdb.dwarf2/dw2-error.S: Update copyright years.
400 * gdb.dwarf2/dw2-error.c: Update copyright years.
401 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
402 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
403 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
404
595fc67f
PA
4052013-02-12 Pedro Alves <palves@redhat.com>
406
407 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
408 message.
409 * gdb.base/sigaltstack.exp: Ditto.
410 * gdb.base/siginfo.exp: Ditto.
411 * gdb.base/sizeof.exp: Ditto.
412
17282693
PA
4132013-02-12 Pedro Alves <palves@redhat.com>
414
415 * gdb.mi/mi-basics.exp: Tweak intro comment.
416 * gdb.mi/mi-break.exp: Tweak intro comment.
417 * gdb.mi/mi-console.exp: Tweak intro comment.
418 * gdb.mi/mi-file.exp: Tweak intro comment.
419 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
420 * gdb.mi/mi-return.exp: Tweak intro comment.
421 * gdb.mi/mi-stepi.exp: Tweak intro comment.
422 * gdb.mi/mi-until.exp: Tweak intro comment.
423 * gdb.mi/mi-watch.exp: Tweak intro comment.
424
8a4ac37e
PA
4252013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
426
427 * gdb.server/no-thread-db.exp: New file.
428 * gdb.server/no-thread-db.c: New file.
429 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
430
c2792f5a
DE
4312013-02-11 Doug Evans <dje@google.com>
432
433 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
434 two decfloats.
435
d9e98382
SDJ
4362013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
437
438 * gdb.base/bitfields.c (struct internalvartest): New declaration.
439 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
440
a321661a
JK
4412013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
442
443 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
444
134a2066
YQ
4452013-02-06 Yao Qi <yao@codesourcery.com>
446
447 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
448 to ...
449 (test_create_delete_modify_tsv): ... here. New test on modifying
450 the initial value of a tsv.
451
5a2dc60a
JK
4522013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
453
454 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
455 (cd .../rdir): ... here.
456
233d95b5
JK
4572013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
458
459 * gdb.linespec/base/one/header.h: New file.
460 * gdb.linespec/base/two/header.h: New file.
461 * gdb.linespec/macro-relative.c: New file.
462 * gdb.linespec/macro-relative.exp: New file.
463
fbd9ab74
JK
4642013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
465
466 * gdb.base/fullpath-expand-func.c: New file.
467 * gdb.base/fullpath-expand.c: New file.
468 * gdb.base/fullpath-expand.exp: New file.
469 * gdb.base/realname-expand-real.c: New file.
470 * gdb.base/realname-expand.c: New file.
471 * gdb.base/realname-expand.exp: New file.
472
1b56eb55
JK
4732013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
474
475 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
476 * gdb.dwarf2/dw2-dir-file-name.c: New file.
477
af529f8f
JK
4782013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
479
480 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
481 (compare_filenames_for_search does not match)
482 (compare_filenames_for_search does match): New tests.
483
f5b95b50
JK
4842013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
485
486 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
487
d47921b9
JK
4882013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
489
490 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
491
8a92335b
JK
4922013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
493
494 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
495 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
496 ${binfile}.mini_debuginfo-debuglink and
497 ${binfile}.mini_debuginfo-debuglink.xz.
498
17f2157d
TT
4992013-02-01 Tom Tromey <tromey@redhat.com>
500
501 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
502 attributes.
503
d65f0a9c
TT
5042013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
505 Tom Tromey <tromey@redhat.com>
506
507 * gdb.dwarf2/method-ptr.exp: Link with c++.
508 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
509
f25c0135
TT
5102013-01-31 Tom Tromey <tromey@redhat.com>
511
512 * gdb.base/jit.exp (compile_jit_test): New proc.
513 Add PIE tests.
514
7078baeb
TT
5152013-01-31 Tom Tromey <tromey@redhat.com>
516
517 * gdb.dwarf2/method-ptr.cc: New file.
518 * gdb.dwarf2/method-ptr.exp: New file.
519
1d24041a
TT
5202013-01-31 Tom Tromey <tromey@redhat.com>
521
522 * lib/dwarf.exp (namespace Dwarf): New.
523
8d9878a4
TT
5242013-01-29 Tom Tromey <tromey@redhat.com>
525
526 * gdb.dwarf2/fission-reread.exp: Add unload test.
527
bed911e5
DE
5282013-01-28 Doug Evans <dje@google.com>
529
530 * gdb.dwarf2/fission-loclists.exp: New file.
531 * gdb.dwarf2/fission-loclists.S: New file.
532
e229648e
JK
5332013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
534
535 Code cleanup.
536 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
537 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
538 and prepare_for_testing.
539 * gdb.base/store.exp: Likewise.
540
86700f00
TT
5412013-01-25 Tom Tromey <tromey@redhat.com>
542
543 * gdb.python/py-explore.exp: Expect the gdb prompt.
544
8954db33
AB
5452013-01-25 Andrew Burgess <aburgess@broadcom.com>
546
547 * gdb.base/gnu_vector.c: New variable for use in tests.
548 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
549 changes in scalar to vector casting and widening.
550 * gdb.python/py-type.c: New variables for use in tests.
551 * gdb.python/py-type.exp: Update vector related tests to reflect
552 changes in scalar to vector casting and widening.
553
2077afdd
TD
5542013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
555
556 * gdb.base/prologue-include.c: New file.
557 * gdb.base/prologue-include.exp: New file.
558 * gdb.base/prologue-include.h: New file.
559
d7499464
HAQ
5602013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
561
562 PR gdb/13443
563 * gdb.mi/mi-var-block.exp: Make test messages unique.
564
e2a3e0f1
TT
5652013-01-23 Tom Tromey <tromey@redhat.com>
566
567 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
568
152fcc9c
TT
5692013-01-23 Tom Tromey <tromey@redhat.com>
570
571 * gdb.cp/converts.cc (main): Initialize 'a'.
572
bea883fd
SCR
5732013-01-23 Siva Chandra Reddy <sivachandra@google.com>
574
575 * testsuite/gdb.python/frame.exp: Add a test for
576 gdb.Frame.architecture() method.
577
0928e93d
PA
5782013-01-22 Pedro Alves <palves@redhat.com>
579
580 * gdb.base/annota1.exp (signal sent): No longer expect
581 breakpoints-invalid.
582 * gdb.cp/annota2.exp (continue until exit)
583 (watch triggered on a.x): Ditto.
584
9c97429f
PA
5852013-01-22 Pedro Alves <palves@redhat.com>
586
587 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
588 Adjust tests to breakpoints-invalid changes.
589 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
590 variables.
591 Adjust tests to breakpoints-invalid changes.
592
187d10dd
PA
5932013-01-22 Pedro Alves <palves@redhat.com>
594
595 * gdb.base/annota1.exp (annotate ignore count change): Add
596 expected output for failure case.
597
ea3aedcb
TT
5982013-01-22 Tom Tromey <tromey@redhat.com>
599
600 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
601 call.
602
998580f1
MK
6032013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
604
605 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 606 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
607 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
608 Also handle 'thread' field.
609 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
610 * gdb.mi/mi-watch.exp: Ditto.
611 * lib/mi-support.exp: Ditto.
612
8f1d5693
MK
6132013-01-21 Siva Chandra Reddy <sivachandra@google.com>
614
615 * gdb.python/py-explore.exp: Improve a test
616
2d8c5d7c
DB
6172013-01-18  David Blaikie  <dblaikie@gmail.com>
618
619 * gdb.base/label.c (main): Correct the type of the second
620 parameter.
621
46f35228
TT
6222013-01-18 Tom Tromey <tromey@redhat.com>
623
624 * gdb.dwarf2/trace-crash.s: New file.
625 * gdb.dwarf2/trace-crash.exp: New file.
626
5965d69d
HAQ
6272013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
628
43aaf8b6
PA
629 PR gdb/13443
630 * gdb.base/checkpoint.exp: Update test messages to make them
631 unique.
5965d69d 632
5ae4861a
YQ
6332013-01-18 Yao Qi <yao@codesourcery.com>
634
635 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
636 output of 'info tracepoints'.
637 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
638 Likewise.
639 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
640 * gdb.trace/disconnected-tracing.c (struct foo): New.
641
d84fca2c
JK
6422013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
643
644 * gdb.dwarf2/dw2-dos-drive.S: New file.
645 * gdb.dwarf2/dw2-dos-drive.exp: New file.
646
aebb1cc9
DE
6472013-01-17 Doug Evans <dje@google.com>
648
2782d512
DE
649 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
650 CXX_FOR_TARGET.
651
aebb1cc9
DE
652 * boards/cc-with-tweaks.exp: New file.
653
db2b2972
TT
6542013-01-17 Tom Tromey <tromey@redhat.com>
655
656 * gdb.base/completion.exp: Add "set cp-abi" completion test.
657
96343774
PA
6582013-01-17 Pedro Alves <palves@redhat.com>
659
660 Merge dg-extract-results.sh from upstream (svn 195224).
661
662 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 663 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
664
665 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 666 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
667
668 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 669 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
670
671 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
672 * dg-extract-results.sh: Redirect grep output to /dev/null instead
673 of grep -q.
674
675921c0
SD
6752012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
676
677 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
678 interface.
679 * gdb.base/jithost.c: New file.
680 * gdb.base/jithost.h: New file.
681 * gdb.base/jitreader.c : New file.
682 * gdb.base/jit-protocol.h: New file.
683
ab04a2af
TT
6842013-01-16 Tom Tromey <tromey@redhat.com>
685
686 * gdb.base/catch-signal.c: New file.
687 * gdb.base/catch-signal.exp: New file.
688
8ac3646f
TT
6892013-01-16 Tom Tromey <tromey@redhat.com>
690
691 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
692
22fc223e
JK
6932013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
694
695 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
696
44478ab3
TT
6972013-01-14 Tom Tromey <tromey@redhat.com>
698
699 * gdb.base/completion.exp: Add "set gnutarget" test.
700
06d66ee9
TT
7012013-01-14 Tom Tromey <tromey@redhat.com>
702
703 * gdb.dwarf2/dw2-restrict.S: New file.
704 * gdb.dwarf2/dw2-restrict.c: New file.
705 * gdb.dwarf2/dw2-restrict.exp: New file.
706
c9bf0622
TT
7072013-01-14 Tom Tromey <tromey@redhat.com>
708
709 * gdb.dwarf2/dw2-error.exp: New file.
710 * gdb.dwarf2/dw2-error.c: New file.
711 * gdb.dwarf2/dw2-error.S: New file.
712
5b12a61c
JK
7132013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
714
715 * gdb.cp/parse-lang.cc: New file.
716 * gdb.cp/parse-lang.exp: New file.
717
f0a4b570
JK
7182013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
719
720 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
721 (set substitute-path): New test.
722 (fullname present): Remove content.
723 (substituted fullname): New test.
724
f751cc97
JB
7252013-01-13 Joel Brobecker <brobecker@adacore.com>
726
727 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
728 check. Move $gdb_py_is_py24 value check right after.
729
04164e8e
JK
7302013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
731
732 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
733 targets.
734
5bf480a5
YQ
7352013-01-11 Yao Qi <yao@codesourcery.com>
736
737 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
738 for dprintf.
739 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
740 Check the fields in "=breakpoint-created" for dprintf.
741
f35a17b5
JK
7422012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
743
744 * gdb.mi/mi-fullname-deleted.exp: New file.
745
85817405
JK
7462012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
747
748 * gdb.base/skip-solib.exp (info skip with pending file): Update the
749 expected output.
750 (info skip with pending file): Remove.
751 (ignoring function in solib, info skip for function multiply): Update
752 the expected output.
753 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
754 (info skip (delete 1), info skip after disabling all)
755 (info skip after enabling all, info skip after disabling 4 2-3)
756 (info skip after enabling 2-3, info skip 2-3)
757 (info skip after deleting 2 3): Update the expected output.
758 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
759 statement to its initialization and return.
760 * gdb.linespec/skip-two.exp: New file.
761
27210e12
DE
7622012-12-19 Doug Evans <dje@google.com>
763
764 * gdb.base/maint.exp: Handle testing with .gdb_index.
765
bb627a12
JB
7662012-12-19 Joel Brobecker <brobecker@adacore.com>
767
768 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
769 Cavium to FSF.
770
7785b880
JB
7712012-12-19 Joel Brobecker <brobecker@adacore.com>
772
773 * dg-extract-results.sh: Update contact info in copyright notice.
774 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
775 GPL v3 or later. Update contact info.
776 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
777 gdb.threads/watchpoint-fork-mt.c,
778 gdb.threads/watchpoint-fork-parent.c,
779 gdb.threads/watchpoint-fork-st.c,
780 gdb.threads/watchpoint-fork.h: Likewise.
781
f2a8bc8a
YQ
7822012-12-15 Yao Qi <yao@codesourcery.com>
783
784 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
785 'installed' field in '=breakpoint-modified'.
786 (test_reconnect): Check 'installed' field in
787 '=breakpoint-modified' and '=breakpoint-created'.
788
789 * gdb.trace/actions.exp: Update test for 'installed' field.
790 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
791 (tracepoint_change_loc_2): Likewise.
792 Check 'info tracepoint' display nothing else.
793 * gdb.trace/deltrace.exp: Likewise.
794 * gdb.trace/infotrace.exp: Likewise.
795 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
796 Likewise.
797 * gdb.trace/passcount.exp: Likewise.
798 * gdb.trace/tracecmd.exp: Likewise.
799 * gdb.trace/while-stepping.exp: Likewise.
800
6592e36f
TT
8012012-12-14 Tom Tromey <tromey@redhat.com>
802
803 * gdb.cp/member-name.exp: New file.
804 * gdb.cp/member-name.cc: New file.
805
7d27a96d
TT
8062012-12-14 Tom Tromey <tromey@redhat.com>
807
808 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
809
f8c05d0d
DE
8102012-12-14 Doug Evans <dje@google.com>
811
812 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
813 DW_OP_GNU_implicit_pointer is section-relative.
814
451b7c33
TT
8152012-12-14 Tom Tromey <tromey@redhat.com>
816
43aaf8b6 817 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 818
10e339df
PA
8192012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
820
6fdff2c5 821 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 822
e780d813
DE
8232012-12-13 Doug Evans <dje@google.com>
824
825 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
826 * gdb.multi/multi-arch.exp: Ditto.
827
ca3dbcc8 8282012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 829
ca3dbcc8
MG
830 * gdb.mi/mi-catch-load-so.c: New. Clone of the
831 catch load test library source file.
832 * gdb.mi/mi-catch-load.c: New. Clone of the catch
833 load test source file.
834 * gdb.mi/mi-catch-load.exp: New. Test file for
835 basic MI -catch-load and -catch-unload tests.
836
2960a434
PK
8372012-12-11 Paul Koning <paul_koning@dell.com>
838
839 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
840 exception.
841 (_iterator_except): New function.
842 (ArrayPrinter): Use _iterator function instead of local _iterator
843 class for Python 3 compatibility.
844 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 845 _iterator.
2960a434
PK
846 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
847 execfile for Python 3 compatibility.
848 * gdb.python/python.exp: Handle Python 2.4 exception traceback
849 format in error_prompt test.
6fdff2c5 850
9325cb04
PK
8512012-12-10 Paul Koning <paul_koning@dell.com>
852
853 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 854 compatibility.
9325cb04
PK
855 * gdb.python/py-block.exp: Ditto.
856 * gdb.python/py-breakpoint.exp: Ditto.
857 * gdb.python/py-cmd.exp: Ditto.
858 * gdb.python/py-events.py: Ditto.
859 * gdb.python/py-finish-breakpoint.py: Ditto.
860 * gdb.python/py-finish-breakpoint2.exp: Ditto.
861 * gdb.python/py-finish-breakpoint2.py: Ditto.
862 * gdb.python/py-frame-inline.exp: Ditto.
863 * gdb.python/py-frame.exp: Ditto.
864 * gdb.python/py-infthread.exp: Ditto.
865 * gdb.python/py-objfile.exp: Ditto.
866 * gdb.python/py-parameter.exp: Ditto.
867 * gdb.python/py-progspace.exp: Ditto.
868 * gdb.python/py-prompt.exp: Ditto.
869 * gdb.python/py-symbol.exp: Ditto.
870 * gdb.python/py-symtab.exp: Ditto.
871 * gdb.python/py-template.exp: Ditto.
872 * gdb.python/py-value-cc.exp: Ditto.
873 * gdb.python/python.exp: Ditto.
874 * gdb.python/source2.py: Ditto.
875 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 876 compatibility.
9325cb04
PK
877 Use sorted() function rather than sort() method.
878 Accept either int or long values for enum values.
879 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
880 execfile for Python 3 compatibility.
881 * gdb.python/py-evsignal.exp: Ditto.
882 * gdb.python/py-evthreads.exp: Ditto.
883 * gdb.python/py-mi.exp: Ditto.
884 * gdb.python/py-pp-maint.exp: Ditto.
885 * gdb.python/py-prettyprint.exp: Ditto.
886 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 887 Python 3 compatibility.
9325cb04
PK
888 Skip tests for Python 2.4.
889 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 890 Python 3 compatibility.
9325cb04
PK
891 Use byte string rather than character string in memory write test
892 if Python 3.
893 * gdb.python/py-pp-maint.py: Change class declarations to "new
894 class" syntax.
895 * gdb.python/py-prettyprint.py: Change iterator class to generator
896 function for Python 3 compatibility.
897 Make all classes "new style".
898 Fix indentation issue and stray semicolon.
899 * gdb.python/py-shared.expChange print syntax for Python 3
900 compatibility.
901 Define "long" if Python 3.
902 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 903 compatibility.
9325cb04
PK
904 Accept either int or long values for enum values.
905 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 906 compatibility.
9325cb04
PK
907 Skip "long" and "unicode" tests if Python 3.
908 Accept either "type" or "class" in type checks.
909 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
910 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
911
8b9737bf
TT
9122012-12-10 Tom Tromey <tromey@redhat.com>
913
914 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
915 (test): Add "two_cu" argument.
916 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
917 for types; allow two CUs.
918
1b80a9fa
JK
9192012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
920
921 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
922 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
923
f0b6d50a
YQ
9242012-12-08 Yao Qi <yao@codesourcery.com>
925 Pedro Alves <palves@redhat.com>
926
927 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
928 '=breakpoint-created' when GDB merges the tracepoints of both
929 sides.
930
2f68a895
TT
9312012-12-07 Tom Tromey <tromey@redhat.com>
932
933 * gdb.base/break1.c (enum some_enum, union some_union): New.
934 (some_enum_global, some_union_global, some_value): New globals.
935 * gdb.base/completion.exp: Add tag completion tests.
936
4fc5d43e
TT
9372012-12-07 Tom Tromey <tromey@redhat.com>
938
939 * gdb.base/completion.exp: Add tests for ptype and whatis
940 completion.
941
6559e013
JB
9422012-12-07 Joel Brobecker <brobecker@adacore.com>
943
944 * gdb.base/stale-infcall.exp: Fix copyright line.
945
ae2b630d
JB
9462012-12-07 Joel Brobecker <brobecker@adacore.com>
947
948 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
949
0ba2eb0f
TT
9502012-12-06 Pedro Alves <palves@redhat.com>
951 Tom Tromey <tromey@redhat.com>
952
953 * gdb.base/exprs.exp: Add tests for cast to void.
954
731145cb
TT
9552012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
956
957 * gdb.python/py-mi.exp: Correct expected results for attribute
958 "dynamic" returned by -var-update.
959 Add test case for correct handling of "diplayhint" for children
960 of dynamic varobjs.
961 * gdb.python/py-prettyprint.c (set_itme): New function.
962 (bug_14741) New function.
963 (main) Add call to bug_14741().
964 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
965
e58fcc15
UW
9662012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
967
968 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
969 ${binfile}.funcsyms list.
970
e9eb0d14
YQ
9712012-12-04 Yao Qi <yao@codesourcery.com>
972
973 PR gdb/13443
974 * gdb.trace/actions.exp: Make test messages unique.
975
4983028c
TT
9762012-11-29 Tom Tromey <tromey@redhat.com>
977
978 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
979
ea5e6b0e
UW
9802012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
981
982 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
983 * gdb.opencl/datatypes.exp: Likewise.
984 * gdb.opencl/operators.exp: Likewise.
985 * gdb.opencl/vec_comps.exp: Likewise.
986
cdde3dfb
JG
9872012-11-29 Jerome Guitton <guitton@adacore.com>
988
989 * gdb.ada/iwide: New testcase.
990
b50d69b5
JG
9912012-11-29 Jerome Guitton <guitton@adacore.com>
992
993 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
994 ptype test.
995
c2d3fccf
JG
9962012-11-29 Jerome Guitton <guitton@adacore.com>
997
998 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
999 form {VARIANT_TYPE}ADDRESS.
1000
5edf51fe
YQ
10012012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
1002
1003 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
1004 (func): New function.
1005 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
1006 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
1007 pointers to members with pointer-to-function type.
1008
608e2dbb
TT
10092012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1010 Tom Tromey <tromey@redhat.com>
1011
1012 * gdb.base/gnu-debugdata.exp: New file.
1013 * gdb.base/gnu-debugdata.c: New file.
1014 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
1015 (gdb_unload): Return 0 on success.
1016
4648e588
JK
10172012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1018
1019 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
1020
17d6efc4
JB
10212012-11-26 Joel Brobecker <brobecker@adacore.com>
1022
1023 * gdb.base/empty_exe.exp: New testcase.
1024
ace21957
MF
10252012-11-20 Mike Frysinger <vapier@gentoo.org>
1026
1027 * gdb.base/completion.exp: Add test for help aliases completion.
1028
5c401a0a
YQ
10292012-11-20 Yao Qi <yao@codesourcery.com>
1030
1031 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1032 Don't test 'maint set show-debug-regs'.
1033 Use command 'set remotecache' instead of
1034 'set circular-trace-buffer'.
1035
8dea366b
KS
10362012-11-16 Keith Seitz <keiths@redhat.com>
1037
1038 PR c++/13615
1039 * gdb.cp/baseenum.cc: New file.
1040 * gdb.cp/baseenum.exp: New file.
1041 * gdb.cp/derivation.cc (A): Add copyright.
1042 Add a typedef.
1043 (B): Use A::value_type instead of int. Change all references.
1044 (D): Use value_type instead of int. Change all references.
1045 (E): Likewise.
1046 (F); Likewise.
1047 (Z): New class.
1048 (ZZ): New class.
6fdff2c5 1049 (N, Base, Derived): New namespace and classes.
8dea366b
KS
1050 (main): Add instances of Z and ZZ.
1051 Make sure all symbols from N are kept.
1052 * gdb.cp/derivation.exp: Update typedef changes in tests.
1053 Add tests for class typedefs both before and after starting
1054 the inferior.
1055 Add tests for searching for a typedef while stopped in a
1056 method.
1057
5e34c6c3
LM
10582012-11-14 Luis Machado <lgustavo@codesourcery.com>
1059
1060 * gdb.mi/mi-var-create-rtti.c: New file.
1061 * gdb.mi/mi-var-create-rtti.exp: New file.
1062
5e487a5f
LM
10632012-11-14 Luis Machado <lgustavo@codesourcery.com>
1064
1065 * gdb.base/structs3.exp: Run to main before doing any tests.
1066
6d67b990
AB
10672012-11-14 Andrew Burgess <aburgess@broadcom.com>
1068
1069 * gdb.python/py-type.exp: Uniquify test names.
1070
e5d98164
YQ
10712012-11-14 Yao Qi <yao@codesourcery.com>
1072
1073 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
1074 (thread_function) [DEBUG]: Call 'printf'.
1075 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
1076 command line if 'DEBUG=1' is passed to test.
1077 Remove a pattern to match inferior's output.
1078
62747a60
TT
10792012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
1080
1081 * gdb.mi/mi-fill-memory.exp: New test.
1082
18a9fc12
TT
10832012-11-12 Tom Tromey <tromey@redhat.com>
1084
1085 * gdb.base/completion.exp: Update for "info type-printers".
1086 * gdb.python/py-typeprint.cc: New file.
1087 * gdb.python/py-typeprint.exp: New file.
1088 * gdb.python/py-typeprint.py: New file.
1089
bd69fc68
TT
10902012-11-12 Tom Tromey <tromey@redhat.com>
1091
1092 * gdb.base/call-sc.exp: Use "ptype/r".
1093 * gdb.base/volatile.exp: Don't expect "int".
1094 * gdb.cp/ptype-flags.cc: New file.
1095 * gdb.cp/ptype-flags.exp: New file.
1096 * gdb.cp/templates.exp: Use ptype/r.
1097 (test_ptype_of_templates, test_template_typedef): Likewise.
1098 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
1099 argument. Handle template names and template parameters.
1100 * gdb.mi/mi-var-cmd.exp: Accept "long".
1101 * gdb.mi/mi-var-child.exp: Accept "long".
1102 * gdb.mi/mi-var-display.exp: Accept "long".
1103 * gdb.mi/mi2-var-child.exp: Accept "long".
1104
b3720c3a
TT
11052012-11-12 Tom Tromey <tromey@redhat.com>
1106
1107 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
1108 "ptype" from calls to cp_test_ptype_class.
1109 (test_enums): Likewise.
1110 * gdb.cp/derivation.exp: Remove "ptype" from calls to
1111 cp_test_ptype_class.
1112 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
1113 calls to cp_test_ptype_class.
1114 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
1115 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
1116 from calls to cp_test_ptype_class.
1117 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
1118 command here. Change "in_command" argument to "in_exp".
1119
0d63ecda
KS
11202012-11-10 Keith Seitz <keiths@redhat.com>
1121
1122 PR gdb/14288
1123 * gdb.base/printcmds.c: Add invalid_XXX globals
1124 for repeated byte tests.
1125 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
1126 * gdb.base/wchar.c (main): Add and construct a wchar_t
1127 array with repeated characters.
1128 * gdb.base/wchar.exp: Add repeated character tests.
1129
ed8a1c2d
AB
11302012-11-09 Andrew Burgess <aburgess@broadcom.com>
1131
1132 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
1133 disassembly output.
1134
9107fc8d
PA
11352012-11-09 Pedro Alves <palves@redhat.com>
1136
1137 PR gdb/14306
1138
1139 * gdb.multi/multi-arch-exec.c: New file.
1140 * gdb.multi/multi-arch-exec.exp: New file.
1141
558a9d82
YQ
11422012-11-09 Yao Qi <yao@codesourcery.com>
1143
1144 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
1145 (top level): Call it.
1146
e714f336
YQ
11472012-11-09 Yao Qi <yao@codesourcery.com>
1148
1149 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
1150 typo.
1151
6ecd4729
PA
11522012-11-09 Pedro Alves <palves@redhat.com>
1153
1154 * gdb.multi/multi-arch.exp: New.
1155
9015683b
TT
11562012-11-08 Tom Tromey <tromey@redhat.com>
1157
1158 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
1159 core files, if possible.
1160 * gdb.base/siginfo-thread.c: New file
1161 * gdb.base/siginfo-thread.exp: New file
1162
ea9f10bb
TT
11632012-11-08 Tom Tromey <tromey@redhat.com>
1164
1165 * gdb.base/comprdebug.exp: New file.
1166
f6592439
PA
11672012-11-06 Pedro Alves <palves@redhat.com>
1168
1169 PR gdb/14810
1170
1171 * gdb.base/disabled-location.c: New file.
1172 * gdb.base/disabled-location.exp: New file.
1173
2d338fa9
TT
11742012-11-06 Tom Tromey <tromey@redhat.com>
1175
1176 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
1177 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
1178 gdb_gcore_cmd.
1179 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
1180 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
1181 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
1182 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
1183 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
1184 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
1185 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
1186 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
1187 * lib/gdb.exp (gdb_gcore_cmd): New proc.
1188
68c9da30
PA
11892012-11-05 Pedro Alves <palves@redhat.com>
1190
1191 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
1192 procedure.
1193 (do_vfork_and_follow_child_tests_exec)
1194 (do_vfork_and_follow_child_tests_exit): Call it.
1195
a7c8c931
PA
11962012-11-05 Pedro Alves <palves@redhat.com>
1197
1198 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
1199 fails.
1200
6f6484cd
YQ
12012012-11-03 Yao Qi <yao@codesourcery.com>
1202
1203 Fix PR gdb/14617.
1204 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1205 Remove setup_kfail, and update test.
1206
b45627a0
TT
12072012-11-02 Tom Tromey <tromey@redhat.com>
1208
1209 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
1210 test.
1211
f50f4e56
PA
12122012-11-02 Pedro Alves <palves@redhat.com>
1213
1214 PR gdb/14766
1215
1216 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
1217 setup_kfail.
1218 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
1219 get registers".
1220
71ce889d
PA
12212012-11-02 Pedro Alves <palves@redhat.com>
1222
1223 * gdb.base/foll-vfork-exit.c: New file.
1224 * gdb.base/foll-vfork.exp (top level): New file-describing
1225 comment.
1226 (vfork_child_follow_to_exit): New procedure.
1227 (tcatch_vfork_then_child_follow): Rename as ...
1228 (tcatch_vfork_then_child_follow_exec): ... this.
1229 (tcatch_vfork_then_child_follow_exit): New procedure.
1230 (do_vfork_and_follow_parent_tests): New procedure, factored out
1231 from do_vfork_and_exec_tests.
1232 (do_vfork_and_follow_child_tests_exec): Ditto.
1233 (do_vfork_and_exec_tests): Delete.
1234 (do_vfork_and_follow_child_tests_exit): New procedure.
1235 (top level): Run tests with both the program that has the vfork
1236 child execing, and the program has the vfork child exiting.
1237
1e35b1a9
PA
12382012-11-02 Pedro Alves <palves@redhat.com>
1239
1240 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
1241 (check_vfork_catchpoints, vfork_parent_follow_through_step)
1242 (vfork_parent_follow_to_bp): Call it.
1243 (kill_child): Delete.
1244 (vfork_and_exec_child_follow_to_main_bp)
1245 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
1246 longer call kill_child.
1247 (tcatch_vfork_then_parent_follow): Call setup_gdb.
1248 (do_vfork_and_exec_tests): Don't runto_main before calling each
1249 test procedure.
1250 (top level): Don't clean restart and set verbose before running
1251 each test procedure.
1252
12532012-11-02 Pedro Alves <palves@redhat.com>
1254
1255 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
1256 (vfork_parent_follow_to_bp)
1257 (vfork_and_exec_child_follow_to_main_bp)
1258 (vfork_and_exec_child_follow_through_step)
1259 (tcatch_vfork_then_parent_follow)
1260 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1261 Use with_test_prefix.
1262
12632012-11-02 Pedro Alves <palves@redhat.com>
1264
1265 * gdb.base/foll-vfork.c: Add copyright header.
1266 * gdb.base/vforked-prog.c: Add copyright header.
1267
12682012-11-02 Pedro Alves <palves@redhat.com>
1269
1270 * gdb.base/foll-vfork.exp
1271 (vfork_and_exec_child_follow_through_step): Don't skip on
1272 non-HP/UX targets. Expect the next to only step one line on
1273 non-HP/UX targets, rather than stopping only after the exec.
1274
12752012-11-02 Pedro Alves <palves@redhat.com>
1276
1277 Don't hard code line numbers.
1278
1279 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
1280 Expect text from the sources instead of a line number.
1281 (vfork_parent_follow_to_bp)
1282 (vfork_and_exec_child_follow_to_main_bp)
1283 (vfork_and_exec_child_follow_through_step)
1284 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1285 Use gdb_get_line_number.
1286
12872012-11-02 Pedro Alves <palves@redhat.com>
1288
1289 Modernize.
1290
1291 * gdb.base/foll-vfork.exp: Use standard_testfile and
1292 build_executable. Pass descriptive string to untested.
1293 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
1294 (vfork_and_exec_child_follow_to_main_bp)
1295 (vfork_and_exec_child_follow_through_step)
1296 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
1297 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
1298 of send_gdb/gdb_expect.
1299
1300 (kill_child): New procedure.
1301 (vfork_and_exec_child_follow_to_main_bp)
1302 (vfork_and_exec_child_follow_through_step): Use it.
1303
f0559fff
YQ
13042012-11-02 Yao Qi <yao@codesourcery.com>
1305
1306 * gdb.base/setvar.exp: Test setting nested struct.
1307 * gdb.base/setvar.c (v_struct3): New.
1308
c207c6da
DE
13092012-11-01 Doug Evans <dje@google.com>
1310
1311 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
1312 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
1313 use them.
1314
2f27adfe
AB
13152012-10-31 Andrew Burgess <aburgess@broadcom.com>
1316
1317 PR cli/14772
1318 * gdb.base/gnu_vector.c (union_with_vector_1)
1319 (struct_with_vector_1): Add new struct and union for testing
1320 ptype.
1321 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
1322 structs / unions containing vectors.
1323
bb662ca6
YQ
13242012-10-25 Yao Qi <yao@codesourcery.com>
1325
1326 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
1327 'setup_kfail' instead of 'setup_kfail_for_target'.
1328 * gdb.base/varargs.exp: Likewise.
1329 * lib/gdb.exp (setup_kfail_for_target): Remove.
1330
635d23ff
MK
13312012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
1332
1333 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
1334
afdb064f
MK
13352012-10-25 Mark Kettenis <kettenis@gnu.org>
1336
1337 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
1338
d99dcf51
JB
13392012-10-24 Joel Brobecker <brobecker@adacore.com>
1340
1341 * gdb.ada/set_wstr: New testcase.
1342
32560274
JB
13432012-10-24 Joel Brobecker <brobecker@adacore.com>
1344
1345 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
1346
5ded5331
JB
13472012-10-24 Joel Brobecker <brobecker@adacore.com>
1348
1349 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
1350
d8d84291
MK
13512012-10-24 Mark Kettenis <kettenis@gnu.org>
1352
1353 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
1354
6e933c51
JK
13552012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1356
1357 * gdb.base/callfuncs.exp (do_function_calls): Fix
1358 setup_kfail_for_target for -m32 mode.
1359
274bd000
MK
13602012-10-23 Mark Kettenis <kettenis@gnu.org>
1361
1362 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
1363 are now fixed.
1364
545f743d
YQ
13652012-10-23 Yao Qi <yao@codesourcery.com>
1366
1367 * gdb.base/info-os.exp: Resume the inferior until it exits.
1368
48b56b6a 13692012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
1370
99c7d5a8 1371 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
1372 * gdb.base/print-file-var.exp: Likewise.
1373 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 1374
8de0566d
YQ
13752012-10-17 Yao Qi <yao@codesourcery.com>
1376
1377 * gdb.mi/mi-memory-changed.exp: New.
1378
44883546
YQ
13792012-10-16 Yao Qi <yao@codesourcery.com>
1380
1381 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
1382 returns true.
1383 Call gdb_load_shlibs.
1384 * gdb.reverse/solib-reverse.exp: Likewise.
1385
345f514a
KS
13862012-10-15 Keith Seitz <keiths@redhat.com>
1387
1388 * lib/cp-support.exp (cp_test_ptype_class): Add support
1389 for class typedefs.
1390
1391 * gdb.cp/derivation.exp: Add tests for g_instance.
1392
9e3a7d65
JK
13932012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1394
1395 Fix entry values resolving in inlined frames.
1396 * gdb.arch/amd64-entry-value-inline.S: New file.
1397 * gdb.arch/amd64-entry-value-inline.c: New file.
1398 * gdb.arch/amd64-entry-value-inline.exp: New file.
1399
21a7b089
JK
14002012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1401 Doug Evans <dje@google.com>
1402
1403 Fix recent gdb_breakpoint regression.
1404 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
1405 braces from the parameter.
1406 * gdb.java/jprint.exp: Likewise.
1407
2c47921e
DE
14082012-10-15 Doug Evans <dje@google.com>
1409
1410 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
1411
89398707
JB
14122012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
1413
1414 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
1415
801e4185
TT
14162012-10-15 Tom Tromey <tromey@redhat.com>
1417
1418 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
1419
74f910c8
TT
14202012-10-15 Tom Tromey <tromey@redhat.com>
1421
1422 * gdb.python/py-symbol.exp: Test symbol destructor.
1423
91567807
YQ
14242012-10-14 Yao Qi <yao@codesourcery.com>
1425
1426 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
1427 * gdb.mi/mi-cli.exp: New.
1428
1429 * gdb.mi/mi2-basics.exp: Remove.
1430 * gdb.mi/mi2-break.exp: Remove.
1431 * gdb.mi/mi2-console.exp: Remove.
1432 * gdb.mi/mi2-disassemble.exp: Remove.
1433 * gdb.mi/mi2-eval.exp: Remove.
1434 * gdb.mi/mi2-file.exp: Remove.
1435 * gdb.mi/mi2-hack-cli.exp: Remove.
1436 * gdb.mi/mi2-pthreads.exp: Remove.
1437 * gdb.mi/mi2-read-memory.exp: Remove.
1438 * gdb.mi/mi2-regs.exp: Remove.
1439 * gdb.mi/mi2-return.exp: Remove.
1440 * gdb.mi/mi2-simplerun.exp: Remove.
1441 * gdb.mi/mi2-stack.exp: Remove.
1442 * gdb.mi/mi2-stepi.exp: Remove.
1443 * gdb.mi/mi2-syn-frame.exp: Remove.
1444 * gdb.mi/mi2-until.exp: Remove.
1445 * gdb.mi/mi2-watch.exp: Remove.
1446 * gdb.mi/mi2-var-block.exp: Remove.
1447 * gdb.mi/mi2-var-cmd.exp: Remove.
1448 * gdb.mi/mi2-var-display.exp: Remove.
1449
87332029
YQ
14502012-10-12 Yao Qi <yao@codesourcery.com>
1451
1452 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
1453 trail '.*' on matching patterns.
1454
11fc9057
L
14552012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1456
1457 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
1458 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
1459 * gdb.arch/i386-disp-step.exp: Likewise.
1460 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1461 * gdb.arch/i386-prologue.exp: Likewise.
1462 * gdb.arch/i386-size-overlap.exp: Likewise.
1463 * gdb.arch/i386-size.exp: Likewise.
1464 * gdb.arch/i386-unwind.exp: Likewise.
1465
7d46bcdc
L
14662012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1467
1468 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
1469 * gdb.arch/i386-word.exp: Likewise.
1470
31224d9d
L
14712012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1472
1473 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
1474 is_ilp32_target to set nr_regs.
1475 * gdb.arch/i386-sse.exp: Likewise.
1476
5b7d0050
DE
14772012-10-11 Doug Evans <dje@google.com>
1478
7c09e5a0
DE
1479 PR breakpoints/14643.
1480 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
1481 * gdb.linespec/thread.c: New file.
1482 * gdb.linespec/thread.exp: New file.
1483
5b7d0050
DE
1484 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
1485 Recognize "message" -> print pass and fail. Add eof case.
1486 (runto): Recognize message, no-message. Print pass/fail if requested,
1487 with same treatment as gdb_breakpoint.
1488 (runto_main): Pass no-message to runto.
1489 (gdb_internal_error_resync): Add log message.
1490 (gdb_file_cmd): Tweak internal error fail text for consistency.
1491
2e24f4aa
JK
14922012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1493
1494 Fix crash during stepping on ppc32.
1495 * gdb.base/step-symless.c: New file.
1496 * gdb.base/step-symless.exp: New file.
1497
aa14df25
DE
14982012-10-03 Doug Evans <dje@google.com>
1499
1500 PR symtab/14601
1501 * gdb.cp/using-crash.exp: New file.
1502 * gdb.cp/using-crash.cc: New file.
1503
975531db
DE
15042012-10-02 Doug Evans <dje@google.com>
1505
1506 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
1507 more consistent.
1508 (runto,gdb_debug_format): Ditto.
1509 (gdb_file_cmd): Watch for eof in nested gdb_expect.
1510 Clean up logging and error messages.
1511
b3dc46ff
AB
15122012-10-01 Andrew Burgess <aburgess@broadcom.com>
1513
1514 Test find command on unmapped memory.
1515 * gdb.base/find-unmapped.c: New file.
1516 * gdb.base/find-unmapped.exp: New file.
1517
45814d45
YQ
15182012-09-29 Yao Qi <yao@codesourcery.com>
1519
1520 * gdb.trace/mi-tracepoint-changed.exp: New.
1521 * gdb.mi/mi-breakpoint-changed.exp: New.
1522 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
1523 * gdb.mi/pendshr2.c: New.
1524
4c2786ba
YQ
15252012-09-28 Yao Qi <yao@codesourcery.com>
1526
1527 * gdb.mi/pr11022.exp: New.
1528 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
1529
7977e5d2
TT
15302012-09-27 Tom Tromey <tromey@redhat.com>
1531
1532 * gdb.cp/derivation.exp: Add regression test.
1533 * gdb.cp/derivation.cc (class V_base, class V_inter, class
1534 V_derived): New.
1535 (vderived): New global.
1536
0971de02
TT
15372012-09-26 Tom Tromey <tromey@redhat.com>
1538
1539 * gdb.dwarf2/dw2-common-block.S: New file.
1540 * gdb.dwarf2/dw2-common-block.exp: New file.
1541
4357ac6c
TT
15422012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1543
1544 * gdb.fortran/common-block.exp: New file.
1545 * gdb.fortran/common-block.f90: New file.
1546
6f380991
AB
15472012-09-26 Andrew Burgess <aburgess@broadcom.com>
1548
1549 * gdb.base/duplicate-bp.c: New file.
1550 * gdb.base/duplicate-bp.exp: New file.
1551
8ae551cf
YQ
15522012-09-26 Yao Qi <yao@codesourcery.com>
1553
1554 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
1555
1556 Revert:
1557 2012-09-21 Yao Qi <yao@codesourcery.com>
1558
1559 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1560
318102b9
SP
15612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1562
1563 * gdb.base/longest-types.c: New test case.
1564 * gdb.base/longest-types.exp: New test case.
1565
a1e5fd69
YQ
15662012-09-25 Yao Qi <yao@codesourcery.com>
1567
1568 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
1569
04e7407c
JK
15702012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1571
1572 Fix internal error on canonicalization of clang types.
1573 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
1574 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
1575 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
1576
9bf4bce9
JK
15772012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1578
1579 Fix disassemble without parameters in tailcall frame.
1580 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
1581
2603f7ee
AB
15822012-09-21 Andrew Burgess <aburgess@broadcom.com>
1583
1584 * gdb.dwarf2/dw2-op-out-param.S: New file.
1585 * gdb.dwarf2/dw2-op-out-param.exp: New file.
1586
a3569abd
YQ
15872012-09-21 Yao Qi <yao@codesourcery.com>
1588
1589 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1590
a065d7af
YQ
15912012-09-21 Yao Qi <yao@codesourcery.com>
1592
1593 * gdb.mi/mi-cli.exp: Remove.
1594 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
1595
15544bd9
YQ
15962012-09-21 Yao Qi <yao@codesourcery.com>
1597
1598 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
1599 "=record-started" notification.
1600
82a90ccf
YQ
16012012-09-21 Yao Qi <yao@codesourcery.com>
1602
1603 * gdb.mi/mi-record-changed.exp: New.
1604 * gdb.mi/mi-reverse.exp: Adjust expected output.
1605
d7de8e3c
TT
16062012-09-20 Tom Tromey <tromey@redhat.com>
1607
1608 * gdb.python/python.exp: Test atexit.register.
1609
1aa99537
DE
16102012-09-20 Doug Evans <dje@google.com>
1611
05eade73
DE
1612 * boards/dwarf4-gdb-index.exp: New file.
1613
1aa99537
DE
1614 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
1615 while running the tests.
1616
4ae24af0
JB
16172012-09-18 Joel Brobecker <brobecker@adacore.com>
1618
1619 * gdb.ada/bp_reset: New testcase.
1620
bb25a15c
YQ
16212012-09-18 Yao Qi <yao@codesourcery.com>
1622
1623 * gdb.trace/mi-tsv-changed.exp: New.
1624
201b4506
YQ
16252012-09-18 Yao Qi <yao@codesourcery.com>
1626
1627 * gdb.trace/mi-traceframe-changed.exp: New.
1628
6fc1c773
YQ
16292012-09-17 Yao Qi <yao@codesourcery.com>
1630
1631 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
1632 when it is less than 0.
1633
1ab3b62c
JK
16342012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1635
1636 PR 14119
1637 * gdb.arch/amd64-tailcall-ret.S: New file.
1638 * gdb.arch/amd64-tailcall-ret.c: New file.
1639 * gdb.arch/amd64-tailcall-ret.exp: New file.
1640 * gdb.reverse/amd64-tailcall-reverse.S: New file.
1641 * gdb.reverse/amd64-tailcall-reverse.c: New file.
1642 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
1643
acf9414f
JK
16442012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1645
1646 PR 14548
1647 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
1648 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
1649 * gdb.reverse/singlejmp-reverse.S: New file.
1650 * gdb.reverse/singlejmp-reverse.c: New file.
1651 * gdb.reverse/singlejmp-reverse.exp: New file.
1652
666b578b
JK
16532012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1654
1655 Fix compatibility with old GCC (~4.1).
1656 * gdb.cp/converts.cc (my_enum_var): New variable.
1657
42056501
AB
16582012-09-14 Andrew Burgess <aburgess@broadcom.com>
1659
1660 * gdb.xml/tdesc-regs.exp: Update expected output for new
1661 vector_size syntax of vector types.
1662
b9516fa1
YPK
16632012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
1664
1665 Refactor Python "gdb" module into a proper Python package, by
1666 introducing a new "_gdb" module for code implemented in C, and
1667 using reload/__import__ instead of exec.
1668 * gdb.python/python.exp (Test stderr location): Update module
1669 location of GDB-specific sys.stderr.
1670 (Test stdout location): Ditto for sys.stdout.
1671
18dc9ad8
JK
16722012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1673
1674 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
1675
ea3a9873
KS
16762012-09-12 Keith Seitz <keiths@redhat.com>
1677
1678 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
1679 conversion statement.
1680
5941debb
DE
16812012-09-12 Doug Evans <dje@google.com>
1682
1683 * gdb.base/help.exp: Remove testing of individual command help text,
1684 too much of a maintenance burden. Instead, test the functionality
1685 of "help" itself.
1686
cfc35e02
DE
16872012-09-11 Doug Evans <dje@google.com>
1688
3a0ed5d7
DE
1689 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
1690 breakpoint.
1691
cfc35e02
DE
1692 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
1693 * gdb.dwarf2/fission-reread.S: Ditto.
1694 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
1695 * gdb.dwarf2/fission-reread.exp: Ditto.
1696
350b1b26
AB
16972012-09-11 Andrew Burgess <aburgess@broadcom.com>
1698
1699 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
1700
2fa15f23
JB
17012012-09-10 Joel Brobecker <brobecker@adacore.com>
1702
1703 * gdb.ada/optim_drec: New testcase.
1704
09be558e
DE
17052012-09-10 Doug Evans <dje@google.com>
1706
1707 * boards/fission.exp: Explicitly mark "board" as not remote.
1708
5b4f6e25
KS
17092012-09-10 Keith Seitz <keiths@redhat.com>
1710
1711 PR gdb/13483
1712 * gdb.cp/converts.cc (A::A): Add ctor.
1713 (A::member_): Add member.
1714 (enum my_enum): New enumeration.
1715 (main): Add calls to foo1_7 with various
1716 permitted arguments.
1717 * gdb.cp/converts.exp: Add tests for boolean
1718 conversions permitted by the standard.
1719
b4ca5ed9
YPK
17202012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
1721
1722 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
1723 avoid spurious results due to ~/.gdbinit.
1724 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
1725 $INTERNAL_GDBFLAGS in run command.
1726 * gdb.gdb/observer.exp (setup_test): Ditto.
1727 * gdb.gdb/selftest.exp (test_with_self): Ditto.
1728 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
1729
d54b30bb
DE
17302012-09-06 Doug Evans <dje@google.com>
1731
14910956
DE
1732 * boards/fission.exp: New file.
1733
d54b30bb
DE
1734 * gdb.python/py-value.exp: Use clean_restart.
1735
91b253e1
DE
17362012-09-05 Doug Evans <dje@google.com>
1737
1738 * gdb.base/info-macros.c: Fix whitespace.
1739
1292279a
PA
17402012-08-28 Pedro Alves <palves@redhat.com>
1741
1742 PR gdb/14428
1743
1744 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
1745
1c8cdcb1
JK
17462012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1747
1748 * gdb.base/break-caller-line.c: New file.
1749 * gdb.base/break-caller-line.exp: New file.
1750
1e8e8b51
JK
17512012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1752
1753 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
1754 * gdb.arch/i386-cfi-notcurrent.S: New file.
1755 * gdb.arch/i386-cfi-notcurrent.exp: New file.
1756
1591a1e8
PA
17572012-08-27 Wei-cheng Wang <cole945@gmail.com>
1758 Yao Qi <yao@codesourcery.com>
1759 Pedro Alves <palves@redhat.com>
1760
1761 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
1762 New procedures.
1763 (top level): Add overlap checking tests.
1764
4442ada7
TT
17652012-08-24 Tom Tromey <tromey@redhat.com>
1766
1767 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
1768 gdb_test_multiple fails for other reasons.
1769
e7d50cc9
YQ
17702012-08-24 Yao Qi <yao@codesourcery.com>
1771
1772 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
1773
dfbd5e7b
PA
17742012-08-23 Pedro Alves <palves@redhat.com>
1775
1776 * gdb.base/help.exp: Adjust to "handle" help text change.
1777
8d735b87
YQ
17782012-08-23 Yao Qi <yao@codesourcery.com>
1779
1780 * gdb.trace/disconnected-tracing.c (start, end): New.
1781 (main): Call start and end.
1782 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
1783 existing tests into this proc.
1784 (disconnected_tfind): New.
1785
61b1d759
YQ
17862012-08-23 Yao Qi <yao@codesourcery.com>
1787
1788 * boards/native-gdbserver.exp (${board}_upload): New.
1789 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
1790 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
1791 Execute tfile on remote target.
1792 Copy trace file from target to host.
1793
6ca1b147
JM
17942012-08-22 Joseph Myers <joseph@codesourcery.com>
1795
1796 * gdb.arch/thumb-bx-pc.S: New file.
1797 * gdb.arch/thumb-bx-pc.exp: New file.
1798
706e3705
TT
17992012-08-22 Tom Tromey <tromey@redhat.com>
1800
1801 * gdb.base/maint.exp: Update.
1802
b4893d48
TT
18032012-08-22 Tom Tromey <tromey@redhat.com>
1804
1805 * lib/gdb.exp (skip_unwinder_tests): New proc.
1806 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
1807 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
1808
45b7da81
TT
18092012-08-21 Tom Tromey <tromey@redhat.com>
1810
1811 * gdb.hp/gdb.aCC/exception.exp: Remove.
1812
f94363d7
AP
1813012-08-19 Andrew Pinski <apinski@cavium.com>
1814
1815 * gdb.arch/mips-octeon-bbit.c: New file.
1816 * gdb.arch/mips-octeon-bbit.exp: New Test.
1817
e5afdbd7
KS
1818012-08-19 Keith Seitz <keiths@redhat.com>
1819
1820 PR c++/14365
1821 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
1822 * gdb.dwarf2/dw2-anon-mptr.S: New file.
1823
c29e8b64
JK
18242012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1825
1826 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
1827 verbose -log by more specific untested call.
1828
15a7e7bc
YQ
18292012-08-18 Yao Qi <yao@codesourcery.com>
1830
1831 * gdb.trace/tfind.exp: Move tests on various command help before
1832 checking target supports trace.
1833 Fix the expected output of 'help tfind end'.
1834
a451cb65
KS
18352012-08-17 Keith Seitz <keiths@redhat.com>
1836
1837 PR c++/13356
1838 * gdb.base/default.exp: Update all "check type" tests.
1839 * gdb.base/help.exp: Likewise.
1840 * gdb.base/setshow.exp: Likewise.
1841 * gdb.cp/converts.cc (foo1_type_check): New function.
1842 (foo2_type_check): New function.
1843 (foo3_type_check): New function.
1844 (main): Call new functions.
1845 * converts.exp: Add tests for integer-to-pointer conversions
1846 with/without strict type-checking.
1847
dbf6a605
MF
18482012-08-16 Mike Frysinger <vapier@gentoo.org>
1849
1850 * gdb.base/help.exp: Update expected output.
1851
0c92d8c1
JB
18522012-08-16 Joel Brobecker <brobecker@adacore.com>
1853
1854 * gdb.ada/rdv_wait: New testcase.
1855
e56f7f42
JK
18562012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1857
1858 * gdb.base/attach-twice.exp: Remove excessive ps exec.
1859
f47f77df
DE
18602012-08-13 Doug Evans <dje@google.com>
1861
e202d6e8 1862 * gdb.base/help.exp: Update expected output.
f47f77df
DE
1863 * gdb.base/default.exp: Update expected output of "show convenience".
1864
a72c3253
DE
18652012-08-10 Doug Evans <dje@google.com>
1866
1867 * gdb.python/py-strfns.c: New file.
1868 * gdb.python/py-strfns.exp: New file.
1869 * gdb.python/py-type.exp (test_fields): Add vector tests.
1870
de0bea00
MF
18712012-08-10 Mike Frysinger <vapier@gentoo.org>
1872
1873 PR cli/10436:
1874 * gdb.base/completion.exp: Add tests for handle completion.
1875
5b9afe8a
YQ
18762012-08-09 Yao Qi <yao@codesourcery.com>
1877
1878 * gdb.mi/mi-cmd-param-changed.exp: New.
1879 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
1880 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
1881 * gdb.mi/mi2-prompt.exp: Likewise.
1882
4f485ebc
DE
18832012-08-08 Doug Evans <dje@google.com>
1884
1885 * gdb.base/debug-expr.c: New file.
1886 * gdb.base/debug-expr.exp: New file.
1887 * gdb.base/exprs.exp: Test {type} casts.
1888 * gdb.cp/debug-expr.exp: New file.
1889
5888842d
JK
18902012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1891
1892 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
1893 global variable loop, not a 'break'. Add loop count limit to 100.
1894 Add new fail case for terminated vgdb.
1895
4f69f4c2
JK
18962012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1897 Jean-Marc Saffroy <saffroy@gmail.com>
1898
1899 PR 11804
1900 * gdb.base/gcore-relro.exp: New file.
1901 * gdb.base/gcore-relro-main.c: New file.
1902 * gdb.base/gcore-relro-lib.c: New file.
1903
e2de5390
JK
19042012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1905
1906 Do not false FAIL with old GCCs.
1907 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
1908 GCC < 4.5 in $no_hw mode.
1909
606603c5
JK
19102012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1911
1912 * gdb.base/default.exp (cd): Accept new directory with no arguments.
1913
777f26c2
JK
19142012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1915
1916 * gdb.base/list.exp (test_only_end): New function.
1917 Call it.
1918
2c12abee
TT
19192012-08-06 Tom Tromey <tromey@redhat.com>
1920
1921 * gdb.python/py-mi.exp: Add test for printer whose children
1922 are a list.
1923 * gdb.python/py-prettyprint.c (struct children_as_list): New.
1924 (main): New variable children_as_list.
1925 * gdb.python/py-prettyprint.py (class pp_children_as_list):
1926 New.
1927 (register_pretty_printers): Register new printer.
1928
0eae2cf4
EBM
19292012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1930
1931 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
1932 symbols. Abort if vgdb remote connection is closed.
1933
09e0881d
DE
19342012-08-02 Doug Evans <dje@google.com>
1935
1936 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
1937
b40f514f
SDJ
19382012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
1939
1940 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
1941 s390x, PowerPC 64 and m68k-linux.
1942
11315ae0
UW
19432012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1944
1945 * gdb.base/annota1.exp: Accept no frames-invalid notification
1946 when starting up the program.
1947 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
1948 show a symbolic value as well.
1949 * gdb.server/server-exec-info.exp: Skip test when skipping
1950 gdbserver test and/or when skipping shared library tests.
1951 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
1952 avoid name conflicts with other tests.
1953
0547eeed
UW
19542012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1955
1956 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
1957 Fix wrong output on big-endian systems.
1958 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
1959 4-byte pointer types on 64-bit s390x.
1960
bdddb4de
UW
19612012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1962
1963 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
1964 marker comment at the beginning (after intialization).
1965 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
1966 breakpoint on marker comment instead of function begin.
1967 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
1968 PowerPC.
1969 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
1970 or 64-bit PowerPC.
1971 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
1972 gdb,no_hardware_watchpoints flag is set.
1973 (initialize): Remove now redundant can-use-hw-watchpoints change.
1974
5d206025
YQ
19752012-08-02 Yao Qi <yao@codesourcery.com>
1976 Pedro Alves <palves@redhat.com>
1977
1978 * boards/local-remote-host.exp: New.
1979
4f665099
UW
19802012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1981
1982 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
1983 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
1984 * gdb.base/print-file-var.exp: Likewise.
1985 * gdb.server/solib-list.exp: Skip on remote targets.
1986
b62e2b27
UW
19872012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1988
1989 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
1990 watchpoints on ARM. When expecting software watchpoints, tolerate
1991 (remote) targets that report unsupported hardware watchpoint only
1992 at continue time.
1993 (test_wide_location_2): Likewise.
1994
a967a851
JK
19952012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1996
1997 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
1998 valgrind versions.
1999
75d9f9ff 20002012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
2001
2002 * gdb.base/valgrind-infcall.c: New file.
2003 * gdb.base/valgrind-infcall.exp: New file.
2004
75d9f9ff
JK
2005 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
2006
1c9f2ed2
KS
20072012-07-30 Keith Seitz <keiths@redhat.com>
2008
2009 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
2010 linespecs.
2011
7f9b2034
DE
20122012-07-30 Doug Evans <dje@google.com>
2013
85220e01
DE
2014 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
2015 * gdb.dwarf2/pr13961.S: Ditto.
2016
7f9b2034
DE
2017 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
2018
4e969b4f
AB
20192012-07-30 Andrew Burgess <aburgess@broadcom.com>
2020
2021 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
2022 change its format immediately after reloading the binary.
2023
e7de8362
JK
20242012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2025
2026 Fix testsuite regression after --use-deprecated-index-sections removal.
2027 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
2028 string.
2029 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
2030
7255706c
YQ
20312012-07-27 Yao Qi <yao@codesourcery.com>
2032
2033 KFAIL for PR remote/14161.
2034 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
2035 Cleanup socket files.
2036 (strace_info_marker): Detach inferior.
2037
f2e8016f
TT
20382012-07-26 Tom Tromey <tromey@redhat.com>
2039
6fdff2c5 2040 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 2041
f66713d2
JK
20422012-07-26 Markus Metzger <markus.t.metzger@intel.com>
2043
2044 * gdb.python/py-inferior.c (thread): New function.
2045 (check_threads): New function.
2046 (test_threads): New function.
2047 * gdb.python/py-inferior.exp: Added test.
2048 Replaced runto with continue to breakpoint.
2049
8223e12c
TT
20502012-07-26 Tom Tromey <tromey@redhat.com>
2051
2052 * lib/ada.exp (standard_ada_testfile): New proc.
2053 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
2054 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
2055 * gdb.ada/array_return.exp: Use standard_ada_testfile.
2056 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
2057 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
2058 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
2059 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
2060 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
2061 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
2062 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
2063 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
2064 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
2065 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
2066 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
2067 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
2068 * gdb.ada/char_param.exp: Use standard_ada_testfile.
2069 * gdb.ada/complete.exp: Use standard_ada_testfile.
2070 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
2071 standard_output_file.
2072 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
2073 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
2074 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
2075 standard_output_file.
2076 * gdb.ada/exprs.exp: Use standard_ada_testfile.
2077 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
2078 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
2079 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
2080 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
2081 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
2082 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
2083 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
2084 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
2085 * gdb.ada/homonym.exp: Use standard_ada_testfile.
2086 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
2087 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
2088 * gdb.ada/interface.exp: Use standard_ada_testfile.
2089 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
2090 standard_output_file
2091 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
2092 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
2093 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
2094 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
2095 * gdb.ada/nested.exp: Use standard_ada_testfile.
2096 * gdb.ada/null_array.exp: Use standard_ada_testfile.
2097 * gdb.ada/null_record.exp: Use standard_ada_testfile.
2098 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
2099 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
2100 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
2101 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
2102 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
2103 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
2104 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
2105 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
2106 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
2107 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
2108 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
2109 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
2110 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
2111 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
2112 * gdb.ada/start.exp: Use standard_ada_testfile.
2113 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
2114 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
2115 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
2116 * gdb.ada/tagged.exp: Use standard_ada_testfile.
2117 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
2118 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
2119 * gdb.ada/tasks.exp: Use standard_ada_testfile.
2120 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
2121 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
2122 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
2123 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
2124 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
2125 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
2126 * gdb.ada/widewide.exp: Use standard_ada_testfile.
2127
bbec57e4
JK
21282012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2129
2130 Fix testsuite regression after --use-deprecated-index-sections removal.
2131 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
2132
9cc8e32c
JK
21332012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2134
2135 Fix compatibility with Tcl before 7.5.
2136 * lib/future.exp (lreverse): New function if it does not exist.
2137
ea5ca7b5
MK
21382012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
2139
2140 * gdb.mi/mi-pending.c: New method to set a second pending
2141 breakpoint.
2142 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
2143 condition.
2144
64776a0b
PA
21452012-07-20 Pedro Alves <palves@redhat.com>
2146
2147 PR threads/11692
2148 PR gdb/12203
2149
2150 * gdb.threads/create-fail.c: New file.
2151 * gdb.threads/create-fail.exp: New file.
2152
13e4e967
PA
21532012-07-19 Pedro Alves <palves@redhat.com>
2154
2155 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
2156 * config/vx.exp (gdb_start): Likewise.
2157 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
2158 * gdb.base/setvar.exp (test_set): Likewise.
2159 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
2160 * gdb.reverse/sigall-precsave.exp: Likewise.
2161 * gdb.reverse/sigall-reverse.exp: Likewise.
2162
b7aefa4d
PA
21632012-07-19 Pedro Alves <palves@redhat.com>
2164
2165 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
2166 handler before recording.
2167
608b4967
TT
21682012-07-19 Tom Tromey <tromey@redhat.com>
2169
2170 * gdb.cp/casts.exp: Add tests for typeof and decltype.
2171 * gdb.cp/casts.cc (decltype): New function.
2172 (main): Use it.
2173
b1e0c0fa
PA
21742012-07-19 Pedro Alves <palves@redhat.com>
2175
2176 * gdb.base/sigall.exp (signals): New list.
2177 <top level>: Loop over signals in the $signals list instead of
2178 calling a test function once per signal.
2179 * gdb.reverse/sigall-precsave.exp (signals): New list.
2180 <top level>: Loop over signals in the $signals list instead of
2181 calling a test function once per signal.
2182 * gdb.reverse/sigall-reverse.exp (signals): New list.
2183 <top level>: Loop over signals in the $signals list instead of
2184 calling a test function once per signal.
2185
6ace3df1
YQ
21862012-07-19 Yao Qi <yao@codesourcery.com>
2187
2188 * gdb.base/setshow.exp: Test 'set args ~'.
2189
263a0f8c
JK
21902012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2191
2192 * gdb.base/store.exp (check_set): Import gdb_prompt.
2193 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
2194 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
2195
8f043999
JK
21962012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2197
2198 PR 11914
2199 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
2200 (main): Call eval_sub.
2201 * gdb.python/py-prettyprint.exp:
2202 (python execfile ('py-prettyprint.py')): Move it earlier.
2203 New breakpoint for eval-break.
2204 (continue to breakpoint: eval-break, info locals): New test.
2205 (python execfile ('py-prettyprint.py')): Move it from here.
2206 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
2207 (register_pretty_printers): Register pp_eval_type.
2208
725c7b66
JK
22092012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2210
2211 Fix a testcase regression by me.
2212 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
2213 DW_FORM_data4.
2214
4359dff1
JK
22152012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2216 Doug Evans <dje@google.com>
2217
2218 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
2219 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
2220
61e44cfa
JK
22212012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2222
2223 Fix gdbserver run regression.
2224 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
2225
93c0ef37
TT
22262012-07-12 Tom Tromey <tromey@redhat.com>
2227
2228 * lib/gdb.exp (standard_testfile): Don't declare objdir.
2229 (clean_restart): Likewise.
2230 (core_find): Use standard_output_file.
2231
76027ef5
TT
22322012-07-12 Tom Tromey <tromey@redhat.com>
2233
2234 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
2235 * gdb.dwarf2/dw2-anonymous-func.exp: Use
2236 prepare_for_testing_full.
2237 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
2238 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
2239 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
2240 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
2241 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
2242 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
2243 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
2244 prepare_for_testing_full.
2245 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
2246 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
2247 prepare_for_testing_full.
2248 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
2249 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
2250 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
2251
85b4440a
TT
22522012-07-12 Tom Tromey <tromey@redhat.com>
2253
2254 * lib/gdb.exp (build_executable_from_specs): New proc, from
2255 build_executable.
2256 (build_executable): Use it.
2257 (prepare_for_testing_full): New proc.
2258
55baab26
TT
22592012-07-11 Tom Tromey <tromey@redhat.com>
2260
2261 * gdb.reverse/break-precsave.exp: Use standard_output_file.
2262 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
2263 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
2264 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
2265 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
2266 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
2267 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
2268 * gdb.reverse/step-precsave.exp: Use standard_output_file.
2269 * gdb.reverse/until-precsave.exp: Use standard_output_file.
2270 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
2271
298a9cf0
TT
22722012-07-10 Tom Tromey <tromey@redhat.com>
2273
2274 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
2275 standard_output_file.
2276 * gdb.mi/gdb2549.exp: Use standard_testfile.
2277 * gdb.mi/gdb669.exp: Use standard_testfile.
2278 * gdb.mi/gdb701.exp: Use standard_testfile.
2279 * gdb.mi/gdb792.exp: Use standard_testfile.
2280 * gdb.mi/mi-async.exp: Use standard_testfile.
2281 * gdb.mi/mi-basics.exp: Use standard_testfile.
2282 * gdb.mi/mi-break.exp: Use standard_testfile.
2283 * gdb.mi/mi-cli.exp: Use standard_testfile.
2284 * gdb.mi/mi-console.exp: Use standard_testfile.
2285 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
2286 * gdb.mi/mi-eval.exp: Use standard_testfile.
2287 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
2288 * gdb.mi/mi-file.exp: Use standard_testfile.
2289 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
2290 * gdb.mi/mi-logging.exp: Use standard_testfile.
2291 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
2292 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
2293 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
2294 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
2295 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
2296 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
2297 * gdb.mi/mi-pending.exp: Use standard_testfile,
2298 standard_output_file.
2299 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
2300 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
2301 * gdb.mi/mi-regs.exp: Use standard_testfile.
2302 * gdb.mi/mi-return.exp: Use standard_testfile.
2303 * gdb.mi/mi-reverse.exp: Use standard_testfile.
2304 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
2305 * gdb.mi/mi-solib.exp: Use standard_testfile,
2306 standard_output_file.
2307 * gdb.mi/mi-stack.exp: Use standard_testfile.
2308 * gdb.mi/mi-stepi.exp: Use standard_testfile.
2309 * gdb.mi/mi-stepn.exp: Use standard_testfile.
2310 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
2311 * gdb.mi/mi-until.exp: Use standard_testfile.
2312 * gdb.mi/mi-var-block.exp: Use standard_testfile.
2313 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
2314 * gdb.mi/mi-var-child.exp: Use standard_testfile.
2315 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
2316 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
2317 * gdb.mi/mi-var-display.exp: Use standard_testfile.
2318 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
2319 standard_output_file.
2320 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
2321 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
2322 * gdb.mi/mi-watch.exp: Use standard_testfile.
2323 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
2324 * gdb.mi/mi2-basics.exp: Use standard_testfile.
2325 * gdb.mi/mi2-break.exp: Use standard_testfile.
2326 * gdb.mi/mi2-cli.exp: Use standard_testfile.
2327 * gdb.mi/mi2-console.exp: Use standard_testfile.
2328 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
2329 * gdb.mi/mi2-eval.exp: Use standard_testfile.
2330 * gdb.mi/mi2-file.exp: Use standard_testfile.
2331 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
2332 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
2333 * gdb.mi/mi2-regs.exp: Use standard_testfile.
2334 * gdb.mi/mi2-return.exp: Use standard_testfile.
2335 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
2336 * gdb.mi/mi2-stack.exp: Use standard_testfile.
2337 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
2338 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
2339 * gdb.mi/mi2-until.exp: Use standard_testfile.
2340 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
2341 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
2342 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
2343 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
2344 * gdb.mi/mi2-watch.exp: Use standard_testfile.
2345
f5f3a911
TT
23462012-07-10 Tom Tromey <tromey@redhat.com>
2347
2348 * gdb.cp/abstract-origin.exp: Use standard_testfile.
2349 * gdb.cp/ambiguous.exp: Use standard_testfile,
2350 prepare_for_testing.
2351 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
2352 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
2353 * gdb.cp/anon-ns.exp: Use standard_testfile.
2354 * gdb.cp/anon-struct.exp: Use standard_testfile.
2355 * gdb.cp/anon-union.exp: Use standard_testfile,
2356 prepare_for_testing.
2357 * gdb.cp/arg-reference.exp: Use standard_testfile,
2358 prepare_for_testing.
2359 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
2360 * gdb.cp/breakpoint.exp: Use standard_testfile,
2361 prepare_for_testing.
2362 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
2363 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
2364 standard_output_file.
2365 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
2366 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
2367 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
2368 (test_static_members): Update.
2369 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
2370 * gdb.cp/converts.exp: Use standard_testfile.
2371 * gdb.cp/cp-relocate.exp: Use standard_testfile.
2372 * gdb.cp/cpcompletion.exp: Use standard_testfile,
2373 prepare_for_testing.
2374 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
2375 * gdb.cp/cplabel.exp: Use standard_testfile.
2376 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
2377 prepare_for_testing.
2378 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
2379 * gdb.cp/derivation.exp: Use standard_testfile,
2380 prepare_for_testing.
2381 * gdb.cp/destrprint.exp: Use standard_testfile.
2382 * gdb.cp/dispcxx.exp: Use standard_testfile.
2383 * gdb.cp/exception.exp: Use standard_testfile,
2384 prepare_for_testing.
2385 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
2386 * gdb.cp/extern-c.exp: Use standard_testfile,
2387 prepare_for_testing.
2388 * gdb.cp/formatted-ref.exp: Use standard_testfile,
2389 prepare_for_testing.
2390 * gdb.cp/fpointer.exp: Use standard_testfile.
2391 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
2392 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
2393 standard_output_file.
2394 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
2395 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
2396 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
2397 standard_output_file.
2398 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
2399 (do_tests): Update.
2400 * gdb.cp/koenig.exp: Use standard_testfile.
2401 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
2402 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
2403 * gdb.cp/m-static.exp: Use standard_testfile,
2404 prepare_for_testing.
2405 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
2406 * gdb.cp/mb-inline.exp: Use standard_testfile,
2407 prepare_for_testing.
2408 * gdb.cp/mb-templates.exp: Use standard_testfile,
2409 prepare_for_testing.
2410 * gdb.cp/member-ptr.exp: Use standard_testfile,
2411 prepare_for_testing.
2412 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
2413 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
2414 * gdb.cp/method2.exp: Use standard_testfile.
2415 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
2416 standard_output_file.
2417 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
2418 (do_tests): Update.
2419 * gdb.cp/namespace-enum.exp: Use standard_testfile,
2420 prepare_for_testing.
2421 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
2422 prepare_for_testing.
2423 * gdb.cp/namespace.exp: Use standard_testfile,
2424 prepare_for_testing.
2425 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
2426 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
2427 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
2428 * gdb.cp/nsimport.exp: Use standard_testfile,
2429 prepare_for_testing.
2430 * gdb.cp/nsnested.exp: Use standard_testfile.
2431 * gdb.cp/nsnoimports.exp: Use standard_testfile.
2432 * gdb.cp/nsrecurs.exp: Use standard_testfile,
2433 prepare_for_testing.
2434 * gdb.cp/nsstress.exp: Use standard_testfile,
2435 prepare_for_testing.
2436 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
2437 * gdb.cp/operator.exp: Use standard_testfile.
2438 * gdb.cp/oranking.exp: Use standard_testfile.
2439 * gdb.cp/overload-const.exp: Use standard_testfile.
2440 * gdb.cp/overload.exp: Use standard_testfile,
2441 prepare_for_testing.
2442 * gdb.cp/ovldbreak.exp: Use standard_testfile.
2443 * gdb.cp/ovsrch.exp: Use standard_testfile.
2444 * gdb.cp/paren-type.exp: Use standard_testfile.
2445 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
2446 prepare_for_testing.
2447 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
2448 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
2449 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
2450 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
2451 * gdb.cp/pr10728.exp: Use standard_testfile,
2452 standard_output_file.
2453 * gdb.cp/pr12028.exp: Use standard_testfile.
2454 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
2455 * gdb.cp/pr9167.exp: Use standard_testfile.
2456 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
2457 * gdb.cp/printmethod.exp: Use standard_testfile,
2458 prepare_for_testing.
2459 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
2460 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
2461 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
2462 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
2463 standard_output_file.
2464 * gdb.cp/readnow-language.exp: Use standard_testfile.
2465 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
2466 (gdb_start_again): Use clean_restart.
2467 * gdb.cp/ref-types.exp: Use standard_testfile,
2468 prepare_for_testing.
2469 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
2470 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
2471 * gdb.cp/smartp.exp: Use standard_testfile.
2472 * gdb.cp/static-method.exp: Use standard_testfile.
2473 * gdb.cp/static-print-quit.exp: Use standard_testfile.
2474 * gdb.cp/temargs.exp: Use standard_testfile.
2475 * gdb.cp/templates.exp: Use standard_testfile,
2476 prepare_for_testing.
2477 (do_tests): Update.
2478 * gdb.cp/try_catch.exp: Use standard_testfile,
2479 prepare_for_testing.
2480 * gdb.cp/typedef-operator.exp: Use standard_testfile.
2481 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
2482 * gdb.cp/virtbase.exp: Use standard_testfile,
2483 prepare_for_testing.
2484 * gdb.cp/virtfunc.exp: Use standard_testfile,
2485 prepare_for_testing.
2486 (do_tests): Update.
2487 * gdb.cp/virtfunc2.exp: Use standard_testfile,
2488 prepare_for_testing.
2489
686f09d0
TT
24902012-07-10 Tom Tromey <tromey@redhat.com>
2491
2492 * lib/gdb.exp (standard_testfile): Unset output variables from
2493 earlier invocations.
2494
9357e021
YQ
24952012-07-10 Yao Qi <yao@codesourcery.com>
2496
2497 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
2498 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
2499 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
2500 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
2501 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
2502 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
2503 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
2504 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
2505 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
2506 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
2507 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
2508 * gdb.mi/mi-var-display.exp: Likewise.
2509 * gdb.mi/mi-var-invalidate.exp: Likewise.
2510 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
2511 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
2512 * gdb.mi/mi2-console.exp: Likewise.
2513 * gdb.mi/mi2-disassemble.exp: Likewise.
2514 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
2515 * gdb.mi/mi2-read-memory.exp: Likewise.
2516 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
2517 * gdb.mi/mi2-simplerun.exp: Likewise.
2518 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
2519 * gdb.mi/mi2-syn-frame.exp: Likewise.
2520 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
2521 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
2522 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
2523
e314d629
TT
25242012-07-09 Tom Tromey <tromey@redhat.com>
2525
2526 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
2527 * gdb.base/callfuncs.exp: Add cast-based test.
2528 * gdb.base/callfuncs.c (voidfunc): New function.
2529
06928b3f
DE
25302012-07-08 Doug Evans <dje@google.com>
2531
2532 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
2533
32f11bad
JK
25342012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2535
2536 Fix XFAIL compatibility with old i386 systems.
2537 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
2538 Check also 'Cannot insert breakpoint 0'.
2539
76b83c51
JK
25402012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2541
2542 PR 14321
2543 * gdb.base/find.exp
2544 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
2545
a6fb9c08
TT
25462012-07-06 Tom Tromey <tromey@redhat.com>
2547
2548 * gdb.base/whatis.exp: Add test.
2549
71918a86
TT
25502012-07-06 Tom Tromey <tromey@redhat.com>
2551
2552 * gdb.base/whatis.exp: Add regression test.
2553
fcde5961
TT
25542012-07-06 Tom Tromey <tromey@redhat.com>
2555
2556 * gdb.base/whatis.exp: Add tests.
2557
f9cf0f4a
JK
25582012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2559
2560 PR 12649
2561 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
2562 gdb_test_multiple $gdb_prompt terminator.
2563
979ade8b
PA
25642012-07-04 Pedro Alves <palves@redhat.com>
2565
2566 * gdb.mi/mi-reverse.exp: Use supports_reverse and
2567 supports_process_record.
2568
8a980b44
PA
25692012-07-04 Pedro Alves <palves@redhat.com>
2570
2571 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
2572 endings.
2573 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
2574
855ba978
SS
25752012-07-03 Stan Shebs <stan@codesourcery.com>
2576
2577 * gdb.base/info-os.c (main): Retry resource acquisition until an
2578 available one is found.
2579 * gdb.base/info-os.exp: Collect resource keys from the program
2580 and use them in matching.
2581
fcb44371
JK
25822012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2583
2584 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
2585 Wrap the test into loop for corefile and core0file.
2586
08a67be6
JK
25872012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2588
2589 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
2590 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
2591 .note.GNU-stack.
2592
0f3c2347
JK
2593 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
2594
ff4a4500
SDJ
25952012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
2596
2597 * gdb.base/help.exp (help b, help br, help bre, help brea, help
2598 break): Include help message for the new `-probe' and `-probe-stap'
2599 options.
2600
d3ce09f5
SS
26012012-07-02 Stan Shebs <stan@codesourcery.com>
2602
2603 * gdb.base/dprintf.exp: Add agent style tests.
2604
a1624241
JK
26052012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2606
2607 * gdb.base/stale-infcall.c (infcall): New label test-next.
2608 (main): New labels test-pass and test-fail.
2609 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
2610 $test_fail_bpnum to test-fail.
2611 (test system longjmp tracking support): New test.
2612 Delete $test_fail_bpnum.
2613 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
2614 breakpoint.
2615
42e7ad6c
DE
26162012-06-30 Doug Evans <dje@google.com>
2617
2618 * gdb.dwarf2/fission-reread.S: New file.
2619 * gdb.dwarf2/fission-reread.exp: New file.
2620
37ce89eb
SS
26212012-06-28 Stan Shebs <stan@codesourcery.com>
2622
2623 * gdb.mi/mi-logging.exp: New file.
2624
e5ef252a
PA
26252012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2626 Pedro Alves <palves@redhat.com>
2627
2628 * gdb.threads/siginfo-threads.exp: New file.
2629 * gdb.threads/siginfo-threads.c: New file.
2630 * gdb.threads/sigstep-threads.exp: New file.
2631 * gdb.threads/sigstep-threads.c: New file.
2632
22f1fbae
TT
26332012-06-28 Tom Tromey <tromey@redhat.com>
2634
2635 * gdb.go/package.exp: Partially revert earlier patch; use
2636 gdb_compile again. Use standard_output_file.
2637
2e3cf129
DE
26382012-06-27 Doug Evans <dje@google.com>
2639
2640 * gdb.dwarf2/fission-base.c: New file.
2641 * gdb.dwarf2/fission-base.S: New file.
2642 * gdb.dwarf2/fission-base.exp: New file.
2643
785fd303
JK
26442012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2645
2646 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
2647
1bb9788d
TT
26482012-06-27 Tom Tromey <tromey@redhat.com>
2649
2650 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
2651 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
2652
c83ee902
TT
26532012-06-27 Tom Tromey <tromey@redhat.com>
2654
2655 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
2656 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
2657 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
2658 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
2659 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
2660 prepare_for_testing.
2661 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
2662 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
2663 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
2664 standard_testfile.
2665 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
2666 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
2667 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
2668 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
2669 prepare_for_testing.
2670 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
2671 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
2672 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
2673 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
2674 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
2675 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
2676 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
2677 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
2678 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
2679 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
2680 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
2681 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
2682 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
2683 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
2684 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
2685 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
2686 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
2687 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
2688 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
2689 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
2690 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
2691 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
2692 standard_output_file.
2693 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
2694 standard_output_file.
2695 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
2696 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
2697 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
2698 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
2699 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
2700 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
2701 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
2702 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
2703 * gdb.dwarf2/implptr.exp: Use standard_testfile.
2704 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
2705 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
2706 * gdb.dwarf2/pieces.exp: Use standard_testfile.
2707 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
2708 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
2709 * gdb.dwarf2/valop.exp: Use standard_testfile,
2710 prepare_for_testing.
2711
5204774b
TT
27122012-06-27 Tom Tromey <tromey@redhat.com>
2713
2714 * gdb.python/python.exp: Fix regexps in pagination tests.
2715
ee0bf529
SCR
27162012-06-26 Siva Chandra Reddy <sivachandra@google.com>
2717
2718 * gdb.python/py-symtab.exp: Add tests to test the new attribute
2719 'last' of gdb.Symtab_and_line.
2720 * gdb.python/py-symbol.c: Move break point comment to enable
2721 testing of gdb.Symtab_and_line.last.
2722
14fcc022
TT
27232012-06-26 Tom Tromey <tromey@redhat.com>
2724
2725 * gdb.threads/step.c: Remove.
2726 * gdb.threads/step.exp: Remove.
2727 * gdb.threads/step2.exp: Remove.
2728
0efbbabc
TT
27292012-06-26 Tom Tromey <tromey@redhat.com>
2730
2731 * gdb.threads/watchpoint-fork.exp (test): Use
2732 standard_output_file. Don't declare objdir.
2733 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
2734 standard_output_file.
2735 * gdb.threads/attach-stopped.exp: Use standard_testfile.
2736 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
2737 clean_restart. Remove incdir.
2738 * gdb.threads/corethreads.exp: Use standard_testfile.
2739 * gdb.threads/execl.exp: Use standard_testfile,
2740 standard_output_file, clean_restart.
2741 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
2742 clean_restart.
2743 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
2744 clean_restart.
2745 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
2746 incdir.
2747 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
2748 clean_restart. Remove incdir.
2749 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
2750 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
2751 clean_restart. Remove incdir.
2752 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
2753 Remove incdir.
2754 * gdb.threads/leader-exit.exp: Use standard_testfile.
2755 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
2756 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
2757 clean_restart.
2758 * gdb.threads/manythreads.exp: Use standard_testfile,
2759 clean_restart. Remove incdir.
2760 * gdb.threads/multi-create.exp: Use standard_testfile,
2761 clean_restart.
2762 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
2763 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
2764 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
2765 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
2766 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
2767 * gdb.threads/pending-step.exp: Use standard_testfile,
2768 clean_restart. Remove incdir.
2769 * gdb.threads/print-threads.exp: Use standard_testfile,
2770 clean_restart. Remove incdir.
2771 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
2772 clean_restart. Remove incdir.
2773 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
2774 Remove incdir.
2775 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
2776 incdir.
2777 * gdb.threads/sigthread.exp: Use standard_testfile,
2778 clean_restart.
2779 * gdb.threads/staticthreads.exp: Use standard_testfile,
2780 clean_restart. Remove incdir.
2781 * gdb.threads/switch-threads.exp: Use standard_testfile,
2782 clean_restart. Remove incdir.
2783 * gdb.threads/thread-execl.exp: Use standard_testfile,
2784 clean_restart. Remove incdir.
2785 * gdb.threads/thread-find.exp: Use standard_testfile,
2786 clean_restart.
2787 * gdb.threads/thread-specific.exp: Use standard_testfile,
2788 clean_restart. Remove incdir.
2789 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
2790 clean_restart. Remove incdir.
2791 * gdb.threads/thread_check.exp: Use standard_testfile,
2792 clean_restart. Remove incdir.
2793 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
2794 incdir.
2795 * gdb.threads/threadapply.exp: Use standard_testfile,
2796 clean_restart. Remove incdir.
2797 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
2798 clean_restart. Remove incdir.
2799 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
2800 clean_restart.
2801 * gdb.threads/tls-shared.exp: Use standard_testfile,
2802 clean_restart, standard_output_file.
2803 * gdb.threads/tls-var.exp: Use standard_testfile,
2804 standard_output_file.
2805 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
2806 Remove incdir.
2807 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
2808 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
2809 incdir.
2810 * gdb.threads/watchthreads2.exp: Use standard_testfile,
2811 clean_restart. Remove incdir.
2812
497a5eb0
TT
28132012-06-26 Tom Tromey <tromey@redhat.com>
2814
2815 * gdb.trace/actions.exp: Use standard_testfile.
2816 * gdb.trace/ax.exp: Use standard_testfile.
2817 * gdb.trace/backtrace.exp: Use standard_testfile.
2818 * gdb.trace/change-loc.exp: Use standard_testfile.
2819 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
2820 * gdb.trace/collection.exp: Use standard_testfile,
2821 prepare_for_testing.
2822 * gdb.trace/deltrace.exp: Use standard_testfile.
2823 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
2824 * gdb.trace/ftrace.exp: Use standard_testfile.
2825 * gdb.trace/infotrace.exp: Use standard_testfile.
2826 * gdb.trace/packetlen.exp: Use standard_testfile.
2827 * gdb.trace/passc-dyn.exp: Use standard_testfile.
2828 * gdb.trace/passcount.exp: Use standard_testfile.
2829 * gdb.trace/pending.exp: Use standard_testfile.
2830 * gdb.trace/report.exp: Use standard_testfile.
2831 * gdb.trace/save-trace.exp: Use standard_testfile.
2832 * gdb.trace/stap-trace.exp: Use standard_testfile.
2833 * gdb.trace/status-stop.exp: Use standard_testfile.
2834 * gdb.trace/strace.exp: Use standard_testfile.
2835 * gdb.trace/tfile.exp: Use standard_testfile.
2836 * gdb.trace/tfind.exp: Use standard_testfile.
2837 * gdb.trace/trace-break.exp: Use standard_testfile.
2838 * gdb.trace/trace-mt.exp: Use standard_testfile.
2839 * gdb.trace/tracecmd.exp: Use standard_testfile.
2840 * gdb.trace/tspeed.exp: Use standard_testfile.
2841 * gdb.trace/tstatus.exp: Use standard_testfile.
2842 * gdb.trace/tsv.exp: Use standard_testfile.
2843 * gdb.trace/unavailable.exp: Use standard_testfile,
2844 prepare_for_testing.
2845 * gdb.trace/while-dyn.exp: Use standard_testfile.
2846 * gdb.trace/while-stepping.exp: Use standard_testfile.
2847
7686c074
TT
28482012-06-26 Tom Tromey <tromey@redhat.com>
2849
2850 * gdb.reverse/break-precsave.exp: Use standard_testfile.
2851 * gdb.reverse/break-reverse.exp: Use standard_testfile.
2852 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
2853 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
2854 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
2855 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
2856 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
2857 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
2858 prepare_for_testing.
2859 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
2860 prepare_for_testing.
2861 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
2862 prepare_for_testing.
2863 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
2864 prepare_for_testing.
2865 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
2866 prepare_for_testing
2867 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
2868 * gdb.reverse/machinestate.exp: Use standard_testfile.
2869 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
2870 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
2871 build_executable.
2872 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
2873 build_executable.
2874 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
2875 standard_output_file.
2876 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
2877 standard_output_file.
2878 * gdb.reverse/step-precsave.exp: Use standard_testfile.
2879 * gdb.reverse/step-reverse.exp: Use standard_testfile.
2880 * gdb.reverse/until-precsave.exp: Use standard_testfile.
2881 * gdb.reverse/until-reverse.exp: Use standard_testfile.
2882 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
2883 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
2884
481fc100
TT
28852012-06-26 Tom Tromey <tromey@redhat.com>
2886
2887 * gdb.stabs/weird.exp: Remove directory-checking code. Use
2888 standard_output_file.
2889 * gdb.stabs/exclfwd.exp: Use standard_testfile,
2890 prepare_for_testing. Remove directory-checking code.
2891
7bb18ae2
TT
28922012-06-25 Tom Tromey <tromey@redhat.com>
2893
2894 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
2895 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
2896 build_executable, not prepare_for_testing.
2897 * gdb.multi/base.exp: Use standard_output_file. Use
2898 build_executable, not prepare_for_testing.
2899
cf09b3e4
TT
29002012-06-25 Tom Tromey <tromey@redhat.com>
2901
2902 * gdb.fortran/subarray.exp: Use standard_testfile,
2903 prepare_for_testing.
2904 * gdb.fortran/multi-dim.exp: Use standard_testfile.
2905 * gdb.fortran/module.exp: Use standard_testfile.
2906 * gdb.fortran/logical.exp: Use standard_testfile.
2907 * gdb.fortran/library-module.exp: Use standard_testfile,
2908 standard_output_file.
2909 * gdb.fortran/derived-type.exp: Use standard_testfile,
2910 prepare_for_testing.
2911 * gdb.fortran/complex.exp: Use standard_testfile,
2912 prepare_for_testing.
2913 * gdb.fortran/charset.exp: Use standard_testfile.
2914 * gdb.fortran/array-element.exp: Use standard_testfile,
2915 prepare_for_testing.
2916
18b5ff1b
KS
29172012-06-25 Keith Seitz <keiths@redhat.com>
2918
2919 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
2920 Change rbreak-related tests to KFAIL and add bugzilla numbers.
2921
17b77626
TT
29222012-06-25 Tom Tromey <tromey@redhat.com>
2923
2924 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
2925 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
2926 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
2927 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
2928
f91e3dc1
TT
29292012-06-25 Tom Tromey <tromey@redhat.com>
2930
2931 * gdb.linespec/ls-errs.exp: Use standard_testfile.
2932 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
2933 * gdb.linespec/linespec.exp: Use standard_testfile.
2934
a884434d
TT
29352012-06-25 Tom Tromey <tromey@redhat.com>
2936
2937 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
2938 prepare_for_testing.
2939
efc9d70a
TT
29402012-06-25 Tom Tromey <tromey@redhat.com>
2941
2942 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
2943 prepare_for_testing.
2944 * gdb.opt/inline-break.exp: Use standard_testfile,
2945 prepare_for_testing.
2946 * gdb.opt/inline-bt.exp: Use standard_testfile,
2947 prepare_for_testing.
2948 * gdb.opt/inline-cmds.exp: Use standard_testfile,
2949 prepare_for_testing.
2950 * gdb.opt/inline-locals.exp: Use standard_testfile,
2951 prepare_for_testing.
2952
e2fc92c6
TT
29532012-06-25 Tom Tromey <tromey@redhat.com>
2954
2955 * gdb.asm/asm-source.exp: Use standard_output_file,
2956 standard_testfile. Construct .o files in proper subdir.
2957
b0963d73
TT
29582012-06-25 Tom Tromey <tromey@redhat.com>
2959
2960 * gdb.server/ext-attach.exp: Use standard_testfile,
2961 prepare_for_testing.
2962 * gdb.server/ext-run.exp: Use standard_testfile,
2963 build_executable.
2964 * gdb.server/file-transfer.exp: Use standard_testfile,
2965 prepare_for_testing.
2966 * gdb.server/server-exec-info.exp: Use standard_testfile.
2967 * gdb.server/server-mon.exp: Use standard_testfile,
2968 prepare_for_testing.
2969 * gdb.server/server-run.exp: Use standard_testfile,
2970 build_executable.
2971 * gdb.server/solib-list.exp: Use standard_testfile,
2972 standard_output_file.
2973
8a3e1f8d
TT
29742012-06-25 Tom Tromey <tromey@redhat.com>
2975
2976 * lib/gdb.exp (standard_output_file): Use "file join".
2977 * gdb.go/chan.exp: Use standard_testfile.
2978 * gdb.go/handcall.exp: Use standard_testfile.
2979 * gdb.go/hello.exp: Use standard_testfile.
2980 * gdb.integers/chan.exp: Use standard_testfile.
2981 * gdb.go/methods.exp: Use standard_testfile.
2982 * gdb.go/package.exp: Use standard_testfile.
2983 * gdb.go/strings.exp: Use standard_testfile.
2984 * gdb.go/types.exp: Use standard_testfile.
2985 * gdb.go/unsafe.exp: Use standard_testfile.
2986
944a9061
MGD
29872012-06-25 Greta Yorsh <greta.yorsh@arm.com>
2988
2989 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
2990
1c06bd58
JK
29912012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2992
2993 Fix regression by the previous commit.
2994 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
2995
b4a58790
TT
29962012-06-22 Tom Tromey <tromey@redhat.com>
2997
2998 * gdb.python/lib-types.exp: Use standard_testfile,
2999 prepare_for_testing.
3000 * gdb.python/py-block.exp: Use standard_testfile.
3001 * gdb.python/py-breakpoint.exp: Use standard_testfile.
3002 * gdb.python/py-events.exp: Use standard_testfile,
3003 standard_output_file.
3004 * gdb.python/py-evsignal.exp: Use standard_testfile.
3005 * gdb.python/py-evethreads.exp: Use standard_testfile.
3006 * gdb.python/py-explore-cc.exp: Use standard_testfile.
3007 * gdb.python/py-explore.exp: Use standard_testfile.
3008 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
3009 standard_output_file.
3010 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
3011 prepare_for_testing.
3012 * gdb.python/py-frame-inline.exp: Use standard_testfile.
3013 * gdb.python/py-frame.exp: Use standard_testfile.
3014 * gdb.python/py-inferior.exp: Use standard_testfile.
3015 * gdb.python/py-infthread.exp: Use standard_testfile.
3016 * gdb.python/py-mi.exp: Use standard_testfile.
3017 * gdb.python/py-objfile-script.exp: Use standard_testfile,
3018 build_executable.
3019 * gdb.python/py-objfile.exp: Use standard_testfile.
3020 * gdb.python/py-pp-maint.exp: Use standard_testfile,
3021 prepare_for_testing.
3022 * gdb.python/py-prettyprint.exp: Use standard_testfile.
3023 * gdb.python/py-progspace.exp: Use standard_testfile,
3024 build_executable.
3025 * gdb.python/py-prompt.exp: Use standard_testfile,
3026 build_executable.
3027 * gdb.python/py-section-script.exp: Use standard_testfile,
3028 build_executable.
3029 * gdb.python/py-shared.exp: Use standard_testfile,
3030 standard_output_file, clean_restart.
3031 * gdb.python/py-symbol.exp: Use standard_output_file,
3032 prepare_for_testing.
3033 * gdb.python/py-symtab.exp: Use standard_output_file,
3034 prepare_for_testing
3035 * gdb.python/py-template.exp: Use standard_testfile.
3036 * gdb.python/py-type.exp: Use standard_testfile.
3037 * gdb.python/py-value-cc.exp: Use standard_testfile.
3038 * gdb.python/py-value.exp: Use standard_testfile.
3039 * gdb.python/python.exp: Use standard_testfile, build_executable.
3040
2c44deac
TT
30412012-06-22 Tom Tromey <tromey@redhat.com>
3042
3043 * gdb.objc/basicclass.exp: Use standard_testfile.
3044 (do_objc_tests): Don't declare objdir.
3045 * gdb.objc/nondebug.exp: Use standard_testfile.
3046 (do_objc_tests): Don't declare objdir.
3047 * gdb.objc/objcdecode.exp: Use standard_testfile.
3048 (do_objc_tests): Don't declare objdir.
3049
c24ccbce
TT
30502012-06-22 Tom Tromey <tromey@redhat.com>
3051
3052 * gdb.java/jmain.exp: Use standard_testfile.
3053 * gdb.java/jmisc.exp: Use standard_testfile.
3054 * gdb.java/jnpe.exp: Use standard_testfile.
3055 * gdb.java/jprint.exp: Use standard_testfile.
3056
0a6d0306
TT
30572012-06-22 Tom Tromey <tromey@redhat.com>
3058
3059 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
3060 (standard_output_file, standard_testfile): New procs.
3061 (build_executable, clean_restart): Use standard_output_file.
3062
6ea815ef
YQ
30632012-06-22 Yao Qi <yao@codesourcery.com>
3064
3065 * boards/native-gdbserver.exp: New proc ${board}_exec.
3066 * boards/native-stdio-gdbserver.exp: Likewise.
3067
4c93b1db
TT
30682012-06-21 Tom Tromey <tromey@redhat.com>
3069
3070 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
3071 (build_executable): Update.
3072 (get_compiler_info): Remove 'binfile' argument.
3073 * gdb.ada/arrayidx.exp: Update.
3074 * gdb.ada/null_array.exp: Update.
3075 * gdb.arch/altivec-abi.exp: Update.
3076 * gdb.arch/altivec-regs.exp: Update.
3077 * gdb.arch/amd64-byte.exp: Update.
3078 * gdb.arch/amd64-dword.exp: Update.
3079 * gdb.arch/amd64-word.exp: Update.
3080 * gdb.arch/i386-avx.exp: Update.
3081 * gdb.arch/i386-byte.exp: Update.
3082 * gdb.arch/i386-sse.exp: Update.
3083 * gdb.arch/i386-word.exp: Update.
3084 * gdb.arch/ppc-dfp.exp: Update.
3085 * gdb.arch/ppc-fp.exp: Update.
3086 * gdb.arch/vsx-regs.exp: Update.
3087 * gdb.base/all-bin.exp: Update.
3088 * gdb.base/annota1.exp: Update.
3089 * gdb.base/async.exp: Update.
3090 * gdb.base/attach.exp: Update.
3091 * gdb.base/break-interp.exp: Update.
3092 * gdb.base/call-ar-st.exp: Update.
3093 * gdb.base/call-rt-st.exp: Update.
3094 * gdb.base/call-sc.exp: Update.
3095 * gdb.base/callfuncs.exp: Update.
3096 * gdb.base/catch-load.exp: Update.
3097 * gdb.base/completion.exp: Update.
3098 * gdb.base/complex.exp: Update.
3099 * gdb.base/condbreak.exp: Update.
3100 * gdb.base/consecutive.exp: Update.
3101 * gdb.base/constvars.exp: Update.
3102 * gdb.base/corefile.exp: Update.
3103 * gdb.base/eval-skip.exp: Update.
3104 * gdb.base/expand-psymtabs.exp: Update.
3105 * gdb.base/exprs.exp: Update.
3106 * gdb.base/fileio.exp: Update.
3107 * gdb.base/fixsection.exp: Update.
3108 * gdb.base/funcargs.exp: Update.
3109 * gdb.base/gdb11530.exp: Update.
3110 * gdb.base/gdb1555.exp: Update.
3111 * gdb.base/gnu-ifunc.exp: Update.
3112 * gdb.base/gnu_vector.exp: Update.
3113 * gdb.base/info-macros.exp: Update.
3114 * gdb.base/jit-simple.exp: Update.
3115 * gdb.base/jit-so.exp: Update.
3116 * gdb.base/jit.exp: Update.
3117 * gdb.base/langs.exp: Update.
3118 * gdb.base/list.exp: Update.
3119 * gdb.base/logical.exp: Update.
3120 * gdb.base/long_long.exp: Update.
3121 * gdb.base/longjmp.exp: Update.
3122 * gdb.base/macscp.exp: Update.
3123 * gdb.base/mips_pro.exp: Update.
3124 * gdb.base/miscexprs.exp: Update.
3125 * gdb.base/morestack.exp: Update.
3126 * gdb.base/nodebug.exp: Update.
3127 * gdb.base/opaque.exp: Update.
3128 * gdb.base/pc-fp.exp: Update.
3129 * gdb.base/pending.exp: Update.
3130 * gdb.base/permissions.exp: Update.
3131 * gdb.base/pointers.exp: Update.
3132 * gdb.base/prelink.exp: Update.
3133 * gdb.base/printcmds.exp: Update.
3134 * gdb.base/psymtab.exp: Update.
3135 * gdb.base/ptype.exp: Update.
3136 * gdb.base/relational.exp: Update.
3137 * gdb.base/scope.exp: Update.
3138 * gdb.base/setvar.exp: Update.
3139 * gdb.base/shlib-call.exp: Update.
3140 * gdb.base/shreloc.exp: Update.
3141 * gdb.base/signals.exp: Update.
3142 * gdb.base/sizeof.exp: Update.
3143 * gdb.base/so-impl-ld.exp: Update.
3144 * gdb.base/so-indr-cl.exp: Update.
3145 * gdb.base/solib-disc.exp: Update.
3146 * gdb.base/solib-display.exp: Update.
3147 * gdb.base/solib-nodir.exp: Update.
3148 * gdb.base/solib-overlap.exp: Update.
3149 * gdb.base/solib-symbol.exp: Update.
3150 * gdb.base/solib-weak.exp: Update.
3151 * gdb.base/solib.exp: Update.
3152 * gdb.base/store.exp: Update.
3153 * gdb.base/structs.exp: Update.
3154 * gdb.base/structs2.exp: Update.
3155 * gdb.base/type-opaque.exp: Update.
3156 * gdb.base/unload.exp: Update.
3157 * gdb.base/varargs.exp: Update.
3158 * gdb.base/volatile.exp: Update.
3159 * gdb.base/watch_thread_num.exp: Update.
3160 * gdb.base/watchpoint-solib.exp: Update.
3161 * gdb.base/watchpoint.exp: Update.
3162 * gdb.base/watchpoints.exp: Update.
3163 * gdb.base/whatis.exp: Update.
3164 * gdb.cell/arch.exp: Update.
3165 * gdb.cell/break.exp: Update.
3166 * gdb.cell/bt.exp: Update.
3167 * gdb.cell/core.exp: Update.
3168 * gdb.cell/data.exp: Update.
3169 * gdb.cell/ea-cache.exp: Update.
3170 * gdb.cell/f-regs.exp: Update.
3171 * gdb.cell/fork.exp: Update.
3172 * gdb.cell/gcore.exp: Update.
3173 * gdb.cell/mem-access.exp: Update.
3174 * gdb.cell/ptype.exp: Update.
3175 * gdb.cell/registers.exp: Update.
3176 * gdb.cell/sizeof.exp: Update.
3177 * gdb.cell/solib-symbol.exp: Update.
3178 * gdb.cell/solib.exp: Update.
3179 * gdb.cp/ambiguous.exp: Update.
3180 * gdb.cp/breakpoint.exp: Update.
3181 * gdb.cp/bs15503.exp: Update.
3182 * gdb.cp/casts.exp: Update.
3183 * gdb.cp/class2.exp: Update.
3184 * gdb.cp/cpexprs.exp: Update.
3185 * gdb.cp/cplusfuncs.exp: Update.
3186 * gdb.cp/ctti.exp: Update.
3187 * gdb.cp/dispcxx.exp: Update.
3188 * gdb.cp/gdb1355.exp: Update.
3189 * gdb.cp/gdb2384.exp: Update.
3190 * gdb.cp/gdb2495.exp: Update.
3191 * gdb.cp/infcall-dlopen.exp: Update.
3192 * gdb.cp/local.exp: Update.
3193 * gdb.cp/m-data.exp: Update.
3194 * gdb.cp/m-static.exp: Update.
3195 * gdb.cp/mb-ctor.exp: Update.
3196 * gdb.cp/mb-inline.exp: Update.
3197 * gdb.cp/mb-templates.exp: Update.
3198 * gdb.cp/member-ptr.exp: Update.
3199 * gdb.cp/method.exp: Update.
3200 * gdb.cp/namespace.exp: Update.
3201 * gdb.cp/nextoverthrow.exp: Update.
3202 * gdb.cp/nsdecl.exp: Update.
3203 * gdb.cp/nsrecurs.exp: Update.
3204 * gdb.cp/nsstress.exp: Update.
3205 * gdb.cp/nsusing.exp: Update.
3206 * gdb.cp/pr-1023.exp: Update.
3207 * gdb.cp/pr-1210.exp: Update.
3208 * gdb.cp/pr-574.exp: Update.
3209 * gdb.cp/pr9631.exp: Update.
3210 * gdb.cp/printmethod.exp: Update.
3211 * gdb.cp/psmang.exp: Update.
3212 * gdb.cp/re-set-overloaded.exp: Update.
3213 * gdb.cp/rtti.exp: Update.
3214 * gdb.cp/shadow.exp: Update.
3215 * gdb.cp/templates.exp: Update.
3216 * gdb.cp/try_catch.exp: Update.
3217 * gdb.dwarf2/dw2-ranges.exp: Update.
3218 * gdb.dwarf2/pr10770.exp: Update.
3219 * gdb.fortran/library-module.exp: Update.
3220 * gdb.hp/gdb.aCC/optimize.exp: Update.
3221 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
3222 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
3223 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
3224 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
3225 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
3226 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
3227 * gdb.hp/gdb.compat/xdb1.exp: Update.
3228 * gdb.hp/gdb.compat/xdb2.exp: Update.
3229 * gdb.hp/gdb.compat/xdb3.exp: Update.
3230 * gdb.hp/gdb.defects/bs14602.exp: Update.
3231 * gdb.hp/gdb.defects/solib-d.exp: Update.
3232 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
3233 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
3234 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
3235 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
3236 * gdb.mi/gdb792.exp: Update.
3237 * gdb.mi/mi-pending.exp: Update.
3238 * gdb.mi/mi-solib.exp: Update.
3239 * gdb.mi/mi-var-cp.exp: Update.
3240 * gdb.opt/clobbered-registers-O2.exp: Update.
3241 * gdb.opt/inline-bt.exp: Update.
3242 * gdb.opt/inline-cmds.exp: Update.
3243 * gdb.opt/inline-locals.exp: Update.
3244 * gdb.python/py-events.exp: Update.
3245 * gdb.python/py-finish-breakpoint.exp: Update.
3246 * gdb.python/py-type.exp: Update.
3247 * gdb.reverse/solib-precsave.exp: Update.
3248 * gdb.reverse/solib-reverse.exp: Update.
3249 * gdb.server/solib-list.exp: Update.
3250 * gdb.stabs/weird.exp: Update.
3251 * gdb.threads/attach-into-signal.exp: Update.
3252 * gdb.threads/attach-stopped.exp: Update.
3253 * gdb.threads/tls-shared.exp: Update.
3254 * gdb.trace/change-loc.exp: Update.
3255 * gdb.trace/strace.exp: Update.
3256
95c391b6
TT
32572012-06-19 Tom Tromey <tromey@redhat.com>
3258
3259 * gdb.base/whatis.exp: Add tests.
3260
e910f0b6
TT
32612012-06-19 Tom Tromey <tromey@redhat.com>
3262
3263 * gdb.cp/m-static.cc (keepalive): New function.
3264 (gnu_obj_1::method): Use it.
3265
422d65e7
DE
32662012-06-18 Doug Evans <dje@google.com>
3267
3268 * gdb.base/info-fun.exp: New file.
3269 * gdb.base/info-fun.c: New file.
3270 * gdb.base/info-fun-solib.c: New file.
3271
e2e4d78b
JK
32722012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3273
3274 Remove stale dummy frames.
3275 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
3276 (maintenance info breakpoints): New tests.
3277 * gdb.base/stale-infcall.c: New file.
3278 * gdb.base/stale-infcall.exp: New file.
3279
1788b2d3
JK
32802012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3281
3282 * gdb.arch/amd64-entry-value-param.S: New file.
3283 * gdb.arch/amd64-entry-value-param.c: New file.
3284 * gdb.arch/amd64-entry-value-param.exp: New file.
3285
663b969e
TT
32862012-06-15 Tom Tromey <tromey@redhat.com>
3287
3288 * gdb.cp/namespace.exp: Add "show lang" test.
3289
8e09ad05
IS
32902012-06-15 Iain Sandoe <iain@codesourcery.com>
3291
3292 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
3293 case. (top level): Use gdb_file_cmd instead of gdb_load.
3294
f85e18ee
JK
32952012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3296
3297 PR tdep/14222
3298 * gdb.arch/i386-sse-stack-align.S: New file.
3299 * gdb.arch/i386-sse-stack-align.c: New file.
3300 * gdb.arch/i386-sse-stack-align.exp: New file.
3301
f3b5e280
KS
33022012-06-13 Keith Seitz <keiths@redhat.com>
3303
3304 PR breakpoints/13798 and mi/11541
3305 * gdb.linespec/ls-errs.exp: Add a few more tests for
3306 filenames with spaces and colons.
3307
50af5481
JK
33082012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3309
3310 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
3311 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
3312 (test_function): Call CV_f.
3313 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
3314 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
3315 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
3316 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
3317 (p CV_f(CV::i)): New tests.
3318
d55637df
TT
33192012-06-13 Tom Tromey <tromey@redhat.com>
3320
3321 * gdb.base/condbreak.exp: Add tests for "condition" completion.
3322
cc80f267
JK
33232012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3324
3325 Fix regression by the "ambiguous linespec" series.
3326 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
3327 tests.
3328
bb2af9cc
JK
33292012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3330
3331 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
3332 missing.
3333
e81a37f7
TT
33342012-06-11 Tom Tromey <tromey@redhat.com>
3335
3336 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
3337 location...
3338 (main): ...here.
3339
8efd7788
YQ
33402012-06-07 Yao Qi <yao@codesourcery.com>
3341
3342 * gdb.trace/strace.exp: Shorten some too-long lines.
3343
359f5fe6
PA
33442012-06-06 Pedro Alves <palves@redhat.com>
3345
3346 * gdb.threads/clone-new-thread-event.c: New file.
3347 * gdb.threads/clone-new-thread-event.exp: New file.
3348
7b2fe205
YQ
33492012-06-06 Yao Qi <yao@codesourcery.com>
3350
3351 * gdb.base/dprintf.c (main): Add extra parameter when calling
3352 printf and fprintf.
3353 (bar): New function. It is a dead function, but to ensure
3354 'malloc' is linked explicitly.
3355
3eca55e8
YQ
33562012-06-06 Yao Qi <yao@codesourcery.com>
3357
3358 * gdb.base/info-proc.exp: Return if target doesn't support
3359 'info proc'.
3360
91cc9324
JK
33612012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3362
3363 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
3364 (run program with breakpoint commands): XFAIl if it is not.
3365
c56e7c43
JB
33662012-06-05 Joel Brobecker <brobecker@adacore.com>
3367
3368 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
3369 and add comment.
3370 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
3371 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
3372 "STOP" marker. Adjust testing strategy to make it work on
3373 all targets.
3374
3375 * gdb.base/print-file-var-main.c (main): Rewrite using local
3376 variables and adjust get_version_2's return value check.
3377 Add small comment.
3378 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
3379 marker. Adjust testing strategy to make it work on all targets.
3380
ccab2054
JB
33812012-06-05 Joel Brobecker <brobecker@adacore.com>
3382
3383 * gdb.ada/bad-task-bp-keyword: New testcase.
3384
d0d86158
JK
33852012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3386
3387 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
3388 Simplify it to ...
3389 (symbol-file ${testfile1}): ... here.
3390 (test eliminated var my_global_symbol)
3391 (test eliminated var my_static_symbol)
3392 (test eliminated var my_global_func, get address of main): Wrap them to
3393 'single psymtabs' and 'single symtabs'
3394 (get address of my_global_symbol, get address of my_static_symbol)
3395 (get address of my_global_func, get address of main): Wrap them to
3396 'order1' and 'order2'.
3397
952cf74c
JK
3398 * gdb.base/code_elim.exp
3399 (add-symbol-file ${testfile1} 0x100000)
3400 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
3401 'order2'.
3402 (order1: add-symbol-file ${testfile1} 0x100000)
3403 (order1: add-symbol-file ${testfile2} 0x200000)
3404 (order2: add-symbol-file ${testfile2} 0x200000)
3405 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
3406 .bss as appropriate.
3407
0c5bf5a9
JK
34082012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3409
3410 * gdb.server/solib-list-lib.c: New file.
3411 * gdb.server/solib-list-main.c: New file.
3412 * gdb.server/solib-list.exp: New file.
3413
4196f325
MR
34142012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
3415
3416 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
3417 for 'set print symbol' change.
3418
bfb05775
JK
34192012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3420
3421 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
3422 .debug_abbrev_seg3.
3423
685b1105
JK
34242012-05-24 John Steele Scott <toojays@toojays.net>
3425
3426 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
3427 * gdb.dwarf2/dw2-icc-opaque.S: New file.
3428 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
3429
f3e0e960
SS
34302012-05-23 Stan Shebs <stan@codesourcery.com>
3431
3432 * gdb.mi/mi-info-os.exp: New file.
3433
11eb1b4d
KS
34342012-05-23 Keith Seitz <keiths@redhat.com>
3435
3436 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
3437 return -1 to suppress the rest of the tests.
3438 (compile_stap_bin): Return boolean success value.
3439
b1af9e97
TT
34402012-05-21 Tom Tromey <tromey@redhat.com>
3441
3442 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
3443 Remove kfails.
3444 (test_print_mi_member_types): Likewise.
3445
248537e3
TT
34462012-05-21 Tom Tromey <tromey@redhat.com>
3447
3448 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
3449 print symbol' change.
3450
d791e155
TJB
34512012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
3452
3453 * gdb.python/py-prompt.exp: Quit if the target is remote.
3454
e77afa2e
JK
34552012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3456
3457 Fix ERROR: internal buffer is full.
3458 * gdb.base/info-os.exp (expect_multiline): New function.
3459 (get process list, get process groups, get threads)
3460 (get file descriptors, get internet-domain sockets)
3461 (get shared-memory regions, get semaphores, get message queues): Use
3462 it for these tests.
3463
9cb709b6
TT
34642012-05-18 Tom Tromey <tromey@redhat.com>
3465
3466 * gdb.mi/mi-var-cmd.exp: Update.
3467 * gdb.objc/basicclass.exp (do_objc_tests): Update.
3468 * gdb.cp/virtbase.exp: Update.
3469 * gdb.cp/classes.exp (test_static_members): Update.
3470 * gdb.cp/casts.exp: Update.
3471 * gdb.base/pointers.exp: Update.
3472 * gdb.base/funcargs.exp (pointer_args): Update.
3473 (structs_by_reference): Update.
3474 * gdb.base/find.exp: Update.
3475 * gdb.base/call-strs.exp: Send "set print symbol off".
3476 * gdb.base/call-ar-st.exp: Update.
3477 * gdb.ada/fun_addr.exp: Update.
3478 * gdb.base/printcmds.exp (test_print_symbol): New proc.
3479 Call it.
3480 (test_print_repeats_10, test_print_strings)
3481 (test_print_char_arrays): Update.
3482
b012acdd
TT
34832012-05-18 Tom Tromey <tromey@redhat.com>
3484
3485 * gdb.base/charset.exp (string_display): Update.
3486
1d51a733
TT
34872012-05-18 Tom Tromey <tromey@redhat.com>
3488
3489 * gdb.mi/mi2-var-display.exp: Update.
3490 * gdb.mi/mi-var-display.exp: Update.
3491 * gdb.mi/mi-var-child.exp: Update.
3492 * gdb.cp/expand-psymtabs-cxx.exp: Update.
3493 * gdb.cp/cp-relocate.exp (get_func_address): Update.
3494
957df313
DE
34952012-05-17 Doug Evans <dje@google.com>
3496
682c7f7b
DE
3497 * info-macros.exp: Pass "debug" to prepare_for_testing.
3498
957df313
DE
3499 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
3500 * gdb.ada/Makefile.in (clean): Ditto.
3501 * gdb.arch/Makefile.in (clean): Ditto.
3502 * gdb.asm/Makefile.in (clean): Ditto.
3503 * gdb.base/Makefile.in (clean): Ditto.
3504 * gdb.cell/Makefile.in (clean): Ditto.
3505 * gdb.cp/Makefile.in (clean): Ditto.
3506 * gdb.disasm/Makefile.in (clean): Ditto.
3507 * gdb.dwarf2/Makefile.in (clean): Ditto.
3508 * gdb.fortran/Makefile.in (clean): Ditto.
3509 * gdb.go/Makefile.in (clean): Ditto.
3510 * gdb.hp/Makefile.in (clean): Ditto.
3511 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
3512 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
3513 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
3514 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
3515 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
3516 * gdb.java/Makefile.in (clean): Ditto.
3517 * gdb.linespec/Makefile.in (clean): Ditto.
3518 * gdb.mi/Makefile.in (clean): Ditto.
3519 * gdb.modula2/Makefile.in (clean): Ditto.
3520 * gdb.multi/Makefile.in (clean): Ditto.
3521 * gdb.objc/Makefile.in (clean): Ditto.
3522 * gdb.opencl/Makefile.in (clean): Ditto.
3523 * gdb.opt/Makefile.in (clean): Ditto.
3524 * gdb.pascal/Makefile.in (clean): Ditto.
3525 * gdb.python/Makefile.in (clean): Ditto.
3526 * gdb.reverse/Makefile.in (clean): Ditto.
3527 * gdb.server/Makefile.in (clean): Ditto.
3528 * gdb.stabs/Makefile.in (clean): Ditto.
3529 * gdb.threads/Makefile.in (clean): Ditto.
3530 * gdb.trace/Makefile.in (clean): Ditto.
3531 * gdb.xml/Makefile.in (clean): Ditto.
3532
abc9d0dc
TT
35332012-05-16 Tom Tromey <tromey@redhat.com>
3534
3535 * gdb.base/macscp1.c (macscp_expr): Add comment.
3536 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
3537
6a3a010b
MR
35382012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3539
3540 * gdb.base/return-nodebug.exp: Also test float and double types.
3541
01429c8e
JK
35422012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3543
3544 PR testsuite/12649
3545 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
3546
54115cd4
JK
3547 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
3548
0c5f383f
SDJ
35492012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
3550
3551 * gdb.base/stap-probe.exp (stap_test): Remove calls to
3552 `rerun_to_main'.
3553 (stap_test_no_debuginfo): Likewise.
3554
e7e0cddf
SS
35552012-05-14 Stan Shebs <stan@codesourcery.com>
3556
3557 * gdb.base/dprintf.c: New file.
3558 * gdb.base/dprintf.exp: New file.
3559
c772f8e7
HZ
35602012-05-14 Hui Zhu <hui_zhu@mentor.com>
3561
3562 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
3563 * gdb.trace/disconnected-tracing.c: New file.
3564 * gdb.trace/disconnected-tracing.exp: New file.
3565
7efc75aa
SCR
35662012-05-13 Siva Chandra Reddy <sivachandra@google.com>
3567
3568 * gdb.python/python.c: Add a new breakpoint comment.
3569 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
3570
85d4a676
SS
35712011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
3572
3573 * gdb.base/info-os.exp: New file.
3574 * gdb.base/info-os.c: New file.
3575
64ea88dc
JB
35762012-05-10 Joel Brobecker <brobecker@adacore.com>
3577
4647ab1b
JB
3578 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
3579 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
3580 New files.
64ea88dc 3581
afba63f1
JB
35822012-05-10 Joel Brobecker <brobecker@adacore.com>
3583
3584 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
3585 gdb.base/ctxobj.exp: New files.
3586
9d198b1e
TT
35872012-05-09 Tom Tromey <tromey@redhat.com>
3588
3589 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
3590
9bfee719
MR
35912012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
3592
3593 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
3594
3a7341d8
MR
35952012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
3596
3597 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
3598 before using it.
3599
52b3699b
TG
36002012-05-04 Tristan Gingold <gingold@adacore.com>
3601
3602 * gdb.base/set-noassign.exp: New test.
3603
a20ee7a4
SCR
36042012-05-03 Siva Chandra Reddy <sivachandra@google.com>
3605
3606 * gdb.python/py-symbol.exp: Add tests to test the new methods
3607 gdb.Symtab.global_block() and gdb.Symtab.static_block().
3608 * gdb.python/py-symbol.c: Add new struct to help test
3609 gdb.Symtab.static_block().
3610
bf2f0858
DE
36112012-05-03 Doug Evans <dje@google.com>
3612
3613 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
3614 commented out.
3615
2d4e0376
YQ
36162012-05-03 Yao Qi <yao@codesourcery.com>
3617
3618 * gdb.base/catch-syscall.exp: Skip it before compilation if target
3619 doesn't support.
3620 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
3621 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
3622
6d0bb9f3
YQ
36232012-05-03 Yao Qi <yao@codesourcery.com>
3624
3625 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
3626
fd820528
DE
36272012-04-30 Doug Evans <dje@google.com>
3628
3629 PR testsuite/13961
3630 * gdb.dwarf2/pr13961.S: New file.
3631 * gdb.dwarf2/pr13961.exp: New file.
3632
b9e219b9
YQ
36332012-04-29 Yao Qi <yao@codesourcery.com>
3634
3635 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
3636
3019eac3
DE
36372012-04-28 Doug Evans <dje@google.com>
3638
3639 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
3640 .Ltype_int_in_cu2. Use name "int2" instead of "int".
3641 All uses updated.
3642 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
3643 "ptype func_cu1" to expand cu2 before cu1.
3644
62e5f89c
SDJ
36452012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
3646 Tom Tromey <tromey@redhat.com>
3647
3648 * gdb.base/default.exp: Add `$_probe_arg*' convenience
3649 variables.
3650 * gdb.base/stap-probe.c: New file.
3651 * gdb.base/stap-probe.exp: New file.
3652 * gdb.trace/stap-trace.c: New file.
3653 * gdb.trace/stap-trace.exp: New file.
3654 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
3655 libgcc's unwinder.
3656
14132e89
MR
36572012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
3658
3659 * gdb.arch/mips16-thunks-inmain.c: New file.
3660 * gdb.arch/mips16-thunks-main.c: New file.
3661 * gdb.arch/mips16-thunks-sin.c: New file.
3662 * gdb.arch/mips16-thunks-sinfrob.c: New file.
3663 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
3664 * gdb.arch/mips16-thunks-sinmain.c: New file.
3665 * gdb.arch/mips16-thunks-sinmips16.c: New file.
3666 * gdb.arch/mips16-thunks.exp: New file.
3667
a766d390
DE
36682012-04-25 Doug Evans <dje@google.com>
3669
3670 * configure.ac: Create gdb.go/Makefile.
3671 * configure: Regenerate.
3672 * gdb.base/default.exp: Add "go" to "set language" testing.
3673 * gdb.go/Makefile.in: New file.
3674 * gdb.go/basic-types.exp: New file.
3675 * gdb.go/chan.exp: New file.
3676 * gdb.go/chan.go: New file.
3677 * gdb.go/handcall.exp: New file.
3678 * gdb.go/handcall.go: New file.
3679 * gdb.go/hello.exp: New file.
3680 * gdb.go/hello.go: New file.
3681 * gdb.go/integers.exp: New file.
3682 * gdb.go/integers.go: New file.
3683 * gdb.go/methods.exp: New file.
3684 * gdb.go/methods.go: New file.
3685 * gdb.go/package.exp: New file.
3686 * gdb.go/package1.go: New file.
3687 * gdb.go/package2.go: New file.
3688 * gdb.go/print.exp: New file.
3689 * gdb.go/strings.exp: New file.
3690 * gdb.go/strings.go: New file.
3691 * gdb.go/types.exp: New file.
3692 * gdb.go/types.go: New file.
3693 * gdb.go/unsafe.exp: New file.
3694 * gdb.go/unsafe.go: New file.
3695 * lib/future.exp: Add Go support.
3696 (gdb_find_go, gdb_find_go_linker): New procs.
3697 (gdb_default_target_compile): Add Go support.
3698 * lib/gdb.exp (skip_go_tests): New proc.
3699 * lib/go.exp: New file.
3700
e65f9ffb
TT
37012012-04-25 Tom Tromey <tromey@redhat.com>
3702
3703 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
3704
14e75d8e
JK
37052012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3706 Jan Kratochvil <jan.kratochvil@redhat.com>
3707
3708 PR symtab/7259:
3709 * gdb.base/enumval.c: New test case.
3710 * gdb.base/enumval.exp: New test case.
3711 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
3712 field.bitpos.
3713
f3525b70
PA
37142012-04-17 Pedro Alves <palves@redhat.com>
3715
3716 * Makefile.in (site.exp): Make site.exp source
3717 $srcdir/lib/append_gdb_boards_dir.exp.
3718 * lib/append_gdb_boards_dir.exp: New file.
3719
bccbefd2
JK
37202012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3721
3722 New option "set auto-load safe-path".
3723 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
3724 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
3725
bf88dd68
JK
37262012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3727
3728 auto-load: Implementation.
3729 * gdb.base/help.exp (test set height): Increase the height.
3730 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
3731 to ...
3732 (info auto-load python-scripts): ... here.
3733 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
3734 to ...
3735 (info auto-load python-scripts *): ... here.
3736
c0d4d1c0
YQ
37372012-04-16 Yao Qi <yao@codesourcery.com>
3738
3739 * lib/trace-support.exp (get_in_proc_agent): New.
3740 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
3741 of in process trace agent.
3742 * gdb.trace/ftrace.exp: Likewise.
3743 * gdb.trace/pending.exp: Likewise.
3744 * gdb.trace/trace-break.exp: Likewise.
3745 * gdb.trace/trace-mt.exp
3746 * gdb.trace/tspeed.exp: Likewise.
3747 * gdb.trace/tstatus.exp
3748 * gdb.trace/strace.exp: Likewise.
3749
cbf68a60
TS
37502012-04-16 Thomas Schwinge <thomas@codesourcery.com>
3751
dd6d3b70
TS
3752 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
3753 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
3754
cbf68a60
TS
3755 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
3756
8264ba82
AG
37572012-04-14 Anton Gorenkov <xgsa@yandex.ru>
3758
3759 PR mi/13393
3760 * gdb.mi/mi-var-rtti.cc: New file.
3761 * gdb.mi/mi-var-rtti.exp: New file.
3762 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
3763 function.
3764 (mi_varobj_update_with_type_change): updated to avoid code duplication.
3765
de0919f8 37662012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
3767
3768 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
3769 EXECUTABLES.
3770 * gdb.python/py-explore.c: C program used for testing the new
3771 'explore' command on C constructs.
3772 * gdb.python/py-explore.cc: C++ program used for testing the new
3773 'explore' command on C++ constructs.
3774 * gdb-python/py-explore.exp: Tests for the new 'explore'
3775 command on C constructs.
3776 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
3777 command on C++ constructs.
3778
a82da7dd
MK
37792012-04-07 Mark Kettenis <kettenis@gnu.org>
3780
3781 * gdb.base/funcargs.exp (complex_args): Fix typo.
3782
e127cba8
JK
37832012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3784
3785 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
3786 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
3787
40e084e1
KS
37882012-04-05 Keith Seitz <keiths@redhat.com>
3789
3790 * gdb.base/advance.exp: Update error message for
3791 "advance malformed" test.
3792 * gdb.base/break.exp: Likewise for "breakpoint with
3793 trailing garbage" test.
3794 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
3795 with trailing garbage" test.
3796 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
3797 trailng garbage" test.
3798 * gdb.base/until.exp: Likewise for "malformed until" test.
3799 * gdb.cp/ovldbreak.exp: Create the breakpoint table
3800 for "breakpoint info (after setting on all)".
3801 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
3802 tests.
3803 * gdb.cp/cplabel.cc: New file.
3804 * gdb.cp/cplabel.exp: New test.
3805 * gdb.linespec/ls-errs.c: New file.
3806 * gdb.linespec/ls-errs.exp: New test.
3807
a72c8f6a
JK
38082012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3809
3810 * gdb.trace/unavailable.exp
3811 (collect globals: print object on: print derived_partial)
3812 (collect globals: print object on: print derived_whole)
3813 (collect globals: print object off: print derived_partial)
3814 (collect globals: print object off: print derived_whole): Update
3815 expected output.
3816
f87a3023
KS
38172012-03-30 Keith Seitz <keiths@redhat.com>
3818
3819 * gdb.python: Add test for linespecs with commas.
3820
e2171b3c
KS
38212012-03-28 Keith Seitz <keiths@redhat.com>
3822
3823 * gdb.linespec/ls-dollar.cc: New file.
3824 * gdb.linespec/ls-dollar.exp: New test.
3825
38262012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
3827
3828 * gdb.cp/namespace.exp: Add breakpoint tests for functions
3829 starting with the global namespace.
3830
2f4e0a80
DE
38312012-03-23 Doug Evans <dje@google.com>
3832
3833 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
3834
7b282c5a
SCR
38352012-03-22 Siva Chandra Reddy <sivachandra@google.com>
3836
3837 * gdb.python/py-value.cc: Add test case for testing the
3838 methodology exposing C++ values to Python.
3839 * gdb.python/py-value-cc.exp: Add tests testing the methodology
3840 exposing C++ values to Python.
3841 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
3842
2e98ca53
JK
38432012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3844 Siddhesh Poyarekar <siddhesh@redhat.com>
3845
3846 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
3847 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
3848 (generate native core dump): Make the test unsupported if core cannot
3849 be generated.
3850
8320cc4f
JK
38512012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3852
3853 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
3854 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
3855 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
3856
3a69ffb2
JK
38572012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3858
3859 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
3860
8fabffee
DE
38612012-03-17 Doug Evans <dje@google.com>
3862
3863 * dg-extract-results.sh: Handle KFAILs.
3864
ab260dad
JK
38652012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3866
3867 PR symtab/13777
3868 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
3869
53ba8333
JB
38702012-03-16 Joel Brobecker <brobecker@adacore.com>
3871
3872 * gdb.ada/set_pckd_arr_elt: New testcase.
3873
481860b3
GB
38742012-03-16 Gary Benson <gbenson@redhat.com>
3875
3876 PR breakpoints/10738
3877 * gdb.opt/inline-break.exp: New file.
3878 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
3879 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
3880 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
3881 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
3882 * gdb.base/async-shell.exp: Likewise.
3883 * lib/mi-support.exp (library_loaded_re): Likewise.
3884
410528f0
TT
38852012-03-15 Tom Tromey <tromey@redhat.com>
3886
3887 * gdb.cp/virtfunc2.exp: Update expected output.
3888 * gdb.cp/pr9631.exp: Update expected output.
3889 * gdb.cp/member-ptr.exp: Update expected output.
3890 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
3891 output.
3892 * gdb.cp/casts.exp: Update expected output.
3893
c4aeac85
TT
38942012-03-15 Tom Tromey <tromey@redhat.com>
3895
3896 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
3897 (test_info_vtbl): Likewise.
3898 (do_tests): Call test_info_vtbl.
3899 * gdb.cp/virtfunc.cc (va): New global.
3900
856d06f9
TS
39012012-03-15 Thomas Schwinge <thomas@codesourcery.com>
3902
3903 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
3904 describing DWARF data structures.
3905 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
3906 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
3907 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
3908 * gdb.dwarf2/dw2-entry-value.S: Likewise.
3909 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3910 * gdb.dwarf2/dw2-param-error.S: Likewise.
3911 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
3912 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
3913 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
3914 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
3915 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
3916 * gdb.dwarf2/pr11465.S: Likewise.
3917
e837f12a
JK
39182012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3919
3920 * gdb.mi/mi2-prompt.exp: New file.
3921
ccbb4f28
JB
39222012-03-13 Joel Brobecker <brobecker@adacore.com>
3923
3924 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
3925
32039130
JB
39262012-03-13 Joel Brobecker <brobecker@adacore.com>
3927
3928 * gdb.ada/bp_range_type: New testcase.
3929
16899756
DE
39302012-03-13 Doug Evans <dje@google.com>
3931
3932 * gdb.base/default.exp: Delete tests for symbol-reloading.
3933 * gdb.base/help.exp: Ditto.
3934 * gdb.base/setshow.exp: Ditto.
3935 * gdb.base/gdb_history: Delete references to symbol-reloading.
3936
87b0bb13
JK
39372012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3938
3939 * gdb.base/attach-twice.c: New files.
3940 * gdb.base/attach-twice.exp: New files.
3941
0d7941a9
KS
39422012-03-08 Keith Seitz <keiths@redhat.com>
3943
3944 * lib/gdb.exp (gdb_get_line_number): Throw an
3945 error instead of returning -1.
3946 * gdb.base/break.exp: Remove unused variable
3947 bp_location5.
3948 * gdb.base/hbreak2.exp: Likewise.
3949 * gdb.base/sepdebug.exp: Likewise.
3950
f4647387
YQ
39512012-03-08 Yao Qi <yao@codesourcery.com>
3952 Pedro Alves <palves@redhat.com>
3953
3954 Fix PR server/13392.
3955 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
3956 (tracepoint_change_loc_2): Remove kfail. Return if failed to
3957 download tracepoints.
3958 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
3959 (pending_tracepoint_resolved_during_trace): Likewise.
3960 (pending_tracepoint_installed_during_trace): Likewise.
3961 (pending_tracepoint_with_action_resolved): Likewise.
3962
83c532cb
KS
39632012-03-08 Keith Seitz <keiths@redhat.com>
3964
3965 * gdb.ada/array_bounds.exp: Get breakpoint for line
3966 with "START", not "STOP".
3967 * gdb.python/py-infthread.exp: Do not continue to
3968 line marked "Break here.", which is undefined.
3969
d6b6bbb7
LM
39702012-03-08 Luis Machado <lgustavo@codesourcery.com>
3971
3972 Revert:
3973
3974 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3975
3976 Implement testsuite workaround for PR breakpoints/13781.
3977 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
3978 (set breakpoint condition-evaluation host): New conditional command.
3979
7fe25d9b
JK
39802012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3981
3982 Fix CU relative vs. absolute DIE offsets.
3983 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
3984 one.
3985
51898c15
JK
39862012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3987
3988 Fix false FAIL on distros with relro linkage as default.
3989 * gdb.reverse/solib-precsave.exp: Try to compile the test using
3990 -Wl,-z,norelro first.
3991
8131799e
JB
39922012-03-06 Joel Brobecker <brobecker@adacore.com>
3993
3994 * gdb.ada/bp_on_var: New testcase.
3995
ba241969
JB
39962012-03-06 Joel Brobecker <brobecker@adacore.com>
3997
3998 * gdb.ada/bp_enum_homonym: New testcase.
3999
abe49676
YQ
40002012-03-06 Yao Qi <yao@codesourcery.com>
4001
4002 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
4003 x86_64-*-* and i?86-*-*.
4004 Set up KFAIL for gdb/13808.
4005
d8df103b
TT
40062012-03-05 Tom Tromey <tromey@redhat.com>
4007
4008 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
4009 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
4010
b7b189f3
TT
40112012-03-05 Tom Tromey <tromey@redhat.com>
4012
4013 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
4014
69dc1c4d
YQ
40152012-03-04 Yao Qi <yao@codesourcery.com>
4016
4017 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
4018 messages for KFAIL.
4019
3f20c47f
JK
40202012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4021
4022 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
4023 (print one_two_three, indexes off, print few_reps, indexes off)
4024 (print many_reps, indexes off, print empty, indexes off)
4025 (print one_two_three, print few_reps, print many_reps, print empty):
4026 Call setup_xfail if $gcc_old.
4027
abf1152a
JK
40282012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4029
4030 Implement testsuite workaround for PR breakpoints/13781.
4031 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
4032 (set breakpoint condition-evaluation host): New conditional command.
4033
a06715f8
JK
40342012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4035
4036 Code cleanup.
4037 * gdb.cp/mb-templates.exp: New variables executable. Use it for
4038 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
4039 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
4040 number 1 by $bpnum. Four times.
4041
5808517f
YQ
40422012-03-03 Yao Qi <yao@codesourcery.com>
4043
4044 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
4045
dfe2ac14
JK
40462012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4047
4048 Setup KFAIL for PR server/13796.
4049 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
4050
8bbc467a
JB
40512012-03-02 Joel Brobecker <brobecker@adacore.com>
4052
4053 * gdb.ada/operator_bp: New testcase.
4054
c0eac87f
JB
40552012-03-02 Joel Brobecker <brobecker@adacore.com>
4056
4057 * gdb.ada/info_locals_renaming: New testcase.
4058
4f42c881
TT
40592012-03-02 Tom Tromey <tromey@redhat.com>
4060
4061 * gdb.base/nextoverexit.c: New file.
4062 * gdb.base/nextoverexit.exp: New file.
4063
7380c0c9
EBM
40642012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
4065
4066 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
4067 parameter.
4068
1faeff08
MR
40692012-03-01 Maciej W. Rozycki <macro@mips.com>
4070
4071 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
4072 core registers.
4073
320b6f49 40742012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
4075 Maciej W. Rozycki <macro@codesourcery.com>
4076 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
4077
4078 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
4079
ad5f7d6e
PA
40802012-03-01 Pedro Alves <palves@redhat.com>
4081
4082 PR gdb/13767
4083
4084 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
4085 (gdb_collect_globals_test): Call it.
4086
d3dc44a6
KS
40872012-03-01 Keith Seitz <keiths@redhat.com>
4088
4089 * gdb.cp/method2.exp: Output of overload menu is now
4090 alphabetized. Update tests for "break A::method".
4091 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
4092 of hard-coding them.
4093 Overload menu is alphabetized: rewrite to accommodate.
4094 Unset variables LINE and TYPES which are used in other tests.
4095 Compute the output of "info break".
4096 Update the breakpoint table after all breakpoints are deleted.
4097 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
4098 compute ACTUALS and the method body based on parameters.
4099 Update expected output accordingly.
4100 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
4101 unique comments to allow the use of gdb_get_line_number.
4102
41032012-03-01 Keith Seitz <keiths@redhat.com>
4104
4105 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
4106 some Tcl syntax.
4107 * gdb.cp/ovldbreak.exp: Likewise.
4108
7949c2a0
KS
41092012-03-01 Keith Seitz <keiths@redhat.com>
4110
4111 * gdb.base/help.exp (help show user): Update expected result
4112 for new doc string changes (add "non-python").
4113
7d74f244
DE
41142012-03-01 Scott J. Goldman <scottjg@vmware.com>
4115
4116 * gdb.python/py-cmd.exp: Add test to verify that python commands can
4117 be put in the user-defined category and that the commands appear in
4118 "help user-defined".
4119
1b611343
JB
41202012-02-29 Joel Brobecker <brobecker@adacore.com>
4121
4122 * gdb.ada/tagged_not_init: New testcase.
4123
99b1c762
JB
41242012-02-29 Joel Brobecker <brobecker@adacore.com>
4125
4126 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
4127 * gdb.ada/enum_idx_packed: New testcase.
4128
2d4a02ee
JB
41292012-02-29 Joel Brobecker <brobecker@adacore.com>
4130
4131 * gdb.ada/aliased_array: New testcase.
4132
2e6fda7d
JB
41332012-02-29 Joel Brobecker <brobecker@adacore.com>
4134
4135 * gdb.ada/whatis_array_val: New testcase.
4136
9a7f938f
JK
41372012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4138
4139 Fix disp-step-syscall.exp: fork: single step over fork.
4140 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
4141 whitespaces.
4142 (single step over $syscall): Remove its check.
4143 (single step over $syscall final pc): New check.
4144
8703a944
JK
41452012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4146
4147 Support processors without SSSE3.
4148 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
4149 pabsd into ...
4150 (ssse3_test): ... a new function.
4151 (main): Call ssse3_test.
4152 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
4153 Update expected values everywhere.
4154 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
4155 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
4156 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
4157 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
4158 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
4159 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
4160 Move these tests lower.
4161 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
4162 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
4163 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
4164 New tests.
4165
c03e6ccc
YQ
41662012-02-29 Yao Qi <yao@codesourcery.com>
4167 Pedro Alves <palves@redhat.com>
4168
4169 * gdb.trace/trace-mt.c: New.
4170 * gdb.trace/trace-mt.exp: New.
4171
7964b62a
TS
41722012-02-28 Thomas Schwinge <thomas@codesourcery.com>
4173
2c8910ba
TS
4174 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
4175 numbers instead of hardcoding them.
4176 * gdb.base/annota1.c: Provide suitable markers.
4177 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
4178 numbers instead of hardcoding them.
4179 * gdb.base/annota3.c: Provide suitable markers.
4180
4181 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
4182 * gdb.base/annota3.c: Likewise.
4183 * gdb.base/sigall.c: Likewise.
4184 * gdb.base/signals.c: Likewise.
4185 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 4186
5a41c0b7
MR
41872012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
4188
4189 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
4190 failure return path.
4191
ebbbe5c5
LM
41922012-02-27 Luis Machado <lgustavo@codesourcery.com>
4193
4194 * gdb.base/save-bp.exp: Account for new condition evaluator output.
4195
8d126d8a
LM
41962012-02-24 Luis Machado <lgustavo@codesourcery.com>
4197
4198 * gdb.base/cond-eval-mode.exp: New file.
4199
11337c2f
PA
42002012-02-24 Pedro Alves <palves@redhat.com>
4201
4202 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
4203 (top level): Use with_test_prefix.
4204
13fc3e3c
PA
42052012-02-24 Pedro Alves <palves@redhat.com>
4206
4207 * gdb.threads/attach-into-signal.exp (corefunc): Use
4208 with_test_prefix.
4209
07c1b626
JK
42102012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4211
4212 Fix false FAILs on old CPUs without SSE.
4213 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
4214 Return untested for Illegal instruction.
4215
596ba138
JK
42162012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4217
4218 Fix false FAILs with glibc debug infos installed.
4219 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
4220 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
4221
aeaa2474
SA
42222012-02-22 Sterling Augustine <saugustine@google.com>
4223
4224 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
4225 constant with cast.
4226
aed555c9
PA
42272012-02-21 Pedro Alves <palves@redhat.com>
4228
4229 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
4230
78afebb4
PA
42312012-02-21 Pedro Alves <palves@redhat.com>
4232
4233 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
4234
fdcfef12
PA
42352012-02-21 Pedro Alves <palves@redhat.com>
4236
4237 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
4238 with_test_prefix.
4239
0f4d39d5
PA
42402012-02-21 Pedro Alves <palves@redhat.com>
4241
4242 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
4243 with_test_prefix here.
4244 (top level): Do it here instead. Remove `:' from the
4245 with_test_prefix string.
4246 * gdb.base/attach-pie-misread.exp: Remove the leading space the
4247 the suffix `:' from the with_test_prefix prefix string.
4248 * gdb.base/break-interp.exp: Ditto.
4249 * gdb.base/catch-load.exp: Ditto.
4250 * gdb.base/disp-step-syscall.exp: Ditto.
4251 * gdb.base/jit-so.exp: Ditto.
4252 * gdb.base/jit.exp: Ditto.
4253 * gdb.base/sepdebug.exp: Ditto.
4254 * gdb.base/solib-display.exp: Ditto.
4255 * gdb.base/solib-overlap.exp: Ditto.
4256 * gdb.base/watch-cond-infcall.exp: Ditto.
4257 * gdb.base/watchpoint.exp: Ditto.
4258 * gdb.dwarf2/dw2-noloc.exp: Ditto.
4259 * gdb.mi/mi-watch.exp: Ditto.
4260 * gdb.mi/mi2-watch.exp: Ditto.
4261 * gdb.threads/non-ldr-exc-1.exp: Ditto.
4262 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4263 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4264 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4265 * gdb.threads/watchpoint-fork.exp: Ditto.
4266 * gdb.threads/watchthreads-reorder.exp: Ditto.
4267 * gdb.trace/change-loc.exp: Ditto.
4268 * gdb.trace/pending.exp: Ditto.
4269 * gdb.trace/status-stop.exp: Ditto.
4270 * gdb.trace/strace.exp: Ditto.
4271 * gdb.trace/trace-break.exp: Ditto.
4272 * gdb.trace/unavailable.exp: Ditto.
4273 * lib/gdb.exp (with_test_prefix): Always prefix with space and
4274 suffix with colon. Adjust leading comments.
4275
6a5870ce
PA
42762012-02-21 Pedro Alves <palves@redhat.com>
4277 Tom Tromey <tromey@redhat.com>
4278
4279 * lib/gdb.exp: Add description of test prefixes.
4280 (with_test_prefix): New procedure.
4281 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
4282 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
4283 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
4284 instead of lappend to append to pf_prefix.
4285 * gdb.base/catch-load.exp: Use with_test_prefix.
4286 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
4287 * gdb.base/jit-so.exp: Use with_test_prefix.
4288 * gdb.base/jit.exp: Use with_test_prefix.
4289 * gdb.base/return-nodebug.exp (do_test): Use append instead of
4290 lappend to append to pf_prefix.
4291 * gdb.base/sepdebug.exp: Use with_test_prefix.
4292 * gdb.base/solib-display.exp: Use with_test_prefix.
4293 * gdb.base/solib-overlap.exp: Use with_test_prefix.
4294 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
4295 * gdb.base/watchpoint.exp: Use with_test_prefix.
4296 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
4297 * gdb.mi/mi-watch.exp: Use with_test_prefix.
4298 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
4299 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
4300 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
4301 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
4302 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
4303 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
4304 append instead of lappend to append to pf_prefix.
4305 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
4306 * gdb.trace/change-loc.exp: Use with_test_prefix.
4307 * gdb.trace/pending.exp: Use with_test_prefix.
4308 * gdb.trace/status-stop.exp: Use with_test_prefix.
4309 * gdb.trace/strace.exp: Use with_test_prefix.
4310 * gdb.trace/trace-break.exp: Use with_test_prefix.
4311 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
4312 instead of lappend to append to pf_prefix.
4313
35dc4a6b
JK
43142012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4315
4316 Fix racy FAILs.
4317 * gdb.base/inferior-died.c (main): Add return of 0.
4318 * gdb.base/inferior-died.exp (continue): Fix expectation of
4319 asynchronous events.
4320 (p 1): New test.
4321
c5a006e6
PA
43222012-02-20 Pedro Alves <palves@redhat.com>
4323
4324 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
4325 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
4326 gdb's internal debug output. For the non-threaded case, look for
4327 "Program received signal SIGLARM", for the threaded case, peek at
4328 the thread's siginfo.
4329
cc51a170
PA
43302012-02-20 Pedro Alves <palves@redhat.com>
4331
4332 General cleanup, make output test messages unique, and build
4333 different executable files for the non-threaded and threaded
4334 cases.
4335
4336 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
4337 Delete.
4338 (executable_nothr, executable_thr): New globals.
4339 (top level): Adjust to delete both executables.
4340 (corefunc): New parameter $executable. Set $pf_prefix instead of
4341 hand writing a prefix in tests. Issue a clean_restart and enable
4342 lin-lwp debug output here.
4343 (top level): Adjust. Use build_executable. Don't start gdb here,
4344 and don't enable lin-lwp debug output here.
4345 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
4346
c755f03d
JK
43472012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4348
4349 Fix racy FAILs.
4350 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
4351 "continue" command.
4352
6bec5e0a
JK
43532012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4354
4355 Fix for gdbserver non-extended mode.
4356 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
4357 and gdb_run_cmd.
4358
2e8265fd
TT
43592012-02-17 Tom Tromey <tromey@redhat.com>
4360
4361 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
4362 * gdb.python/py-events.exp: Check 'dir' output.
4363 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
4364
9e507076
YQ
43652012-02-17 Yao Qi <yao@codesourcery.com>
4366
4367 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
4368
32d22ab1
TT
43692012-02-16 Tom Tromey <tromey@redhat.com>
4370
4371 * gdb.base/inferior-died.c: Don't include stdio.h.
4372
9addecb9
TT
43732012-02-16 Tom Tromey <tromey@redhat.com>
4374
4375 * gdb.base/inferior-died.c: New file.
4376 * gdb.base/inferior-died.exp: New file.
4377
4cb6da1c
AR
43782012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
4379
4380 * gdb.base/break-inline.exp: New file.
4381 * gdb.base/break-inline.c: New file.
4382
3af2590d
TT
43832012-02-15 Tom Tromey <tromey@redhat.com>
4384
4385 * gdb.base/pc-fp.exp: Add "info register" tests.
4386
29988831
TT
43872012-02-15 Tom Tromey <tromey@redhat.com>
4388
4389 * gdb.base/regs.exp: Remove.
4390
10010058
PA
43912012-02-15 Pedro Alves <palves@redhat.com>
4392
4393 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
4394 the target doesn't support tracepoints.
4395 * gdb.trace/circ.exp: Ditto.
4396 * gdb.trace/collection.exp: Ditto.
4397 * gdb.trace/packetlen.exp: Ditto.
4398 * gdb.trace/passc-dyn.exp: Ditto.
4399 * gdb.trace/report.exp: Ditto.
4400 * gdb.trace/tfind.exp: Ditto.
4401 * gdb.trace/tspeed.exp: Ditto.
4402 * gdb.trace/tsv.exp: Ditto.
4403 * gdb.trace/unavailable.exp: Ditto.
4404 * gdb.trace/while-dyn.exp: Ditto.
4405
a2e0062d
PA
44062012-02-15 Pedro Alves <palves@redhat.com>
4407
4408 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
4409 gdb_test_multiple, and call unsupported instead of fail, if the
4410 remote side does not support the request.
4411
a1999d40
PA
44122012-02-15 Pedro Alves <palves@redhat.com>
4413
4414 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
4415 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
4416 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
4417 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
4418 * gdb.server/server-run.exp: Make sure gdb is disconnected.
4419 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
4420 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
4421 doesn't start with "extended-" already.
4422
7cee1e54
PA
44232012-02-15 Pedro Alves <palves@redhat.com>
4424
4425 Support extended-remote. Avoid cascading timeouts.
4426
4427 * gdb.base/attach.exp (do_attach_tests): Add expected output for
4428 the extended-remote target. If attaching with no file fails, load
4429 the file manually.
4430 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
4431
816338b5
SS
44322012-02-14 Stan Shebs <stan@codesourcery.com>
4433
4434 * gdb.base/ena-dis-br.exp: Add enable count test.
4435
cc30c4bd
PA
44362012-02-13 Pedro Alves <palves@redhat.com>
4437
4438 * config/mips-idt.exp: Delete.
4439 * gdb.base/a2-run.exp: Remove mips-idt xfails.
4440 * gdb.base/bitfields.exp: Remove mips-idt restarts.
4441 * gdb.base/break.exp: Remove mips-idt references.
4442 * gdb.base/chng-syms.exp: Ditto.
4443 * gdb.base/default.exp: Ditto.
4444 * gdb.base/funcargs.exp (funcargs_reload): Delete.
4445 (top level): Don't call it.
4446 * gdb.base/opaque.exp: Remove mips-idt restarts.
4447 * gdb.base/ptype.exp: Remove mips-idt xfails.
4448 * gdb.base/scope.exp: Remove mips-idt restarts.
4449 * gdb.base/sepdebug.exp: Remove mips-idt references.
4450 * gdb.base/watchpoint.exp (maybe_clean_restart)
4451 (maybe_reinitialize): Delete.
4452 (test_disabling_watchpoints, test_disabling_watchpoints)
4453 (test_watchpoint_triggered_in_syscall)
4454 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4455 Don't call them.
4456
57008375
JK
44572012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4458
4459 * gdb.server/server-exec-info.exp: New file.
4460
4a2d9c08
PA
44612012-02-10 Pedro Alves <palves@redhat.com>
4462
4463 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
4464 always non-empty.
4465 (test_attach): Always pass $exec to test_attach_gdb.
4466
09fa21bd
TT
44672012-02-08 Tom Tromey <tromey@redhat.com>
4468
4469 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
4470 before inferior is started.
4471
f0823d2c
TT
44722012-02-07 Tom Tromey <tromey@redhat.com>
4473
4474 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
4475 Symbol.value.
4476 * gdb.python/py-symbol.c (qq): Set default value.
4477
44782012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
4479
4480 * gdb.python/py-symbol.c (qq): New global.
4481 * gdb.python/py-symbol.exp: Add test for frame-less
4482 lookup_symbol.
4483 * gdb.python/py-symtab.exp: Fix line number.
4484
f7e44f65
JB
44852012-02-03 Joel Brobecker <brobecker@adacore.com>
4486
4487 * gdb.ada/mi_task_arg: New testcase.
4488
4c9ed63c
PA
44892012-02-02 Pedro Alves <palves@redhat.com>
4490
4491 * gdb.reverse/until-precsave.exp: Also put "record save" under the
4492 extended timeout.
4493
c0b9f2c6
PA
44942012-02-02 Pedro Alves <palves@redhat.com>
4495
4496 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
4497 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
4498
5f8cefd7
PA
44992012-02-02 Pedro Alves <palves@redhat.com>
4500
4501 * gdb.base/term.exp: Rewrite.
4502 * gdb.base/term.c: New.
4503
2f3a2569
PA
45042012-02-02 Pedro Alves <palves@redhat.com>
4505
4506 * gdb.base/default.exp (run "r" abbreviation, run): Add
4507 extended-remote expected output.
4508
f149aabd
TT
45092012-02-02 Tom Tromey <tromey@redhat.com>
4510
4511 * gdb.cp/dispcxx.exp: New file.
4512 * gdb.cp/dispcxx.cc: New file.
4513
03bef283
TT
45142012-02-01 Tom Tromey <tromey@redhat.com>
4515
4516 * gdb.base/jit-simple.exp: New file.
4517 * gdb.base/jit-simple.c: New file.
4518
a79b18b5
YQ
45192012-01-30 Yao Qi <yao@codesourcery.com>
4520
4521 * gdb.base/skip.exp: Make test result unique.
4522
f0d1a53e
JK
45232012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4524
4525 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
4526 compatibility with valgrind-3.7.0.
4527
4b3c9f41
PA
45282012-01-27 Pedro Alves <palves@redhat.com>
4529
4530 * gdb.base/watchpoint.exp (no_hw): New global.
4531 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
4532 disable hw watchpoints.
4533 (test_wide_location_1, test_wide_location_2): If no_hw is set,
4534 don't expect hw watchpoints.
4535 (no_hw_watchpoints): Always clean restart.
4536 (do_tests): New procedure, factored out from the top level.
4537 (top level): Run tests twice. Once with hw watchpoints enabled,
4538 another time with hw watchpoints disabled.
4539
a13491c8
PA
45402012-01-27 Pedro Alves <palves@redhat.com>
4541
4542 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
4543 out from the top level.
4544 (top level): Call it instead.
4545
f2c8a051
PA
45462012-01-27 Pedro Alves <palves@redhat.com>
4547
4548 * gdb.base/watchpoint.exp (top level): Re-enable hardware
4549 watchpoints sooner.
4550
654d7a9e
PA
45512012-01-27 Pedro Alves <palves@redhat.com>
4552
4553 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
4554
274f47f3
PA
45552012-01-27 Pedro Alves <palves@redhat.com>
4556
4557 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
4558 "You may have requested too many hardware
4559 breakpoints/watchpoints".
4560
e4d63ba2
PA
45612012-01-27 Pedro Alves <palves@redhat.com>
4562
4563 * gdb.base/watchpoint.exp (maybe_clean_restart)
4564 (maybe_reinitialize): New.
4565 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
4566 expect "hit N times".
4567 (test_disabling_watchpoints, test_complex_watchpoint)
4568 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4569 Call maybe_clean_restart.
4570 (top level): Use clean_restart. Remove "mips-idt-*"
4571 reinitialization.
4572
dbd95daf
PA
45732012-01-27 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
4576
f3ad2025
PA
45772012-01-27 Pedro Alves <palves@redhat.com>
4578
4579 * gdb.base/watchpoint.exp: Clean restart after tests that don't
4580 require `initialize' anymore. Remove unnecessary `initialize'
4581 calls.
4582
100aa3ae
PA
45832012-01-27 Pedro Alves <palves@redhat.com>
4584
4585 * gdb.base/watchpoint.exp (wp_set): Delete.
4586 (initialize, test_simple_watchpoint, top level): Remove dead code.
4587
c79a8e11
PA
45882012-01-27 Pedro Alves <palves@redhat.com>
4589
4590 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
4591 typo.
4592
048fe15a
PA
45932012-01-27 Pedro Alves <palves@redhat.com>
4594
4595 * config/extended-gdbserver.exp: New file.
4596 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
4597 comment.
4598 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
4599 * boards/native-extended-gdbserver.exp: New file.
4600
4033a6bf
PA
46012012-01-26 Pedro Alves <palves@redhat.com>
4602
4603 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
4604 and gdb_test_multiple.
4605
3d7f4b81
PA
46062012-01-26 Pedro Alves <palves@redhat.com>
4607
4608 Make test messages unique, and more identifiable.
4609 * gdb.multi/watchpoint-multi.exp: Change test messages.
4610
484abf42
TT
46112012-01-25 Tom Tromey <tromey@redhat.com>
4612
4613 * gdb.base/solib-disc.exp: Fix regexps.
4614
edcc5120
TT
46152012-01-24 Tom Tromey <tromey@redhat.com>
4616
4617 * lib/mi-support.exp (mi_expect_stop): Add special case for
4618 solib-event.
4619 * gdb.base/catch-load-so.c: New file.
4620 * gdb.base/catch-load.exp: New file.
4621 * gdb.base/catch-load.c: New file.
4622 * gdb.base/break-interp.exp (reach_1): Update regexp.
4623
30b91c90
JK
46242012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4625
4626 Fix fuzzy results.
4627 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
4628 lpsimple and func.
4629
53fe1783
GB
46302012-01-24 Gary Benson <gbenson@redhat.com>
4631
4632 Delete #if 0'd out code.
4633 * gdb.base/default.exp (info catch): Remove.
4634 * gdb.base/gdb_history (info catch): Likewise.
4635 * gdb.base/help.exp (info catch): Likewise.
4636
d0d8b0c6
JK
46372012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4638
4639 Fix watchpoints to be specific for each inferior.
4640 * gdb.multi/watchpoint-multi.c: New file.
4641 * gdb.multi/watchpoint-multi.exp: New file.
4642
4403d8e9
JK
46432012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4644
4645 Fix watchpoints across inferior fork.
4646 * gdb.threads/watchpoint-fork-child.c: New file.
4647 * gdb.threads/watchpoint-fork-mt.c: New file.
4648 * gdb.threads/watchpoint-fork-parent.c: New file.
4649 * gdb.threads/watchpoint-fork-st.c: New file.
4650 * gdb.threads/watchpoint-fork.exp: New file.
4651 * gdb.threads/watchpoint-fork.h: New file.
4652
050a2e1d
PA
46532012-01-23 Pedro Alves <palves@redhat.com>
4654
4655 * gdb.base/call-signal-resume.exp: Allow output after "return".
4656
6a52fb62
PA
46572012-01-20 Pedro Alves <palves@redhat.com>
4658
4659 * gdb.python/py-finish-breakpoint.py: Fix typo.
4660
145b16a9
UW
46612012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
4662
4663 * gdb.base/info-proc.exp: Also run on remote targets. Main
4664 "info proc" command is now always present; whether target supports
4665 actual info proc operation is detected when attempting to issue
4666 the command.
4667
26f6125e
JK
46682012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4669
4670 * .gdbinit: Remove.
4671
eb5227ce
PA
46722012-01-19 Pedro Alves <palves@redhat.com>
4673
4674 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
4675 look at the funtions' returns.
4676 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
4677 (jprint.print(int, int)): Change return type to int. Adjust.
4678
1db33378
PP
46792012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4680
4681 PR gdb/9538
4682 * gdb.base/sepdebug.exp: New test.
4683
b9736cf8
PA
46842012-01-18 Pedro Alves <palves@redhat.com>
4685
4686 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
4687 Allow output before ^done.
4688
4aac40c8
TT
46892012-01-16 Tom Tromey <tromey@redhat.com>
4690
4691 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
4692 Add tests for relative directory.
4693
cafec441
TT
46942012-01-16 Tom Tromey <tromey@redhat.com>
4695
4696 * gdb.base/printcmds.c (enum flag_enum): New.
4697 (three): New global.
4698 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
4699 enum printing.
4700 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
4701 FlagEnumerationPrinter.
4702 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
4703 * gdb.python/py-pp-maint.c (enum flag_enum): New.
4704 (fval): New global.
4705
abcc4978
PA
47062012-01-16 Pedro Alves <palves@redhat.com>
4707
4708 * lib/gdb.exp (banned_procedures): New variable.
4709 (banned_variables_traced): Rename to ...
4710 (banned_traced): ... this.
4711 (gdb_init): Also trace banned procedures.
4712 (gdb_finish): Also untrace banned procedures.
4713
97ccebe8
PA
47142012-01-16 Pedro Alves <palves@redhat.com>
4715
4716 Remove all calls to strace.
4717
2af7517b
JK
47182012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4719
4720 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
4721 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
4722
9241a8bc
PP
47232012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4724
4725 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
4726 * gdb.base/pie-execl.exp: Likewise.
4727
3848a17f
KS
47282012-01-12 Keith Seitz <keiths@redhat.com>
4729
4730 PR mi/10586
4731 * gdb.mi/var-cmd.c (struct anonymous): New structure.
4732 (do_anonymous_type_tests): New function.
4733 (main): Call do_anonymous_type_tests.
4734 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
4735 (verify_everything): New procedure.
4736 * gdb.mi/mi-var-cp.cc (class A): New class.
4737 (anonymous_structs_and_unions): New function.
4738 (main): Call anonymous_structs_and_unions.
4739 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
4740 (verify_everything): New procedure.
4741
440e2fca
KS
47422012-01-12 Keith Seitz <keiths@redhat.com>
4743
4744 * lib/mi-support.exp: Expand comments about PATH_EXPR.
4745 (varobj_tree::get_path_expr): Assume that all varobjs are
4746 compound unless they are known simple types.
4747 Adjust path expressions based on parent type, path parent type,
4748 and tree language.
4749 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
4750 the root varobj.
4751 (mi_walk_varobj_tree): Add LANGUAGE parameter.
4752
675399c9
PA
47532012-01-11 Pedro Alves <palves@redhat.com>
4754
4755 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
4756 core files on this machine" anymore.
4757
97ddaa9b
PH
47582012-01-11 Paul Hilfinger <hilfingr@adacore.com>
4759
4760 * gdb.base/watchpoint.c (recurser): Initialize local_x.
4761 (main): Repeat recurser call.
4762 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
4763 equivalent to 'local_x'.
4764
ea733575 47652012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 4766 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
4767
4768 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
4769
2ca0b532
PA
47702012-01-05 Pedro Alves <alves.ped@gmail.com>
4771
4772 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
4773 * gdb.python/py-events.c (first): Add bits for new "step N" test.
4774 * gdb.python/py-events.exp: Test that "step N" tripping on a
4775 breakpoint emits a breakpoint event.
4776
6e681866
JB
47772012-01-03 Joel Brobecker <brobecker@adacore.com>
4778
4779 * gdb.base/auxv.exp: Reformat the copyright notice.
4780
3c2d6aff
YQ
47812012-01-03 Yao Qi <yao@codesourcery.com>
4782
4783 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
4784 (strace_trace_on_diff_addr): New.
4785 * gdb.trace/strace.c: (main): Add two local variables.
4786
0852fee3
UW
47872011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
4788
4789 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
4790 * gdb.cell/gcore.exp: Likewise.
4791 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
4792 to verify the correct instance of main is selected.
4793
12c3e59c
JB
47942012-01-02 Joel Brobecker <brobecker@adacore.com>
4795
4796 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
4797 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
4798 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
4799 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
4800 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
4801 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
4802 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
4803 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
4804 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
4805 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
4806 gdb.threads/thread_check.c: Reformat copyright header.
4807
c0f378ec
EBM
48082011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
4809
e4a7ca93 4810 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
4811 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
4812 is not enabled.
4813
3bc96cfb
JK
48142011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4815
4816 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
4817 parameter to self_exec, adjust the function.
4818 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
4819 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
4820 (set var do_exit = 0): Remove test.
4821 (newline at end of file): Add one.
4822
095bcf5e
JB
48232011-12-27 Joel Brobecker <brobecker@adacore.com>
4824
4825 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
4826 New files.
4827
18d19bd1
JK
48282011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4829
4830 Fix racy FAILs.
4831 * gdb.threads/fork-thread-pending.c (barrier): New variable.
4832 (thread_function, thread_forker): Call pthread_barrier_wait for it.
4833 (main): Call pthread_barrier_init for it.
4834
e809353a
JK
48352011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4836
4837 Fix double send_gdb leading to racy FAILs.
4838 * gdb.base/break.exp (set silent break bp_location1): Replace
4839 3x send_gdb and gdb_expect by gdb_test.
4840 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
4841 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
4842 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
4843 instead of send_gdb. Twice.
4844 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
4845 3x send_gdb and gdb_expect by gdb_test.
4846 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
4847
da8cb7ec
JK
48482011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4849
4850 * gdb.linespec/linespec.exp: Compile using {c++}.
4851
ae1a303e
JK
48522011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4853
4854 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
4855 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
4856 (verify GCC PR debug/51668): New test.
4857
cc72b2a2
KP
48582011-12-23 Kevin Pouget <kevin.pouget@st.com>
4859
4860 Introduce gdb.FinishBreakpoint in Python.
4861 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
4862 py-finish-breakpoint2
4863 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
4864 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
4865 instead of line number.
4866 * gdb.python/py-finish-breakpoint.c: New file.
4867 * gdb.python/py-finish-breakpoint.exp: New file.
4868 * gdb.python/py-finish-breakpoint.py: New file.
4869 * gdb.python/py-finish-breakpoint2.cc: New file.
4870 * gdb.python/py-finish-breakpoint2.exp: New file.
4871 * gdb.python/py-finish-breakpoint2.py: New file.
4872
3b7962f9
JK
48732011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4874
4875 Partial fix of compatibility with gcc-4.7.
4876 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
4877 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
4878 Add comment to add a PASS case in the future.
4879
6538471c
JK
4880 Fix compatibility with gcc-4.7.
4881 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
4882
7052e42c
UW
48832011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
4884
4885 PR tdep/12797
4886 * gdb.base/callfuncs.exp: Remove KFAIL.
4887
9ac7f98e
JB
48882011-12-21 Joel Brobecker <brobecker@adacore.com>
4889
4890 * gdb.ada/task_bp: New testcase.
4891
f6eeced0
JK
48922011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4893
4894 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
4895 -DNO_SECTIONS.
4896 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
4897
72225e17
JK
48982011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4899
4900 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
4901 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
4902 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
4903 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
4904 conditional for gcc <= 4.5.
4905
13ac8d2c
JK
49062011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4907
4908 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
4909 by XFAIL.
4910 * gdb.cp/static-method.exp (info addr A::func())
4911 (list static-method.cc:xxx::(anonymous namespace)::A::func)
4912 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
4913 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
4914 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
4915 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
4916 (test value of F in k3_m): Likewise.
4917 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
4918 Likewise.
4919
049682ba
JK
49202011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4921
4922 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
4923 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
4924 Remove.
4925 * gdb.threads/attachstop-mt.c: Remove.
4926 * gdb.threads/attachstop-mt.exp: Remove.
4927
2c9d8796
MK
49282011-12-17 Mark Kettenis <kettenis@gnu.org>
4929
4930 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
4931
e0f9f062
DE
49322011-12-16 Doug Evans <dje@google.com>
4933
f4aa2101 4934 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
4935 * boards/native-gdbserver.exp: New file.
4936
e0f9f062
DE
4937 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
4938 gdbserver output.
4939 (gdbserver_default_get_remote_address): New function.
4940 (gdbserver_start): Call gdb,get_remote_address to compute argument
4941 to "target remote" command.
4942
80b6e756
PM
49432011-12-16 Phil Muldoon <pmuldoon@redhat.com>
4944
1c3ad6ab 4945 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
4946 python print-stack. Add set/show python print-stack
4947 off|full|message tests.
4948
1576bd00
YQ
49492011-12-15 Yao Qi <yao@codesourcery.com>
4950
4951 * gdb.trace/strace.c: New
4952 * gdb.trace/strace.exp: New.
4953
d6a0f6e0
TT
49542011-12-14 Tom Tromey <tromey@redhat.com>
4955
4956 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
4957
31015e1d
DE
49582011-12-14 Doug Evans <dje@google.com>
4959
4960 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
4961
7b50312a
PA
49622011-12-14 Pedro Alves <pedro@codesourcery.com>
4963
4964 PR threads/10729
4965
4966 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 4967 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 4968
924437bc
PA
49692011-12-13 Pedro Alves <pedro@codesourcery.com>
4970 Doug Evans <dje@google.com>
4971
4972 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
4973 (clean_restart): Remove references to the gdb_stub target board
4974 variable.
4975 (gdb_step_for_stub): Delete.
4976
4977 * gdb.base/annota1.exp: Remove all references to [target_info
4978 exists gdb_stub], gdb_step_for_stub and usestubs.
4979 * gdb.base/annota3.exp: Ditto.
4980 * gdb.base/async.exp: Ditto.
4981 * gdb.base/break.exp: Ditto.
4982 * gdb.base/code-expr.exp: Ditto.
4983 * gdb.base/commands.exp: Ditto.
4984 * gdb.base/completion.exp: Ditto.
4985 * gdb.base/condbreak.exp: Ditto.
4986 * gdb.base/consecutive.exp: Ditto.
4987 * gdb.base/cvexpr.exp: Ditto.
4988 * gdb.base/define.exp: Ditto.
4989 * gdb.base/display.exp: Ditto.
4990 * gdb.base/ena-dis-br.exp: Ditto.
4991 * gdb.base/environ.exp: Ditto.
4992 * gdb.base/gnu-ifunc.exp: Ditto.
4993 * gdb.base/maint.exp: Ditto.
4994 * gdb.base/pending.exp: Ditto.
4995 * gdb.base/sect-cmd.exp: Ditto.
4996 * gdb.base/sepdebug.exp: Ditto.
4997 * gdb.base/unload.exp: Ditto.
4998 * gdb.base/watchpoint-solib.exp: Ditto.
4999 * gdb.cp/annota2.exp: Ditto.
5000 * gdb.cp/annota3.exp: Ditto.
5001 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
5002 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
5003 * gdb.mi/mi-pending.exp: Ditto.
5004 * gdb.trace/circ.exp: Ditto.
5005 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
5006 * gdb.base/list.exp: Ditto.
5007
5008 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
5009 breakpoint function and all references to the usestubs macro.
5010 * gdb.base/exprs.c: Ditto.
5011 * gdb.base/freebpcmd.c: Ditto.
5012 * gdb.base/bitfields.c: Ditto.
5013 * gdb.base/bitfields2.c: Ditto.
5014 * gdb.base/break.c: Ditto.
5015 * gdb.base/call-sc.c: Ditto.
5016 * gdb.base/call-signals.c: Ditto.
5017 * gdb.base/callfuncs.c: Ditto.
5018 * gdb.base/charset.c: Ditto.
5019 * gdb.base/consecutive.c: Ditto.
5020 * gdb.base/constvars.c: Ditto.
5021 * gdb.base/funcargs.c: Ditto.
5022 * gdb.base/int-type.c: Ditto.
5023 * gdb.base/interrupt.c: Ditto.
5024 * gdb.base/langs0.c: Ditto.
5025 * gdb.base/list0.c: Ditto.
5026 * gdb.base/mips_pro.c: Ditto.
5027 * gdb.base/miscexprs.c: Ditto.
5028 * gdb.base/nodebug.c: Ditto.
5029 * gdb.base/opaque0.c: Ditto.
5030 * gdb.base/pointers.c: Ditto.
5031 * gdb.base/printcmds.c: Ditto.
5032 * gdb.base/ptype.c: Ditto.
5033 * gdb.base/recurse.c: Ditto.
5034 * gdb.base/reread1.c: Ditto.
5035 * gdb.base/reread2.c: Ditto.
5036 * gdb.base/restore.c: Ditto.
5037 * gdb.base/return.c: Ditto.
5038 * gdb.base/run.c: Ditto.
5039 * gdb.base/scope0.c: Ditto.
5040 * gdb.base/sepdebug.c: Ditto.
5041 * gdb.base/setshow.c: Ditto.
5042 * gdb.base/setvar.c: Ditto.
5043 * gdb.base/sigall.c: Ditto.
5044 * gdb.base/signals.c: Ditto.
5045 * gdb.base/structs.c: Ditto.
5046 * gdb.base/structs2.c: Ditto.
5047 * gdb.base/testenv.c: Ditto.
5048 * gdb.base/twice.c: Ditto.
5049 * gdb.base/unwindonsignal.c: Ditto.
5050 * gdb.base/watchpoint.c: Ditto.
5051 * gdb.base/watchpoints.c: Ditto.
5052 * gdb.base/whatis.c: Ditto.
5053 * gdb.cp/classes.cc: Ditto.
5054 * gdb.cp/cplusfuncs.cc: Ditto.
5055 * gdb.cp/derivation.cc: Ditto.
5056 * gdb.cp/formatted-ref.cc: Ditto.
5057 * gdb.cp/misc.cc: Ditto.
5058 * gdb.cp/overload.cc: Ditto.
5059 * gdb.cp/ovldbreak.cc: Ditto.
5060 * gdb.cp/ref-params.cc: Ditto.
5061 * gdb.cp/ref-types.cc: Ditto.
5062 * gdb.cp/templates.cc: Ditto.
5063 * gdb.cp/virtfunc.cc: Ditto.
5064 * gdb.hp/gdb.aCC/run.c: Ditto.
5065 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
5066 * gdb.hp/gdb.compat/xdb0.c: Ditto.
5067 * gdb.reverse/consecutive-reverse.c: Ditto.
5068 * gdb.reverse/sigall-reverse.c: Ditto.
5069 * gdb.reverse/until-reverse.c: Ditto.
5070 * gdb.reverse/watch-reverse.c: Ditto.
5071 * gdb.trace/actions.c: Ditto.
5072 * gdb.trace/circ.c: Ditto.
5073 * gdb.trace/collection.c: Ditto.
5074
fabde485
PA
50752011-12-13 Pedro Alves <pedro@codesourcery.com>
5076
5077 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
5078 (func6, func7): New.
5079 (main): Call func6 and func7.
5080 * gdb.base/watchpoint.exp (test_wide_location_1)
5081 (test_wide_location_2): New.
5082 (top level): Re-enable hardware watchpoints if necessary. Call
5083 test_wide_location_1 and test_wide_location_2.
5084
ff7d1690
YQ
50852011-12-11 Yao Qi <yao@codesourcery.com>
5086
5087 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
5088
a6af7abe
JB
50892011-12-11 Joel Brobecker <brobecker@adacore.com>
5090
5091 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
5092 expected output for unsupported case.
5093
61638e15
JK
50942011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5095
5096 PR testsuite/12649
5097 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
5098 Protect gdb_test_multiple by final $gdb_prompt match.
5099
0a00efc3
JK
51002011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5101
5102 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
5103 New variable, new test.
5104 (list static-method.cc:xxx::(anonymous namespace)::A::func)
5105 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5106 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5107 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
5108 them if HAVE_GCC_45682_FIXED is not set.
5109
4511b1ba
YQ
51102011-12-10 Yao Qi <yao@codesourcery.com>
5111
5112 * gdb.trace/status-stop.exp: New.
5113 * gdb.trace/status-stop.c: New.
5114
27949e73
JK
51152011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5116
5117 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
5118 timeout.
5119
d8ea7931
TT
51202011-12-08 Tom Tromey <tromey@redhat.com>
5121
5122 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
5123 condition.
5124
1cc310d2
SS
51252011-12-07 Stan Shebs <stan@codesourcery.com>
5126
5127 * gdb.trace/tfind.exp: Update for output changes.
5128
d482a875
PA
51292011-12-07 Pedro Alves <pedro@codesourcery.com>
5130
5131 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
5132 throws "Cannot insert catchpoints in this configuration".
5133 * gdb.ada/mi_catch_ex.exp: Likewise.
5134
f0ba3972
PA
51352011-12-06 Pedro Alves <pedro@codesourcery.com>
5136
5137 * gdb.base/break-always.exp: Test changing memory at addresses
5138 with breakpoints inserted.
5139
f8eba3c6
TT
51402011-12-06 Joel Brobecker <brobecker@acacore.com>
5141
6fdff2c5
PA
5142 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
5143 involving a fully qualified function name.
f8eba3c6
TT
5144
51452011-12-06 Tom Tromey <tromey@redhat.com>
5146
5147 * gdb.ada/homonym.exp: Add three breakpoint tests.
5148
51492011-12-06 Tom Tromey <tromey@redhat.com>
5150
5151 * gdb.base/solib-weak.exp (do_test): Remove kfail.
5152 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
5153 * gdb.objc/objcdecode.exp: Update for output changes.
5154 * gdb.linespec/linespec.exp: New file.
5155 * gdb.linespec/lspec.cc: New file.
5156 * gdb.linespec/lspec.h: New file.
5157 * gdb.linespec/body.h: New file.
5158 * gdb.linespec/base/two/thefile.cc: New file.
5159 * gdb.linespec/base/one/thefile.cc: New file.
5160 * gdb.linespec/Makefile.in: New file.
5161 * gdb.cp/templates.exp (test_template_breakpoints): Update for
5162 output changes.
5163 * gdb.cp/re-set-overloaded.exp: Remove kfail.
5164 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
5165 makes one breakpoint.
5166 * gdb.cp/method2.exp (test_break): Update for output changes.
5167 * gdb.cp/mb-templates.exp: Update for output changes.
5168 * gdb.cp/mb-inline.exp: Update for output changes.
5169 * gdb.cp/mb-ctor.exp: Update for output changes.
5170 * gdb.cp/ovsrch.exp: Use fully-qualified names.
5171 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
5172 has multiple matches.
5173 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
5174 error message change.
5175 * gdb.base/list.exp (test_list_filename_and_number): Update for
5176 error message change.
5177 * gdb.base/break.exp: Disable pending breakpoints. Update for
5178 output changes.
5179 * configure.ac: Add gdb.linespec.
5180 * configure: Rebuild.
5181 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
5182
c642a434
UW
51832011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
5184
5185 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
5186 last_break register on s390*-*-* targets.
5187
b18003d1
JB
51882011-12-06 Joel Brobecker <brobecker@adacore.com>
5189
5190 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
5191 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
5192 of parameter X in procedure Foo.
5193
fe96589c
SS
51942011-12-05 Stan Shebs <stan@codesourcery.com>
5195
5196 * gdb.trace/tfind.exp: Update help string matches.
5197
1820ab47
JK
51982011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5199
5200 * gdb.server/ext-run.exp (get process list): Accept also systemd
5201 as PID 1.
5202
e11ac3a3
JK
52032011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5204 Pedro Alves <pedro@codesourcery.com>
5205
5206 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
5207 starting GDB.
5208 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
5209 $use_gdb_stub.
5210 * gdb.base/display.exp: Likewise.
5211 * gdb.base/ending-run.exp: Likewise.
5212 * gdb.base/list.exp (test_listsize): Likewise.
5213 * gdb.base/setshow.exp: Likewise.
5214 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
5215 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
5216 check by global $use_gdb_stub.
5217 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
5218 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
5219 (default_gdb_init): Unset global $use_gdb_stub.
5220 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
5221 by global $use_gdb_stub.
5222 * lib/gdbserver-support.exp: Extend comments for set_board_info
5223 gdb_protocol and gdb,socketport.
5224 (gdbserver_start_extended): Set global gdbserver_protocol and
5225 gdbserver_gdbport. Clear global use_gdb_stub.
5226 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
5227 from target use_gdb_stub.
5228 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
5229
1d41d75c
DE
52302011-12-03 Doug Evans <dje@google.com>
5231
5232 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
5233 (gdb_step_for_stub): Add comments.
5234
d6d7a51a
MR
52352011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
5236
5237 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
5238 to the caller.
5239 (gdb_test_multiple): Likewise.
5240
05acf274
JK
52412011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5242
5243 Fix gdb.mi/mi-solib.exp without system debug info installed.
5244 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
5245 expect attribute, return 0 for it. Update comments.
5246
2268b414
JK
52472011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5248
5249 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
5250 (corrupted list): Adjust the expectation.
5251
585861ea
JK
52522011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5253
5254 PR threads/13448
5255 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
5256 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
5257 * gdb.threads/tls-var-main.c: New file.
5258 * gdb.threads/tls-var.c: New file.
5259 * gdb.threads/tls-var.exp: New file.
5260
968643aa
JK
52612011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5262
5263 PR testsuite/12649
5264 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
5265 Protect gdb_test_multiple by final $gdb_prompt match.
5266 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
5267 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
5268 (test_tracepoints): Likewise.
5269
9750bca9
JK
52702011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5271
5272 PR breakpoints/13346
5273 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
5274 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
5275 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
5276
ac1349b7
JB
52772011-12-01 Joel Brobecker <brobecker@adacore.com>
5278
5279 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
5280 * gdb.ada/homonym/homonym.adb: For use of all types defined
5281 locally inside both Get_Value subprograms.
5282
26d44faf
JK
52832011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5284
5285 Fix racy FAILs.
5286 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
5287 of send_gdb.
5288
514f6425
UW
52892011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5290
5291 * gdb.base/testenv.exp: Skip on remote targets. Unset global
5292 environment variable after test completed.
5293
4255c8d2
UW
52942011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5295
5296 * gdb.base/solib-nodir.exp: Skip if remote target.
5297 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
5298 application. Call gdb_load_shlibs.
5299 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
5300
a35ad96a
JB
53012011-11-29 Joel Brobecker <brobecker@adacore.com>
5302
5303 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
5304
1a1d5513
JB
53052011-11-28 Joel Brobecker <brobecker@adacore.com>
5306
5307 * gdb.ada/fullname_bp: New testcase.
5308
50b4ddf8
JK
53092011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5310
5311 PR testsuite/12649
5312 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
5313 Wrap send_gdb into a new gdb_test.
5314
fb0aec57
JK
5315 Code cleanup.
5316 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
5317 Convert send_gdb and gdb_expect to gdb_test_multiple.
5318
2376d946
JK
53192011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5320
5321 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
5322
1eec78bd
KS
53232011-11-23 Keith Seitz <keiths@redhat.com>
5324
5325 * lib/mi-support.exp (varobj_tree): New namespace and procs.
5326 (mi_varobj_tree_test_children_callback): New proc.
5327 (mi_walk_varobj_tree): New proc.
5328
36dfb11c
TT
53292011-11-22 Tom Tromey <tromey@redhat.com>
5330
5331 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
5332 Add "use_mi_command" argument.
5333 (mi_run_cmd, mi_run_with_cli): New procs.
5334 * gdb.mi/solib-lib.c: New file.
5335 * gdb.mi/solib-main.c: New file.
5336 * gdb.mi/mi-solib.exp: New file.
5337
0e965dd0
DE
53382011-11-21 Doug Evans <dje@google.com>
5339
5340 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
5341 _Unwind_DebugHook is missing.
5342
f196051f
SS
53432011-11-20 Stan Shebs <stan@codesourcery.com>
5344
5345 * gdb.trace/tstatus.exp: New.
5346 * gdb.trace/actions.c: Include string.h.
5347
bfccc43c
YQ
53482011-11-18 Yao Qi <yao@codesourcery.com>
5349
5350 * gdb.trace/pending.exp: New.
5351 * gdb.trace/pending.c: New.
5352 * gdb.trace/pendshr1.c: New.
5353 * gdb.trace/pendshr2.c: New.
5354 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
5355 tracepoint location becomes pending.
5356 (tracepoint_change_loc_2): New.
5357
73cd8ab1
DM
53582011-11-16 David S. Miller <davem@davemloft.net>
5359
5360 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
5361 target is sparc*-*-linux*
5362
77426730
PK
53632011-11-15 Paul Koning <paul_koning@dell.com>
5364
5365 * gdb.python/py-type.exp: New testcases for exceptions on scalar
5366 types.
5367
ed59ded5
DE
53682011-11-14 Doug Evans <dje@google.com>
5369
5370 * gdb.base/shell.exp: New file.
5371
405f8e94
SS
53722011-11-14 Stan Shebs <stan@codesourcery.com>
5373
5374 * gdb.trace/ftrace.c: New.
5375 * gdb.trace/ftrace.exp: New.
5376
1e4d1764
YQ
53772011-11-14 Yao Qi <yao@codesourcery.com>
5378
5379 * gdb.trace/change-loc-1.c: New.
5380 * gdb.trace/change-loc-2.c: New.
5381 * gdb.trace/change-loc.c: New.
5382 * gdb.trace/change-loc.exp: New.
5383 * gdb.trace/change-loc.h: New.
5384 * gdb.trace/trace-break.c (marker): Define new symbol.
5385 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 5386 New.
1e4d1764
YQ
5387 (break_trace_same_addr_6): New.
5388
71eba9c2 53892011-11-12 Matt Rice <ratmice@gmail.com>
5390
5391 * gdb.base/info-macros.exp: Make tests for info definitions
5392 test info macro. Add tests for info macro argument processing.
5393 Rename a few tests.
5394
1d93e29a
KS
53952011-11-11 Keith Seitz <keiths@redhat.com>
5396
5397 PR gdb/12843
5398 * gdb.base/linespecs.exp: New file.
5399
a4b5b48a
DE
54002011-11-11 Doug Evans <dje@google.com>
5401
5402 * gdb.threads/print-threads.exp: Extend timeout for slower
5403 tests.
5404
f6b47be4
DE
54052011-11-10 Doug Evans <dje@google.com>
5406
792a0230
DE
5407 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
5408 "record to end of main" test.
5409
f6b47be4
DE
5410 * gdb.python/py-type.c (TS): New typedef.
5411 (ts): New global.
5412 * gdb.python/py-type.exp: Test field list of typedef.
5413
22355c90
JB
54142011-11-10 Joel Brobecker <brobecker@adacore.com>
5415
5416 * gdb.ada/small_reg_param: New testcase.
5417
a7860e76
TT
54182011-11-09 Tom Tromey <tromey@redhat.com>
5419
5420 * gdb.cp/destrprint.exp: New file.
5421 * gdb.cp/destrprint.cc: New file.
5422
72a2e3dc
MI
54232011-11-08 Meador Inge <meadori@codesourcery.com>
5424
5425 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
5426 (switch_stack_to_other): New test function.
5427 * gdb.arch/thumb-prologue.exp: New test cases.
5428
c7195df2 54292011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
5430
5431 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
5432
d3895d7d
YQ
54332011-11-08 Yao Qi <yao@codesourcery.com>
5434
5435 * gdb.exp (supports_process_record): New.
5436 (supports_reverse): New.
5437 * gdb.reverse/break-precsave.exp: Call support_process_record
5438 to run test conditionally.
5439 * gdb.reverse/consecutive-precsave.exp: Likewise.
5440 * gdb.reverse/i386-precsave.exp: Likewise.
5441 * gdb.reverse/machinestate-precsave.exp: Likewise.
5442 * gdb.reverse/solib-precsave.exp: Likewise.
5443 * gdb.reverse/step-precsave.exp: Likewise.
5444 * gdb.reverse/until-precsave.exp: Likewise.
5445 * gdb.reverse/watch-precsave.exp: Likewise.
5446 * gdb.reverse/break-reverse.exp: Call support_reverse to run
5447 test conditionally.
5448 * gdb.reverse/consecutive-reverse.exp: Likewise.
5449 * gdb.reverse/finish-precsave.exp: Likewise.
5450 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5451 * gdb.reverse/finish-reverse.exp: Likewise.
5452 * gdb.reverse/i386-reverse.exp: Likewise.
5453 * gdb.reverse/i386-sse-reverse.exp: Likewise.
5454 * gdb.reverse/machinestate.exp: Likewise.
5455 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
5456 * gdb.reverse/sigall-precsave.exp: Likewise.
5457 * gdb.reverse/sigall-reverse.exp: Likewise.
5458 * gdb.reverse/solib-reverse.exp: Likewise.
5459 * gdb.reverse/step-reverse.exp: Likewise.
5460 * gdb.reverse/until-reverse.exp: Likewise.
5461 * gdb.reverse/watch-reverse.exp: Likewise.
5462
a59306a3
YQ
54632011-11-05 Yao Qi <yao@codesourcery.com>
5464
5465 * gdb.trace/trace-break.exp: Add test on setting two
5466 fast tracepoints at the same address.
5467
87769f59
JK
54682011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5469
5470 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
5471
3065dfb6
SS
54722011-11-02 Stan Shebs <stan@codesourcery.com>
5473
5474 * gdb.trace/collection.c: Add code using strings.
5475 * gdb.trace/collection.exp: Add tests of string collection.
5476
89e208db
JK
54772011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5478
5479 * gdb.base/skip-solib.exp (executable_main): New variable.
5480 (binfile_main): Base it on that.
5481 Use $executable_main in clean_restart calls. Drop gdb_exit and
5482 gdb_start calls.
5483
405e54e9
JK
54842011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5485
5486 Fix racy FAILs.
5487 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
5488 breakpoint_re globals import by async. Set string_regex to .* for
5489 async. Remove the optional thread_selected_re and breakpoint_re
5490 globals expectations.
5491
58e8570a
JM
54922011-11-01 Joseph Myers <joseph@codesourcery.com>
5493
5494 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
5495 well as Cygwin.
5496
7b35ec7f 54972011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
5498
5499 Add tests for skip command.
89e208db
JK
5500 * gdb.base/skip-solib-lib.c: New
5501 * gdb.base/skip-solib-main.c: New
5502 * gdb.base/skip-solib.exp: New
5503 * gdb.base/skip.c: New
5504 * gdb.base/skip.exp: New
5505 * gdb.base/skip1.c: New
5506 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 5507
b9fd1791
PA
55082011-10-31 Yao Qi <yao@codesourcery.com>
5509 Pedro Alves <pedro@codesourcery.com>
5510
6fdff2c5
PA
5511 * gdb.trace/trace-break.c: New.
5512 * gdb.trace/trace-break.exp: New.
b9fd1791 5513
4323fecc
JK
55142011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5515
5516 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
5517 break-here-2.
5518
0e5bf2a8
PA
55192011-10-28 Pedro Alves <pedro@codesourcery.com>
5520
5521 * gdb.threads/no-unwaited-for-left.c: New.
5522 * gdb.threads/no-unwaited-for-left.exp: New.
5523 * gdb.threads/non-ldr-exc-1.c: New.
5524 * gdb.threads/non-ldr-exc-1.exp: New.
5525 * gdb.threads/non-ldr-exc-2.c: New.
5526 * gdb.threads/non-ldr-exc-2.exp: New.
5527 * gdb.threads/non-ldr-exc-3.c: New.
5528 * gdb.threads/non-ldr-exc-3.exp: New.
5529 * gdb.threads/non-ldr-exc-4.c: New.
5530 * gdb.threads/non-ldr-exc-4.exp: New.
5531
3a3dad98
JK
55322011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5533
5534 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
5535 * gdb.base/attach-pie-misread.exp: Likewise.
5536 * gdb.base/break-interp.exp: Likewise.
5537 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
5538 testcases for use_gdb_stub.
5539 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
5540 (continue): New testcase.
5541 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
5542 * gdb.threads/attach-into-signal.exp: Likewise.
5543 * gdb.threads/attach-stopped.exp: Likewise.
5544 * gdb.threads/attachstop-mt.exp: Likewise.
5545
d6a5d40c
PK
55462011-10-28 Paul Koning <paul_koning@dell.com>
5547
5548 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
5549
ca539be8
JK
55502011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5551
5552 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
5553 (mi_gdb_test): Import globals thread_selected_re
5554 and breakpoint_re. Expect them optionally at the regex start.
5555
d234ef5c
DE
55562011-10-27 Doug Evans <dje@google.com>
5557
5558 * gdb.python/python.exp: Test source -s.
5559
ab964825
PK
55602011-10-26 Paul Koning <paul_koning@dell.com>
5561
5562 * gdb.python/lib-types.cc (struct A): New structure.
5563 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 5564
54d8a644
PK
55652011-10-25 Paul Koning <paul_koning@dell.com>
5566
5567 PR python/13327
d234ef5c 5568
54d8a644
PK
5569 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
5570 fetch_lazy method.
5571
b0221781
YQ
55722011-10-24 Yao Qi <yao@codesourcery.com>
5573
5574 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
5575 target is tic6x-*-*.
5576
6cda5a20
JB
55772011-10-21 Joel Brobecker <brobecker@adacore.com>
5578
5579 * gdb.ada/mi_task_info/task_switch.adb: New file.
5580 * gdb.ada/mi_task_info.exp: New file.
5581
5ed9db04
JK
55822011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5583
5584 * gdb.cp/expand-psymtabs-cxx.exp: New file.
5585 * gdb.cp/expand-psymtabs-cxx.cc: New file.
5586
9df2fbc4
PM
55872011-10-20 Phil Muldoon <pmuldoon@redhat.com>
5588
5589 PR python/12656
5590
5591 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
5592 global_block tests.
5593
736086ba
TT
55942011-10-18 Tom Tromey <tromey@redhat.com>
5595
5596 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
5597
4af31552
TT
55982011-10-18 Tom Tromey <tromey@redhat.com>
5599
5600 * gdb.base/source.exp: Don't include full file name in test name.
5601 * gdb.python/python.exp: Don't include full file name in test
5602 name.
5603
43136979
AR
56042011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5605
5606 * gdb.base/attach-pie-noexec.c: New files.
5607 * gdb.base/attach-pie-noexec.exp: New files.
5608
543a9323
JM
56092011-10-17 Joseph Myers <joseph@codesourcery.com>
5610
5611 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
5612 prompt for each extra line in command.
5613
21ae7a4d
JK
56142011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5615
5616 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
5617 Revert the part of:
5618 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5619 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
5620 Change the expected string.
5621
20ec36d9
JK
56222011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5623
5624 Fix results with system glibc debug info installed.
5625 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
5626 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
5627 Accept also __libc_ symbol prefix and no prefix.
5628
6501c2fc
KS
56292011-10-14 Keith Seitz <keiths@redhat.com>
5630
5631 PR c++/13225
5632 * gdb.cp/converts.cc (foo3_1): New function.
5633 (foo3_2): New functions.
5634 * gdb.cp/converts.exp: Add tests for int to pointer conversion
5635 and null pointer conversions of integer constant zero.
5636 Add test to check if all arguments are checked for incompatible
5637 conversion BADNESS.
5638
55b1fd0c
TT
56392011-10-14 Tom Tromey <tromey@redhat.com>
5640
5641 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
5642 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
5643 linespec.
5644
22c05d8a
JK
56452011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5646
5647 Fix internal error regression.
5648 * gdb.dwarf2/implptr-optimized-out.S: New file.
5649 * gdb.dwarf2/implptr-optimized-out.exp: New file.
5650
1d6edc3c
JK
56512011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5652
5653 Fix empty DWARF expressions DATA vs. SIZE conditionals.
5654 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
5655 (loclist): New.
5656 (4): New abbrev.
5657 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
5658 Use prepare_for_testing, remove clean_restart.
5659 (p arraynoloc, p arraycallnoloc): New tests.
5660
9ec72168
JK
56612011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5662
5663 * gdb.cp/namespace-enum.exp (executable): New variable.
5664 (binfile): Use ${objdir}/${subdir}/ prefix.
5665 Use ${executable} for clean_restart.
5666
9c6c53f7
SA
56672011-10-11 Sterling Augustine <saugustine@google.com>
5668
5669 * gdb.cp/Makefile.in: Add namespace-enum test.
5670 * gdb.cp/namespace-enum.exp: New file.
5671 * gdb.cp/namespace-enum.c: New file.
5672 * gdb.cp/namespace-enum-main.c: New file.
5673
fac7ceb3
UW
56742011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
5675
5676 * gdb.python/py-shared.exp: Relax filename check to handle remote:
5677 sysroot.
5678
941b2081
JK
56792011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5680
5681 Reimplement @entry in input expressions.
5682 * gdb.base/exprs.c (v_int_array_init): New variable.
5683 * gdb.base/exprs.exp (print v_int_array_init)
5684 (print *v_int_array_init@1, print *v_int_array_init@2)
5685 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
5686 (print v_int_array_init[1]@1): New tests.
5687
0344e878
JM
56882011-10-10 Joseph Myers <joseph@codesourcery.com>
5689
5690 * gdb.cp/gdb2495.exp: Do not include directories in filename in
5691 expected message.
5692
5a56e9c5
DE
56932011-10-09 Doug Evans <dje@google.com>
5694
5695 * gdb.base/alias.exp: Add tests for alias command.
5696
2bda9cc5
JK
56972011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5698
5699 * gdb.arch/amd64-entry-value.s: New file.
5700 * gdb.mi/mi2-amd64-entry-value.s: New file.
5701
a471c594
JK
57022011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5703
5704 Display @entry parameter values even for references.
5705 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
5706 functions.
5707 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
5708 reference and datap_input.
5709 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
5710 breakpoints.
5711 (continue to breakpoint: entry_reference: reference)
5712 (entry_reference: bt at entry)
5713 (continue to breakpoint: entry_reference: breakhere_reference)
5714 (entry_reference: bt, entry_reference: ptype regparam)
5715 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
5716 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
5717 (entry_reference: p regcopy, entry_reference: p nodataparam)
5718 (entry_reference: p nodataparam@entry): New tests.
5719
36b11add
JK
57202011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5721
5722 Support @entry in input expressions.
5723 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
5724 (entry_stack: p s1@entry, entry_stack: p s2@entry)
5725 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
5726 (tailcall: p j@entry): New tests.
5727 * gdb.cp/koenig.cc (A::entry): New function.
5728 (main): Call it.
5729 * gdb.cp/koenig.exp (p entry (c)): New test.
5730
e18b2753
JK
57312011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5732
5733 Display @entry parameter values (without references).
5734 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
5735 (different, validity, invalid): New functions.
5736 (main): Call them.
5737 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
5738 stacktest, breakhere_stacktest, different, breakhere_different,
5739 breakhere_validity and breakhere_invalid.
5740 (entry: bt): Update for @entry.
5741 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
5742 (entry_validity: *, entry_invalid: *): Many new tests.
5743 * gdb.base/break.exp
5744 (run until breakpoint set at small function, optimized file): Accept
5745 also the @entry suffix.
5746 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
5747 * gdb.mi/mi2-amd64-entry-value.c: New files.
5748 * gdb.mi/mi2-amd64-entry-value.exp: New files.
5749
2d6c5dc2
JK
57502011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5751
5752 Protect entry values against self tail calls.
5753 * gdb.arch/amd64-entry-value.cc (self2, self): New.
5754 (main): Call self.
5755 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
5756 (set debug entry-values 1, self: bt debug entry-values): New tests.
5757
111c6489
JK
57582011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5759
5760 Recognize virtual tail call frames.
5761 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
5762 (amb_b, amb_a): New.
5763 (main): Call a and b.
5764 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
5765 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
5766 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
5767 New tests.
5768
8e3b41a9
JK
57692011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5770
5771 Implement basic support for DW_TAG_GNU_call_site.
5772 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
5773 * gdb.arch/amd64-entry-value.cc: New file.
5774 * gdb.arch/amd64-entry-value.exp: New file.
5775
181cebd4
JK
57762011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5777
5778 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
5779 * gdb.dwarf2/implptr-64bit.S: New file.
5780 * gdb.dwarf2/implptr-64bit.exp: New file.
5781
741f5e3c
JK
57822011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5783
5784 Fix initial language detection with -readnow.
5785 * gdb.cp/readnow-language.cc: New file.
5786 * gdb.cp/readnow-language.exp: New file.
5787
a73d2258
JK
57882011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5789
5790 Fix printed anonymous struct name.
5791 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
5792
af369495
JM
57932011-10-09 Joseph Myers <joseph@codesourcery.com>
5794
5795 * gdb.base/solib-symbol.exp: Do not include directories in
5796 filenames in expected messages.
5797
1fa57852
DE
57982011-10-07 Doug Evans <dje@google.com>
5799
5800 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
5801
bd054e06
KP
58022011-10-07 Kevin Pouget <kevin.pouget@st.com>
5803
5804 Allow Python notification of new object-file loadings.
5805 * gdb.python/py-events.exp: Test newobjfile event.
5806 * gdb.python/py-events.py: Register newobjfile callback.
5807 * gdb.python/py-events.c: Add call to shared library
5808 * gdb.python/py-events-shlib.c: New file.
5809
8031b6f8
JM
58102011-10-06 Joseph Myers <joseph@codesourcery.com>
5811
5812 * gdb.base/fixsection.exp: Do not include directories in filename
5813 in expected message.
5814
7fea6923
PM
58152011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5816
5817 Add tests for passing of environment variables to inferior.
5818 * gdb.base/testenv.c: New test source.
5819 * gdb.base/testenv.exp: New expect test.
5820
687f2a88
PK
58212011-10-04 Paul Koning <paul_koning@dell.com>
5822
5823 * gdb.python/py-value.c (main): Break before return.
5824
cb6be26b
KP
58252011-10-04 Kevin Pouget <kevin.pouget@st.com>
5826
5827 PR python/12691: Add the inferior to Python exited event
5828 * gdb.python/py-events.exp: Test the inferior attribute of exited
5829 event with a fork.
5830 * gdb.python/py-events.py: Print inferior number on exit.
5831 * gdb.python/py-events.c: Fork the inferior.
5832
fb213700
EBM
58332011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
5834
5835 * gdb.base/jit.exp: Add testcase name to log message
5836
aa2071bd
PK
58372011-10-03 Paul Koning <paul_koning@dell.com>
5838 Jan Kratochvil <jan.kratochvil@redhat.com>
5839
5840 * gdb.python/py-value.exp
5841 (python inval = gdb.parse_and_eval('*(int*)0'))
5842 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
5843 (set argc=2, python print argc_lazy): New tests.
5844
dd11a36c
JB
58452011-10-02 Joel Brobecker <brobecker@adacore.com>
5846
5847 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
5848
46f886f1
JK
58492011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5850 Pedro Alves <pedro@codesourcery.com>
5851
5852 * gdb.python/py-value.exp (test_value_in_inferior): New variable
5853 can_read_0, test for it.
5854 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
5855 (parse_and_eval with memory error): ... here, make it untested if
5856 can_read_0.
5857
c5cb204f
MP
58582011-09-30 Marek Polacek <mpolacek@redhat.com>
5859
5860 * gdb.python/python.exp (verify pagination beforehand)
5861 (verify pagination afterwards): Fix race by splitting the line.
5862
68fb0ec0
JM
58632011-09-29 Joseph Myers <joseph@codesourcery.com>
5864
5865 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
5866 for 64-bit multilibs from i?86-* targets.
5867
6aee0d90
MP
58682011-09-29 Marek Polacek <mpolacek@redhat.com>
5869
5870 * lib/gdb.exp: Fix a typo in one of the comments.
5871
e9101ff5
MP
58722011-09-29 Marek Polacek <mpolacek@redhat.com>
5873
5874 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
5875 matching pattern.
5876
7a81bdbf
PK
58772011-09-28 Paul Koning <paul_koning@dell.com>
5878
5879 * gdb.python/py-type.c (enum E): New.
5880 * gdb.python/py-type.exp (test_fields): Add tests for Python
5881 mapping access to fields.
5882 (test_enums): New test for field access on enums.
5883
6710bf39
SS
58842011-09-27 Stan Shebs <stan@codesourcery.com>
5885
5886 * gdb.trace/collection.exp: Test collection of $_ret.
5887
b2a6bdeb
AT
58882011-09-22 Andreas Tobler <andreast@fgznet.ch>
5889
5890 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
5891 list of compilation switches for <*-*-freebsd*>.
5892
3c9057f3
SS
58932011-09-19 Stan Shebs <stan@codesourcery.com>
5894
5895 * gdb.trace/tspeed.exp: New file.
5896 * gdb.trace/tspeed.c: New file.
5897
34518530
YQ
58982011-09-18 Yao Qi <yao@codesourcery.com>
5899
5900 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
5901 instructions.
5902 (test_adr_32bit, test_pop_pc): Likewise.
5903 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
5904 Thumb instructions.
5905 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
5906 in gdb_test_multiple.
5907 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
5908
ab254057
YQ
59092011-09-17 Yao Qi <yao@codesourcery.com>
5910
5911 * lib/gdb.exp (can_single_step_to_signal_handler): New.
5912 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
5913 support single step to signal handler.
5914
9c317b71
YQ
59152011-09-17 Yao Qi <yao@codesourcery.com>
5916
5917 * gdb.base/disp-step-fork.c: New.
5918 * gdb.base/disp-step-syscall.exp: New.
5919 * gdb.base/disp-step-vfork.c: New.
5920
a8123151
JB
59212011-09-16 Joel Brobecker <brobecker@adacore.com>
5922
5923 * gdb.ada/tasks.exp: Make the expected output for
5924 the `info tasks' tests more resilient to spacing
5925 changes.
5926
63a9aad8
JK
59272011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5928
5929 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
5930 (reached breakpoint 2, reached breakpoint 3): Update expected output.
5931
2aa48337
KP
59322011-09-15 Kevin Pouget <kevin.pouget@st.com>
5933
5934 PR Python/12692 Add gdb.selected_inferior() to Python interface.
5935 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
5936
6839b47f
KP
59372011-04-30 Kevin Pouget <kevin.pouget@st.com>
5938
5939 Handle multiple breakpoint hits in Python interface:
5940 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
5941 presence.
5942 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
5943 breakpoint hits.
5944
0935723e
JK
59452011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
5946 Jan Kratochvil <jan.kratochvil@redhat.com>
5947
5948 * gdb.python/py-events.exp: Remove pretty printing comment.
5949 * gdb.python/py-evsignal.exp: New file.
5950 * gdb.python/py-evthreads.c: Include signal.h.
5951 (thread3): Remove variable count3. Remove variable bad and use raise
5952 instead.
5953 (thread2): Remove variable count2. Move thread3 pthread_create here,
5954 merge pthread_join to a single line.
5955 (main): Remove variable count1. Merge pthread_join with pthread_create
5956 to a single line.
5957 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
5958 KFAIL python/12966 for gdbserver. Test return value of
5959 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
5960 gdb_expect by gdb_test and gdb_test_multiple.
5961 (thread 2, thread 3): New tests.
5962
4801a9a3
PA
59632011-09-12 Matt Rice <ratmice@gmail.com>
5964 Pedro Alves <pedro@codesourcery.com>
5965
5966 PR gdb/13175
5967
5968 * gdb.base/interp.exp: New tests.
5969 * gdb.base/interp.c: New file.
5970
24ece742
DE
59712011-09-12 Doug Evans <dje@google.com>
5972
5973 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
5974 * gdb.dwarf2/typeddwarf.exp: Ditto.
5975
7f062217
JK
59762011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5977
5978 Fix compatibility with x32 arch.
5979 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
5980 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
5981 is_x86_like_target.
5982 * testsuite/gdb.trace/collection.exp: Likewise.
5983 * testsuite/gdb.trace/report.exp: Likewise.
5984 * testsuite/gdb.trace/unavailable.exp: Likewise.
5985 * testsuite/gdb.trace/while-dyn.exp: Likewise.
5986 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
5987 (is_x86_like_target): Check also is_amd64_regs_target.
5988
08711b9a
JK
59892011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5990
5991 PR breakpoints/12435
5992 * gdb.arch/amd64-prologue-xmm.c: New file.
5993 * gdb.arch/amd64-prologue-xmm.exp: New file.
5994 * gdb.arch/amd64-prologue-xmm.s: New file.
5995
b99b5f66
JK
59962011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5997
5998 * gdb.dwarf2/dw2-param-error-main.c: New file.
5999 * gdb.dwarf2/dw2-param-error.S: New file.
6000 * gdb.dwarf2/dw2-param-error.exp: New file.
6001
a391a2f6
PA
60022011-09-08 Pedro Alves <pedro@codesourcery.com>
6003
6004 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
6005 inferior's pid and look for a core dump named core.$pid. Use
6006 `remote_file' commands on the host instead of hand coding shell
6007 commands on the build.
6008 * gdb.base/valgrind-db-attach.exp: Kill the program before
6009 finishing the test.
6010
7d8e6458 60112011-09-02 Matt Rice <ratmice@gmail.com>
6012
6013 * lib/prompt.exp: New file for testing the first prompt.
6014 * gdb.python/py-prompt.exp: Ditto.
6015 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
6016
68e77c9e
PA
60172011-09-02 Pedro Alves <pedro@codesourcery.com>
6018
6019 * gdb.threads/gcore-thread.exp: Set the global core_supported to
6020 0, before testing gcore.
6021
9655e943
JK
60222011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6023
df6dc84d
JK
6024 * dw2-ifort-parameter-debug.S: Update copyright year.
6025 * dw2-ifort-parameter.c: Update copyright year.
6026 * dw2-ifort-parameter.exp: Update copyright year.
6027
9655e943
JK
6028 * dw2-ifort-parameter-debug.S: New file.
6029 * dw2-ifort-parameter.c: New file.
6030 * dw2-ifort-parameter.exp: New file.
6031
353d1d73
JK
60322011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6033
6034 * gdb.base/commands.exp (error_clears_commands_left): New function.
6035 (): Call it.
6036
5c07461a
JK
60372011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6038
6039 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
6040 (C): Initialize `a'.
6041 * gdb.mi/mi-inheritance-syntax-error.exp
6042 (-data-evaluate-expression $path): Expect `a' as 5.
6043
0d932b2f
MK
60442011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
6045
6046 PR mi/11912
6047 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
6048 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
6049 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
6050 keyword in output of -var-info-path-expression.
6051
bdb54049
JK
60522011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6053
6054 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
6055 * gdb.trace/collection.exp: Likewise.
6056 * gdb.trace/report.exp: Likewise.
6057 * gdb.trace/unavailable.exp: Likewise.
6058 * gdb.trace/while-dyn.exp: Likewise.
6059
59cde39c
KS
60602011-08-18 Keith Seitz <keiths@redhat.com>
6061
6062 PR c++/12266
6063 * gdb.cp/meth-typedefs.cc: New file.
6064 * gdb.cp/meth-typedefs.exp: New file.
6065
fa3a4f15
PM
60662011-08-17 Phil Muldoon <pmuldoon@redhat.com>
6067
6fdff2c5 6068 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 6069
c1049fca
JK
60702011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6071
6072 * gdb.arch/i386-dr3-watch.exp
6073 (watchpoint on gap1 does not fit debug registers)
6074 (delete all watchpoints): Fix racy expect strings.
6075
d93f7b5c
YQ
60762011-08-14 Yao Qi <yao@codesourcery.com>
6077
6078 * gdb.base/maint.exp: set data_section to ".neardata".
6079 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
6080 * gdb.base/savedregs.exp: Handle SIGILL.
6081 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
6082 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
6083
457e09f0
DE
60842011-08-12 Doug Evans <dje@google.com>
6085
6086 * gdb.python/py-symbol.exp: Add test for symbol.type.
6087
5d0bb2fb
UW
60882011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
6089
6090 * gdb.threads/pthreads.exp: Enable on non-native configurations.
6091 * gdb.mi/mi-pthreads.exp: Likewise.
6092 * gdb.mi/mi2-pthreads.exp: Likewise.
6093 * gdb.mi/gdb669.exp.exp: Likewise.
6094
fcdfa280
PA
60952011-08-09 Pedro Alves <pedro@codesourcery.com>
6096
6097 * lib/mi-support.exp (detect_async): Rename to...
6098 (mi_detect_async): ... this.
6099 * gdb.mi/mi-nonstop-exit.exp: Adjust.
6100 * gdb.mi/mi-nonstop.exp: Adjust.
6101 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
6102 * gdb.mi/mi-nsintrall.exp: Adjust.
6103 * gdb.mi/mi-nsmoribund.exp: Adjust.
6104 * gdb.mi/mi-nsthrexec.exp: Adjust.
6105
9d8fa392
PA
61062011-08-09 Pedro Alves <pedro@codesourcery.com>
6107
6108 * gdb.base/display.c (do_loops): New `p_i' local.
6109 * gdb.base/display.exp: Test displaying a variable that is
6110 temporarily at a bad address.
6111
b6cede78
JK
61122011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6113
6114 * gdb.dwarf2/dw2-op-stack-value.S: New file.
6115 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
6116
67bedb8c
JK
61172011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6118
6119 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
6120 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
6121 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 6122
af6e93b2
PA
61232011-08-05 Pedro Alves <pedro@codesourcery.com>
6124
6125 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
6126 procedure.
6127 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
6128
1cf0e11f
YQ
61292011-08-05 Yao Qi <yao@codesourcery.com>
6130
6131 * gdb.base/callfuncs.exp: Set language after main.
6132 * gdb.cp/cplusfuncs.exp: Likewise.
6133 * gdb.cp/inherit.exp: Likewise.
6134
a1e28cb2
UW
61352011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6136
6137 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
6138 * gdb.base/watch-vfork.exp: Skip on remote targets.
6139
d4f5bbb9
UW
61402011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6141
6142 * gdb.threads/thread-find.exp: Support remote targets.
6143
724f4f80
UW
61442011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6145
6146 * gdb.base/jit.exp: Download solib_binfile to target.
6147 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
6148 and call dlopen without full path name.
6149 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
6150 dlopen without full path name.
6151
934709f0
PW
61522011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6153
6154 * gdb.base/break-always.exp: Complete the test
6155 with duplicated breakpoints and enabling/disabling them.
6156
c26106c4
TT
61572011-08-02 Tom Tromey <tromey@redhat.com>
6158
6159 PR gdb/11289:
6160 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
6161
9300444e 61622011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
6163
6164 PR gdb/13045
6165 * gdb.base/float.exp: Add new test case for PR gdb/13045
6166 * gdb.base/float.c: New file.
6167
00bd41d6
PM
61682011-07-28 Phil Muldoon <pmuldoon@redhat.com>
6169
6170 * gdb.python/py-mi.exp: Test printers returning string hint, and
6171 also not returning a value.
6172 * gdb.python/py-prettyprint.c: Add testcase for above.
6173 * gdb.python/py-prettyprint.py: Add test printer for above.
6174
d24f74ce
JK
61752011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6176
6177 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
6178 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
6179 (.Ldie30) Add as field "data4".
6180 (.Ldie32) Rename field "b" to "shl".
6181 (abbrev4) Change for the "data4" field.
6182 (abbrev5, abbrev6) Remove.
6183 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
6184 (p &s.shl): ... here. Add comment.
6185 (p &s.data4): New.
6186
bb7da2bf
JK
61872011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6188
6189 Fix crash on lval_computed values.
6190 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
6191
11081198
JK
61922011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6193
6194 * gdb.base/help.exp (help whatis): Update the expected string.
6195
3c6e0cb3
JK
61962011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6197
6198 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
6199 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
6200 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6201 Change the expected string.
6202
efa80663
PA
62032011-07-26 Pedro Alves <pedro@codesourcery.com>
6204
6205 * gdb.base/watchpoint.exp
6206 (test_disable_enable_software_watchpoint): New procedure.
6207 (top level): Run it.
6208
db8e4570
UW
62092011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
6210
6211 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
6212 executable file "${binfile}", C++ version "${binfile}-cxx".
6213 * gdb.python/py-prettyprint.exp: Likewise.
6214 * gdb.python/py-symbol.exp: Likewise.
6215 * gdb.python/py-type.exp: Likewise.
6216 * gdb.python/py-value.exp: Likewise.
6217 * gdb.python/py-template.exp (test_template_arg): Pass full executable
6218 file name instead of just suffix.
6219
543305c9
JK
62202011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6221
6222 Fix implicit pointer offsets.
6223 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
6224 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
6225 (continue to breakpoint: continue to baz breakpoint for implptr)
6226 (sanity check element 0, sanity check element 1)
6227 (enter the inlined function, check element 0 for the offset)
6228 (check element 1 for the offset)
6229 (continue to breakpoint: ignore the second baz breakpoint): New tests.
6230 (set foo breakpoint for implptr): Update the breakpoint number.
6231
b3215adc
UW
62322011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6233
6234 * gdb.python/py-mi.exp: Use different file names for different
6235 versions of the executable under test.
6236 * gdb.python/py-prettyprint.exp: Likewise.
6237 * gdb.python/py-symbol.exp: Likewise.
6238 * gdb.python/py-template.exp: Likewise.
6239 * gdb.python/py-type.exp: Likewise.
6240 * gdb.python/py-value.exp: Likewise.
6241
182b9acc
UW
62422011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6243
6244 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
6245 flag after restarting GDB if necessary.
6246
e6052b5d
UW
62472011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6248
6249 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
6250
1ced966e
PA
62512011-07-22 Pedro Alves <pedro@codesourcery.com>
6252
6253 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
6254 backend doesn't leave used debug registers behind.
6255
3543a589
TT
62562011-07-22 Tom Tromey <tromey@redhat.com>
6257
6258 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
6259 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
6260 argument.
6261 * gdb.dwarf2/typeddwarf-amd64.S: New file.
6262
14d15303 62632011-07-21 Matt Rice <ratmice@gmail.com>
6264
6265 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
6266 in mostlyclean rule. Add files ending in .core.
6267
9b158ba0 62682011-07-21 Matt Rice <ratmice@gmail.com>
6269
6270 PR macros/12999
6271 * gdb.base/info-macros.c: New test sources.
6272 * gdb.base/info-macros.exp: New tests.
6273
d17b6f81
PM
62742011-07-21 Phil Muldoon <pmuldoon@redhat.com>
6275
6276 * gdb.python/python.exp: Add prompt substitution tests.
6277
918dd910
JK
62782011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6279
6280 Fix crash if referenced CU is aged out.
6281 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
6282 New.
6283 * gdb.dwarf2/implptr.exp: Likewise.
6284
0e37a63c
JK
62852011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6286
6287 * gdb.dwarf2/implptr.S: Rebuilt.
6288 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
6289 (bar): Use them for j, k, l.
6290 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
6291 COMPILE.
6292 (print j in implptr:bar): Update for the intp typedef.
6293 (print p[0].x in implptr:foo): Use more exact regex.
6294
f65cf84c
TT
62952011-07-18 Tom Tromey <tromey@redhat.com>
6296
6297 * gdb.cp/static-method.exp: Add missing single quote.
6298
d5b4a7be
YQ
62992011-07-18 Yao Qi <yao@codesourcery.com>
6300
6301 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
6302 supported.
6303 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6304 * gdb.mi/mi-nonstop.exp: Likewise.
6305 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6306 * gdb.mi/mi-nsintrall.exp: Likewise.
6307 * gdb.mi/mi-nsmoribund.exp: Likewise.
6308 * gdb.mi/mi-nsthrexec.exp: Likewise.
6309 * gdb.python/py-evthreads.exp: Likewise.
6310
e9ea2662
JK
63112011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6312
6313 Code cleanup.
6314 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
6315 it. Substitute it instead of test_compiler_info everywhere.
6316
ce451573
UW
63172011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6318
6319 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
6320 remote targets as well.
6321
756d88a7
UW
63222011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6323
6324 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
6325 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
6326
31f83dc5
UW
63272011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6328
6329 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
6330 a remote machine, not the host.
6331 (gdb_compile_shlib): Set soname if target is remote.
6332
059241a0
PP
63332011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6334
6335 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
6336
28a0b48c 63372011-07-13 Matt Rice <ratmice@gmail.com>
6338
6339 * gdb.python/py-objfile-script-gdb.py: Renamed to
6340 py-objfile-script-gdb.py.in.
6341 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
6342 py-objfile-script-gdb.py.
6343 * gdb.python/py-objfile-script.exp: Update reference to
6344 py-objfile-script-gdb.py.
6345
9a771b67
JK
63462011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6347
6348 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
6349 reference undefined label.
6350
04ad99e6
JK
63512011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6352
6353 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
6354 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
6355 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
6356 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
6357
713389e0
PM
63582011-07-11 Phil Muldoon <pmuldoon@redhat.com>
6359
6fdff2c5 6360 PR python/12438
713389e0 6361 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 6362 deprecated tests. Add set/show python print-backtrace tests.
713389e0 6363
97d146f8
JK
63642011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6365
6366 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
6367 debug info.
6368
facde0e5 63692011-07-06 Matt Rice <ratmice@gmail.com>
6370
6371 * gdb.python/python.exp: Update filename paths.
6372 * gdb.python/py-symtab.exp: Ditto.
6373
438640d1
MP
63742011-07-06 Marek Polacek <mpolacek@redhat.com>
6375
6376 * gdb.python/py-evthreads.exp: Add missing `$'.
6377
33a365df
MF
63782011-07-06 Jie Zhang <jie.zhang@analog.com>
6379
6380 * config/bfin.exp: New file.
6381 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
6382 * gdb.asm/bfin.inc: New file.
6383
8f7ae686
MP
63842011-07-06 Marek Polacek <mpolacek@redhat.com>
6385
df46027d 6386 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
6387 the whole output.
6388
eb2a6f42
TT
63892011-07-05 Tom Tromey <tromey@redhat.com>
6390
6391 * gdb.java/jprint.java (jprint.hi): New field.
6392 * gdb.java/jprint.exp: Print string.
6393
177b42fe
TJB
63942011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
6395
6396 * gdb.base/call-sc.c: Fix typos.
6397 * gdb.base/ifelse.exp: Likewise.
6398 * gdb.base/structs.c: Likewise.
6399
3b2a0cf2
JB
64002011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6401
6402 * gdb.base/jit-so.exp: New test.
6403 * gdb.base/jit-dlmain.c: New file.
6404 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
6405
46fc714c
JK
64062011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6407
6408 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
6409 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
6410 * gdb.cp/pr9167.exp (p b): Likewise.
6411 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
6412 (test value of P in inner_m, test type of Z in inner_m): Call
6413 setup_xfail for gcc <= 4.5.
46fc714c 6414
418c7cf7
JK
64152011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6416
6417 * gdb.cp/paren-type.cc: New files.
6418 * gdb.cp/paren-type.exp: New files.
6419
3d50dd94
JK
64202011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6421
6422 Stop on first linespec terminator instead of eating what we can.
6423 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
6424 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
6425 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
6426 (break C::f()): ... this one.
6427 (break C::operator()()): New test.
6428 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
6429 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
6430 test.
6431
dcf9f4ab
JK
64322011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6433
6434 Fall back linespec to minimal symbols.
6435 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
6436 error message.
6437 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
6438 * gdb.cp/minsym-fallback-main.cc: New file.
6439 * gdb.cp/minsym-fallback.cc: New file.
6440 * gdb.cp/minsym-fallback.exp: New file.
6441 * gdb.cp/minsym-fallback.h: New file.
6442
3f542ed1
JK
64432011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6444
6445 * gdb.cp/no-dmgl-verbose.cc: New file.
6446 * gdb.cp/no-dmgl-verbose.exp: New file.
6447
64482011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
6449
6450 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
6451 __GI_.
6452 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
6453 (f): New function.
6454 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
6455 (complete p 'func<short>(): ... here.
6456 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
6457 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
6458 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
6459 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
6460 Make them KFAIL gcc/49546.
6461
00eb2c4a
JB
64622011-07-01 Joel Brobecker <brobecker@adacore.com>
6463
6464 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
6465
85a20c42
JK
64662011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6467
6468 Test GCC PR debug/49546.
6469 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
6470 (test type of F in k3_m, test value of F in k3_m): New.
6471 * gdb.cp/temargs.cc (struct S3, struct K3): New.
6472 (main): New variable k3. Call k3.k3_m.
6473
d2d43431
JB
64742011-07-01 Jean-Charles Delay <delay@adacore.com>
6475
6476 * gdb.ada/packed_array.exp: Fix expected outout.
6477
54ae186f
JB
64782011-07-01 Jean-Charles Delay <delay@adacore.com>
6479
6480 * gdb.ada/packed_array.exp: fixed expected output.
6481
8f17729f
JB
64822011-07-01 Joel Brobecker <brobecker@adacore.com>
6483
6484 * gdb.ada/same_enum: New testcase.
6485
f5aa6869
JB
64862011-07-01 Joel Brobecker <brobecker@adacore.com>
6487
6488 * gdb.ada/ptr_typedef: New testcase.
6489
828292f2
JB
64902011-07-01 Joel Brobecker <brobecker@adacore.com>
6491
6492 * gdb.ada/arrayptr.exp: Add ptype test.
6493
18920c42
JB
64942011-07-01 Joel Brobecker <brobecker@adacore.com>
6495
6496 * gdb.ada/char_enum: New testcase.
6497
3536d9e3 64982011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
6499
6500 * gdb.base/dump.exp (capture_pointer_with_type): New.
6501 Get value from address instead of name.
6502 Start GDB once, and do `dump' and `restore'
6503 tests together.
6504
db863c42
MF
65052011-06-30 Jie Zhang <jie.zhang@analog.com>
6506 Mike Frysinger <vapier@gentoo.org>
6507
6508 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
6509 helper functions for getting/setting remotetimeout variable.
6510 * lib/gdb.exp (gdb_load): If the target is remote, set
6511 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
6512 with $loadtimeout. Set $load_ok to 0 before doing the load.
6513 Instead of returning, immediately, set $load_ok to 0. Call
6514 set_remotetimeout with $oldremotetimeout, and then return if
6515 $load_ok is 1.
6516
e9e642a8
AB
65172011-06-30 Andrew Burgess <aburgess@broadcom.com>
6518
6519 * gdb.python/py-template.exp: Don't run this test if the target
6520 does not support c++ tests.
6521
32019081
JK
65222011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6523
6524 Fix non-only rename list for Fortran modules import.
6525 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
6526 tests.
6527 * gdb.fortran/module.f90 (module moduse): New.
6528 (program module): use moduse, test var_x, var_y and var_z.
6529
0ecee54c
TT
65302011-06-29 Tom Tromey <tromey@redhat.com>
6531
6532 PR testsuite/12040:
6533 * gdb.fortran/array-element.exp: Use f90, not f77.
6534 * gdb.fortran/complex.exp: Use f90, not f77.
6535 * gdb.fortran/derived-type.exp: Use f90, not f77.
6536 * gdb.fortran/library-module.exp: Use f90, not f77.
6537 * gdb.fortran/logical.exp: Use f90, not f77.
6538 * gdb.fortran/module.exp: Use f90, not f77.
6539 * gdb.fortran/multi-dim.exp: Use f90, not f77.
6540 * gdb.fortran/subarray.exp: Use f90, not f77.
6541
3b2b8fea
TT
65422011-06-29 Tom Tromey <tromey@redhat.com>
6543
6544 * gdb.fortran/charset.exp: New file.
6545 * gdb.fortran/charset.f90: New file.
6546
42159ca5
TT
65472011-06-29 Tom Tromey <tromey@redhat.com>
6548
6549 PR testsuite/12040:
6550 * lib/future.exp: New file, mostly extracted from ada.exp.
6551 Rewrote compatibility code to use rename.
6552 (gdb_find_gfortran): New proc.
6553 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
6554 gfortran patch.
6555 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
6556 Move to future.exp.
6557 * lib/gdb.exp: Always load future.exp.
6558
af69a5ce
YQ
65592011-06-28 Yao Qi <yao@codesourcery.com>
6560
6561 * gdb.cp/exception.cc: Don't include iostream.
6562 (bar): Remove print statement.
6563 (catcher): New.
6564 (main): Remove print statements. Call function catcher.
6565 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
6566 Set breakpoint on catcher, and check the value of parameter.
6567
ab5c6a72
YQ
65682011-06-23 Yao Qi <yao@codesourcery.com>
6569
6fdff2c5
PA
6570 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
6571 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 6572
9497469f
MP
65732011-06-23 Marek Polacek <mpolacek@redhat.com>
6574
6575 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
6576 mi_gdb_test.
6577
b9132588
MP
65782011-06-23 Marek Polacek <mpolacek@redhat.com>
6579
5d197ed0 6580 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 6581
e55595ca
MP
65822011-06-23 Marek Polacek <mpolacek@redhat.com>
6583
5d197ed0
MP
6584 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
6585
65862011-06-23 Marek Polacek <mpolacek@redhat.com>
6587
6588 * gdb.mi/mi2-basics.exp: Fix races. Honour the
6589 `test_exec_and_symbol_mi_operatons' return value.
6590 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6591 gdb_test_multiple.
6592 (test_exec_and_symbol_mi_operatons): Likewise.
6593 (test_path_specification): Likewise.
e55595ca 6594
be777e08
YQ
65952011-06-23 Yao Qi <yao@codesourcery.com>
6596
6597 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
6598 supported.
6599 * lib/gdb.exp (support_displaced_stepping): New.
6600
615556d6
YQ
66012011-06-23 Yao Qi <yao@codesourcery.com>
6602
6603 * gdb.threads/execl.exp: Skip on remote target.
6604
833b0ca7
MP
66052011-06-21 Marek Polacek <mpolacek@redhat.com>
6606
5d197ed0 6607 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
6608 mi_gdb_test.
6609
1ee4023a
MP
66102011-06-20 Marek Polacek <mpolacek@redhat.com>
6611
5d197ed0 6612 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 6613
d0b1d624
MP
66142011-06-20 Marek Polacek <mpolacek@redhat.com>
6615
5d197ed0 6616 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
6617 mi_gdb_test.
6618
79aa92c1
MP
66192011-06-20 Marek Polacek <mpolacek@redhat.com>
6620
5d197ed0 6621 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 6622
5ce5db06
YQ
66232011-06-14 Yao Qi <yao@codesourcery.com>
6624
6625 gdb/testsuite/
6626 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
6627
533a737e
JK
66282011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6629
6630 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
6631
d0e53741
TT
66322011-06-10 Tom Tromey <tromey@redhat.com>
6633
6634 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
6635 Add tests for pointer-to-member-function.
6636 * gdb.cp/temargs.cc (S::somefunc): New function.
6637 (K2): New class.
6638 (main): Instantiate K2; call method.
6639
b5916bbd
JB
66402011-06-08 Joel Brobecker <brobecker@adacore.com>
6641
6642 * gdb.python/py-inferior.c (f2): Make str an array rather
6643 than a pointer.
6644 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
6645
5be4dfca
JK
66462011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6647
6648 * gdb.base/async-shell.c: New file.
6649 * gdb.base/async-shell.exp: New file.
6650
9f47e254
PA
66512011-06-06 Pedro Alves <pedro@codesourcery.com>
6652
6653 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
6654
64b9b334
JB
66552011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
6656
6657 From Stephen Kitt <steve@sk2.org>
6658 * gdb.base/help.exp: Adjust following some spelling corrections
6659 in GDB.
6660
dbc0f131
YQ
66612011-06-01 Yao Qi <yao@codesourcery.com>
6662
6663 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
6664
fd336a18
KS
66652010-05-31 Keith Seitz <keiths@redhat.com>
6666
6667 PR c++/12750
6668 * gdb.cp/static-method.cc: New file.
6669 * gdb.cp/static-method.exp: New file.
6670
fa8b9902
KS
66712010-05-31 Keith Seitz <keiths@redhat.com>
6672
6673 PR symtab/12704
6674 * gdb.cp/anon-ns.cc: New file.
6675 * gdb.cp/anon-ns.exp: New file.
6676
0a5b1e09
PA
66772011-05-31 Pedro Alves <pedro@codesourcery.com>
6678
6679 * gdb.arch/i386-dr3-watch.c: New file.
6680 * gdb.arch/i386-dr3-watch.exp: New file.
6681
0578b8d1
YQ
66822011-05-30 Yao Qi <yao@codesourcery.com>
6683
6684 * gdb.base/callfuncs.c (t_structs_fc): New.
6685 (t_structs_dc, t_structs_ldc): New.
6686 (t_double_many_args):
6687 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
6688 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
6689 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
6690 * gdb.base/callfuncs.exp: Call new functions.
6691
6680506e
YQ
66922011-05-30 Yao Qi <yao@codesourcery.com>
6693
ff4d2c60
YQ
6694 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
6695 Call rerun_and_prepare for each test to isolate effects.
6696
66972011-05-30 Yao Qi <yao@codesourcery.com>
6698
6699 * gdb.base/varargs.c (find_max_float_real): New.
6700 (find_max_double_real, find_max_long_double_real): New.
6701 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
6702 * lib/gdb.exp (setup_kfail_for_target): New.
6703
e43ec454
YQ
67042011-05-30 Yao Qi <yao@codesourcery.com>
6705
6706 * gdb.base/funcargs.c (callca, callcb, callcc): New.
6707 (callcd, callce, callcf, callc1a, callc1b): New.
6708 (callc2a, callc2b): New.
6709 * gdb.base/funcargs.exp (complex_args): New.
6710 (complex_integral_args, complex_float_integral_args): New.
6711 * lib/gdb.exp (support_complex_tests): New. Determine
6712 whether to run test cases on _Complex types.
6713
432b4d03
JK
67142011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6715
6716 * gdb.threads/leader-exit.c: New file.
6717 * gdb.threads/leader-exit.exp: New file.
6718
6caf069d
MP
67192011-05-27 Marek Polacek <mpolacek@redhat.com>
6720
9497469f 6721 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 6722
97fce28b
MP
67232011-05-27 Marek Polacek <mpolacek@redhat.com>
6724
6725 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
6726 remove the `supported' variable.
6727 * gdb.mi/mi-nonstop.exp: Likewise.
6728 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6729 * gdb.mi/mi-nsintrall.exp: Likewise.
6730 * gdb.mi/mi-nsmoribund.exp: Likewise.
6731 * gdb.mi/mi-nsthrexec.exp: Likewise.
6732
9da8c2a0
PA
67332011-05-26 Pedro Alves <pedro@codesourcery.com>
6734
6735 * gdb.reverse/finish-reverse-bkpt.exp: New test.
6736
2c03e5be
PA
67372011-05-26 Pedro Alves <pedro@codesourcery.com>
6738
6739 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
6740
2e21250d
KS
67412011-05-24 Keith Seitz <keiths@redhat.com>
6742
6743 PR breakpoint/12803
6744 * gdb.cp/cmpd-minsyms.cc (a): New method.
6745 (b): New method.
6746 (c): New method.
6747 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
6748
cdac0397
PA
67492011-05-24 Pedro Alves <pedro@codesourcery.com>
6750
6751 * gdb.base/commands.exp (watchpoint_command_test): Check that the
6752 watchpoint's command list didn't execute when the watchpoint went
6753 out of scope.
6754
ee5683ab
PM
67552011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
6756
6757 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
6758 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
6759 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
6760 * gdb.arch/i386-gnu-cfi.exp: Likewise.
6761 * gdb.arch/i386-permbkpt.exp: Likewise.
6762 * gdb.arch/i386-prologue.exp: Likewise.
6763 * gdb.arch/i386-size-overlap.exp: Likewise.
6764 * gdb.arch/i386-size.exp: Likewise.
6765 * gdb.arch/i386-unwind.exp: Likewise.
6766 * gdb.reverse/i386-precsave.exp: Likewise.
6767 * gdb.reverse/i386-reverse.exp: Likewise.
6768 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6769 * gdb.reverse/i387-env-reverse.exp: Likewise.
6770 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6771
c91c8c16
PA
67722011-05-24 Pedro Alves <pedro@codesourcery.com>
6773
6774 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
6775 file doesn't error, using MI.
6776
c50491a7
TT
67772011-05-23 Tom Tromey <tromey@redhat.com>
6778
6779 * gdb.base/charset.exp (string_display): Add tests to assign to
6780 arrays.
6781 * gdb.base/charset.c (short_array, int_array, long_array): New.
6782
4a07b7da
PA
67832011-05-20 Pedro Alves <pedro@codesourcery.com>
6784
6785 Cope with async mode.
6786
4a07b7da
PA
6787 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
6788 into gdb_test + mi_expect_stop.
6789
b275f2d2
PA
67902011-05-20 Pedro Alves <pedro@codesourcery.com>
6791
6792 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
6793 (callme): Remove printf call.
6794
eec52c44
PM
67952011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
6796
6797 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
6798 quote pattern to avoid problems with Cygwin/mingw expect versions.
6799 * gdb.base/default.exp (show convenience): Use double
6800 quote pattern for regular expressions.
6801
b3c8eb43
JK
68022011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6803
6804 Fix -readnow for -gdwarf-4 unused type units.
6805 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
6806 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
6807
ed731959
JK
68082011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6809
6810 * gdb.base/kill-after-signal.c: New file.
6811 * gdb.base/kill-after-signal.exp: New file.
6812
3b48433d
PA
68132011-05-16 Pedro Alves <pedro@codesourcery.com>
6814
6815 * gdb.ada/start.exp: Call untested with the correct test filename.
6816 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
6817 test filename. Make the test's binary unique.
6818 * gdb.arch/i386-signal.exp: Call untested with the correct test
6819 filename.
6820 * gdb.arch/i386-size-overlap.exp: Ditto.
6821 * gdb.arch/Makefile.in (EXECUTABLES): Update.
6822 * gdb.base/gcore-buffer-overflow.exp: Ditto.
6823 * gdb.cp/call-c.exp: Ditto.
6824 * gdb.mi/mi-reverse.exp: Call untested with the correct test
6825 filename. Make the test's binary unique.
6826 * gdb.mi/Makefile.in (EXECUTABLES): Update.
6827 * gdb.python/py-mi.exp: Ditto.
6828 * gdb.python/Makefile.in (EXECUTABLES): Update.
6829 * gdb.reverse/i386-precsave.exp: Ditto.
6830 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
6831 test filename.
6832 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6833 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
6834 unique.
6835 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
6836 test filename.
6837 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
6838 * gdb.trace/tfile.exp: Ditto.
6839
ba4a8bdd
YQ
68402011-05-14 Yao Qi <yao@codesourcery.com>
6841
6842 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
6843 type.
6844
dbaefcf7
DE
68452011-05-13 Doug Evans <dje@google.com>
6846
6847 * gdb.python/py-objfile-script.exp: New file.
6848 * gdb.python/py-objfile-script.c: New file.
6849 * gdb.python/py-objfile-script-gdb.py: New file.
6850 * testsuite/gdb.python/py-section-script.exp: Test
6851 "info auto-load-scripts".
6852
9930639c
TT
68532011-05-13 Tom Tromey <tromey@redhat.com>
6854
6855 * gdb.dwarf2/clztest.exp: New file.
6856 * gdb.dwarf2/clztest.c: New file.
6857 * gdb.dwarf2/clztest.S: New file.
6858
05272e11
DE
68592011-05-13 Doug Evans <dje@google.com>
6860
cc63ef9b
DE
6861 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
6862 String16 tests.
05272e11 6863
6edba76f
TT
68642011-05-13 Tom Tromey <tromey@redhat.com>
6865
6866 * lib/gdb.exp (is_x86_like_target): New proc.
6867 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
6868 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
6869 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
6870 -nostdlib to compiler.
6871 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
6872 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
6873 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
6874 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
6875 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
6876
028d0ed5
TJB
68772011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
6878
6879 * gdb.python/py-function.exp: Test setting a value from a function
6880 which executes a command.
6881
8a9b8146
TT
68822011-05-12 Tom Tromey <tromey@redhat.com>
6883
6884 * gdb.dwarf2/typeddwarf.S: New file.
6885 * gdb.dwarf2/typeddwarf.c: New file.
6886 * gdb.dwarf2/typeddwarf.exp: New file.
6887
10483e8e
MP
68882011-05-12 Marek Polacek <mpolacek@redhat.com>
6889
6890 * gdb.mi/mi-basics.exp: Fix races. Honour the
6891 `test_exec_and_symbol_mi_operatons' return value.
6892 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6893 gdb_test_multiple.
6894 (test_exec_and_symbol_mi_operatons): Likewise.
6895 (test_path_specification): Likewise.
6896
faf067f1
JK
68972011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6898
6899 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
6900 (gdb_touch_execfile): Remove catch wrappers. New variable time.
6901 Replace `file copy' and `file rename' by `file mtime'. Twice.
6902
7ff911a3
JK
69032011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6904
6905 * gdb.base/readline-ask.c: New file.
6906 * gdb.base/readline-ask.exp: New file.
6907 * gdb.base/readline-ask.inputrc: New file.
6908
a536c6d7
UW
69092011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
6910
6911 * gdb.cell/bt.exp: Delete breakpoints before running to signal
6912 to avoid race condition.
6913 * gdb.cell/coremaker.c: Use small stack size.
6914 * gdb.cell/ea-standalone.exp: Use file name without path as
6915 argument to c_to.
6916 * gdb.cell/fork.exp: Allow other output when continuing to end.
6917
d472a426
JK
69182011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6919
6920 * gdb.threads/corethreads.c: New file.
6921 * gdb.threads/corethreads.exp: New file.
6922
69232011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
6924
6925 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
6926 Try to compile the test using -Wl,-z,norelro first.
6927 (load_core): New variable libthread_db_seen, initialize it.
6928 (zeroed-threads cannot be listed): Protect it by XFAIL on
6929 !$libthread_db_seen.
6930
8be455d7
JK
69312011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6932
6933 PR 12573
6934 * gdb.dwarf2/dw2-skip-prologue.S: New file.
6935 * gdb.dwarf2/dw2-skip-prologue.c: New file.
6936 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
6937
1976171a
JK
69382011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6939
6940 * gdb.cp/psymtab-parameter.cc: New file.
6941 * gdb.cp/psymtab-parameter.exp: New file.
6942
7db6f30f
JK
69432011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6944
6945 Fix a race.
6946 * gdb.cp/static-print-quit.exp (print c): Split to ...
6947 (print c - <return>, print c - q <return>, print c - to quit):
6948 ... these. Make the testfile untested on gdb-7.1.
6949
85161e9e 69502011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
6951
6952 * lib/gdb.exp (exec_target_file, exec_symbol_file,
6953 gdb_rename_execfile, gdb_touch_execfile): New.
6954 * gdb.base/reread.exp: Use new procs to handle multiple
6955 exec files.
6956
0c51be18
YQ
69572011-05-05 Yao Qi <yao@codesourcery.com>
6958
6959 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
6960 (test_adr_32bit, test_pop_pc): New.
6961 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
6962 (test_adr_32bit, test_pop_pc): New.
6963
4d393d60
JM
69642011-05-04 Joseph Myers <joseph@codesourcery.com>
6965
6966 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
6967 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
6968 targets.
6969 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
6970 handle targets.
6971
8ffd0459
JK
69722011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6973
6974 * gdb.base/completion.exp (complete help info wat): Rename to ...
6975 (complete 'help info wat'): ... here.
6976 Remove all `-re ".*' and `-re "^.*' redundant regexes.
6977 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
6978
8e28d804
PA
69792011-05-04 Pedro Alves <pedro@codesourcery.com>
6980
6981 * gdb.base/completion.exp: Use gdb_test_multiple instead of
6982 gdb_test and explicit $gdb_prompt/timeout matches.
6983
3eb2ef34
YQ
69842011-05-04 Yao Qi <yao@codesourcery.com>
6985
6986 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
6987 and __thumb2__.
6988
aaaf81a3
MP
69892011-05-03 Marek Polacek <mpolacek@redhat.com>
6990
6991 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
6992 in place of `gdb_test "delete breakpoints"'. This eliminates two
6993 testcases.
6994
c4cbc0df
PA
69952011-05-02 Pedro Alves <pedro@codesourcery.com>
6996
6997 PR testsuite/12649
6998 Fix races.
6999
7000 * gdb.base/completion.exp: Remove all sleep calls. Remove
7001 unnecessary regexs. Don't explicitly expect anything after the
7002 prompt. Eat the prompt if necessary.
7003
b4cbb4a3
EBM
70042011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
7005
7006 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
7007 accept to show the caller line again as well as the line after.
7008
d65aec65
PM
70092011-04-29 Phil Muldoon <pmuldoon@redhat.com>
7010
7011 PR mi/12531
7012
7013 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
7014 compile target.
7015 * gdb.python/py-prettyprint.exp: Add C++ object for
7016 CPLUS_FAKE_CHILD test.
7017
30852783
UW
70182011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
7019
7020 * gdb.base/signest.exp: New file.
7021 * gdb.base/signest.c: Likewise.
7022
c7b1f0d9
JK
70232011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7024
7025 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
7026 thread and breakpoint notifications.
7027
559a7a62
JK
70282011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7029
7030 * gdb.base/fortran-sym-case.c: New file.
7031 * gdb.base/fortran-sym-case.exp: New file.
7032 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
7033 * gdb.dwarf2/dw2-case-insensitive.c: New file.
7034 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
7035
8344e389
JK
70362011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7037
7038 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
7039 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
7040 false #1', `if true else false #2' and `if true else false #3'.
7041
2484c66b
UW
70422011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
7043
7044 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
7045 while delivering signal.
7046
8d3788bd
VP
70472011-04-27 Vladimir Prus <vladimir@codesourcery.com>
7048
7049 MI breakpoint notifications.
7050
7051 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
7052 * testsuite/gdb.mi/mi2-cli.exp: Adust.
7053 * testsuite/gdb.mi/mi-watch.exp: Adust.
7054 * testsuite/gdb.mi/mi2-watch.exp: Adust.
7055 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
7056 notifications.
8d3788bd 7057
3e03848b
JK
70582011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7059
7060 * gdb.base/gdbindex-stabs-dwarf.c: New file.
7061 * gdb.base/gdbindex-stabs.c: New file.
7062 * gdb.base/gdbindex-stabs.exp: New file.
7063
918c9108
YQ
70642011-04-25 Yao Qi <yao@codesourcery.com>
7065
7066 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
7067 with /*...*/.
7068 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
7069
90556b8c
JK
70702011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7071
7072 * gdb.python/py-value.exp (test_objfiles): Name the first test
7073 `py-value in file.filename'.
7074
03f2bd59
JK
70752011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7076
7077 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
7078 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
7079 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
7080 !gdbserver_reconnect_p..
7081 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
7082
7b08b9eb
JK
70832011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7084
7085 * gdb.cp/cpcompletion.exp (complete class methods)
7086 (complete class methods beginning with F): Move them above runto. New
7087 comment about the runto delimiter.
7088
b78974c3
PA
70892011-04-20 Pedro Alves <pedro@codesourcery.com>
7090
7091 * gdb.base/maint.exp: Test that "maint print registers" works
7092 without a running program.
7093
20429c40 70942011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 7095
20429c40
MP
7096 * gdb.base/setshow.exp: Fix racy tests.
7097 ($old_gdb_prompt): New variable.
7098
7a9dd1b2
TT
70992011-04-19 Tom Tromey <tromey@redhat.com>
7100
7101 * gdb.mi/mi-nsmoribund.exp:
7102 * gdb.hp/gdb.objdbg/objdbg01.exp:
7103 * gdb.base/structs.exp (test_struct_returns):
7104 * gdb.base/call-sc.exp (test_scalar_returns):
7105 * gdb.base/bigcore.exp: Remove duplicate words.
7106
02835898
JK
71072011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7108
7109 * gdb.base/break-interp-lib.c (v, vptr): New variables.
7110 * gdb.base/break-interp.exp (test_attach): New comment.
7111
254f582e
JK
71122011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7113
7114 * gdb.threads/gcore-thread.exp ($core0file): New variable.
7115 (clear __stack_user.next, clear stack_used.next)
7116 (save a zeroed-threads corefile): New test.
7117 Call core_load for $core0file.
7118 (zeroed-threads cannot be listed): New test.
7119
4fe85f5c
JK
71202011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7121
7122 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
7123 filename.
7124 ($srcfile): Preserve the original value.
7125 ($testfile): Match it the .exp filename.
7126 ($corefile): New variable. Substitute it around.
7127 Use clean_restart.
7128 ($prev_timeout): Remove.
7129 (load_core): Move core loading into this proc.
7130 Fix restore of $timeout if load_core fails.
7131
63524580
JK
71322011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7133
7134 * gdb.base/eu-strip-infcall.c: New file.
7135 * gdb.base/eu-strip-infcall.exp: New file.
7136
90359a16
JK
71372011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7138
7139 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
7140 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
7141
626e7282
JK
71422011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7143
7144 Fix Python access to inlined frames.
7145 * gdb.python/py-frame-inline.c: New file.
7146 * gdb.python/py-frame-inline.exp: New file.
7147
3363d018
EBM
71482011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
7149
7150 * gdb.base/gdb1090.exp: Change breakpoint location to read the
7151 content of 's24' correctly (avoiding "optimized out").
7152 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
7153
28781456
JK
71542011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7155
7156 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
7157
4a4106ca
TJB
71582011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
7159
7160 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
7161 expect a colon in watch -location output.
7162
d26ccb4f
JK
71632011-04-13 Marek Polacek <mpolacek@redhat.com>
7164
df46027d 7165 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
7166 New testcase `expect response to define backtrace'. Also remove
7167 redundant `default' block.
7168
e1ab1f9c
JK
71692011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7170
7171 * gdb.python/py-prettyprint.c (struct hint_error): New.
7172 (main): New variable hint_error.
7173 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
7174 "print hint_error".
7175 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
7176 (register_pretty_printers): Register it.
7177
0c2e6019
TT
71782011-04-04 Tom Tromey <tromey@redhat.com>
7179
7180 * gdb.cp/maint.exp (test_help): Update.
7181 (test_namespace): Likewise.
7182
af57139d
JB
71832011-04-01 Joel Brobecker <brobecker@adacore.com>
7184
7185 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
7186 * gdb.ada/arrayptr.exp: Add new tests.
7187
956a9fb9
JB
71882011-04-01 Joel Brobecker <brobecker@adacore.com>
7189
7190 * gdb.ada/mi_catch_ex: New testcase.
7191
d0c4d642
PA
71922011-04-01 Pedro Alves <pedro@codesourcery.com>
7193
7194 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
7195 base::overload(void) method without specifying "const".
7196
18819fa6
UW
71972011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
7198
7199 * gdb.arch/thumb-singlestep.S: New file.
7200 * gdb.arch/thumb-singlestep.exp: Likewise.
7201
a4c8e806
TT
72022011-03-31 Tom Tromey <tromey@redhat.com>
7203
7204 * gdb.python/py-prettyprint.py (exception_flag): New global.
7205 (NoStringContainerPrinter._iterator.next): Check it.
7206 * gdb.python/py-prettyprint.c (main): New variable nstype2.
7207 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
7208
53832f31
TT
72092011-03-29 Tom Tromey <tromey@redhat.com>
7210
7211 * gdb.cp/anon-struct.cc: New file.
7212 * gdb.cp/anon-struct.exp: New file.
7213
e4620230
JK
72142011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7215
7216 Test STT_GNU_IFUNC support.
7217 * gdb.base/gnu-ifunc-lib.c: New file.
7218 * gdb.base/gnu-ifunc.c: New file.
7219 * gdb.base/gnu-ifunc.exp: New file.
7220
d0fb5eae
JK
72212011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7222
7223 Support a ring of related breakpoints.
7224 * gdb.base/watchpoint-delete.c: New file.
7225 * gdb.base/watchpoint-delete.exp: New file.
7226
20106cfb
JK
72272011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7228
7229 * gdb.ada/arrayparam.exp (print first after function call): Use
7230 explicit package name. Add a comment
7231 (print lasta after function call): Rename ...
7232 (print last after function call): ... it and use explicit package
7233 name.
7234 (print length after function call): Use explicit package name.
7235 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
7236 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
7237 (multiple matches for symbol i): Rename ...
7238 (multiple matches for symbol integervar): ... it.
7239 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
7240 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
7241
e7ab5e63
AB
72422011-03-25 Andrew Burgess <aburgess@broadcom.com>
7243
7244 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
7245 environment variable to make grep output more predictable. Move
7246 all the environment setup into gdb_init so it's done once per test
7247 case rather than each time we start gdb.
7248
9ef07c8c
TT
72492011-03-24 Tom Tromey <tromey@redhat.com>
7250
7251 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
7252 test.
7253
dd90784c
JK
72542011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7255
7256 * gdb.dwarf2/dw2-entry-value-main.c: New file.
7257 * gdb.dwarf2/dw2-entry-value.S: New file.
7258 * gdb.dwarf2/dw2-entry-value.exp: New file.
7259
05775840
PM
72602011-03-22 Phil Muldoon <pmuldoon@redhat.com>
7261
6fdff2c5 7262 PR python/12183
05775840
PM
7263
7264 * gdb.python/py-function.exp: Add GdbError tests.
7265
8661b11b
PA
72662011-03-18 Pedro Alves <pedro@codesourcery.com>
7267
7268 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
7269 (reglocal_test_func, statlocal_test_func): New functions.
7270 (globals_test_func): Call new functions.
7271 * gdb.trace/unavailable.exp (gdb_collect_args_test)
7272 (gdb_collect_locals_test): New procedure.
7273 (gdb_trace_collection_test): Call new procedures.
7274
0fdb4f18
PA
72752011-03-18 Pedro Alves <pedro@codesourcery.com>
7276
7277 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
7278 (test_register, test_register_unavailable): New procedures.
7279 (gdb_unavailable_registers_test): New procedure.
7280 (gdb_trace_collection_test): Call it.
7281
99c3dc11
PM
72822011-03-18 Phil Muldoon <pmuldoon@redhat.com>
7283
6fdff2c5 7284 PR python/12149
99c3dc11
PM
7285
7286 * gdb.python/python.exp: Add gdb.write tests.
7287
29703da4
PM
72882010-03-17 Phil Muldoon <pmuldoon@redhat.com>
7289
7290 * gdb.python/Makefile.in: Add py-objfile.
7291 * gdb.python/py-objfile.exp: New file.
7292 * gdb.python/py-objfile.c: New file.
7293 * gdb.python/py-block.exp: Add is_valid tests.
7294 * gdb.python/py-inferior.exp: Ditto.
7295 * gdb.python/py-infthread.exp: Ditto.
7296 * gdb.python/py-symbol.exp: Ditto.
7297 * gdb.python/py-symtab.exp: Ditto.
7298
598997c8
KS
72992011-03-16 Keith Seitz <keiths@redhat.com>
7300
7301 PR c++/12273
7302 * gdb.cp/cmpd-minsyms.exp: New test.
7303 * gdb.cp/cmpd-minsyms.cc: New file.
7304
7305 PR c++/11734
7306 * gdb.cp/ovsrch.exp: New test.
7307 * gdb.cp/ovsrch.h: New file.
7308 * gdb.cp/ovsrch1.cc: New file.
7309 * gdb.cp/ovsrch2.cc: New file.
7310 * gdb.cp/ovsrch3.cc: New file.
7311 * gdb.cp/ovsrch4.cc: New file.
7312
c91513d8
PP
73132011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7314
7315 PR gdb/12528
7316 * gdb.base/Makefile.in: Adjust EXECUTABLES.
7317 * gdb.base/break-on-linker-gcd-function.exp: New test.
7318 * gdb.base/break-on-linker-gcd-function.cc: New file.
7319
7470fc63
AT
73202011-03-15 Andreas Tobler <andreast@fgznet.ch>
7321
7322 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
7323
959e7469
PM
73242011-03-15 Phil Muldoon <pmuldoon@redhat.com>
7325
7326 * lib/gdb.exp (gdb_unload): Add another termination case.
7327
9373cf26
JK
73282011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7329
7330 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
7331 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
7332 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
7333 Provide a stub byte there.
7334 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
7335 DW_AT_entry_pc.
7336 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
7337
24e9cda0
UW
73382011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
7339
7340 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
7341 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
7342 "generic ABI, auto".
7343 (altivec_abi_tests): Accept vectors returned by reference.
7344
7371cf6d
PM
73452010-03-14 Phil Muldoon <pmuldoon@redhat.com>
7346
7347 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
7348
ce77046a
UW
73492011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
7350
7351 * gdb.python/py-section-script.exp: Skip test if no Python support.
7352
176400c3
UW
73532011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
7354
7355 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
7356
ecec24e6
PM
73572011-03-10 Phil Muldoon <pmuldoon@redhat.com>
7358
7359 * gdb.python/py-parameter.exp: Update tests to the new Python
7360 parameter API. Add "no documentation" test. Add deprecated API
7361 backward compatibility test.
7362
5dbdd470
TT
73632011-03-09 Tom Tromey <tromey@redhat.com>
7364
7365 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
7366 gdb_continue_to_end.
7367
b66e66ee
MK
73682011-03-09 Mark Kettenis <kettenis@gnu.org>
7369
7370 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
7371 tabs.
7372
eceb0c5f
TT
73732011-03-09 Tom Tromey <tromey@redhat.com>
7374
7375 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
7376 parentheses.
7377 (gdb_continue_to_end): Add "allow_extra" parameter. Use
7378 $command.
7379 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
7380 argument to gdb_continue_to_end.
7381 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
7382 argument to gdb_continue_to_end.
7383 * gdb.cp/annota3.exp: Fix regex.
7384 * gdb.cp/annota2.exp: Fix regex.
7385 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
7386 gdb_continue_to_end.
7387 * gdb.base/call-signal-resume.exp: Revert earlier patch.
7388 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
7389 gdb_continue_to_end.
7390
63154eca
PA
73912011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7392
7393 * gdb.server/ext-run.exp
7394 (load new file without any gdbserver inferior): New test.
7395
967d1f9b
TT
73962011-03-07 Tom Tromey <tromey@redhat.com>
7397
7398 * Makefile.in (TAGS): Rewrite.
7399
d68dcbb9
JK
74002011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7401
7402 * gdb.trace/report.exp (12.1: trace report #1): New match for the
7403 initial commands echo. New match for `Found trace'. Anchor all the
7404 other matches. Anchor and match for `No trace frame found' the final
7405 match.
7406
6bf58e63
TT
74072011-03-07 Tom Tromey <tromey@redhat.com>
7408
7409 * Makefile.in (TAGS): New target.
7410
fda326dd
TT
74112011-03-07 Tom Tromey <tromey@redhat.com>
7412
7413 * lib/opencl.exp (skip_opencl_tests): Update for exit message
7414 change.
7415 * lib/mi-support.exp (mi_gdb_test): Update for exit message
7416 change.
7417 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
7418 exit message change.
7419 (skip_altivec_tests): Update for exit message change.
7420 (skip_vsx_tests): Likewise.
7421 (gdb_continue_to_end): Likewise. Add 'command' argument.
7422 * lib/cell.exp (skip_cell_tests): Update for exit message change.
7423 * gdb.threads/tls.exp: Update for exit message change.
7424 * gdb.threads/thread-unwindonsignal.exp: Use
7425 gdb_continue_to_end.
7426 * gdb.threads/step.exp (step_it): Update for exit message change.
7427 (continue_all): Likewise.
7428 * gdb.threads/print-threads.exp (test_all_threads): Update for
7429 exit message change.
7430 * gdb.threads/interrupted-hand-call.exp: Use
7431 gdb_continue_to_end.
7432 * gdb.threads/execl.exp: Use gdb_continue_to_end.
7433 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
7434 gdb_continue_to_end.
7435 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
7436 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
7437 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
7438 * gdb.cp/method.exp: Update for exit message change.
7439 * gdb.cp/mb-templates.exp: Update for exit message change.
7440 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
7441 * gdb.cp/annota3.exp: Update for exit message change.
7442 * gdb.cp/annota2.exp: Update for exit message change.
7443 * gdb.cell/fork.exp: Use gdb_continue_to_end.
7444 * gdb.base/term.exp: Update for exit message change.
7445 * gdb.base/step-test.exp (test_i): Update for exit message change.
7446 * gdb.base/sigstep.exp (advance): Update for exit message change.
7447 (advancei): Likewise.
7448 * gdb.base/siginfo.exp: Update for exit message change.
7449 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
7450 * gdb.base/reread.exp: Use gdb_continue_to_end.
7451 * gdb.base/langs.exp: Use gdb_continue_to_end.
7452 * gdb.base/interrupt.exp: Update for exit message change.
7453 * gdb.base/gdb1555.exp: Update for exit message change.
7454 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
7455 * gdb.base/ending-run.exp: Update for exit message change.
7456 * gdb.base/chng-syms.exp: Update for exit message change.
7457 * gdb.base/checkpoint.exp: Update for exit message change.
7458 * gdb.base/catch-syscall.exp (check_for_program_end): Use
7459 gdb_continue_to_end.
7460 (test_catch_syscall_with_wrong_args): Likewise.
7461 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
7462 * gdb.base/break-interp.exp (test_ld): Update for exit message
7463 change.
7464 * gdb.base/bang.exp: Update for exit message change.
7465 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
7466 (do_call_attach_tests): Likewise.
7467 * gdb.base/a2-run.exp: Update for exit message change.
7468 * gdb.arch/ppc-dfp.exp: Update for exit message change.
7469 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
7470 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
7471
dd19bd70
JK
74722011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7473
7474 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
7475
30e62689
TT
74762011-03-03 Tom Tromey <tromey@redhat.com>
7477
7478 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
7479 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
7480 * gdb.hp/gdb.aCC/configure.ac: Remove.
7481 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
7482 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
7483 * gdb.hp/gdb.base-hp/configure.ac: Remove.
7484 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
7485 * gdb.hp/gdb.compat/configure (Makefile): Remove.
7486 * gdb.hp/gdb.compat/configure.ac: Remove.
7487 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
7488 * gdb.hp/gdb.defects/configure (Makefile): Remove.
7489 * gdb.hp/gdb.defects/configure.ac: Remove.
7490 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
7491 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
7492 * gdb.hp/gdb.objdbg/configure.ac: Remove.
7493 * gdb.hp/configure.ac: Remove.
7494 * gdb.hp/configure: Remove.
7495 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
7496 substitution.
7497 (Makefile): Remove rule.
7498 * gdb.cell/configure.ac: Remove.
7499 * gdb.cell/configure: Remove.
7500 * gdb.stabs/Makefile.in (Makefile): Remove.
7501 (distclean): Don't remove config.status or config.log.
7502 * gdb.stabs/configure (Makefile): Remove.
7503 * gdb.stabs/configure.ac: Remove.
7504 * configure: Rebuild.
7505 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
7506 Remove stabs- and cell-specific logic. Test for existence of
7507 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
7508 subdirectories, gdb.cell, and and gdb.stabs.
7509 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
7510
c171f854
JB
75112011-03-03 Joel Brobecker <brobecker@adacore.com>
7512
7513 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
7514 end of buffer.
7515
9a5193cb
JB
75162011-03-02 Joel Brobecker <brobecker@adacore.com>
7517
7518 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
7519 gdb_test when running a test where we expected no output back.
7520
9bb4c1bb
MS
75212011-02-28 Michael Snyder <msnyder@vmware.com>
7522
7523 * gdb.cp/overload.cc: Change initializer value to integer.
7524
3bd0f5ef
MS
75252011-02-27 Michael Snyder <msnyder@vmware.com>
7526
7527 * gdb.multi/base.exp: Add test for remove-inferiors.
7528
2279eaad
JB
75292011-02-26 Joel Brobecker <brobecker@adacore.com>
7530
7531 * gdb.python/py-frame.exp: Simplify the initialization phase
7532 using prepare_for_testing.
7533
c82c0b55
MS
75342011-02-25 Michael Snyder <msnyder@vmware.com>
7535
7536 * gdb.multi/base.exp: Add tests for info inferiors with args.
7537
1d94651b
JK
75382011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7539
7540 * gdb.dwarf2/dw2-ranges.S: Rename to ...
7541 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
7542 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
7543 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
7544 asmfile3. Comment the STABS (#3) file compilation. Compile
7545 everything through assembler. Provide KFAIL for symtab/12497.
7546 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
7547 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
7548 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
7549 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
7550
3bd0f5ef
MS
75512011-02-24 Michael Snyder <msnyder@vmware.com>
7552
7553 * gdb.base/break.exp: Add tests for delete breakpoints using
7554 convenience variables and value history references.
7555
12c1418e
MS
75562011-02-24 Michael Snyder <msnyder@vmware.com>
7557
7558 * gdb.base/break.exp: Remove debugging 'printf' accidentally
7559 left behind in previous check-in.
7560
e5a67952
MS
75612011-02-23 Michael Snyder <msnyder@vmware.com>
7562
7563 * gdb.base/break.exp: Add tests for "info break" with arguments.
7564 * gdb.trace/infotrace.exp: Update patterns for error and help.
7565 * gdb.base/completion.exp: Update pattern.
7566 * gdb.base/ena-dis-br.exp: Update pattern.
7567 * gdb.base/help.exp: Update patterns.
7568
75692011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
7570
7571 * gdb.base/memattr.exp: New test.
7572 * gdb.base/memattr.c: Test load for memattr.exp.
7573
6e6fbe60
DE
75742011-02-22 Doug Evans <dje@google.com>
7575
7576 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
7577
1d41d745
MS
75782011-02-22 Michael Snyder <msnyder@vmware.com>
7579
7580 * Makefile.in: Make more clean.
7581 * gdb.ada/Makefile.in: Ditto.
7582 * gdb.arch/Makefile.in: Ditto.
7583 * gdb.asm/Makefile.in: Ditto.
7584 * gdb.base/Makefile.in: Ditto.
7585 * gdb.cp/Makefile.in: Ditto.
7586 * gdb.dwarf2/Makefile.in: Ditto.
7587 * gdb.java/Makefile.in: Ditto.
7588 * gdb.mi/Makefile.in: Ditto.
7589 * gdb.modula2/Makefile.in: Ditto.
7590 * gdb.python/Makefile.in: Ditto.
7591 * gdb.server/Makefile.in: Ditto.
7592 * gdb.stabs/Makefile.in: Ditto.
7593 * gdb.threads/Makefile.in: Ditto.
7594 * gdb.trace/Makefile.in: Ditto.
7595
79ba84ca
MS
75962011-02-22 Michael Snyder <msnyder@vmware.com>
7597
df46027d 7598 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
7599 info threads.
7600
b9b35694
JB
76012011-02-22 Joel Brobecker <brobecker@adacore.com>
7602
7603 * gdb.python/py-breakpoint.exp: Fix the expected output of
7604 one of the "maint info breakpoints" tests to accept the output
7605 generated on platforms that do not have hardware watchpoints.
7606
8bfb830f
JB
76072011-02-22 Joel Brobecker <brobecker@adacore.com>
7608
7609 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
7610 clean_restart. Be a little stricter in the expected output
7611 for one of the tests. Fix a typo in one of the comments.
7612
c45f3c54
JB
76132011-02-22 Joel Brobecker <brobecker@adacore.com>
7614
7615 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
7616 Delete variable binfile, no longer use. Add or modify test
7617 comments to make them unique.
7618
b97c863c
MS
76192011-02-21 Michael Snyder <msnyder@vmware.com>
7620
7621 * Makefile.in: Update for make clean.
7622 * gdb.ada/Makefile.in: Ditto.
7623 * gdb.arch/Makefile.in: Ditto.
7624 * gdb.asm/Makefile.in: Ditto.
7625 * gdb.base/Makefile.in: Ditto.
7626 * gdb.cp/Makefile.in: Ditto.
7627 * gdb.dwarf2/Makefile.in: Ditto.
7628 * gdb.java/Makefile.in: Ditto.
7629 * gdb.mi/Makefile.in: Ditto.
7630 * gdb.modula2/Makefile.in: Ditto.
7631 * gdb.python/Makefile.in: Ditto.
7632 * gdb.server/Makefile.in: Ditto.
7633 * gdb.stabs/Makefile.in: Ditto.
7634 * gdb.threads/Makefile.in: Ditto.
7635 * gdb.trace/Makefile.in: Ditto.
7636
aea5b279
MS
76372011-02-21 Michael Snyder <msnyder@vmware.com>
7638
7639 * gdb.threads/thread-find.exp: Update patterns for changes in
7640 output of "info threads" command.
7641
e3039479
UW
76422011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7643 Ulrich Weigand <uweigand@de.ibm.com>
7644
7645 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
7646 (skip_hw_watchpoint_tests): Likewise.
7647 (skip_hw_watchpoint_multi_tests): Likewise.
7648
b800ec70
UW
76492011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
7650
7651 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
7652 (skip_hw_watchpoint_tests): Likewise.
7653 (skip_hw_watchpoint_multi_tests): Likewise.
7654 (skip_hw_watchpoint_access_tests): Likewise.
7655
7656 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
7657 * gdb.base/pr11022.exp: Likewise.
7658 * gdb.base/watch-read.exp: Likewise.
7659 * gdb.base/watch_thread_num.exp: Likewise.
7660 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7661 * gdb.base/watchpoint-hw.exp: Likewise.
7662 * gdb.base/watchpoint.exp: Likewise.
7663 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
7664 * gdb.threads/watchthreads-reorder.exp: Likewise.
7665 * gdb.threads/watchthreads.exp: Likewise.
7666 * gdb.threads/watchthreads2.exp: Likewise.
7667
91033e37
JB
76682011-02-21 Joel Brobecker <brobecker@adacore.com>
7669
7670 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
7671 the debugger is unable to find the array bounds.
7672
eeaafae2
JK
76732011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7674
7675 * gdb.cp/typedef-operator.exp: New file.
7676 * gdb.cp/typedef-operator.cc: New file.
7677
e338d953
MS
76782011-02-17 Michael Snyder <msnyder@vmware.com>
7679
7680 * gdb.threads/thread-find.exp: Fix regular expressions.
7681
e67ad678
JB
76822011-02-17 Joel Brobecker <brobecker@adacore.com>
7683
7684 * gdb.ada/packed_array: Expand testcase to test printing of
7685 unconstrained packed array.
7686
93084bca
JB
76872011-02-17 Joel Brobecker <brobecker@adacore.com>
7688
7689 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
7690
a0c78a73
PA
76912011-02-16 Pedro Alves <pedro@codesourcery.com>
7692
f65d5553 7693 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
7694 (main): Initialize it before collecting, and and clear it
7695 afterwards.
f65d5553
PA
7696 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7697 collecting with '{type} addr', where the addr expression is not an
7698 rvalue.
a0c78a73 7699
3dfcbbd2
KW
77002011-02-16 Ken Werner <ken.werner@de.ibm.com>
7701
7702 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
7703 a bool variable. Expect correct OpenCL names for vector types. Use the
7704 uc3 variable name instead of referring to the uchar3 built-in type.
7705 Escape the asterisk at the half pointer test.
7706
08807d5a
PA
77072011-02-16 Pedro Alves <pedro@codesourcery.com>
7708
f65d5553 7709 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
7710 (main): Initialize it before collecting, and and clear it
7711 afterwards.
f65d5553
PA
7712 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7713 collecting overlapping memory ranges.
08807d5a 7714
60f98dde
MS
77152011-02-15 Michael Snyder <msnyder@vmware.com>
7716
7717 * gdb.base/default.exp: Add tests for thread commands.
7718 * gdb.base/help.exp: Add tests for thread commands.
7719 * gdb.threads/thread-find.exp: New test for thread find command.
7720
648cd113
KW
77212011-02-15 Ken Werner <ken.werner@de.ibm.com>
7722
7723 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
7724
494e194e
YQ
77252011-02-15 Yao Qi <yao@codesourcery.com>
7726
7727 PR tdep/12352
7728 * gdb.arch/arm-disp-step.S : New test for str instruction.
7729 * gdb.arch/arm-disp-step.exp : Likewise.
7730
d9492458
TJB
77312011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
7732
7733 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
7734 "vector_register2_vr" test strings. Test the extended floating
7735 point registers (F32~F63).
7736 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
7737 IBM XL C compiler. Make the test program use a register provided
7738 by the compiler for the lxvd2x instruction.
7739
8af8e3bc
PA
77402011-02-14 Pedro Alves <pedro@codesourcery.com>
7741
7742 * gdb.trace/unavailable.cc (class Base, class Middle, class
7743 Derived): New types.
7744 (derived_unavail, derived_partial, derived_whole): New globals.
7745 (virtual_partial): New global.
7746 (virtualp): Point at virtual_partial.
7747 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
7748 related to unavailable vptr.
7749
1b28d0b3
PA
77502011-02-14 Pedro Alves <pedro@codesourcery.com>
7751
7752 * gdb.trace/unavailable.cc (a, b, c): New globals.
7753 (main): Set and clear them.
7754 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
7755 `a' and `c', and check that `b' isn't collected, although `a' and
7756 `c' are.
7757
ec0a52e1
PA
77582011-02-14 Pedro Alves <pedro@codesourcery.com>
7759
7760 * gdb.trace/unavailable.cc (struct Virtual): New.
7761 (virtualp): New global pointer.
7762 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
7763 printing a pointer to an object whose type has a vtable, with
7764 print object on.
7765
24e6bcee
PA
77662011-02-14 Pedro Alves <pedro@codesourcery.com>
7767
7768 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
7769 value repeat handles unavailableness.
7770
39d37385
PA
77712011-02-14 Pedro Alves <pedro@codesourcery.com>
7772
7773 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
7774 tests for building arrays from unavailable values, subscripting
7775 non-memory rvalue unvailable arrays, and accessing fields or
7776 baseclasses of non-lazy unavailable values,
7777 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
7778 struct types.
7779 (g_smallstruct, g_smallstruct_b): New globals.
7780
06d72e16
PA
77812011-02-14 Pedro Alves <pedro@codesourcery.com>
7782
7783 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
7784
bc9a5551
JK
77852011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7786
7787 Fix const/volatile qualifiers of C++ types, PR c++/12328.
7788 * gdb.cp/overload-const.exp: New file.
7789 * gdb.cp/overload-const.cc: New file.
7790
54fcddd0
UW
77912011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7792
7793 * gdb.opencl/callfuncs.cl: New file.
7794 * gdb.opencl/callfuncs.exp: New test.
7795 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
7796
d6dafb7c
UW
77972011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7798
7799 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
7800 when computing result.
7801 * gdb.arch/altivec-abi.exp: Update expected results.
7802
a449c2d8
TJB
78032011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7804
7805 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
7806 * gdb.base/jit.exp: Likewise.
7807 * gdb.base/pie-execl.exp: Likewise.
7808 * gdb.base/solib-nodir.exp: Likewise.
7809 * gdb.base/solib-overlap.exp: Likewise.
7810
764880b7
PA
78112011-02-07 Pedro Alves <pedro@codesourcery.com>
7812
7813 * gdb.trace/collection.c (global_pieces): New.
7814 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
7815 New procedure.
7816 (gdb_trace_collection_test): Call it.
7817
505500db
SW
78182011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
7819
7820 * gdb.python/py-evthreads.c: New file.
7821 * gdb.python/py-evthreads.exp: New file.
7822 * gdb.python/py-events.py: New file.
7823 * gdb.python/py-events.exp: New file.
7824 * gdb.python/py-events.c: New file.
7825
385203ed
DD
78262011-02-04 David Daney <ddaney@caviumnetworks.com>
7827
7828 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
7829
9011945e
AB
78302011-02-03 Andrew Burgess <aburgess@broadcom.com>
7831
7832 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
7833 gdb.base/disasm-end-cu.exp: New test for disassembling over the
7834 boundary between two compilation units.
7835
580688f3
PA
78362011-02-02 Pedro Alves <pedro@codesourcery.com>
7837
7838 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
7839 (Virtual): New structs.
7840 (virtual_o, virtual_middle_b): New globals.
7841 * gdb.cp/virtbase.exp: New tests.
7842
d3f0f853
PP
78432011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7844
7845 * gdb.base/jit.exp: New file.
7846 * gdb.base/jit-main.c: New file.
7847 * gdb.base/jit-solib.c: New file.
7848
b2030fb5
UW
78492011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
7850
7851 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
7852 proceed to initial kernel entry point.
7853 * gdb.opencl/datatypes.exp: Likewise.
7854 * gdb.opencl/operators.exp: Likewise.
7855 * gdb.opencl/vec_comps.exp: Likewise.
7856
2db19d1e
SW
78572011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
7858
7859 * gdb.cp/nsnested.cc: New.
7860 * gdb.cp/nsnested.exp: New.
7861 * gdb.cp/nsnoimports.exp: New.
7862 * gdb.cp/nsnoimports.cc: New.
7863
6b0c4c1f
JB
78642011-01-31 Joel Brobecker <brobecker@adacore.com>
7865
7866 * gdb.base/interact.exp: Add extra tests that verify that
7867 the value of the interactive-mode setting does not change
7868 after the script is sourced.
7869
80b23b6a
JK
78702011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7871
7872 * gdb.cp/noparam.exp: New file.
7873 * gdb.cp/noparam.cc: New file.
7874
ffd5ec24
PA
78752011-01-28 Pedro Alves <pedro@codesourcery.com>
7876
7877 * gdb.trace/tfile.exp: Test that with no traceframe selected,
7878 there's no stack or registers.
7879
a81766d8
TT
78802011-01-26 Tom Tromey <tromey@redhat.com>
7881
7882 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
7883 space before string output. Add test for "set print pretty off"
7884 case.
7885
585fdaa1
PA
78862011-01-25 Pedro Alves <pedro@codesourcery.com>
7887
7888 * gdb.base/frame-args.exp: Adjust.
7889 * gdb.dwarf2/dw2-noloc.exp: Adjust.
7890 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
7891 * gdb.dwarf2/pieces.exp: Adjust.
7892 * gdb.opt/clobbered-registers-O2.exp: Adjust.
7893 * gdb.opt/inline-locals.exp: Adjust.
7894 * gdb.threads/fork-child-threads.exp: Adjust.
7895
d468832a
KW
78962011-01-25 Ken Werner <ken.werner@de.ibm.com>
7897
7898 * gdb.opencl/convs_casts.cl: Move program scope variables into the
7899 OpenCL kernel function. Add a comment as marker. Add address space
7900 qualifiers for the remaining program scope variables.
7901 * gdb.opencl/datatypes.cl: Likewise.
7902 * gdb.opencl/operators.cl: Likewise.
7903 * gdb.opencl/vec_comps.cl: Likewise.
7904 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
7905 Add breakpoint at the marker comment.
7906 * gdb.opencl/datatypes.exp: Likewise.
7907 * gdb.opencl/operators.exp: Likewise.
7908 * gdb.opencl/vec_comps.exp: Likewise.
7909
490f124f
PA
79102011-01-24 Pedro Alves <pedro@codesourcery.com>
7911
7912 * gdb.base/printcmds.c (some_struct): New struct and instance.
7913 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
7914 procedure.
7915 <global scope>: Call it.
7916
6da78614
KW
79172011-01-21 Ken Werner <ken.werner@de.ibm.com>
7918
7919 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
7920 argument to the gdb_compile_opencl_hostapp call.
7921
ec64c9aa
YQ
79222011-01-19 Yao Qi <yao@codesourcery.com>
7923
7924 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
7925 positve list.
7926
810cfdbb
YQ
79272011-01-19 Yao Qi <yao@codesourcery.com>
7928
7929 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
7930 canonical form.
7931 Remove "xscale-*-*"
7932 * gdb.xml/tdesc-regs.exp: Likewise.
7933 * gdb.python/py-section-script.exp: Replace ARM target triplet
7934 with canonical form.
7935 Match arm*-*-symbianelf*.
7936 * gdb.base/dup-sect.exp: Likewise.
7937 * lib/dwarf.exp: New.
7938 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
7939 dwarf2_support.
7940 * gdb.dwarf2/dup-psym.exp: Likewise.
7941 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
7942 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7943 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
7944 * gdb.dwarf2/dw2-basic.exp: Likewise.
7945 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7946 * gdb.dwarf2/dw2-const.exp: Likewise.
7947 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
7948 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
7949 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7950 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
7951 * gdb.dwarf2/dw2-filename.exp: Likewise.
7952 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7953 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
7954 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7955 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7956 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
7957 * gdb.dwarf2/dw2-noloc.exp: Likewise.
7958 * gdb.dwarf2/dw2-op-call.exp: Likewise.
7959 * gdb.dwarf2/dw2-producer.exp: Likewise.
7960 * gdb.dwarf2/dw2-ranges.exp: Likewise.
7961 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
7962 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
7963 * gdb.dwarf2/dw2-strp.exp: Likewise.
7964 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
7965 * gdb.dwarf2/implptr.exp: Likewise.
7966 * gdb.dwarf2/mac-fileno.exp: Likewise.
7967 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
7968 * gdb.dwarf2/pieces.exp: Likewise.
7969 * gdb.dwarf2/pr11465.exp: Likewise.
7970 * gdb.dwarf2/valop.exp: Likewise.
7971 * gdb.dwarf2/watch-notconst.exp: Likewise.
7972 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
7973
4694da01
TT
79742011-01-19 Tom Tromey <tromey@redhat.com>
7975
7976 * gdb.python/py-infthread.exp: Add thread tests.
7977
b075872c
JB
79782011-01-14 Joel Brobecker <brobecker@adacore.com>
7979
7980 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
7981
2c3e6e24
JB
79822011-01-14 Joel Brobecker <brobecker@adacore.com>
7983
7984 * gdb.ada/widewide: New testcase.
7985
de8fa76c
JB
79862011-01-13 Joel Brobecker <brobecker@adacore.com>
7987
7988 * gdb.base/interact.exp: New testcase.
7989
1b05df00
TT
79902011-01-12 Tom Tromey <tromey@redhat.com>
7991
7992 * gdb.mi/gdb2549.exp: Update for error message changes.
7993 * gdb.mi/mi-cli.exp: Likewise.
7994 * gdb.mi/mi-disassemble.exp: Likewise.
7995 * gdb.mi/mi-pthreads.exp: Likewise.
7996 * gdb.mi/mi-regs.exp: Likewise.
7997 * gdb.mi/mi-stack.exp: Likewise.
7998 * gdb.mi/mi-var-block.exp: Likewise.
7999 * gdb.mi/mi-var-cmd.exp: Likewise.
8000 * gdb.mi/mi2-cli.exp: Likewise.
8001 * gdb.mi/mi2-disassemble.exp: Likewise.
8002 * gdb.mi/mi2-pthreads.exp: Likewise.
8003 * gdb.mi/mi2-regs.exp: Likewise.
8004 * gdb.mi/mi2-stack.exp: Likewise.
8005 * gdb.mi/mi2-var-block.exp: Likewise.
8006 * gdb.mi/mi2-var-cmd.exp: Likewise.
8007
c2ff108b
JK
80082011-01-12 Andrew Burgess <aburgess@broadcom.com>
8009 Jan Kratochvil <jan.kratochvil@redhat.com>
8010
8011 PR fortran/11104 and DWARF unbound arrays detection.
8012 * gdb.fortran/multi-dim.exp: New file.
8013 * gdb.fortran/multi-dim.f90: New file.
8014
b716877b
AB
80152011-01-12 Andrew Burgess <aburgess@broadcom.com>
8016
8017 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
8018 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
8019 add new tests for opcode dumping.
8020
6c162d5e
TT
80212011-01-11 Tom Tromey <tromey@redhat.com>
8022
8023 * gdb.python/py-infthread.exp: Load gdb-python.exp.
8024
77b06cd7
TJB
80252010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
8026
8027 Convert hardware watchpoints to use breakpoint_ops.
8028 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
8029 type is not supported.
8030 * gdb.base/foll-fork.exp: Likewise.
8031 * gdb.base/foll-vfork.exp: Likewise.
8032
f39a75d0
PM
80332011-01-10 Phil Muldoon <pmuldoon@redhat.com>
8034
8035 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
8036 Use load_lib gdb-python.exp.
8037 * gdb.python/python.exp: Ditto.
8038 * gdb.python/py-function.exp: Ditto.
8039
fc529d80
AS
80402011-01-09 Andreas Schwab <schwab@linux-m68k.org>
8041
8042 * gdb.threads/tls.exp ("info address me"): Fix expected output.
8043
fb03cb59
JK
80442011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8045
8046 * configure: Regenerate.
8047
d8e22779
TT
80482011-01-06 Tom Tromey <tromey@redhat.com>
8049
8050 * gdb.python/py-frame.exp: Test gdb.newest_frame.
8051
09050809
JB
80522011-01-06 Joel Brobecker <brobecker@adacore.com>
8053
fc529d80
AS
8054 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
8055 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
8056 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8057 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
8058 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
8059 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8060 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
8061 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
8062 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
8063 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
8064 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
8065 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
8066 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
8067 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8068 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8069 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
8070 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
8071 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
8072 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8073 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
8074 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
8075 gdb.ada/uninitialized_vars.exp,
8076 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
8077 Simplify by using clean_restart.
09050809 8078
8ed5dd9e
JB
80792011-01-06 Joel Brobecker <brobecker@adacore.com>
8080
8081 Add marker to be used as anchor for inserting breakpoints.
8082 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
8083 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
8084 Likewise.
8085
8086 Remove uses of gdb_start_cmd.
8087 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
8088 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
8089
8090 Do not run testcase if testing with GDBserver.
8091 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
8092 if testing with GDBserver.
8093
368a124f
JB
80942011-01-06 Joel Brobecker <brobecker@adacore.com>
8095
8096 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
8097 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
8098 copyright header.
8099
44944448
JB
81002011-01-05 Joel Brobecker <brobecker@adacore.com>
8101
8102 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
8103 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
8104 testsuite/gdb.fortran/complex.f,
8105 testsuite/gdb.fortran/derived-type.f90,
8106 testsuite/gdb.fortran/library-module-lib.f90,
8107 testsuite/gdb.fortran/library-module-main.f90,
8108 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
8109 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
8110 Copyright year update.
8111
31886ea6
JB
81122011-01-05 Joel Brobecker <brobecker@adacore.com>
8113
8114 * gdb.base/langs1.f: Add copyright header.
8115
ebedcab5
JK
81162011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8117
8118 * gdb.base/morestack.exp: New file.
8119 * gdb.base/morestack.c: New file.
8120
de1eb2f9
JK
81212011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8122
8123 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
8124
9e87a409
JB
81252010-12-29 Joel Brobecker <brobecker@adacore.com>
8126
8127 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
8128 * gdb.ada/arrayptr.exp: Add test printing that new variable.
8129
720d1a40
JB
81302010-12-29 Joel Brobecker <brobecker@adacore.com>
8131
8132 * gdb.ada/lang_switch.exp: Correct expected parameter value.
8133
a283af87
AS
81342010-12-25 Andreas Schwab <schwab@linux-m68k.org>
8135
5d3d9cba
AS
8136 * gdb.threads/tls.exp: Fix typo.
8137
a283af87
AS
8138 * gdb.threads/thread-specific.exp (get_thread_list): Update.
8139 * gdb.threads/execl.exp: Update.
8140
2a20745c
YQ
81412010-12-23 Yao Qi <yao@codesourcery.com>
8142
8143 * gdb.arch/arm-disp-step.exp: New.
8144 * gdb.arch/arm-disp-step.S: New.
8145
a7658b96
TT
81462010-12-21 Tom Tromey <tromey@redhat.com>
8147
8148 * gdb.threads/execl.exp: Update.
8149 * gdb.threads/linux-dp.exp: Update.
8150 * gdb.threads/manythreads.exp: Update.
8151 * gdb.threads/tls.exp: Update.
8152
5b79abe7
TT
81532010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8154
8155 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
8156 (NextOverThrowDerivates) <resumebpt>: New.
8157 (resumebpt_test): New.
8158 (main): Call resumebpt_test.
8159 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
8160
0914bcdb
SS
81612010-12-12 Stan Shebs <stan@codesourcery.com>
8162
8163 * gdb.trace/tsv.exp: Test print command on trace state variables.
8164
305aeedc
TT
81652010-12-09 Tom Tromey <tromey@redhat.com>
8166
8167 * gdb.base/interp.exp: Add regression test.
8168
186c406b
TT
81692010-12-09 Tom Tromey <tromey@redhat.com>
8170
8171 * gdb.java/jnpe.java: New file.
8172 * gdb.java/jnpe.exp: New file.
8173 * gdb.cp/nextoverthrow.exp: New file.
8174 * gdb.cp/nextoverthrow.cc: New file.
8175
aae1c79a
DE
81762010-12-07 Doug Evans <dje@google.com>
8177
8178 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
8179 of data-directory.
8180 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
8181 updated.
8182 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
8183
60f98dde 81842010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
8185
8186 * gdb.base/callfuncs.exp: Test for skip_float_tests.
8187 * gdb.base/call-sc.exp: Ditto.
8188 * gdb.base/finish.exp: Ditto.
8189 * gdb.base/return.exp: Ditto.
8190 * gdb.base/return2.exp: Ditto.
8191
5fa290c1
DE
81922010-11-30 Doug Evans <dje@google.com>
8193
8194 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
8195 (gdb_expect_list): Fix spelling errors in comments.
8196 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
8197 send_gdb/gdb_expect_list where applicable.
8198 * gdb.base/call-ar-st.exp: Ditto.
8199 * gdb.base/funcargs.exp: Ditto.
8200 * gdb.base/gcore.exp: Ditto.
8201 * gdb.base/page.exp: Ditto.
8202 * gdb.base/sigaltstack.exp: Ditto.
8203 * gdb.base/siginfo.exp: Ditto.
8204 * gdb.base/sigstep.exp: Ditto.
8205 * gdb.base/trace-commands.exp: Ditto.
8206
4e04c971
DE
82072010-11-29 Doug Evans <dje@google.com>
8208
8209 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
8210 printer-name;subprinter-name.
8211
8cf6f0b1
TT
82122010-11-29 Tom Tromey <tromey@redhat.com>
8213
8214 * gdb.dwarf2/implptr.exp: New file.
8215 * gdb.dwarf2/implptr.c: New file.
8216 * gdb.dwarf2/implptr.S: New file.
8217
94b6973e
PM
82182010-11-29 Phil Muldoon <pmuldoon@redhat.com>
8219
fc529d80 8220 PR python/12199
94b6973e
PM
8221
8222 * gdb.python/py-breakpoint.exp: Test the delete method.
8223
8358c15c
JK
82242010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8225
8226 Fix step_resume_breakpoint unsaved during an infcall.
8227 * gdb.base/step-resume-infcall.exp: New file.
8228 * gdb.base/step-resume-infcall.c: New file.
8229
f6df29bc
TJB
82302010-11-24 Edjunior Machado <emachado@br.ibm.com>
8231
8232 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
8233
f2b5a5cf
TJB
82342010-11-24 Edjunior Machado <emachado@br.ibm.com>
8235
8236 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
8237 on ppc64's symbols; "finish" and "return" commands must accept to
8238 show the caller line again as well as the line after.
8239 * gdb.asm/powerpc64.inc: New file.
8240
6b0ecdc2
DE
82412010-11-23 Doug Evans <dje@google.com>
8242
8243 * lib/gdb.exp (gdb_test_sequence): New function.
8244 (gdb_expect_list): Add verbose -log call for each pattern.
8245 * gdb.base/signals.exp (test_handle_all_print): Call it.
8246 Reduce timeout increment from 6 minutes to 1 minute.
8247 * gdb.server/ext-run.exp: Call it.
8248
ea976c60
PM
82492010-11-23 Phil Muldoon <pmuldoon@redhat.com>
8250
f2b5a5cf 8251 PR python/12212
ea976c60
PM
8252
8253 * gdb.python/python.exp: Check that selected_thread raises an
8254 error when no inferior is loaded.
8255
c0efa795
JK
82562010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8257
8258 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
8259 * gdb.dwarf2/dw2-stack-boundary.S: New file.
8260
ec3aa567
JK
82612010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8262
8263 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
8264 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
8265
d8249011
DE
82662010-11-18 Doug Evans <dje@google.com>
8267
8268 * gdb.server/ext-run.exp: Fix intermittent failures.
8269
d4eba7d1
NF
82702010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8271
8272 * gdb.stabs/gdb11479.exp: Use runto_main.
8273
b04c2f88
NF
82742010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8275
8276 * gdb.base/break-entry.exp: Skip if using a stub.
8277
ae9d7ce4
NF
82782010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8279
8280 * gdb.python/py-inferior.exp: Pack values in target endianness.
8281
621c8364
TT
82822010-11-12 Tom Tromey <tromey@redhat.com>
8283
8284 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
8285 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
8286 MemoryError.
8287 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
8288 type.
8289 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
8290 MemoryError.
8291 (test_subscript_regression): Update exception type.
8292
84f4c1fe
PM
82932010-11-11 Phil Muldoon <pmuldoon@redhat.com>
8294
8295 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
8296 breakpoint tests.
8297
a1442452
PA
82982010-11-09 Pedro Alves <pedro@codesourcery.com>
8299
8300 * gdb.base/watchpoint.exp: Test "watch -location" with an
8301 innacessible location.
8302
efd11a33
JK
83032010-11-09 Edjunior Machado <emachado@br.ibm.com>
8304 Luis Machado <luisgpm@br.ibm.com>
8305
8306 * gdb.base/maint.exp: Expect "." prefix.
8307 * gdb.base/nodebug.exp: Expect "." Likewise.
8308 * gdb.base/sepsymtab.exp: Expect "." Likewise.
8309 * gdb.base/watchpoint-cond-gone.exp: Likewise.
8310 * gdb.base/watchpoint.exp: Expect a software watch to be created for
8311 POWER server processors.
8312
aa00efb5
JK
83132010-11-08 Edjunior Machado <emachado@br.ibm.com>
8314 Luis Machado <luisgpm@br.ibm.com>
8315
8316 * gdb.base/break-entry.exp: convert entry point for
8317 ppc64 and expect leading `.' on ppc64's symbols
8318
99e7ae30
DE
83192010-11-05 Doug Evans <dje@google.com>
8320
8321 * gdb.base/help.exp: Update expected output.
b521dba8
DE
8322 * gdb.python/py-param.exp: Delete, contents moved to ...
8323 * gdb.python/py-parameter.exp: ... here. New file.
8324 Add test for gdb.parameter ("directories").
99e7ae30 8325
f4b8a18d
KW
83262010-11-05 Ken Werner <ken.werner@de.ibm.com>
8327
8328 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
8329 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
8330 * configure: Regenerate.
8331 * gdb.opencl/Makefile.in: New File.
8332 * gdb.opencl/datatypes.exp: Likewise.
8333 * gdb.opencl/datatypes.cl: Likewise.
8334 * gdb.opencl/operators.exp: Likewise.
8335 * gdb.opencl/operators.cl: Likewise.
8336 * gdb.opencl/vec_comps.exp: Likewise.
8337 * gdb.opencl/vec_comps.cl: Likewise.
8338 * gdb.opencl/convs_casts.exp: Likewise.
8339 * gdb.opencl/convs_casts.cl: Likewise.
8340 * lib/opencl.exp: Likewise.
8341 * lib/opencl_hostapp.c: Likewise.
8342 * lib/opencl_kernel.cl: Likewise.
8343 * lib/cl_util.c: Likewise.
8344 * lib/cl_util.c: Likewise.
8345 * gdb.base/default.exp (set language): Add "opencl" to the list of
8346 languages.
8347
a9d5ef47
SW
83482010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
8349
8350 * gdb.cp/overload.exp: Added test for inheritance overload.
8351 * gdb.cp/overload.cc: Ditto.
8352 * gdb.cp/oranking.exp: Removed releveant kfails.
8353
03eb1c79
JK
83542010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8355 Joel Brobecker <brobecker@adacore.com>
8356
8357 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
8358 check test_compiler_info.
8359
dbc98a8b
KW
83602010-11-03 Ken Werner <ken.werner@de.ibm.com>
8361
8362 * gdb.base/gnu_vector.exp: Adjust expect messages.
8363
120bd360
KW
83642010-11-03 Ken Werner <ken.werner@de.ibm.com>
8365
8366 * gdb.base/gnu_vector.exp: Add unary operator tests.
8367
c37f7098
KW
83682010-11-03 Ken Werner <ken.werner@de.ibm.com>
8369
8370 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
8371
7b51bc51
DE
83722010-11-02 Doug Evans <dje@google.com>
8373
8374 * gdb.python/py-pp-maint.c: New file.
8375 * gdb.python/py-pp-maint.exp: New file.
8376 * gdb.python/py-pp-maint.py: New file.
8377
50c97f38
TT
83782010-11-02 Tom Tromey <tromey@redhat.com>
8379
8380 * gdb.base/default.exp: Remove "scheme" from language list.
8381
a289b8f6
JK
83822010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8383
8384 Revert:
8385 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8386 * gdb.threads/sigstep-threads.exp: New file.
8387 * gdb.threads/sigstep-threads.c: New file.
8388
cd017491
MS
83892010-10-20 Michael Snyder <msnyder@vmware.com>
8390
8391 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
8392
8e6a5956
UW
83932010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8394
8395 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
8396 Skip test completely if gdb,no_hardware_watchpoints.
8397
2c04da0d
UW
83982010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8399
8400 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
8401 strict, but do not check for any particular function name within libc.
8402
79afc5ef
SW
84032010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8404
8405 * gdb.cp/smartp.exp: New test.
8406 * gdb.cp/smartp.cc : New test.
8407
026ffab7
SW
84082010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8409
8410 * gdb.cp/converts.exp: Test pointer to bool conversion.
8411 Test pointer to long conversion.
8412 * gdb.cp/oranking.exp: Removed relevant kfail.
8413
3a772aa4
TT
84142010-10-18 Tom Tromey <tromey@redhat.com>
8415
8416 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
8417 argument to lazy_string.
8418 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
8419 (pp_ls.to_string): Use it.
8420 * gdb.python/py-prettyprint.c (main): Move declarations to top.
8421 Add "estring2" local.
8422
5fc3827b
JK
84232010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8424
8425 Fix s390x compatibility.
8426 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
8427 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
8428
8aeb23f3
JK
84292010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8430
8431 * gdb.threads/sigstep-threads.exp: New file.
8432 * gdb.threads/sigstep-threads.c: New file.
8433
c1e56572
JK
84342010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8435
8436 * gdb.base/pie-execl.exp: New file.
8437 * gdb.base/pie-execl.c: New file.
8438
92163a10
JK
84392010-10-13 Doug Evans <dje@google.com>
8440 Jan Kratochvil <jan.kratochvil@redhat.com>
8441
8442 PR exp/12117
8443 * gdb.cp/ptype-cv-cp.cc: New file.
8444 * gdb.cp/ptype-cv-cp.exp: New file.
8445
7062b0a0
SW
84462010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
8447
8448 * gdb.cp/converts.cc: New test program.
8449 * gdb.cp/converts.exp: New test.
8450 * gdb.cp/overload.exp: Added test for void* vs int*.
8451 * gdb.cp/overload.exp: Ditto.
8452 * gdb.cp/oranking.exp: Removed related kfail.
8453
0e3509db
DE
84542010-10-13 Doug Evans <dje@google.com>
8455
8456 * lib/gdb-python.exp (gdb_check_python_config): New function.
8457 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
8458 * gdb.python/lib-types.cc: New file.
8459 * gdb.python/lib-types.exp: New file.
8460
8dc78533
JK
84612010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8462
8463 * gdb.python/py-error.exp: New file.
8464 * gdb.python/py-error.py: New file.
8465
93c17e06
JK
84662010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8467
8468 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
8469 gdb_test_multiple.
8470
d8b34041
JK
84712010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8472
8473 * gdb.base/break-interp.exp: Use ldlags for linking flags.
8474 * gdb.base/prelink.exp: Likewise.
8475 * gdb.base/solib-nodir.exp: Likewise.
8476 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
8477 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
8478 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
8479
e0cc584e
UW
84802010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
8481
8482 * break-interp.exp (test_ld): Use two separate gdb_expect statements
8483 for the "info files" test to avoid timeouts on slow machines.
8484
cfc353b1
JK
84852010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8486
8487 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
8488 (main): Make openlib dummy call.
8489
d3d7896d
JK
84902010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8491
8492 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
8493 * break-interp.exp (reach): Move the core body ...
8494 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
8495 (test_ld): Provide always real argument, even to the linker. Replace
8496 dl_main by _dl_debug_state.
8497
5e533c94
JK
84982010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8499
8500 Fix results of prelinked PIEs on ppc*.
8501 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
8502 Accept also DISPLACEMENT "PRESENT".
8503 (main): Replace "ZERO" displacements by "PRESENT".
8504
33540610
SW
85052010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
8506
8507 * gdb.cp/oranking.exp: New test.
8508 * gdb.cp/oranking.cc: New test program.
8509
3bdf2bbd
KW
85102010-10-08 Ken Werner <ken.werner@de.ibm.com>
8511
8512 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
8513 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
8514
2f608a3a
KW
85152010-10-06 Ken Werner <ken.werner@de.ibm.com>
8516
8517 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
8518 lush, lynx) New constant.
8519 * gdb.base/constvars.exp: Test const array types.
8520 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
8521
aa2e2d8d
DE
85222010-10-06 Doug Evans <dje@google.com>
8523
8524 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
8525 of syscall staging area.
8526
2844d6b5
KW
85272010-10-06 Ken Werner <ken.werner@de.ibm.com>
8528
8529 * gdb.base/gnu_vector.c: Add variable c4.
8530 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
8531 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
8532
7d8ac8bb
MR
85332010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
8534
8535 * gdb.arch/altivec-abi.exp: Fix a typo.
8536
84a02e58
MR
85372010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
8538
8539 * lib/mi-support.exp (thread_selected_re): Correct pattern used
8540 to match a thread ID.
8541
b18e6318
JK
85422010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8543
8544 Fix s390x testcase compatibility.
8545 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
8546
a2c09bd0
DE
85472010-10-01 Doug Evans <dje@google.com>
8548
8549 * lib/gdb-python.exp: New file.
8550 * gdb.python/py-block.exp: Use it.
8551 * gdb.python/py-breakpoint.exp: Ditto.
8552 * gdb.python/py-frame.exp: Ditto.
8553 * gdb.python/py-inferior.exp: Ditto.
8554 * gdb.python/py-param.exp: Ditto.
8555 * gdb.python/py-prettyprint.exp: Ditto.
8556 * gdb.python/py-shared.exp: Ditto.
8557 * gdb.python/py-symbol.exp: Ditto.
8558 * gdb.python/py-symtab.exp: Ditto.
8559 * gdb.python/py-type.exp: Ditto.
8560 * gdb.python/py-value.exp: Ditto.
8561 * gdb.python/python.exp: Ditto.
8562
38f12cfc
TT
85632010-09-30 Tom Tromey <tromey@redhat.com>
8564
8565 * gdb.base/anon.exp: New file.
8566 * gdb.base/anon.c: New file.
8567
9ae8282d
TT
85682010-09-30 Tom Tromey <tromey@redhat.com>
8569
8570 * gdb.base/completion.exp: Test completion through anonymous
8571 union.
8572 * gdb.base/break1.c (struct some_struct): Add anonymous union.
8573
e9e07ba6
JK
85742010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8575
8576 Fix printing parameters of inlined functions.
8577 * gdb.dwarf2/dw2-inline-param.exp: New file.
8578 * gdb.dwarf2/dw2-inline-param-main.c: New file.
8579 * gdb.dwarf2/dw2-inline-param.S: New file.
8580
cd2effb2
JK
85812010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8582
8583 PR corefiles/12071.
8584 * gdb.base/corefile.exp (quit with a process, no question: load core)
8585 (quit with a core file): New tests.
8586
bceffbf3
JK
85872010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8588
8589 Fix GDB crash on inferior calls with self-referencing classes.
8590 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
8591 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
8592 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
8593
1736ad11
JK
85942010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8595
8596 Fix lost siginfo_t for inferior calls.
8597 * gdb.base/siginfo-infcall.exp: New file.
8598 * gdb.base/siginfo-infcall.c: New file.
8599
a176ad92
JB
86002010-09-22 Joel Brobecker <brobecker@adacore.com>
8601
8602 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
8603
c2b0a229
JK
86042010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8605
8606 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
8607 New test.
8608 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
8609
e8ae22d1
JB
86102010-09-22 Joel Brobecker <brobecker@adacore.com>
8611
8612 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
8613 type of our const type.
8614
ec322823
SW
86152010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
8616
8617 * gdb.cp/pr12028.cc: New.
8618 * gdb.cp/pr12028.exp: New.
8619
72929c62
JB
86202010-09-22 Joel Brobecker <brobecker@adacore.com>
8621
8622 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
8623
875b4ff5 86242010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 8625 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
8626
8627 PR mi/11407
8628 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
8629 * gdb.mi/dw2-ref-missing-frame-main.c New File.
8630 * gdb.mi/dw2-ref-missing-frame.S New File.
8631 * gdb.mi/dw2-ref-missing-frame.exp New File.
8632
7155d578
TT
86332010-09-14 Tom Tromey <tromey@redhat.com>
8634
8635 PR symtab/8399:
8636 * gdb.threads/tls.exp: Remove kfail. Update expected output.
8637
515ed532
TT
86382010-09-14 Tom Tromey <tromey@redhat.com>
8639
8640 PR exp/11803:
8641 * gdb.threads/tls.exp: Use C++.
8642 (check_thread_local): Use K::another_thread_local.
8643 * gdb.threads/tls.c (class K): New.
8644 (another_thread_local): Now a member of K.
8645 (spin): Update. No longer K&R C.
8646
450ca57c
SW
86472010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
8648
8649 * gdb.cp/koenig.cc: created class for testing member lookup.
8650 * gdb.cp/koenig.exp: Added test for member lookup.
8651
dbd492a3
JK
86522010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8653
8654 Fix false FAILs on sourcetree topdir directory containing "kill".
8655 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
8656 source line matching regexp.
8657
8d4d924b
JK
86582010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8659
8660 * gdb.python/python.exp (set height 0, collect help from uiout)
8661 (verify help to uiout): New tests.
8662
8e64f2a0
JK
86632010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8664
8665 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
8666 is_lp64_target to check 64bit target.
8667
4569eed2
JK
86682010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8669
8670 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
8671 (test_ld) <powerpc64-*>: New.
8672
5e1617b1
DJ
86732010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8674
8675 * gdb.cp/templates.exp (test_template_args): Allow "struct".
8676
c767944b
DJ
86772010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8678
8679 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
8680 (FunctionArg::method): New function.
8681 (empty, arg): New variables.
8682 (main): Call arg.method.
8683 * gdb.cp/templates.exp (test_template_args): New function.
8684 (do_tests): Call it.
8685
27d3a3fc
UW
86862010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8687
8688 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
8689 of "next" to proceed over pthread_exit call.
8690
55b7ce7f
UW
86912010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8692
8693 * gdb.base/maint.exp: Avoid wildcards against potentially very long
8694 "maint print statistics" output to prevent expect timeouts.
8695
809df446
JK
86962010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8697
8698 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
8699 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8700 (test_float_rejected): ... here.
8701 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
8702 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8703 (test_float_rejected): ... here.
8704 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
8705 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8706 (test_float_rejected): ... here.
8707 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
8708 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8709 (test_float_rejected): ... here.
8710
8464be76
DJ
87112010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8712
8713 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
8714 before disabling hardware watchpoints.
8715 (test_inaccessible_watchpoint): Check that hardware watchpoints
8716 are used. Test for watchpoints on a constant address.
8717
14dba4b4
JK
87182010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8719
8720 * gdb.base/ui-redirect.exp: New file.
8721
3f3540e1 87222010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 8723 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
8724
8725 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
8726
0f254bb7
DE
87272010-08-31 Doug Evans <dje@google.com>
8728
8729 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
8730
03f17ccf
TT
87312010-08-30 Tom Tromey <tromey@redhat.com>
8732
8733 PR python/11792:
8734 * gdb.python/py-value.exp (test_subscript_regression): Add
8735 dynamic_type test.
8736
640617ad
DJ
87372010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
8738
8739 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
8740 instead of running to main. Do not test the main function.
8741 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
8742 Add new main.
8743
2ed91d1b
PA
87442010-08-26 Pedro Alves <pedro@codesourcery.com>
8745
8746 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
8747 one test.
8748
673bfd45
DE
87492010-08-24 Doug Evans <dje@google.com>
8750
8751 PR symtab/11942
8752 * gdb.dwarf2/dw4-sig-types.cc: New file.
8753 * gdb.dwarf2/dw4-sig-types.h: New file.
8754 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
8755 * gdb.dwarf2/dw4-sig-types.exp: New file.
8756
f9ffd4bb
TT
87572010-08-23 Tom Tromey <tromey@redhat.com>
8758
8759 PR python/11145:
8760 * gdb.python/py-value.c (Base, Derived): New types.
8761 (base): New global.
8762 * gdb.python/py-value.exp (test_subscript_regression): Add
8763 dynamic_cast test.
8764
d839c8a4
TT
87652010-08-23 Tom Tromey <tromey@redhat.com>
8766
8767 PR python/10676:
8768 * gdb.python/py-type.exp (test_fields): Add tests for type
8769 equality.
8770
702c2711
TT
87712010-08-23 Tom Tromey <tromey@redhat.com>
8772
8773 PR python/11915:
8774 * gdb.python/py-type.exp (test_fields): Add tests for array.
8775
832bafd3
KS
87762010-08-23 Keith Seitz <keiths@redhat.com>
8777
8778 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
8779 have any children. Create a new abbrev for it.
8780 Add missing terminal sequence to .debug_abbrev.
8781
c37bf528
KS
87822010-08-20 Keith Seitz <keiths@redhat.com>
8783
8784 PR symtab/11465:
8785 * gdb.dwarf2/pr11465.exp: New test.
8786 * gdb.dwarf2/pr11465.S: New file.
8787 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
8788 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
8789
4572cbac
TJB
87902010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
8791
8792 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
8793 registers. Update data sets with the new v2_double element in the
8794 VSX register union. Add vector_register3_vr data set for the AltiVec
8795 registers. Use gdb_test_no_output instead of send_gdb.
8796
e7fbb131
PA
87972010-08-19 Pedro Alves <pedro@codesourcery.com>
8798
8799 * gdb.python/py-shared.exp: New file, factored out from
8800 python.exp.
8801 * gdb.python/py-shared.c: New file.
8802 * gdb.python/py-shared-sl.c: New file.
8803 * gdb.python/python-1.c: New file.
8804 * gdb.python/python-sl.c: Delete.
8805 * gdb.python/python.c: Mention python-1.c.
8806 * gdb.python/python.exp: Move shared library tests to
8807 py-shared.exp.
8808 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
8809 (MISCELLANEOUS): New.
8810 (clean mostlyclean): Also remove $MISCELLANEOUS.
8811
d30f5e1f
DE
88122010-08-19 Doug Evans <dje@google.com>
8813
8814 PR exp/11926
8815 * gdb.base/printcmds.exp (test_float_accepted): New function.
8816 Move existing float tests there. Add tests for floats with suffixes.
8817 (test_float_rejected): New function.
8818 * gdb.java/jv-print.exp (test_float_accepted): New function.
8819 (test_float_rejected): New function.
8820 * gdb.objc/print.exp: New file.
8821 * gdb.pascal/print.exp: New file.
8822 * lib/objc.exp: New file.
8823
7b3fd859
PM
88242010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
8825
8826 * gdb.base/default.exp (info set): Avoid full buffer error and force
8827 reading up to final gdb prompt.
8828 (show): Likewise.
8829
c92817ce
TT
88302010-08-18 Tom Tromey <tromey@redhat.com>
8831
8832 PR symtab/11919:
8833 * gdb.base/completion.exp: Add test.
8834
f1208f9e
DE
88352010-08-18 Doug Evans <dje@google.com>
8836
8837 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
8838 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
8839 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
8840 Simplify, early exit if runto_main fails.
8841 * gdb.fortran/exprs.exp: load_lib fortran.exp.
8842 (set_lang_fortran): Moved to lib/fortran.exp.
8843 * gdb.fortran/types.exp: load_lib fortran.exp.
8844 (set_lang_fortran): Moved to lib/fortran.exp.
8845 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
8846 * gdb.java/jprint.exp (set_lang_java): Ditto.
8847 * gdb.java/jv-exp.exp: load_lib java.exp.
8848 If set_lang_java fails, issue a warning instead of failure to be
8849 consistent with other set_lang_foo uses.
8850 (set_lang_java): Moved to lib/java.exp.
8851 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
8852 If set_lang_java fails, issue a warning instead of failure to be
8853 consistent with other set_lang_foo uses.
8854 * gdb.pascal/types.exp: load_lib pascal.exp.
8855 (set_lang_pascal): Moved to lib/pascal.exp.
8856 * lib/fortran.exp: New file.
8857 * lib/java.exp (set_lang_java): New function.
8858 * lib/pascal.exp (set_lang_pascal): New function.
8859
2f06b485
YQ
88602010-08-18 Yao Qi <yao@codesourcery.com
8861
8862 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
8863 func_nofb_start and func_loopfb_start, so that address of functions
8864 is equal to these labels on Thumb.
8865
96e25403
YQ
88662010-08-18 Yao Qi <yao@codesourcery.com>
8867
8868 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
8869 to reflect latest c source file.
8870
36e6adc4
JK
88712010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8872
8873 * gdb.cp/infcall-dlopen.exp: New file.
8874 * gdb.cp/infcall-dlopen.cc: New file.
8875 * gdb.cp/infcall-dlopen-lib.cc: New file.
8876
f431efe5
PA
88772010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8878 Pedro Alves <pedro@codesourcery.com>
8879
8880 PR breakpoints/11371
8881
8882 * gdb.base/watch-cond-infcall.exp: New file.
8883 * gdb.base/watch-cond-infcall.c: New file.
8884
06a64a0b
TT
88852010-08-16 Tom Tromey <tromey@redhat.com>
8886
8887 * gdb.base/help.exp: Update.
8888 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
8889 watchpoint.
8890 (test_watch_location): New proc.
8891 (test_watchpoint_in_big_blob): Delete watchpoint.
8892 * gdb.base/watchpoint.c (func5): New function.
8893 (main): Call it.
8894
70ebf4ed
DE
88952010-08-16 Doug Evans <dje@google.com>
8896
8897 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
8898
ca5c20b6
PM
88992010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8900
8901 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
8902 tests.
8903
7346b668
KW
89042010-08-11 Ken Werner <ken.werner@de.ibm.com>
8905
8906 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
8907 * gdb.base/gnu_vector.c: New File.
8908 * gdb.base/gnu_vector.exp: Likewise.
8909
cb2e07a6
PM
89102010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8911
8912 * gdb.python/python.c: New File.
8913 * gdb.python/python-sl.c: New File.
8914 * gdb.python/python.exp: Test solib_address and decode_line
8915 * functions.
8916
5da1313b
JK
89172010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8918
8919 * gdb.python/python.exp (show height, set height 10)
8920 (verify pagination beforehand, verify pagination beforehand: q)
8921 (gdb.execute does not page, verify pagination afterwards)
8922 (verify pagination afterwards: q): New.
8923
49c3ccf7
DE
89242010-08-02 Doug Evans <dje@google.com>
8925
8926 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
8927 because of an older gcc, change test2
8928 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
8929 to unsupported.
8930
42c0c4f1
KH
89312010-07-30 Kazu Hirata <kazu@codesourcery.com>
8932
8933 * gdb.base/break-always.exp: Do not expect full paths to file
8934 names.
8935 * gdb.base/commands.exp: Likewise.
8936
d3765805
DE
89372010-07-30 Doug Evans <dje@google.com>
8938
c98ee71b
DE
8939 * gdb.cp/temargs.exp: For new tests that require newer gccs,
8940 xfail them when run with older gccs.
8941
fd961404
DE
8942 * lib/gdb.exp (build_executable): Forward "c++" option to
8943 get_compiler_info.
8944
999adef4
DE
8945 * gdb.python/py-type.exp (test_template): Mark as xfail tests
8946 "python print ttype.template_argument(1)" and
8947 "python print isinstance(ttype.template_argument(1), gdb.Value)"
8948 if using gcc 4.4 or earlier.
8949
d3765805
DE
8950 * gdb.base/valgrind-db-attach.exp: Use unique test name for
8951 attach-to-debugger handling.
8952
1276c759
JK
89532010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8954
8955 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
8956 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
8957 (main): Use copyreloc.
8958 * gdb.base/prelink.exp (split debug of executable)
8959 (.dynbss vs. .bss address shift): New tests.
8960
88caa9b9
PA
89612010-07-29 Pedro Alves <pedro@codesourcery.com>
8962
8963 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
8964 in gdb_test_multiple.
8965
c6f2ac43
PA
89662010-07-29 Pedro Alves <pedro@codesourcery.com>
8967
8968 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
8969 environment.
8970
326fd672
TT
89712010-07-28 Tom Tromey <tromey@redhat.com>
8972
8973 PR python/11060:
8974 * gdb.python/py-type.c (Temargs): New template.
8975 (temvar): New variable.
8976 * gdb.python/py-type.exp (test_template): New proc.
8977
3ce3b1ba
PA
89782010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8979
8980 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
8981 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
8982
34eaf542
TT
89832010-07-28 Tom Tromey <tromey@redhat.com>
8984
8985 PR c++/9946:
8986 * gdb.cp/temargs.exp: New file.
8987 * gdb.cp/temargs.cc: New file.
8988
d41b819e
JK
89892010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8990
8991 * gdb.base/help.exp (help disassemble): Update the content.
8992
26ab7092
JK
89932010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8994
8995 * gdb.threads/ia64-sigill.exp: New file.
8996 * gdb.threads/ia64-sigill.c: New file.
8997
5283e9e1
TT
89982010-07-27 Tom Tromey <tromey@redhat.com>
8999
9000 * gdb.opt/inline-cmds.c (ATTR): New define.
9001 (func1): Use it.
9002 (func2): Likewise.
9003 (func3): Likewise.
9004 (outer_inline1): Likewise.
9005 (outer_inline2): Likewise.
9006 * gdb.opt/inline-bt.c (ATTR): New define.
9007 (func1): Use it.
9008 (func2): Likewise.
9009 * gdb.opt/inline-locals.c (ATTR): New define.
9010 (func1): Use it.
9011 (func2): Likewise.
9012
e992ef73
TT
90132010-07-27 Tom Tromey <tromey@redhat.com>
9014
9015 * gdb.stabs/gdb11479.c (hack): New function.
9016 (test): Use it.
9017 (test2): Use it.
9018 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
9019 (int32_search_buf, int64_search_buf): No longer static.
9020 (x): Remove.
9021 * gdb.base/relocate.c (hack): New function.
9022
5374244e
PM
90232010-07-27 Phil Muldoon <pmuldoon@redhat.com>
9024
9025 * gdb.python/py-value.exp (test_inferior_function_call): New function.
9026 * gdb.python/py-value.c (func1): New function.
9027 (func2): Likewise.
9028
a99aee83
CV
90292010-07-26 Corinna Vinschen <vinschen@redhat.com>
9030
9031 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
9032 as not to clash with .data section.
9033
a04ba985
JG
90342010-07-26 Jerome Guitton <guitton@adacore.com>
9035
9036 * gdb.base/code_elim.exp: New file.
9037 * gdb.base/code_elim1.c: New file.
9038 * gdb.base/code_elim2.c: New file.
9039
23bd0f7c
PA
90402010-07-21 Pedro Alves <pedro@codesourcery.com>
9041
9042 PR symtab/11827
9043
9044 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
9045 (some_volatile_enum): New variable.
9046 * gdb.base/printcmds.exp (test_print_enums): New.
9047 <top level>: Call it.
9048
883df6dd
SW
90492010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
9050
9051 * gdb.cp/fpointer.cc: New test.
9052 * gdb.cp/fpointer.exp: New test.
9053
569b05a5
JK
90542010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9055
9056 * gdb.base/solib-nodir.exp: New file.
9057 * lib/gdb.exp (runto): New case for a GDB internal error.
9058
51d7d803
JK
90592010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9060 Ulrich Weigand <uweigand@de.ibm.com>
9061 Tom Tromey <tromey@redhat.com>
9062
9063 * gdb.base/charset-malloc.c: New file.
9064 * gdb.base/charset.c (malloc_stub): New prototype.
9065 (main): Call it instead of malloc itself.
9066 * gdb.base/charset.exp: Use only prepare_for_testing.
9067 (binfile): Remove the variable.
9068
c0edd9ed
JK
90692010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9070
9071 Make core files the process_stratum.
9072 * gdb.base/corefile.exp (run: load core again)
9073 (run: sanity check we see the core file, run: with core)
9074 (run: core file is cleared, attach: load core again)
9075 (attach: sanity check we see the core file, attach: with core)
9076 (attach: core file is cleared): New tests.
9077 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
9078
3cbaedff
KW
90792010-07-14 Ken Werner <ken.werner@de.ibm.com>
9080
9081 * gdb.arch/altivec-abi.exp: New tests.
9082
91158a56
TT
90832010-07-13 Tom Tromey <tromey@redhat.com>
9084
9085 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
9086 (main): Use it.
9087 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
9088
0f5238ed
TT
90892010-07-13 Tom Tromey <tromey@redhat.com>
9090
9091 * gdb.base/label.exp: New file.
9092 * gdb.base/label.c: New file.
9093
add265ae
L
90942010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
9095 H.J. Lu <hongjiu.lu@intel.com>
9096
9097 * lib/gdb.exp (is_ilp32_target): New.
9098 (is_lp64_target): Likewise.
9099
9100 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
9101 target.
9102 * gdb.arch/amd64-disp-step.exp: Likewise.
9103 * gdb.arch/amd64-dword.exp: Likewise.
9104 * gdb.arch/amd64-i386-address.exp: Likewise.
9105 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 9106
add265ae
L
9107 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
9108 target.
9109 * gdb.arch/i386-bp_permanent.exp: Likewise.
9110 * gdb.arch/i386-byte.exp: Likewise.
9111 * gdb.arch/i386-disp-step.exp: Likewise.
9112 * gdb.arch/i386-gnu-cfi.exp: Likewise.
9113 * gdb.arch/i386-prologue.exp: Likewise.
9114 * gdb.arch/i386-size-overlap.exp: Likewise.
9115 * gdb.arch/i386-size.exp: Likewise.
9116 * gdb.arch/i386-sse.exp: Likewise.
9117 * gdb.arch/i386-unwind.exp: Likewise.
9118 * gdb.arch/i386-word.exp: Likewise.
9119
9120 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
9121 test only when building 64-bit executables. Do not hard-code
9122 -m64 option.
9123
2dfb8c17
DE
91242010-07-07 Doug Evans <dje@google.com>
9125
9126 * lib/gdb.exp (gdb_test_list_exact): New function.
9127 * gdb.base/default.exp (show convenience): Call it, add tests for
9128 $_sdata = void, $_thread = 0.
9129
4e5799b6
JK
91302010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9131 Joel Brobecker <brobecker@adacore.com>
9132
9133 Fix re-run of PIE executable, PR shlibs/11776.
9134 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
9135 Remove $displacement_main to match the solib-svr4.c change. New "kill"
9136 and re-"run" of the inferior.
9137
1a219cc7
JK
91382010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9139 Joel Brobecker <brobecker@adacore.com>
9140
9141 Cope with missing /usr/sbin/prelink.
9142 * lib/prelink-support.exp (prelink_no):
9143 <result == 1 && $output is "no such file or directory">: New.
9144 (prelink_yes): Likewise. Return on failed prelink_no.
9145
5e3b36f8
JK
91462010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9147 Joel Brobecker <brobecker@adacore.com>
9148
9149 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
9150 build_executable by build_executable_own_libs. Replace "prelink -R"
9151 execution by a call of prelink_yes. Comment why "prelink -r" needs no
9152 change.
9153 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
9154 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
9155 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
9156 Replace build_executable by build_executable_own_libs's function
9157 build_executable_own_libs.
9158 (prelinkNO): Create new stub to call prelink_no.
9159 (prelinkYES): Create new stub to call prelink_yes.
9160 (test_attach): Rename calls of copy to file_copy.
9161 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
9162 (copy): Move to ...
9163 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
9164 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
9165 * gdb.base/prelink.exp: Disable testcase also for is_remote and
9166 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
9167 special flags by gdb_compile_shlib. Replace second gdb_compile by
9168 build_executable_own_libs. Replace "prelink -R" execution by a call of
9169 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
9170 a second call of prelink_yes. Replace restart commands by
9171 clean_restart.
9172 (prelink): Rename to ...
9173 (seen displacement message): ... this test. Extend its expectation
9174 strictness.
9175
86e4bafc
JK
91762010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9177
9178 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
9179 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
9180 displacement message exactly once.
9181
3cd07d20
JK
91822010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9183 Joel Brobecker <brobecker@adacore.com>
9184
9185 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
9186 its restore after the <$relink_args != ""> loop. new comment.
9187
0a1e94c7
JK
91882010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9189 Joel Brobecker <brobecker@adacore.com>
9190
9191 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
9192 code for it. New variable relink_args.
9193 (prelinkYES): Call prelinkNO.
9194 (test_attach): Accept new parameter relink_args. Re-prelink the binary
9195 in such case. Move the core code to ...
9196 (test_attach_gdb): ... a new function. Send GDB command "file".
9197 Extend expected "Attaching to " string.
9198
2f70bcfb
TT
91992010-07-02 Tom Tromey <tromey@redhat.com>
9200
9201 * gdb.base/bitops.exp: Remove extraneous "pass".
9202
a17ac5b0
TT
92032010-07-02 Ken Werner <ken.werner@de.ibm.com>
9204
9205 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9206
dc10affe
PA
92072010-07-01 Pedro Alves <pedro@codesourcery.com>
9208
d41c0fc8
PA
9209 * gdb.base/help.exp: Adjust expected output.
9210
92112010-07-01 Pedro Alves <pedro@codesourcery.com>
9212
9213 * gdb.base/help.exp: Adjust expected output.
dc10affe 9214
0a600c36
JK
92152010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9216
9217 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
9218 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
9219 c++/11702.
9220
37cc8bfe
JK
92212010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9222 Doug Evans <dje@google.com>
9223
9224 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
9225 add .dynamic entry'.
9226
254e6b9e
DE
92272010-06-29 Doug Evans <dje@google.com>
9228
9229 Test PR c++/11702.
9230 * gdb.cp/m-static.exp: Add testcase.
9231 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
9232
595939de 92332010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
9234 Tom Tromey <tromey@redhat.com>
9235 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
9236
9237 * gdb.python/py-inferior.c: New File.
9238 * gdb.python/py-infthread.c: New File.
9239 * gdb.python/py-inferior.exp: New File.
9240 * gdb.python/py-infthread.exp: New File.
9241
98751a41
JK
92422010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9243
9244 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
9245 (ptype ::C::OtherFileClass typedefs): New.
9246 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
9247 (C::OtherFileClass::cOtherFileClassVar2): New.
9248 (C::OtherFileClass::cOtherFileClassVar_use): Use also
9249 cOtherFileClassVar2.
9250 (C::cOtherFileType2, C::cOtherFileVar2): New.
9251 (C::cOtherFileVar_use): use also cOtherFileVar2.
9252 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
9253
41f62f39
JK
92542010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9255
9256 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
9257 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
9258 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
9259 (print ::C::cOtherFileVar)
9260 (whatis C::OtherFileClass::cOtherFileClassType)
9261 (whatis ::C::OtherFileClass::cOtherFileClassType)
9262 (print C::OtherFileClass::cOtherFileClassVar)
9263 (print ::cOtherFileClassVar)
9264 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
9265 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
9266 trailing content.
9267 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
9268 (C::OtherFileClass::cOtherFileClassVar)
9269 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
9270 (C::cOtherFileVar, C::cOtherFileVar_use): New.
9271
af53d231
JK
92722010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9273
9274 Test PR c++/11703 and PR gdb/1448.
9275 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
9276 gdb/1448.
9277
9655fd1a
JK
92782010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9279
9280 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
9281 (main) <rtti_data>: New.
9282 * gdb.cp/virtbase.exp (print rtti_data): New.
9283
824cc8dd
JK
92842010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9285 Joel Brobecker <brobecker@adacore.com>
9286
9287 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
9288
6036c742
JK
92892010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9290
9291 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
9292
de6a0421
DE
92932010-06-28 Doug Evans <dje@google.com>
9294
9295 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
9296
b2dae948
DE
92972010-06-27 Doug Evans <dje@google.com>
9298
9299 * gdb.cp/m-static.exp: Update expected test output.
9300
0f3bb72e
PH
93012010-06-25 Paul Hilfinger <hilfinger@adacore.com>
9302
889bf7c5
PA
9303 * gdb.gdb/selftest.exp: Adjust expected message for
9304 capturing start-up runtime.
0f3bb72e 9305
bc9f0842
TT
93062010-06-25 Tom Tromey <tromey@redhat.com>
9307
9308 PR python/10808:
9309 * gdb.python/python.exp: Add new tests.
9310
099ef718
SW
93112010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
9312
9313 * gdb.cp/operator.cc: Created an import loop.
9314 * gdb.cp/operator.exp: Added testcase for import loop.
9315
5868a632
JK
93162010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9317
9318 Test PR python/11407.
9319 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
9320 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
9321 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
9322 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
9323 executable_nofb and executable_fb. New variables srcsfile, objsfile,
9324 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
9325 binfile. Call gdb_compile with clean_restart twice.
9326 (func_nofb print, func_nofb backtrace, func_loopfb print)
9327 (func_loopfb backtrace): New.
9328
af76db58
JK
93292010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9330
9331 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
9332 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
9333 by a hand made one.
9334 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
9335 i?86 requirement. Remove variables srcfile and binfile. New variable
9336 sources, executable_nofb and executable_fb. Call prepare_for_testing.
9337
f2c7657e
UW
93382010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9339
9340 * gdb.cell/dwarfaddr.exp: New file.
9341 * gdb.cell/dwarfaddr.S: New file.
9342
628fe4e4
JK
93432010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9344
9345 Test PR 9436.
9346 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
9347
f1421989
HZ
93482010-06-24 Hui Zhu <teawater@gmail.com>
9349
9350 * gdb.base/eval.exp: New file.
9351
d03285ec
UW
93522010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9353
9354 * gdb.cell/fork.exp: New file.
9355 * gdb.cell/fork.c: Likewise.
9356 * gdb.cell/fork-spu.c: Likewise.
9357
41b2c92d
PM
93582010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
9359
9360 * lib/gdb.exp (banned_variables_traced): New global variable.
9361 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
9362 (gdb_init): Use `trace add variable' instead of obsolete
9363 `trace variable'.
9364
d5bc977f
DE
93652010-06-21 Doug Evans <dje@google.com>
9366
9367 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
9368
d2ed6730
UW
93692010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9370
9371 * gdb.arch/spu-ls.exp: New file.
9372 * gdb.arch/spu-ls.c: Likewise.
9373
6aed2dbc
SS
93742010-06-18 Stan Shebs <stan@codesourcery.com>
9375
9376 * gdb.threads/thread-specific.exp: Add tests of $_thread.
9377
e0756905
UW
93782010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9379
9380 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
9381 * gdb.base/watch-cond.exp: Likewise.
9382 * gdb.python/py-breakpoint.exp: Likewise.
9383
d8053d4d
PA
93842010-06-18 Pedro Alves <pedro@codesourcery.com>
9385
9386 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
9387 clean_restart, make sure every test has a distinct message, and
9388 that messages don't include the executable' full path.
9389
81ce510c
DE
93902010-06-17 Doug Evans <dje@google.com>
9391
9392 * gdb.arch/i386-size.exp: Updated expected output for
9393 DISASSEMBLY_OMIT_FNAME.
9394
65d79d4b
SDJ
93952010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9396 Sergio Durigan Junior <sergiodj@redhat.com>
9397
9398 * gdb.base/watch-notconst.c: New file.
9399 * gdb.base/watch-notconst.S: New file.
9400 * gdb.base/watch-notconst2.c: New file.
9401 * gdb.base/watch-notconst2.S: New file.
9402 * gdb.base/watch-notconst.exp: New file.
9403 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
9404 (func4): Add operations on `global_ptr_ptr'.
9405 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
9406 routine to test watchpoints created with a constant expression.
9407 (test_inaccessible_watchpoint): Include tests for watchpoints
9408 created with a constant expression.
9409
df0f4836
KB
94102010-06-14 Kevin Buettner <kevinb@redhat.com>
9411
9412 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9413 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
9414 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
9415 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
9416 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9417 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9418 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
9419 of `_start'.
9420
b769def5
UW
94212010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9422
9423 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
9424 not supported on the target.
9425 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9426 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9427 * gdb.mi/mi-nsintrall.exp: Likewise.
9428 * gdb.mi/mi-nsmoribund.exp: Likewise.
9429 * gdb.mi/mi-nsthrexec.exp: Likewise.
9430
d914c394
SS
94312010-06-11 Stan Shebs <stan@codesourcery.com>
9432
9433 * gdb.base/permissions.exp: New file.
9434
94352010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
9436
9437 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
9438 does not support ELF executable class.
9439
f3ce5b9c
UW
94402010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9441
9442 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
9443
8e46892c
JK
94442010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9445
9446 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
9447 (runto): Catch "The target does not support running in non-stop mode.".
9448
6cc55c64
MS
94492010-06-11 Michael Snyder <msnyder@vmware.com>
9450
9451 * gdb.base/setshow.exp (set language asm): Don't use
9452 gdb_test_no_output, fails on some targets.
9453
caddefa4
UW
94542010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9455
9456 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
9457 * gdb.cp/pr9167.exp: Likewise.
9458
468b1aa7
UW
94592010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9460
9461 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
9462
5c3552dc
UW
94632010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9464
9465 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
9466
02e6fe6a
UW
94672010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9468
9469 * gdb.base/charset.c (main): Make sure malloc gets linked in.
9470
0e03807e
TT
94712010-06-11 Tom Tromey <tromey@redhat.com>
9472
9473 PR gdb/9977, PR exp/11636::
9474 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
9475 (pieces_test_f6): Update expected output.
9476
2bdf28a0
JK
94772010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9478
9479 * gdb.base/moribund-step.exp: New.
9480
f6978de9
MS
94812010-06-08 Michael Snyder <msnyder@vmware.com>
9482
9483 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 9484 * gdb.ada/boolean_expr.exp:
f6978de9
MS
9485 * gdb.ada/frame_args.exp: Ditto.
9486 * gdb.ada/lang_switch.exp: Ditto.
9487 * gdb.ada/ptype_arith_binop.exp: Ditto.
9488 * gdb.ada/ref_param.exp: Ditto.
9489 * gdb.ada/type_coercion.exp:Ditto.
9490
9491 * gdb.asm/asm-source.exp: Ditto.
9492
9493 * gdb.base/attach.exp: Ditto.
9494 * gdb.base/bitfields2.exp: Ditto.
9495 * gdb.base/call-signal-resume.exp: Ditto.
9496 * gdb.base/callfuncs.exp: Ditto.
9497 * gdb.base/commands.exp: Ditto.
9498 * gdb.base/dbx.exp: Ditto.
9499 * gdb.base/default.exp: Ditto.
9500 * gdb.base/dump.exp: Ditto.
9501 * gdb.base/exprs.exp: Ditto.
9502 * gdb.base/freebpcmd.exp: Ditto.
9503 * gdb.base/interrupt.exp: Ditto.
9504 * gdb.base/list.exp: Ditto.
9505 * gdb.base/long_long.exp: Ditto.
9506 * gdb.base/maint.exp: Ditto.
9507 * gdb.base/ptype.exp: Ditto.
9508 * gdb.base/return.exp: Ditto.
9509 * gdb.base/setshow.exp: Ditto.
9510 * gdb.base/sigbpt.exp: Ditto.
9511 * gdb.base/sigrepeat.exp: Ditto.
9512
9513 * gdb.cp/classes.exp: Ditto.
9514
9515 * gdb.dwarf2/dw2-restore.exp: Ditto.
9516
9517 * gdb.gdb/selftest.exp: Ditto.
9518
9519 * gdb.multi/base.exp: Ditto.
9520 * gdb.multi/bkpt-multi-exec.exp: Ditto.
9521
9522 * gdb.python/py-block.exp: Ditto.
9523 * gdb.python/py-prettyprint.exp: Ditto.
9524 * gdb.python/py-template.exp: Ditto.
9525
9526 * gdb.server/ext-attach.exp: Ditto.
9527 * gdb.server/ext-run.exp: Ditto.
9528 * gdb.server/server-mon.exp: Ditto.
9529
9530 * gdb.threads/fork-thread-pending.exp: Ditto.
9531 * gdb.threads/hand-call-in-threads.exp: Ditto.
9532 * gdb.threads/interrupted-hand-call.exp: Ditto.
9533 * gdb.threads/linux-dp.exp: Ditto.
9534 * gdb.threads/manythreads.exp: Ditto.
9535 * gdb.threads/print-threads.exp: Ditto.
9536 * gdb.threads/pthreads.exp: Ditto.
9537 * gdb.threads/schedlock.exp: Ditto.
9538 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9539 * gdb.threads/threadapply.exp: Ditto.
9540
de7ff789
MS
95412010-06-08 Michael Snyder <msnyder@vmware.com>
9542
889bf7c5 9543 * gdb.ada/exec_changed.exp:
de7ff789
MS
9544 Use ".*" instead of "" as wildcard regexp.
9545
9546 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
9547 * gdb.base/call-ar-st.exp: Ditto.
9548 * gdb.base/checkpoint.exp: Ditto.
9549 * gdb.base/default.exp: Ditto.
9550 * gdb.base/dump.exp: Ditto.
9551 * gdb.base/ending-run.exp: Ditto.
9552 * gdb.base/fileio.exp: Ditto.
9553 * gdb.base/miscexprs.exp: Ditto.
9554 * gdb.base/pointers.exp: Ditto.
9555 * gdb.base/readline.exp: Ditto.
9556 * gdb.base/reread.exp: Ditto.
9557 * gdb.base/restore.exp: Ditto.
9558 * gdb.base/shlib-call.exp: Ditto.
9559 * gdb.base/valgrind-db-attach.exp: Ditto.
9560 * gdb.base/volatile.exp: Ditto.
9561 * gdb.base/watchpoints.exp: Ditto.
9562
9563 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
9564
9565 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
9566 * gdb.python/py-value.exp: Ditto.
9567
9568 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
9569 * gdb.trace/circ.exp: Ditto.
9570 * gdb.trace/collection.exp: Ditto.
9571 * gdb.trace/packetlen.exp: Ditto.
9572 * gdb.trace/passc-dyn.exp: Ditto.
9573 * gdb.trace/report.exp: Ditto.
9574 * gdb.trace/tfile.exp: Ditto.
9575 * gdb.trace/tfind.exp: Ditto.
9576 * gdb.trace/while-dyn.exp: Ditto.
9577
3bebe2f2
JK
95782010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9579
9580 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
9581
5c631832
JK
95822010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9583
9584 Test PR 10640.
9585 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
9586
4c3376c8
SW
95872010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
9588
9589 * gdb.cp/koenig.exp: Test for ADL operators.
9590 * gdb.cp/koenig.cc: Added ADL operators.
9591 * gdb.cp/operator.exp: New test.
9592 * gdb.cp/operator.cc: New test.
9593
dc226d5a
MS
95942010-06-04 Michael Snyder <msnyder@vmware.com>
9595
dfb88a23
MS
9596 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
9597 * gdb.base/pending.exp: Ditto.
f7ae76b3 9598
dc226d5a
MS
9599 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
9600
967cf477
DE
96012010-06-04 Doug Evans <dje@google.com>
9602
9603 * gdb.python/py-prettyprint.exp: Add new test for enabled and
9604 disabled printers.
9605 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
9606 (enable_lookup_function): New function.
9607
eb801841
TT
96082010-06-04 Tom Tromey <tromey@redhat.com>
9609
9610 * gdb.python/py-value.exp (test_value_hash): Don't test equality
9611 of hash and id.
9612
38979823
JK
96132010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9614
9615 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
9616 newline.
9617 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
9618 (empty verbose non-noisy clear, empty verbose noisy clear)
9619 (empty non-verbose noisy clear): Likewise.
9620
35ec993f
MS
96212010-06-03 Michael Snyder <msnyder@vmware.com>
9622
9623 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
9624 * gdb.base/display.exp: Ditto.
9625 * gdb.base/find.exp: Ditto.
9626 * gdb.base/ifelse.exp: Ditto.
9627 * gdb.base/multi-forks.exp: Ditto.
9628 * gdb.base/recurse.exp: Ditto.
9629 * gdb.base/setshow.exp: Ditto.
9630 * gdb.base/value-double-free.exp: Ditto.
9631 * gdb.base/watch-vfork.exp: Ditto.
9632 * gdb.base/watch_thread_num.exp: Ditto.
9633 * gdb.base/watchpoint-solib.exp: Ditto.
9634 * gdb.base/watchpoint.exp: Ditto.
9635 * gdb.base/watchpoints.exp: Ditto.
9636
9637 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
9638 * gdb.cp/overload.exp: Ditto.
9639 * gdb.cp/virtfunc.exp: Ditto.
9640
9641 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
9642
889bf7c5 9643 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
9644 Replace gdb_test with gdb_test_no_output.
9645
889bf7c5 9646 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
9647 Replace gdb_test with gdb_test_no_output.
9648 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9649 * gdb.threads/watchthreads.exp: Ditto.
9650 * gdb.threads/watchthreads2.exp: Ditto.
9651
9652 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
9653 * gdb.trace/tfind.exp: Ditto.
9654
c22decce
JB
96552010-06-03 Joel Brobecker <brobecker@adacore.com>
9656
9657 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
9658 successful test if message is the empty string.
9659
fd5700c7
JK
96602010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9661
9662 * gdb.fortran/module.exp (stopped language detection): New test.
9663
f55ee35c
JK
96642010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9665
9666 Support DW_TAG_module as separate namespaces.
9667 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
9668 gdb.fortran/library-module-lib.f90: New.
9669 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
9670 (print i): Remove.
9671 (continue to breakpoint: i-is-1, print var_i value 1)
9672 (continue to breakpoint: i-is-2, print var_i value 2)
9673 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
9674 (print var_d, print var_i value 14, ptype modmany, complete `modm)
9675 (complete `modmany, complete `modmany`, complete `modmany`var)
9676 (show language, setting breakpoint at module): New tests.
9677 * gdb.fortran/module.f90 (module mod): Remove.
9678 (module mod1, module mod2, module modmany, subroutine sub1)
9679 (subroutine sub2, program module): New.
9680
b8e8282f
JK
96812010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9682
9683 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
9684 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
9685 * gdb.cp/anon-union.exp (pass): Rename to ...
9686 (print z 2): ... here.
b8e8282f 9687
019ebafc
MS
96882010-06-02 Michael Snyder <msnyder@vmware.com>
9689
e68d8fd4
MS
9690 * gdb.trace/actions.exp: Use gdb_test_no_output.
9691 * gdb.trace/circ.exp: Ditto.
9692 * gdb.trace/packetlen.exp: Ditto.
9693 * gdb.trace/save-trace.exp: Ditto.
9694 * gdb.trace/tracecmd.exp: Ditto.
9695 * gdb.trace/tsv.exp: Ditto.
9696
12b5d08a
MS
9697 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
9698 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
9699 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9700 * gdb.threads/manythreads.exp: Ditto.
9701 * gdb.threads/print-threads.exp: Ditto.
9702 * gdb.threads/pthreads.exp: Ditto.
9703 * gdb.threads/schedlock.exp: Ditto.
9704 * gdb.threads/staticthreads.exp: Ditto.
9705 * gdb.threads/thread-specific.exp: Ditto.
9706 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9707 * gdb.threads/threadapply.exp: Ditto.
9708 * gdb.threads/watchthreads.exp: Ditto.
9709 * gdb.threads/watchthreads2.exp: Ditto.
9710
89493308
MS
9711 * gdb.python/py-block.exp: Use gdb_test_no_output.
9712 * gdb.python/py-prettyprint.exp: Ditto.
9713 * gdb.python/py-template.exp: Ditto.
9714 * gdb.python/py-value.exp: Ditto.
9715
9716 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
9717 * gdb.reverse/watch-reverse.exp: Ditto.
9718
9719 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
9720 * gdb.server/ext-run.exp: Ditto.
9721
019ebafc
MS
9722 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
9723 * gdb.dwarf2/dw2-compressed.exp: Ditto.
9724 * gdb.dwarf2/dw2-intercu.exp: Ditto.
9725 * gdb.dwarf2/dw2-intermix.exp: Ditto.
9726 * gdb.dwarf2/dw2-producer.exp: Ditto.
9727 * gdb.dwarf2/mac-fileno.exp: Ditto.
9728
9729 * gdb.gdb/observer.exp: Use gdb_test_no_output.
9730 * gdb.gdb/selftest.exp: Ditto.
9731
9732 * gdb.multi/base.exp: Use gdb_test_no_output.
9733
9734 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
9735
3e0ca3a5
JK
97362010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9737
9738 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
9739
9db70545
MS
97402010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
9741
a8d52276
MS
9742 * gdb.cp/class2.exp: Use gdb_test_no_output.
9743 * gdb.cp/classes.exp: Ditto.
9744 * gdb.cp/extern-c.exp: Ditto.
9745 * gdb.cp/inherit.exp: Ditto.
9746 * gdb.cp/maint.exp: Ditto.
9747 * gdb.cp/mb-inline.exp: Ditto.
9748 * gdb.cp/mb-templates.exp: Ditto.
9749 * gdb.cp/method2.exp: Ditto.
9750 * gdb.cp/misc.exp: Ditto.
9751 * gdb.cp/ovldbreak.exp: Ditto.
9752 * gdb.cp/punctuator.exp: Ditto.
9753 * gdb.cp/templates.exp: Ditto.
9754 * gdb.cp/virtbase.exp: Ditto.
9755
889bf7c5 9756 * gdb.threads/attach-stopped.exp:
9db70545 9757 Replace uses of send_gdb / gdb_expect.
889bf7c5 9758 * gdb.threads/attachstop-mt.exp:
9db70545 9759 Replace uses of send_gdb / gdb_expect.
889bf7c5 9760 * gdb.threads/gcore-thread.exp:
9db70545 9761 Replace uses of send_gdb / gdb_expect.
889bf7c5 9762 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
9763 Replace uses of send_gdb / gdb_expect.
9764 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 9765 * gdb.threads/print-threads.exp:
9db70545
MS
9766 Replace uses of send_gdb / gdb_expect.
9767 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
9768 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
9769 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
9770
9771 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
9772 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
9773 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
9774 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
9775 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
9776 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
9777 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
9778 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
9779 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
9780 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
9781 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
9782
359cc68c
JK
97832010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9784
9785 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
9786
7d3fe98e
SW
97872010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
9788
9789 * gdb.cp/koenig.exp: Added new test case.
9790 * gdb.cp/koenig.cc: Ditto.
9791
27d3a1a2
MS
97922010-06-01 Michael Snyder <msnyder@vmware.com>
9793
9794 * gdb.base/arithmet.exp: Use gdb_test_no_output.
9795 * gdb.base/arrayidx.exp: Ditto.
9796 * gdb.base/attach.exp: Ditto.
9797 * gdb.base/auxv.exp: Ditto.
9798 * gdb.base/bigcre.exp: Ditto.
9799 * gdb.base/break-always.exp: Ditto.
9800 * gdb.base/break-interp.exp: Ditto.
9801 * gdb.base/break.exp: Ditto.
9802 * gdb.base/breakpoint-shadow.exp: Ditto.
9803 * gdb.base/call-ar-st.exp: Ditto.
9804 * gdb.base/call-sc.exp: Ditto.
9805 * gdb.base/call-signal-resume.exp: Ditto.
9806 * gdb.base/callfuncs.exp: Ditto.
9807 * gdb.base/catch-syscall.exp: Ditto.
9808 * gdb.base/charset.exp: Ditto.
9809 * gdb.base/code-expr.exp: Ditto.
9810 * gdb.base/commands.exp: Ditto.
9811 * gdb.base/cond-expr.exp: Ditto.
9812 * gdb.base/condbreak.exp: Ditto.
9813 * gdb.base/cursal.exp: Ditto.
9814 * gdb.base/cvexpr.exp: Ditto.
9815 * gdb.base/default.exp: Ditto.
9816 * gdb.base/del.exp: Ditto.
9817 * gdb.base/detach.exp: Ditto.
9818 * gdb.base/display.exp: Ditto.
9819 * gdb.base/ena-dis-br.exp: Ditto.
9820 * gdb.base/eval-skip.exp: Ditto.
9821 * gdb.base/foll-fork.exp: Ditto.
9822 * gdb.base/foll-vfork.exp: Ditto.
9823 * gdb.base/frame-args.exp: Ditto.
9824 * gdb.base/funcargs.exp: Ditto.
9825 * gdb.base/gcore-buffer-overflow.exp: Ditto.
9826 * gdb.base/gdbvars.exp: Ditto.
9827 * gdb.base/help.exp: Ditto.
9828 * gdb.base/ifelse.exp: Ditto.
9829 * gdb.base/included.exp: Ditto.
9830 * gdb.base/list.exp: Ditto.
9831 * gdb.base/macscp.exp: Ditto.
9832 * gdb.base/maint.exp: Ditto.
9833 * gdb.base/multi-fork.exp: Ditto.
9834 * gdb.base/overlays.exp: Ditto.
9835 * gdb.base/page.exp: Ditto.
9836 * gdb.base/pending.exp: Ditto.
9837 * gdb.base/pointers.exp: Ditto.
9838 * gdb.base/pr11022.exp: Ditto.
9839 * gdb.base/prelink.exp: Ditto.
9840 * gdb.base/printcmds.exp: Ditto.
9841 * gdb.base/psymtab.exp: Ditto.
9842 * gdb.base/randomize.exp: Ditto.
9843 * gdb.base/relational.exp: Ditto.
9844 * gdb.base/relocate.exp: Ditto.
9845 * gdb.base/remote.exp: Ditto.
9846 * gdb.base/sepdebug.exp: Ditto.
9847 * gdb.base/set-lang-auto.exp: Ditto.
9848 * gdb.base/setshow.exp: Ditto.
9849 * gdb.base/setvar.exp: Ditto.
9850 * gdb.base/signals.exp: Ditto.
9851 * gdb.base/signull.exp: Ditto.
9852 * gdb.base/sigstep.exp: Ditto.
9853 * gdb.base/sizeof.exp: Ditto.
9854 * gdb.base/solib-disc.exp: Ditto.
9855 * gdb.base/store.exp: Ditto.
9856 * gdb.base/structs.exp: Ditto.
9857 * gdb.base/structs2.exp: Ditto.
9858 * gdb.base/subst.exp: Ditto.
9859 * gdb.base/term.exp: Ditto.
9860 * gdb.base/trace-commands.exp: Ditto.
9861 * gdb.base/unwindonsignal.exp: Ditto.
9862 * gdb.base/valgrind-db-attach.exp: Ditto.
9863 * gdb.base/varargs.exp: Ditto.
9864 * gdb.base/watch-cond.exp: Ditto.
9865 * gdb.base/watch_thread_num.exp: Ditto.
9866 * gdb.base/watchpoint-cond-gone.exp: Ditto.
9867 * gdb.base/watchpoint.exp: Ditto.
9868 * gdb.base/whatis-exp.exp: Ditto.
9869
f8d3bf8f
MS
98702010-06-01 Michael Snyder <msnyder@vmware.com>
9871
9872 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
9873 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
9874 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
9875 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
9876 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
9877 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
9878 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
9879 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
9880 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
9881 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
9882 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
9883 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
9884 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
9885 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
9886 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
9887
3f9e0d32
JK
98882010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9889
9890 * gdb.base/commands.exp (begin commands on watch): Remove excessive
9891 trailing newline.
9892 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
9893 * gdb.java/jmisc.exp (p *args\n): Rename to ...
9894 (p *args): ... here and remove excessive trailing newline.
9895
f629457d
JB
98962010-05-31 Joel Brobecker <brobecker@adacore.com>
9897
9898 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
9899
09eef106
JK
99002010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
9901
9902 Accept the new Linux kernel "t (tracing stop)" string.
9903 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
9904 Update comment.
9905 (state_wait) <T (tracing stop)>: New.
9906 (main): Update the state_wait expect string.
9907
94f31136
PA
99082010-05-28 Pedro Alves <pedro@codesourcery.com>
9909
9910 * limits.c, limits.exp: Delete files.
9911 * Makefile.in (clean mostlyclean): Adjust.
9912 * tracecmd.exp: Adjust.
9913
096554ab
JK
99142010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9915
9916 * gdb.base/tui-layout.exp: New.
9917
27d3a1a2 99182010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 9919
889bf7c5 9920 * gdb.reverse/break-precsave.exp:
bcd2dc50 9921 Replace uses of send_gdb / gdb_expect.
889bf7c5 9922 * gdb.reverse/break-reverse.exp:
bcd2dc50 9923 Replace uses of send_gdb / gdb_expect.
889bf7c5 9924 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 9925 Replace uses of send_gdb / gdb_expect.
889bf7c5 9926 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 9927 Replace uses of send_gdb / gdb_expect.
889bf7c5 9928 * gdb.reverse/finish-precsave.exp:
bcd2dc50 9929 Replace uses of send_gdb / gdb_expect.
889bf7c5 9930 * gdb.reverse/finish-reverse.exp:
bcd2dc50 9931 Replace uses of send_gdb / gdb_expect.
889bf7c5 9932 * gdb.reverse/i386-precsave.exp:
bcd2dc50 9933 Replace uses of send_gdb / gdb_expect.
889bf7c5 9934 * gdb.reverse/i386-reverse.exp:
bcd2dc50 9935 Replace uses of send_gdb / gdb_expect.
889bf7c5 9936 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 9937 Replace uses of send_gdb / gdb_expect.
889bf7c5 9938 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 9939 Replace uses of send_gdb / gdb_expect.
889bf7c5 9940 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 9941 Replace uses of send_gdb / gdb_expect.
889bf7c5 9942 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 9943 Replace uses of send_gdb / gdb_expect.
889bf7c5 9944 * gdb.reverse/machinestate.exp:
bcd2dc50 9945 Replace uses of send_gdb / gdb_expect.
889bf7c5 9946 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 9947 Replace uses of send_gdb / gdb_expect.
889bf7c5 9948 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 9949 Replace uses of send_gdb / gdb_expect.
889bf7c5 9950 * gdb.reverse/solib-precsave.exp:
bcd2dc50 9951 Replace uses of send_gdb / gdb_expect.
889bf7c5 9952 * gdb.reverse/solib-reverse.exp:
bcd2dc50 9953 Replace uses of send_gdb / gdb_expect.
889bf7c5 9954 * gdb.reverse/step-precsave.exp:
bcd2dc50 9955 Replace uses of send_gdb / gdb_expect.
889bf7c5 9956 * gdb.reverse/step-reverse.exp:
bcd2dc50 9957 Replace uses of send_gdb / gdb_expect.
889bf7c5 9958 * gdb.reverse/until-precsave.exp:
bcd2dc50 9959 Replace uses of send_gdb / gdb_expect.
889bf7c5 9960 * gdb.reverse/until-reverse.exp:
bcd2dc50 9961 Replace uses of send_gdb / gdb_expect.
889bf7c5 9962 * gdb.reverse/watch-precsave.exp:
bcd2dc50 9963 Replace uses of send_gdb / gdb_expect.
889bf7c5 9964 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
9965 Replace uses of send_gdb / gdb_expect.
9966
3def43e0
JK
99672010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9968
9969 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
9970 excessive newline.
9971
27d3a1a2 99722010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
9973
9974 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
9975 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
9976 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
9977 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
9978 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
9979 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
9980 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
9981 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
9982 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
9983 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
9984 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
9985 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
9986 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
9987 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
9988 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
9989 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
9990 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
9991 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
9992 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 9993
27d3a1a2 99942010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 9995
22454424
MS
9996 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
9997 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
9998
9999 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
10000 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
10001 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
10002
889bf7c5 10003 * gdb.reverse/consecutive-reverse.exp:
22454424 10004 Replace uses of send_gdb / gdb_expect.
889bf7c5 10005 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
10006 Replace uses of send_gdb / gdb_expect.
10007
10008 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
10009 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
10010 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 10011 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
10012 Replace uses of send_gdb / gdb_expect.
10013 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
10014 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
10015 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
10016 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
10017 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
10018 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
10019 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
10020 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
10021 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
10022
100232010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 10024
22454424 10025 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10026
22454424 10027 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10028
22454424
MS
10029 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
10030 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
10031 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
10032 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
10033 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
10034 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
10035 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
10036 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
10037 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10038
6e5f2c59
TT
100392010-05-25 Tom Tromey <tromey@redhat.com>
10040
10041 * gdb.base/macscp.exp: Add missing space after setup_kfail.
10042
bbc8b958
TT
100432010-05-25 Tom Tromey <tromey@redhat.com>
10044
10045 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
10046 argument order.
10047 * gdb.base/macscp.exp: Fix setup_kfail argument order.
10048 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
10049 order.
10050 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
10051 order.
10052 * gdb.base/call-sc.exp (setup_kfails): Remove.
10053 (setup_compiler_kfails): Remove.
10054 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
10055 argument order.
10056 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
10057 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
10058 (advancei): Fix setup_kfail argument order.
10059 * gdb.base/radix.exp: Fix setup_kfail argument order.
10060 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
10061 order.
10062 * gdb.base/structs.exp (setup_kfails): Remove.
10063 (setup_compiler_kfails): Fix setup_kfail argument order.
10064 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
10065 order.
10066 * gdb.java/jmain.exp: Fix setup_kfail argument order.
10067 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
10068 setup_kfail argument order.
10069 * gdb.cp/overload.exp: Fix setup_kfail argument order.
10070
83d1babf
TT
100712010-05-25 Tom Tromey <tromey@redhat.com>
10072
10073 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
10074
6acb16a2
MS
100752010-05-25 Michael Snyder <msnyder@vmware.com>
10076
10077 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
10078 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
10079 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
10080 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
10081 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
10082 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
10083 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
10084 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
10085 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
10086 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
10087 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
10088 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
10089 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
10090 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
10091 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
10092 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
10093 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
10094 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
10095 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
10096 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
10097 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
10098 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
10099 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
10100 * gdb.base/default.exp: Replace send_gdb with gdb_test.
10101 * gdb.base/define.exp: Replace send_gdb with gdb_test.
10102 * gdb.base/display.exp: Replace send_gdb with gdb_test.
10103 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
10104 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
10105 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
10106 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
10107 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
10108 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
10109 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
10110 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
10111 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
10112 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
10113 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
10114 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
10115 * gdb.base/help.exp: Replace send_gdb with gdb_test.
10116 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
10117 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
10118 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
10119 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
10120 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
10121 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
10122 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
10123 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 10124 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
10125
101262010-05-25 Doug Evans <dje@google.com>
10127
10128 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
10129 gdb.string_to_argv.
ad3986f0 10130
d3b1e874
TT
101312010-05-21 Tom Tromey <tromey@redhat.com>
10132
10133 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
10134 Call it.
10135 * gdb.dwarf2/pieces.S: Update.
10136 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
10137
cb826367
TT
101382010-05-21 Tom Tromey <tromey@redhat.com>
10139
10140 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
10141 Call it.
10142 * gdb.dwarf2/pieces.c (struct C): New.
10143 (f6): New function.
10144 * gdb.dwarf2/pieces.S: Replace.
10145
74de6778
TT
101462010-05-21 Tom Tromey <tromey@redhat.com>
10147
10148 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
10149 Call it.
10150
afd74c5f
TT
101512010-05-21 Tom Tromey <tromey@redhat.com>
10152
10153 * gdb.dwarf2.pieces.exp: New file.
10154 * gdb.dwarf2.pieces.S: New file.
10155 * gdb.dwarf2.pieces.c: New file.
10156
a7b75dfd 101572010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 10158 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
10159
10160 * lib/gdb.exp (gdb_test_no_output): New function.
10161 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
10162 when testing commands that should produce no output.
10163
c81c812a
JB
101642010-05-17 Joel Brobecker <brobecker@adacore.com>
10165
10166 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
10167 parameter that we want to watch being a constant.
10168
0cce5bd9
JB
101692010-05-17 Joel Brobecker <brobecker@adacore.com>
10170
10171 * gdb.ada/cond_lang: New testcase.
10172
47050449
JB
101732010-05-17 Joel Brobecker <brobecker@adacore.com>
10174
10175 * lib/gdb.exp (banned_variables): New variable/constant.
10176 (gdb_init): Add write trace on variables listed in banned_variables.
10177 (gdb_finish): Remove write traces on variables listed in
10178 banned_variables.
10179
77c01586
JB
101802010-05-17 Joel Brobecker <brobecker@adacore.com>
10181
10182 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
10183 * gdb.cp/koenig.exp: Likewise.
10184
88d4aea7
PM
101852010-05-14 Phil Muldoon <pmuldoon@redhat.com>
10186
889bf7c5 10187 PR python/11482
88d4aea7
PM
10188
10189 * gdb.python/py-value.exp (test_value_hash): New function.
10190
f5a010c0
PM
101912010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
10192
10193 PR exp/11530.
10194 * gdb.base/gdb11530.c: New file.
10195 * gdb.base/gdb11530.exp: New file.
10196
8ef4892f
JK
101972010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10198
10199 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
10200 * gdb.dwarf2/dw2-modula2-self-type.S: New.
10201
7322dca9
SW
102022010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
10203
10204 * gdb.cp/koenig.exp: New test.
10205 * gdb.cp/koenig.cc: New test program.
10206
02e7ea18
JB
102072010-05-05 Joel Brobecker <brobecker@adacore.com>
10208
10209 Remove the use of prms_id and bug_id throughout the testsuite.
10210
e1c34c5d
PM
102112010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
10212
10213 PR exp/11349.
10214 * testsuite/gdb.cp/ref-types.exp: Add test to examine
10215 use a reference local variable.
10216
8e1d0c49
JK
102172010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10218
10219 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
10220 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
10221 variable different_dir. Move debugfile into a full directory pathname
10222 under DIFFERENT_DIR.
10223 * lib/gdb.exp (separate_debug_filename): Remove.
10224 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
10225 variable debug_dir and mkdir of it. Update function comments.
10226
e66408ed
PA
102272010-04-29 Pedro Alves <pedro@codesourcery.com>
10228
10229 PR gdb/11557
10230
10231 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
10232 files.
10233
d7b32ed3
PM
102342010-04-29 Phil Muldoon <pmuldoon@redhat.com>
10235
889bf7c5 10236 * gdb.python/py-param.exp: New File.
d7b32ed3 10237
6aecb9c2
JB
102382010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
10239
10240 * gdb.base/default.exp: Fix "set language" test.
10241
bdf92a1c
PM
102422010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
10243
10244 PR breakpoints/11531.
10245 * gdb.base/gdb11531.c: New file.
10246 * gdb.base/gdb11531.exp: New file.
10247
3f172e24
TT
102482010-04-26 Tom Tromey <tromey@redhat.com>
10249
10250 * gdb.base/completion.exp: Add tests for completion and deprecated
10251 commands.
10252
64af4c92
JK
102532010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10254
10255 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
10256 (print /x char_array): Escape curly brackets.
10257
492928e4
JK
102582010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10259
10260 Fix deadlock on looped list of loaded shared objects.
10261 * gdb.base/solib-corrupted.exp: New.
10262
66d09542
DE
102632010-04-23 Doug Evans <dje@google.com>
10264
10265 * gdb.python/py-section-script.c: New file.
10266 * gdb.python/py-section-script.exp: New file.
10267 * gdb.python/py-section-script.py: New file.
10268
8bd10a10
CM
102692010-04-20 Chris Moller <cmoller@redhat.com>
10270
10271 PR 10179
10272
10273 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
10274 * gdb.base/pr10179-a.c:
10275 * gdb.base/pr10179-b.c:
10276 * gdb.base/pr10179.exp: New files.
10277
c0201579
JK
102782010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10279
10280 Fix crashes on dangling display expressions.
10281 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
10282 is SEP.
10283 (lib_flags): Remove the "debug" keyword.
10284 (libsepdebug): New variable for iterating new loop.
10285 (save_pf_prefix): New variable wrapping the loop.
10286 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
10287 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
10288
793b0ff8
PM
102892010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10290
10291 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
10292
097f51f7
PM
102932010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10294
10295 PR stabs/11479.
10296 * gdb.stabs/gdb11479.exp: New file.
10297 * gdb.stabs/gdb11479.c: New file.
10298
9a22f0d0
PM
102992010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10300
10301 * gdb.base/charset.c (Strin16, String32): New variables.
10302 * gdb.base/charset.exp (gdb_test): Test correct display
10303 of 16 or 32 bit strings.
10304
103052010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
10306
10307 PR 9167
10308 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
10309 * gdb.cp/pr9167.cc: New file.
10310 * gdb.cp/pr9167.exp: New file.
10311
10312
6e354e5e
PM
103132010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
10314
10315 PR pascal/11492.
10316 * gdb.pascal/gdb11492.pas: New file.
10317 * gdb.pascal/gdb11492.exp: New file.
10318
be942545
JB
103192010-04-20 Joel Brobecker <brobecker@adacore.com>
10320
1667e6e3 10321 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 10322
0c3acc09
JB
103232010-04-20 Joel Brobecker <brobecker@adacore.com>
10324
10325 * gdb.ada/dyn_loc: New testcase.
10326
ec31cde5
CM
103272010-04-20 Chris Moller <cmoller@redhat.com>
10328
10329 PR 10867
889bf7c5 10330
ec31cde5
CM
10331 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
10332 * gdb.cp/pr10687.cc: New file.
10333 * gdb.cp/pr10687.exp: New file.
10334
10335
ce4b0682
SDJ
103362010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10337 Sergio Durigan Junior <sergiodj@redhat.com>
10338
10339 * gdb.fortran/logical.exp: New testcase.
10340 * gdb.fortran/logical.f90: New file.
10341
3436961f
DE
103422010-04-19 Doug Evans <dje@google.com>
10343
10344 * gdb.base/help.exp (help source): Update expected output.
10345
4d836c09
JK
103462010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10347
10348 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
10349 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
10350 gdb_exit and return.
10351 (executable): New variable.
10352 (binfile): Use it.
10353
6149aea9
PA
103542010-04-19 Pedro Alves <pedro@codesourcery.com>
10355
10356 PR breakpoints/8554.
10357
10358 * gdb.trace/save-trace.exp: Adjust.
10359
ed41462c
L
103602010-04-17 H.J. Lu <hongjiu.lu@intel.com>
10361
10362 PR corefiles/11511
10363 * gdb.arch/system-gcore.exp: New.
10364 * gdb.arch/gcore.c: Likewise.
10365
3f7b2faa
DE
103662010-04-15 Doug Evans <dje@google.com>
10367
fa33c3cd
DE
10368 * gdb.python/py-progspace.c: New file.
10369 * gdb.python/py-progspace.exp: New file.
10370
3f7b2faa
DE
10371 * gdb.base/source.exp: Add tests for "source -s".
10372
79f283fe
PM
103732010-04-14 Phil Muldoon <pmuldoon@redhat.com>
10374
10375 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
10376 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
10377 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
10378 * gdb.python/py-mi.exp: New test for to_string returning None.
10379
fc8eb08a
PM
103802010-04-12 Phil Muldoon <pmuldoon@redhat.com>
10381
10382 * gdb.python/py-breakpoint.c: Make result global.
10383
26e197f6
JK
103842010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10385
10386 Fix non-GNU make compatibility.
10387 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
10388
adc36818
PM
103892010-04-09 Phil Muldoon <pmuldoon@redhat.com>
10390
10391 * gdb.python/py-breakpoint.exp: New File.
10392 * gdb.python/py-breakpoint.C: Ditto.
10393
64e17368
SS
103942010-04-08 Stan Shebs <stan@codesourcery.com>
10395
10396 * gdb.trace/actions.exp: Clear default-collect.
10397 * gdb.trace/save-trace.exp: Clear default-collect.
10398
fff5cc64
PM
103992010-04-08 Phil Muldoon <pmuldoon@redhat.com>
10400
10401 * gdb.python/py-value: Add null string variable.
10402 (test_lazy_string): Test zero length, NULL address lazy
10403 strings.
10404
a055a187
L
104052010-04-07 H.J. Lu <hongjiu.lu@intel.com>
10406
10407 * gdb.arch/i386-avx.c: New.
10408 * gdb.arch/i386-avx.exp: Likewise.
10409
10410 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
10411
96e39866
DE
104122010-04-06 Doug Evans <dje@google.com>
10413
10414 * gdb.base/source-test.gdb: New file.
10415 * gdb.base/source.exp: Test source -v.
10416
5984a431
UW
104172010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10418
10419 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
10420
ec8a089a
PM
104212010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
10422
10423 * gdb.stabs/aout.sed: Convert all backslash to double backslash
10424 within one line, unless it is followed by a double quote.
10425 * gdb.stabs/hppa.sed: Idem.
10426 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
10427 * gdb.stabs/weird.exp: Check for correct parsing of
10428 char and string constants.
ec8a089a
PM
10429 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
10430 in .stabs to .stabx substitution.
10431
fce3c1f0
SS
104322010-04-05 Stan Shebs <stan@codesourcery.com>
10433
10434 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
10435 constant global.
10436 * gdb.trace/tfile.exp: Try to print them.
10437
d77f58be
SS
104382010-04-04 Stan Shebs <stan@codesourcery.com>
10439
10440 * gdb.base/completion.exp: Update for new "info watchpoints".
10441 * gdb.base/default.exp: Ditto.
10442 * gdb.base/help.exp: Ditto.
10443 * gdb.base/watchpoint.exp: Ditto.
10444 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 10445
af54718e
SS
104462010-04-04 Stan Shebs <stan@codesourcery.com>
10447
10448 * gdb.trace/tfile.exp: Sharpen tfind test.
10449
74d1f91e
JK
104502010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10451
10452 * gdb.base/break-entry.exp: New.
10453
eb8e76db 104542010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 10455 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
10456
10457 * gdb.reverse/i386-sse-reverse.exp: New file.
10458 * gdb.reverse/i386-sse-reverse.c: New file.
10459
bf65cad8
PA
104602010-04-02 Pedro Alves <pedro@codesourcery.com>
10461
10462 * gdb.trace/tfind.exp: Adjust expected disassembly output.
10463
fff87407
SS
104642010-04-01 Stan Shebs <stan@codesourcery.com>
10465
10466 * gdb.trace/actions.exp: Tweak expected output.
10467 * gdb.trace/while-stepping.exp: Tweak expected output.
10468
fe01d668
L
104692010-04-01 H.J. Lu <hongjiu.lu@intel.com>
10470
10471 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
10472
86b17b60
PA
104732010-04-01 Pedro Alves <pedro@codesourcery.com>
10474
10475 * gdb.base/commands.exp: Adjust.
10476 * gdb.cp/extern-c.exp: Adjust.
10477
2c58c0a9
PA
104782010-04-01 Pedro Alves <pedro@codesourcery.com>
10479
10480 * gdb.trace/collection.c (local_test_func): Define a local struct,
10481 and instanciate it.
10482
0db9b91c
PA
104832010-04-01 Pedro Alves <pedro@codesourcery.com>
10484
10485 * gdb.trace/collection.exp (gdb_collect_args_test)
10486 (gdb_collect_argarray_test): XFAIL the tests that assume the
10487 argarray argument's elements are collected.
10488
8072405b
JK
104892010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
10490
10491 * gdb.dwarf2/dw2-bad-parameter-type.exp,
10492 gdb.dwarf2/dw2-bad-parameter-type.S: New.
10493
8bf6485c
SS
104942010-03-31 Stan Shebs <stan@codesourcery.com>
10495
10496 * gdb.trace/save-trace.exp: Test save/restore of default-collect
10497 and tracepoint conditionals.
10498 (gdb_verify_tracepoints): Delete unused return.
10499
fd7f724a
KS
105002010-03-26 Keith Seitz <keiths@redhat.com>
10501
10502 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
10503 appear in the output before main.
10504 Remove KFAIL for gdb/2215 aka bz 9320.
10505
8d9e7719
DE
105062010-03-30 Doug Evans <dje@google.com>
10507
0906dd0b
DE
10508 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
10509 by dejagnu.
10510 * gdb.arch/amd64-dword.exp: Ditto.
10511
8d9e7719
DE
10512 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
10513 match.
10514 (break printf): Ditto.
10515
1da644f0
SW
105162010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
10517
10518 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
10519 gcc < 4.4.
10520 * gdb.cp/shadow.exp: Ditto.
10521
a8121990
PA
105222010-03-29 Pedro Alves <pedro@codesourcery.com>
10523
10524 * gdb.trace/collection.exp (run_trace_experiment): Make sure
10525 "tstart" is silent.
10526
6e79d367
PA
105272010-03-29 Pedro Alves <pedro@codesourcery.com>
10528
10529 * gdb.trace/collection.exp (executable): New.
10530 (binfile): Use it.
10531 (fpreg, spreg, pcreg): New.
10532 (test_register): Use gdb_test_multiple. Pass /x to print.
10533 (prepare_for_trace_test): New.
10534 (run_trace_experiment): Use "continue", not gdb_run_cmd.
10535 (gdb_collect_args_test, gdb_collect_argstruct_test)
10536 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
10537 prepare_for_trace_test.
10538 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
10539 fpreg, spreg and pcreg.
10540 (gdb_collect_expression_test, gdb_collect_globals_test): Use
10541 prepare_for_trace_test.
10542 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
10543 try to detect tracing support here. Don't set breakpoints at
10544 `begin' or `end' here.
10545 <global scope>: Use clean_restart. Run to main before checking
10546 for tracing support. Check for for tracing support here.
10547
09248348
JK
105482010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10549
10550 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
10551 " as $displacement" to "seen displacement message".
10552
d350db38
PA
105532010-03-28 Pedro Alves <pedro@codesourcery.com>
10554
10555 * gdb.trace/while-dyn.exp (executable): New variable.
10556 (binfile): Use it.
10557 (test_while_stepping): New function. Move most tests here. Call
10558 it once for each of the while-stepping, stepping and ws aliases.
10559
907af001
UW
105602010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10561
10562 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
10563 that do not provide the tagless_struct type name at all.
10564 (test_print_anon_union): Do not check value of uninitialized
10565 union member. Do not use cp_test_ptype_class, so we can accept
10566 "long" as well as "long int".
10567
610197fd
PA
105682010-03-26 Pedro Alves <pedro@codesourcery.com>
10569
10570 * gdb.trace/tfile.c (tohex, bin2hex): New.
10571 (write_error_trace_file): Hexify error description.
10572
6c28cbf2
SS
105732010-03-25 Stan Shebs <stan@codesourcery.com>
10574
10575 * gdb.trace/tfile.c: Generate an additional trace file, improve
10576 portability.
10577 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
10578 files in a better way.
10579
e62b8c7e
KS
105802010-03-25 Keith Seitz <keiths@redhat.com>
10581
10582 * gdb.java/jprint.exp: XFAIL printing of static class members
10583 because of GCC debuginfo problem.
10584
82ccf5a5
JK
105852010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10586
10587 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
10588
293e2f9e
DJ
105892010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10590
10591 * gdb.base/completion.exp: Allow long instead of long int.
10592 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
10593 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
10594 variable p.
10595 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
10596 * gdb.base/pointers.exp: Allow long instead of long int.
10597 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
10598 * gdb.base/step-line.exp: Allow a directory before the source file name.
10599
95a42b64
TT
106002010-03-24 Tom Tromey <tromey@redhat.com>
10601
10602 PR breakpoints/9352:
10603 * gdb.base/default.exp: Update.
10604 * gdb.base/commands.exp: Update.
10605 * gdb.cp/extern-c.exp: Test setting commands on multiple
10606 breakpoints at once.
10607
2390201f
DJ
106082010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10609
10610 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
10611 if gdb,nosignals.
10612 * gdb.base/watchpoints.c: Do not include unnecessary headers.
10613 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
10614 exited".
10615
8c9a6790
SS
106162010-03-24 Stan Shebs <stan@codesourcery.com>
10617
10618 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
10619
a6c727b2
DJ
106202010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10621
10622 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
10623 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
10624 argument. Handle "short" and "long".
10625 (Top level): Pass overprototyped output for old_fptr and xptr.
10626
4dfd5423
PA
106272010-03-23 Pedro Alves <pedro@codesourcery.com>
10628
10629 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
10630 format strings and add casts to avoid compiler warnings.
10631
106322010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
10633
10634 * lib/trace-support.exp (gdb_trace_setactions):
10635 Don't expect whitespace after ">" prompt.
10636 * gdb.trace/actions.exp: Adjust for output changes.
10637 * gdb.trace/while-stepping.exp: Likewise.
10638
c847d045
JK
106392010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10640
10641 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
10642 and r157645).
10643
5f717f1d
JK
106442010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10645
10646 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
10647 New.
10648
7d6d51d5
DJ
106492010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
10650
10651 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
10652 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
10653
3b11a015
SS
106542010-03-19 Stan Shebs <stan@codesourcery.com>
10655
10656 * gdb.trace/ax.exp: New file.
10657
d7d158ed
DE
106582010-03-19 Doug Evans <dje@google.com>
10659
6bb85cd1
DE
10660 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
10661 output from gcc.
10662
d7d158ed
DE
10663 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
10664 named /usr/sbin/prelink<foo>.
10665
4daf5ac0
SS
106662010-03-18 Stan Shebs <stan@codesourcery.com>
10667
10668 * gdb.trace/circ.exp: Test circular-trace-buffer.
10669 * gdb.trace/tfile.exp: Update tstatus test.
10670
e8d05480
JB
106712010-03-18 Joel Brobecker <brobecker@adacore.com>
10672
10673 * gdb.dwarf2/dw2-anonymous-func.S: New file.
10674 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
10675
441b986a
UW
106762010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10677
10678 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
10679
4247603b
PA
106802010-03-18 Pedro Alves <pedro@codesourcery.com>
10681
10682 * gdb.base/default.exp: Adjust the expected output of the finish
10683 and until commands when the inferior is not being run.
10684
13387711
SW
106852010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
10686
10687 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
10688 * gdb.cp/nsusing.exp: Ditto.
10689
6e31430b
TT
106902010-03-15 Tom Tromey <tromey@redhat.com>
10691
10692 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
10693 * gdb.cp/userdef.cc (operator==): New function.
10694 (main): New locals mem1, mem2.
10695
e2d69cb5
JZ
106962010-03-15 Jie Zhang <jie@codesourcery.com>
10697
10698 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
10699 Declare and use new loadtimeout variable.
10700
f572f0a9
DJ
107012010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
10702
10703 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
10704 Use gdb_load later.
10705
51f4c0b0
PA
107062010-03-14 Pedro Alves <pedro@codesourcery.com>
10707
10708 * gdb.base/solib-disc.c (main): Make format of fprintf a string
10709 literal. Add missing endlines to prints to stderr.
10710
1c809c68
TT
107112010-03-12 Tom Tromey <tromey@redhat.com>
10712
10713 PR c++/9708:
10714 * gdb.cp/m-static.exp: Add regression test.
10715 * gdb.cp/m-static.cc (method): New method.
10716 (main): Call it.
10717
00ae8fef
SW
107182010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
10719
10720 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
10721 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
10722
759f0f0b
PA
107232010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10724
21e24d21
PA
10725 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
10726
107272010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10728
759f0f0b
PA
10729 * lib/gdb.exp (skip_stl_tests): New.
10730 (gdb_compile): Symbian needs -ldl.
10731 (shlib_target_file): New.
10732 (shlib_symbol_file): New.
10733 (gdb_load_shlibs): Use shlib_target_file.
10734 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
10735 * gdb.cp/exception.exp: Use skip_stl_tests.
10736 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
10737 * gdb.cp/try_catch.exp: Use skip_stl_tests.
10738 * gdb.cp/mb-templates.exp: Ditto.
10739 * gdb.base/commands.exp: Relax regexes.
10740 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
10741 shlib_target_file and shlib_symbol_file.
10742 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
10743 sections.
10744 * gdb.base/ending-run.exp: Accept E32Main for symbian.
10745 * gdb.base/solib-disc.exp: Use
10746 shlib_target_file and shlib_symbol_file.
10747 * gdb.base/unload.exp: Don't skip on symbian. Use
10748 shlib_target_file and shlib_symbol_file.
10749 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
10750
6a8f2671 107512010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 10752
6a8f2671
PA
10753 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
10754 * gdb.trace/report.exp: Adjust for x86 and x86_64.
10755 Issue a tfind end before looking for a tracepoint frame.
10756 * gdb.trace/tfind.exp: Adjust tstatus output.
10757 Adjust disassembly output.
10758 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
10759
ccf26247
JK
107602010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10761
10762 * gdb.base/break-interp.exp: Create new displacement parameter value
10763 for the test_ld calls.
10764 (reach): New parameter displacement, verify its content. New push of
10765 pf_prefix "reach-$func:". Import global expect_out.
10766 (test_core): New parameter displacement, verify its content. New push
10767 of pf_prefix "core:". New command "set verbose on". Import global
10768 expect_out.
10769 (test_attach): New parameter displacement, verify its content. New
10770 push of pf_prefix "attach:". New command "set verbose on". Import
10771 global expect_out.
10772 (test_ld): New parameter displacement, pass it to the reach, test_core
10773 and test_attach calls and verify its content in the "ld.so exit" test.
10774 * gdb.base/prelink.exp: Remove gdb_exit and final return.
10775 (prelink): Update expected text, use gdb_test.
10776
e469c7fb
DE
107772010-03-10 Doug Evans <dje@google.com>
10778
10779 * gdb.base/checkpoint.exp: Fix comment.
10780 Lengthen timeout while doing >600 checkpoints test.
10781 Rename duplicate "kill all one" test to keep test names unique.
10782
60e1c644
PA
107832010-03-10 Pedro Alves <pedro@codesourcery.com>
10784
10785 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
10786
cec808ec
KS
107872010-03-08 Keith Seitz <keiths@redhat.com>
10788
889bf7c5
PA
10789 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
10790 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
10791 (dm_type_long): New function.
10792 (dm_type_unsigned_short): New function.
10793 (dm_type_unsigned_long): New function.
10794 (myint): New typedef.
10795 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
10796 long, unsigned shor and long, operator char*, and typedef.
10797 (test_lookup_operator_functions): Add operator char* test.
10798 (test_paddr_operator_functions): Likewise.
10799 (test_paddr_overloaded_functions): Use probe values for
10800 short, long, and unsigned short and long.
10801 (test_paddr_hairy_functions): If the demangler probe detected
10802 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
10803 demangler.
10804 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
10805 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
10806 and "print null_pmf".
10807 Add test "ptype a.*pmf".
10808 * gdb.cp/overload.exp: Allow optional "int" to appear with
10809 "short" and "long".
10810 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
10811 long expect value for men_overload1arg.
10812 Allow "int" to appear with "short" and "long".
10813 When testing "info break", add argument for main (void).
10814 Also allow "int" to appear with "short" and "long".
10815 Ditto with "unsigned" and "long long".
cec808ec
KS
10816 * gdb.java/jmain.exp: Do not enclose methods names in single
10817 quotes.
10818 * gdb.java/jmisc.exp: Likewise.
10819 * gdb.java/jprint.exp: Likewise.
10820 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
10821
10822 From Jan Kratochvil <jan.kratochvil@redhat.com>:
10823 * gdb.cp/exception.exp (backtrace after first throw)
10824 (backtrace after second throw): Allow a namespace before __cxa_throw.
10825 (backtrace after first catch, backtrace after second catch): Allow
10826 a namespace before __cxa_begin_catch.
10827
10828 * gdb.cp/cpexprs.exp: New file.
10829 * gdb.cp/cpexprs.cc: New file.
10830
10831 From Daniel Jacobowitz <dan@codesourcery.com>
10832 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
10833 to use string_to_regexp.
10834 (ctor, dtor): New functions. Use them to match constructor
10835 and destructor function types.
10836 (Top level): Use runto_main.
10837
f870a310
TT
108382010-03-05 Tom Tromey <tromey@redhat.com>
10839
10840 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
10841 gdb.target_charset.
10842 (pp_ns.to_string): Likewise.
10843
0c199f28
KS
108442010-03-04 Keith Seitz <keiths@redhat.com>
10845
10846 * gdb.cp/overload.exp: Test that the filename portion of a linespec
10847 can be quoted. Test that both the filename and function/line
10848 portions can be quoted at the same time.
10849
c7437ca6
PA
108502010-03-04 Pedro Alves <pedro@codesourcery.com>
10851
10852 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
10853
b111b805
DE
108542010-03-03 Doug Evans <dje@google.com>
10855
24486cb7
DE
10856 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
10857 libc contains libpthread.
10858
b111b805
DE
10859 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
10860 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
10861 of gdb_compile. Add another pattern to match android backtrace.
10862
a0e0ef55
TT
108632010-03-03 Tom Tromey <tromey@redhat.com>
10864
10865 PR gdb/11345:
10866 * gdb.base/printcmds.exp (test_printf): Add test.
10867
1ba53b71
L
108682010-03-02 H.J. Lu <hongjiu.lu@intel.com>
10869
10870 * gdb.arch/amd64-byte.exp: New.
10871 * gdb.arch/amd64-dword.exp: Likewise.
10872 * gdb.arch/amd64-pseudo.c: Likewise.
10873 * gdb.arch/amd64-word.exp: Likewise.
10874 * gdb.arch/i386-byte.exp: Likewise.
10875 * gdb.arch/i386-pseudo.c: Likewise.
10876 * gdb.arch/i386-word.exp: Likewise.
10877
f5dff777
DJ
108782010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10879
10880 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
10881 types. Add structreg, bitfields, and flags registers.
10882 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
10883 registers.
10884
90884b2b
L
108852010-03-01 H.J. Lu <hongjiu.lu@intel.com>
10886
10887 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
10888 (load_description): Set architecture if defined.
10889
dc00d89f
PM
108902010-02-28 Phil Muldoon <pmuldoon@redhat.com>
10891
10892 * gdb.python/py-frame.exp: Add read_var block tests.
10893 * gdb.python/py-frame.c (block): New function.
10894
0e095b7e
JK
108952010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10896 Daniel Jacobowitz <dan@codesourcery.com>
10897
10898 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
10899
624f1a65
DM
109002010-02-25 David S. Miller <davem@davemloft.net>
10901
10902 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
10903 fix logic for setting all_syscalls_numbers.
10904
f3e9a817
PM
109052010-02-24 Phil Muldoon <pmuldoon@redhat.com>
10906
10907 * Makefile.in: Add py-block and py-symbol.
10908 * gdb.python/py-symbol.exp: New File.
10909 * gdb.python/py-symtab.exp: New File.
10910 * gdb.python/py-block.exp: New File.
10911 * gdb.python/py-symbol.c: New File.
10912 * gdb.python/py-block.c: New File.
10913
f6bbabf0
PM
109142010-02-24 Phil Muldoon <pmuldoon@redhat.com>
10915
10916 PR python/11314
10917 * lib/gdb.exp (skip_python_tests): New function.
10918 * gdb.python/py-cmd.exp: Use skip_python_tests.
10919 * gdb.python/py-frame.exp: Likewise.
10920 * gdb.python/py-function.exp: Likewise.
10921 * gdb.python/py-prettyprint.exp: Likewise.
10922 * gdb.python/py-template.exp: Likewise.
10923 * gdb.python/py-type.exp: Likewise.
10924 * gdb.python/py-value.exp: Likewise.
10925
85d721b8
PA
109262010-02-22 Pedro Alves <pedro@codesourcery.com>
10927
10928 PR9605
10929
10930 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
10931
48e32051
TT
109322010-02-19 Tom Tromey <tromey@redhat.com>
10933
10934 PR c++/8693, PR c++/9496:
10935 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
10936 regression tests.
10937
ac9c0048
JK
109382010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10939
10940 Fix compatibility with m68k as.
10941 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
10942 Use only /* comments */.
10943
57bb97a4
UW
109442010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10945
10946 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
10947 * configure: Regenerate.
10948
7d1bf85c
DJ
109492010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
10950
10951 * gdb.python/py-type.exp: Check for Python support.
10952
061b5285
PA
109532010-02-17 Pedro Alves <pedro@codesourcery.com>
10954
10955 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
10956 `regsub' syntax available.
10957
f8a8bc2c
PA
109582010-02-17 Pedro Alves <pedro@codesourcery.com>
10959
10960 * gdb.base/shmain.c (main): Remove printf call.
10961 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
10962 * gdb.base/unload.c (main): Make format of fprintf a string
10963 literal. Add missing endlines to prints to stderr.
10964 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
10965
6f451e5e
TT
109662010-02-17 Tom Tromey <tromey@redhat.com>
10967
10968 * gdb.java/jprint.java (jprint.props): New field.
10969 * gdb.java/jprint.exp (set_lang_java): Add regression test.
10970
12d79008
PA
109712010-02-17 Pedro Alves <pedro@codesourcery.com>
10972
ef801a0e 10973 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
10974 available.
10975
d252f7e5
DJ
109762010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10977
10978 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
10979 creation to support remote host testing.
10980
67bdab6c
DJ
109812010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10982
10983 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
10984 Recognize "command not found".
10985
bb391223
DJ
109862010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10987
10988 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
10989 single-stepping.
10990
70362913
DJ
109912010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10992
10993 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
10994 if arguments are not supported.
10995
493f3c00
DJ
109962010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10997
10998 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
10999 be const or non-const.
11000
8034c749
DJ
110012010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11002
11003 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
11004 mi_send_resuming_command to send -exec-continue.
11005
791dfb64
DJ
110062010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11007
11008 * gdb.base/list.exp (test_list_filename_and_function): Add test
11009 with single quotes.
11010 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
11011 matching.
11012 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
11013 Add KFAIL'd tests for PR gdb/11289.
11014
7c5fe868
DJ
110152010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11016
11017 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
11018
fdc498b8
DJ
110192010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11020
11021 * gdb.base/comp-dir/subdir/dummy.txt: New file.
11022 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
11023 a temporary directory.
11024
b519e2a6
DJ
110252010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11026
11027 * gdb.base/charset.exp: Use a single regular expression to match
11028 show host-charset and show target-charset output.
11029
74164c56
JK
110302010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11031
11032 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
11033 "Illegal process-id" expect string more exact.
11034 (attach to digits-starting nonsense is prohibited): New.
11035
701ed6dc
JK
110362010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11037
11038 * gdb.base/prelink.exp (set verbose on): New.
11039
889bf7c5 110402010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
11041
11042 * mi-reverse.exp: New file. Test for reverse option to the
11043 following MI commands: exec-continue, exec-finish, exec-next,
11044 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 11045
dadf0e9c
JB
110462010-02-09 Joel Brobecker <brobecker@adacore.com>
11047
11048 * gdb.ada/ptype_tagged_param: New testcase.
11049
714f19d5
TT
110502010-02-08 Tom Tromey <tromey@redhat.com>
11051
11052 PR c++/8017:
11053 * gdb.cp/overload.exp: Add tests.
11054 * gdb.cp/overload.cc (struct K): New.
11055 (namespace N): New.
11056 (main): Call new functions.
11057 (K::staticoverload): Define.
11058
889bf7c5 110592010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
11060
11061 PR gdb/10728
11062 * gdb.cp/pr10728-x.h: New file.
11063 * gdb.cp/pr10728-x.cc: New file.
11064 * gdb.cp/pr10728-y.cc: New file.
11065 * gdb.cp/pr10728.exp: New file.
11066 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
11067
889bf7c5 110682010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
11069
11070 PR gdb/9067
11071 * gdb.cp/pr9067.exp: New
11072 * gdb.cp/pr9067.cc: New
11073 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
11074
7b356089
JB
110752010-02-08 Joel Brobecker <brobecker@adacore.com>
11076
11077 * lib/gdb.exp (gdb_test_timeout): New global variable.
11078 Set it to timeout if not already set.
11079 (gdb_init): Reset the value of timeout to gdb_test_timeout.
11080
1be00882
DE
110812010-02-05 Doug Evans <dje@google.com>
11082
11083 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
11084 user.
11085
82856980
SW
110862010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
11087
11088 PR c++/7935:
11089 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
11090
1a334831
TT
110912010-02-04 Tom Tromey <tromey@redhat.com>
11092
11093 * gdb.cp/virtbase.exp: Make test case names unique.
11094
9c3c02fd
TT
110952010-02-02 Tom Tromey <tromey@redhat.com>
11096
11097 * gdb.cp/virtbase.exp: Add regression tests.
11098 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
11099 (main): Instantiate RHC.
11100
0cc2414c
TT
111012010-02-02 Tom Tromey <tromey@redhat.com>
11102
11103 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
11104 type-printing change.
11105
edf3d5f3
TT
111062010-02-02 Tom Tromey <tromey@redhat.com>
11107
11108 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
11109 * gdb.cp/virtbase.cc: New file.
11110 * gdb.cp/virtbase.exp: New file.
11111 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
11112
e4b7f41c
JK
111132010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11114
11115 PR libc/11214:
11116 * gdb.threads/current-lwp-dead.c: Include features.h.
11117 (HAS_NOMMU): New.
11118 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
11119
b381ea14
JK
111202010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11121
11122 * gdb.base/symbol-without-target_section.exp,
11123 gdb.base/symbol-without-target_section.c: New.
11124
c593ac0e
DJ
111252010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11126
11127 * gdb.base/bigcore.exp: Reset increased timeout.
11128 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
11129
db25f29d
DJ
111302010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11131
11132 * gdb.base/gcore.exp (capture_command_output): Use
11133 gdb_test_multiple.
11134
f9d67f43
DJ
111352010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11136
11137 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
11138 * gdb.arch/thumb2-it.exp (test_it_break): New function.
11139 (Top level): Call it.
11140
177321bd
DJ
111412010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11142
11143 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
11144
97f2ed50
DJ
111452010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11146
11147 * gdb.base/call-strs.exp, gdb.base/default.exp,
11148 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
11149 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
11150 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
11151 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
11152 gdb.base/watchpoint-solib.exp: Save and restore timeout.
11153 * gdb.base/ending-run.exp: Correct restore of timeout.
11154 * gdb.base/page.exp: Remove unnecessary timeout setting.
11155
e4e2711a
JB
111562010-01-29 Joel Brobecker <brobecker@adacore.com>
11157
11158 * gdb.ada/rec_return: New testcase.
11159
ba581dc1
JB
111602010-01-29 Joel Brobecker <brobecker@adacore.com>
11161
11162 * gdb.ada/call_pn: New testcase.
11163
4ea95be9
DJ
111642010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11165
11166 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
11167 (Top level): Use it to resume.
11168 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
11169 the Thumb mode displaced stepping error as unsupported.
11170
df83a9bf
SW
111712010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
11172
889bf7c5
PA
11173 * gdb.cp/nsusing.exp: Added more tests.
11174 * gdb.cp/nsrecurs.exp: Ditto.
11175 * gdb.cp/nsusing.cc: Added test functions.
11176 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 11177
40b27cdc
JK
111782010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11179
11180 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
11181 absolute directory pathnames in gdb.sum file.
11182
de958931
SW
111832010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
11184
11185 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
11186 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
11187
708ead4e
TT
111882010-01-26 Tom Tromey <tromey@redhat.com>
11189
11190 PR exp/7643:
11191 * gdb.base/printcmds.exp (test_print_string_constants): Remove
11192 setup_kfail.
11193
b14e635e
SW
111942010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
11195
11196 * gdb.cp/nsrecurs.exp: New test.
11197 * gdb.cp/nsrecurs.cc: New test program.
11198 * gdb.cp/nsstress.exp: New test.
11199 * gdb.cp/nsstress.cc: New test program.
11200 * gdb.cp/nsdecl.exp: New test.
11201 * gdb.cp/nsdecl.cc: New test program.
11202
8540c487
SW
112032010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
11204
11205 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
11206 imported into file scope.
11207 Marked test as xfail.
11208 * gdb.cp/namespace-using.cc (marker5): New function.
11209 * gdb.cp/shadow.exp: New test.
11210 * gdb.cp/shadow.cc: New test program.
11211 * gdb.cp/nsimport.exp: New test.
11212 * gdb.cp/nsimport.cc: New test program.
11213
421d5d99
TT
112142010-01-25 Tom Tromey <tromey@redhat.com>
11215
11216 PR gdb/11049:
11217 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
11218 with "set print null-stop on".
11219
691f8dc1
JK
112202010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11221
11222 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
11223 Adjust it for DISASSEMBLY_OMIT_FNAME.
11224
0b92b5bb
TT
112252010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11226
11227 PR symtab/11199:
11228 * gdb.dwarf2/member-ptr-forwardref.exp,
11229 gdb.dwarf2/member-ptr-forwardref.S: New.
11230
23787403
JK
112312010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11232
11233 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
11234 (thread1_func): Protect thread1_tid with thread1_tid_cond by
11235 thread1_tid_mutex. Remove gdbstop_mutex handling.
11236 (thread2_func): Protect thread2_tid with thread2_tid_cond by
11237 thread2_tid_mutex. Remove gdbstop_mutex handling.
11238 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
11239 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
11240 pthread_cond_wait conditionalizations by while loops.
11241
b966cb8a
TT
112422010-01-20 Tom Tromey <tromey@redhat.com>
11243
11244 PR backtrace/10770:
11245 * gdb.dwarf2/pr10770.exp: New file.
11246 * gdb.dwarf2/pr10770.c: New file.
11247 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
11248
fcae584b
VP
112492010-01-20 Vladimir Prus <vladimir@codesourcery.com>
11250
11251 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
11252 that target was removed, and the test always runs native anyway.
11253
a0f49112
JK
112542010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11255
11256 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
11257 gdb.base/watchpoint-cond-gone-stripped.c: New.
11258
ceeb3d5a
TT
112592010-01-19 Tom Tromey <tromey@redhat.com>
11260
11261 PR c++/8000:
11262 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
11263 existing tests.
11264 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
11265 (main): Use AAA::SomeEnum.
11266
dd322c54
JK
112672010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11268
11269 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
11270 (test_ignore_count): Declare line_callme_body global.
11271 (run to breakpoint with ignore count): Use line_callme_body.
11272 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
11273 (set line_main_hello, set line_main_return): Reindent.
11274 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
11275 New.
11276 (continue to callee4): Use line_callee4_body.
11277 (check *stopped from CLI command): Use line_callee4_next.
11278 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
11279 (set line_main_hello, set line_main_return): Reindent.
11280 (set line_callee4_head, set line_callee4_body): New.
11281 (continue to callee4): Use line_callee4_body.
11282
4e8f195d
TT
112832010-01-18 Tom Tromey <tromey@redhat.com>
11284
11285 PR c++/9680:
11286 * gdb.cp/casts.cc: Add new classes and variables.
11287 * gdb.cp/casts.exp: Test new operators.
11288
9e14a9ba
JB
112892010-01-18 Tom Tromey <tromey@redhat.com>
11290 Thiago Jung Bauermann <bauerman@br.ibm.com>
11291
11292 * gdb.python/source2.py: New file.
11293 * gdb.python/source1: New file.
11294 * gdb.python/python.exp: Test "source" command.
11295
00bf0b85
SS
112962010-01-15 Stan Shebs <stan@codesourcery.com>
11297
11298 * gdb.trace/tfile.c: New file.
11299 * gdb.trace/tfile.exp: New file.
889bf7c5 11300
55235ad7
JK
113012010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11302
11303 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
11304
9f2982ff
JK
113052010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11306
11307 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
11308
bbfba9ed
JK
113092010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11310
11311 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
11312 (libfunc): New parameter action. Implement also selectable "sleep".
11313 * gdb.base/break-interp-main.c: Include assert.h.
11314 (libfunc): New parameter action.
11315 (main): New parameters argc and argv. Assert argc. Pass argv.
11316 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
11317 (test_attach): New proc.
11318 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
11319 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
11320
61f0d762
JK
113212010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11322
11323 * gdb.base/break-interp.exp (test_core): New proc.
11324 (test_ld): Call it.
11325
06a6f270
JK
113262010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11327
11328 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
11329 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
11330 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
11331 and gdb_compile_shlib. Use new -Wl compiler options.
11332 (dl bt, main bt): New tests.
11333
51bee8e9
JK
113342010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11335
11336 Support PIEs with no symfile_objfile.
11337 * gdb.base/break-interp.exp: New argument at the test_ld calls.
11338 (test_ld): New parameter trynosym.
11339 (test_ld <$trynosym>): New block.
11340
b8040f19
JK
113412010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11342
11343 * gdb.base/break-interp.exp: New file.
11344
be759fcf
PM
113452010-01-13 Phil Muldoon <pmuldoon@redhat.com>
11346
11347 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
11348 * gdb.python/py-prettyprint.py (pp_ls): New printer.
11349 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
11350 test.
11351 * gdb.python/py-prettyprint.c: Define lazystring test structure.
11352 * gdb.python/py-mi.exp: Add lazy string test.
11353
dc146f7c
VP
113542010-01-13 Vladimir Prus <vladimir@codesourcery.com>
11355
11356 * lib/mi-support.exp (mi_check_thread_states): Handle
11357 core number in thread listing.
11358
b4ba55a1
JB
113592010-01-12 Joel Brobecker <brobecker@adacore.com>
11360
11361 * gdb.base/maint.exp: Adjust the expected output for the
11362 "maint print type" test. Use gdb_test_multiple instead of
11363 gdb_sent/gdb_expect.
11364
08e24bd4
DE
113652010-01-11 Doug Evans <dje@google.com>
11366
6496a609
DE
11367 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
11368 from gdbserver_download. All callers updated.
11369
08e24bd4
DE
11370 * gdb.server/ext-run.exp: "info os processes" requires xml support.
11371
b5cfddf5
JK
113722010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11373
11374 Implement binary numbers parsing.
11375 * gdb.base/printcmds.exp (test_integer_literals_accepted)
11376 (test_integer_literals_rejected): New binary tests.
11377
3725885a
RW
113782010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11379
11380 * gdb.cell/configure: Regenerate.
11381
37aeb5df
JK
113822010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11383
11384 * gdb.base/corefile.exp: Move the core finding block out and call it as
11385 core_find, new variable $corefile, replace corefile by $corefile and
11386 [file tail $corefile] for usage vs. test names resp.
11387 * lib/gdb.exp (core_find): Move it as a new function here. New
11388 parameter binfile and deletefiles. New variable $destcore. Pre-delete
11389 $destcore. Return "" on error.
11390
d521f563
JK
113912010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11392
11393 Workaround PR binutils/10802.
11394 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
11395 (twice).
11396
28f24826
DJ
113972010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11398
11399 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
11400
2de75e71
JB
114012010-01-08 Joel Brobecker <brobecker@adacore.com>
11402
11403 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
11404 call, to avoid interruption.
11405
fe00719b 114062010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
11407
11408 * gdb.stabs/weird.def (args93): New.
11409
d0ef5df8
DE
114102010-01-07 Doug Evans <dje@google.com>
11411
11412 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
11413
3a08d52f
TT
114142010-01-07 Tom Tromey <tromey@redhat.com>
11415
11416 * gdb.base/source.exp: Use correct line number.
11417
7a697b8d
SS
114182010-01-05 Stan Shebs <stan@codesourcery.com>
11419
11420 * gdb.trace/tracecmd.exp: Test ftrace.
11421
7803799a
UW
114222010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11423
11424 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
11425
c54eabfa
JK
114262010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11427
11428 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
11429 "uint_for_mi_testing".
11430
02e7ef19
JB
114312010-01-01 Joel Brobecker <brobecker@adacore.com>
11432
11433 Test indented comment in file being sourced.
11434 * gdb.base/commands.exp: Test indented comment in file being sourced.
11435
abd775ce
JB
114362010-01-01 Joel Brobecker <brobecker@adacore.com>
11437
11438 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
11439 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
11440 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
11441 notice.
11442
79b55b82
JB
114432010-01-01 Joel Brobecker <brobecker@adacore.com>
11444
11445 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
11446 notice.
11447
8997583e
JK
114482010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11449
11450 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
11451 missing $after_stopped and comma (,) expectation.
11452
6da95a67
SS
114532009-12-31 Stan Shebs <stan@codesourcery.com>
11454
11455 * gdb.trace/actions.exp: Test teval action.
889bf7c5 11456
218d2fc6
TJB
114572009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11458
11459 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
11460 (top level): Call test_watchpoint_in_big_blob.
11461 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
11462 watchpoints.
11463 (func3): Write to buf.
11464
236f1d4d
SS
114652009-12-29 Stan Shebs <stan@codesourcery.com>
11466
11467 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 11468
f61e138d
SS
114692009-12-28 Stan Shebs <stan@codesourcery.com>
11470
11471 * gdb.trace/tsv.exp: New file.
11472 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 11473
0219b378
DJ
114742009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
11475
11476 * gdb.base/find.c (main): Reference search buffers.
11477 * gdb.base/included.c (main): Reference integer.
11478 * gdb.base/ptype.c (charfoo): Declare.
11479 (intfoo): Call charfoo.
11480 * gdb.base/scope0.c (useitp): New function.
11481 (usestatics): Use useitp.
11482 (useit): Add a type for val.
11483 * gdb.base/scope1.c (useit1): Take a pointer argument.
11484 (usestatics1): Update calls to useit1.
11485 * gdb.cp/call-c.cc: Declare foo.
11486 (main): Call foo.
11487 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
11488 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
11489 (main): Call C::ensureRefs and ensureOtherRefs.
11490 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
11491 variables.
11492 (ensureOtherRefs): New function.
11493 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
11494 * gdb.cp/templates.cc (main): Call t5i.value.
11495
3f78692f
JK
114962009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11497
11498 Fix compatibility with G++-4.5.
11499 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
11500 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
11501 (uncaught return): Remove.
11502
429374b8
JK
115032009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11504 Phil Muldoon <pmuldoon@redhat.com>
11505
11506 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
11507 (bp_location13, bp_location14, bp_location17, bp_location18)
11508 (marker3_proto, marker4_proto): New variables.
11509 (breakpoint info): Update output.
11510 (run until breakpoint at marker3, run until breakpoint at marker4): New
11511 tests.
11512
859825b8
JK
115132009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11514
11515 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
11516 Replace the printf call of Y by provided "y-set-1" label. New block
11517 for the second shared library.
11518 * gdb.base/unload.exp: Compile also the second library, call
11519 gdb_load_shlibs also for it. Use now gdb_breakpoint.
11520 (single pending breakpoint info): Rename to ...
11521 (pending breakpoint info before run): ... this extended test.
11522 (libfile2, libname2, libsrcfile2, libsrc2)
11523 (lib_sl2): New variables.
11524 (exec_opts): Set also SHLIB_NAME2.
11525 (pending breakpoint info on first run at shrfunc1)
11526 (pending breakpoint info on second run at shrfunc1)
11527 (pending breakpoint info on second run at shrfunc2)
11528 (print y from libfile, print y from libfile2): New tests.
11529 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
11530 * gdb.base/unloadshr2.c: New.
11531
e6a386cd
HZ
115322009-12-22 Hui Zhu <teawater@gmail.com>
11533
11534 * gdb.reverse/sigall-reverse.exp: Adjust.
11535
9e19b45e
VP
115362009-12-21 Vladimir Prus <vladimir@codesourcery.com>
11537
11538 PR gdb/10884
11539
11540 * gdb.mi/var-cmd.c (do_bitfield_tests): New
11541 (main): Call do_bitfield_tests.
aacf5b1e 11542 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 11543
d53a7b30
JB
115442009-12-20 Joel Brobecker <brobecker@adacore.com>
11545
11546 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
11547 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
11548 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
11549 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
11550 gdb.modula2/unbounded1.c: Update copyright header.
11551
191ca0a1
CM
115522009-12-10 Chris Moller <moller@mollerware.com>
11553
11554 PR gdb/9399
11555 * gdb.cp/virtfunc2.exp: New tests
11556 * gdb.cp/virtfunc2.cc: New tests
11557 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
11558
0fa6cf1b
MS
115592009-12-10 Oza Pawandeep (paawan1982@yahoo.com
11560
11561 * gdb.reverse/i387-env-reverse.c: New file.
11562 * gdb.reverse/i387-env-reverse.exp: New file.
11563 * gdb.reverse/i387-stack-reverse.c: New file.
11564 * gdb.reverse/i387-stack-reverse.exp: New file.
11565
361ae042
PM
115662009-12-08 Phil Muldoon <pmuldoon@redhat.com>
11567
11568 * gdb.python/py-type.exp (test_range): New test.
11569
bfd31e71
PM
115702009-12-03 Phil Muldoon <pmuldoon@redhat.com>
11571
11572 PR python/10805
11573
11574 * gdb.python/py-type.exp: New file.
11575 * gdb.python/py-type.c: New file.
11576 * Makefile.in: Add py-type.
11577
57a1d736
TT
115782009-12-03 Tom Tromey <tromey@redhat.com>
11579
11580 * gdb.python/py-value.exp (test_parse_and_eval): New
11581 function.
11582
1f3b5d1b
PP
115832009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11584
11585 PR gdb/11022
11586
11587 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
11588 * gdb.base/pr11022.c: New test.
11589
8b7dbdc9
JK
115902009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11591
11592 Fix spurious false FAILs.
11593 * gdb.base/structs.c (chartest): New.
11594 (main): Fill-in chartest.
11595 * gdb.base/structs.exp (anychar_re, first): New.
11596 (start_structs_test): Import global anychar_re and first.
11597 New gdb_test call "set print elements 300; ${testfile}"
11598 (start_structs_test <$first>): New block.
11599 (any): Import global anychar_re. New variable ac. Use ${ac}.
11600
6a53b2ec
JK
116012009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11602
11603 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
11604
d7167b4c
JK
116052009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11606
11607 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
11608 Force $srcfile file.
11609 * gdb.base/foll-fork.c (callee): Comment out the printf call.
11610
b1798462
UW
116112009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11612
11613 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
11614 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
11615 * gdb.threads/watchthreads-reorder.exp: Likewise.
11616
b6199126
DJ
116172009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
11618
11619 PR gdb/8704
11620
11621 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
11622 "if", and "thread". Correct matching in the previous test.
11623
b22a0510
DJ
116242009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
11625
11626 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
11627
930636d2
MS
116282009-11-23 Michael Snyder <msnyder@vmware.com>
11629
11630 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
11631 * gdb.reverse-watch-precsave.exp: Ditto.
11632
21a0512e
PP
116332009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
11634
11635 * gdb.asm/asm-source.exp: Adjust.
11636 * gdb.base/help.exp: Adjust.
889bf7c5 11637
fc30d5e0
PA
116382009-11-22 Pedro Alves <pedro@codesourcery.com>
11639
11640 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
11641 (do_syscall_tests_without_xml): Set data-directory to
11642 /the/path/to/nowhere.
11643
f6bc2008
PA
116442009-11-21 Pedro Alves <pedro@codesourcery.com>
11645
11646 * gdb.threads/local-watch-wrong-thread.c,
11647 gdb.threads/local-watch-wrong-thread.exp: New files.
11648
8c2fb5de
PA
116492009-11-21 Pedro Alves <pedro@codesourcery.com>
11650
11651 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
11652 assume new `regsub' syntax available.
11653
ebec9a0f
PA
116542009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11655
a79d3c27
JK
11656 * gdb.base/watchpoint-hw-hit-once.exp,
11657 gdb.base/watchpoint-hw-hit-once.c: New.
11658
116592009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11660
11661 * gdb.threads/watchthreads-reorder.exp,
11662 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 11663
276a961b
MK
116642009-11-17 Nathan Sidwell <nathan@codesourcery.com>
11665
11666 * gdb.xml/tdesc-regs.exp: Use for m68k.
11667
4867c1fb
PA
116682009-11-15 Pedro Alves <pedro@codesourcery.com>
11669
11670 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
11671
f6838f81
DJ
116722009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11673
11674 * lib/gdb.exp (current_target_name): New procedure.
11675 (gdb_wrapper_target): New variable.
11676 (gdb_wrapper_init): Set gdb_wrapper_target.
11677 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
11678 wrapper.
11679
4ac4dd3f
DJ
116802009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11681
11682 * gdb.base/remote.exp: Delete the slowest load test.
11683 Do not load with fixed packet sizes.
11684
a7881759
DJ
116852009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11686
11687 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
11688
97a5b505
DJ
116892009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11690
11691 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
11692 srcfile when setting a breakpoint.
11693
d3e1fc54
DJ
116942009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
11695
11696 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
11697 macros.
11698
7cbcbded
DJ
116992009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11700
11701 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
11702 to be in memory.
11703 * gdb.base/display.c (force_mem): New.
11704 (do_loops): Use it. Add breakpoint comments.
11705 (do_vars): Add a breakpoint comment.
11706 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
11707 line numbers.
11708
bdea3a92
NF
117092009-11-13 Nathan Froyd <froydnj@codesourcery.com>
11710
11711 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
11712 instead of a bare "run".
11713
269f82e5
PP
117142009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11715
11716 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 11717
a69b7d9d
DJ
117182009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11719
11720 * lib/cell.exp (skip_cell_tests): Clean up test files before
11721 returning.
11722
b598bfda
DJ
117232009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11724
11725 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
11726 and the breakpoint menu. Do not call perror if a prompt is seen.
11727 Consume the following GDB prompt.
11728 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
11729 * gdb.cp/namespace.exp: Use gdb_test.
11730 * gdb.cp/templates.exp: Use gdb_test.
11731 (test_template_breakpoints): Use gdb_test_multiple.
11732
87728fa0
DJ
117332009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11734
11735 * gdb.base/break1.c (struct some_struct, values): Move earlier.
11736 (marker4): Reference values.
11737
b67c692f
DJ
117382009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11739
11740 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
11741 is missing.
11742
f0df251a
DJ
117432009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11744
11745 * gdb.base/break.c (need_malloc): New.
11746 * gdb.base/constvars.c (main): Reference crass and crisp.
11747 * gdb.base/gdb1821.c (main): Reference bar.
11748 * gdb.cp/gdb1355.cc (main): Reference s1.
11749 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
11750 (main): Call them.
11751 * gdb.cp/hang2.cc (dummy2): Define.
11752 * gdb.cp/hang3.cc (dummy3): Define.
11753 * gdb.cp/m-data.cc (main): Reference shadow.
11754
bdf7534a
NF
117552009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11756 Nathan Froyd <froydnj@codesourcery.com>
11757
11758 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
11759 remote host.
11760
f24fce77
NF
117612009-11-12 Nathan Froyd <froydnj@codesourcery.com>
11762
11763 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
11764 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
11765 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11766 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11767 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11768 * gdb.dwarf2/dw2-producer.exp: Likewise.
11769 * gdb.dwarf2/mac-fileno.exp: Likewise.
11770 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
11771 py-prettyprint.py to the remote host.
11772 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
11773
40f0318e
KS
117742009-11-11 Keith Seitz <keiths@redhat.com>
11775
11776 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
11777 use it instead of "Foo".
11778 * gdb.cp/classes.exp (do_tests): Add a test to access
11779 a method through a typedef'd class name.
11780
f3d9f7fb
NF
117812009-11-11 Nathan Froyd <froydnj@codesourcery.com>
11782
11783 * gdb.base/long_long.exp: Permit leading zeros on floating-point
11784 exponents.
11785 * gdb.base/pointers.exp: Likewise.
11786 * gdb.cp/ref-types.exp: Likewise.
11787
a4216f37
KS
117882009-11-11 Keith Seitz <keiths@redhat.com>
11789
11790 * gdb.cp/cplusfuncs.cc (class foo): Add operators
11791 new[] and delete[].
11792 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
11793 "void".
11794 (probe_demangler): Remove all single-quoting of
11795 method and variable names.
11796 (info_func_regexp): Remove the word "void" from any
11797 occurrence of "(void)".
11798 (print_addr_2): Remove all single-quoting of
11799 method names.
11800 (print_addr_2_kfail): Likewise.
11801 (print_addr): Single-quote C function names before
11802 passing to print_addr_2.
11803 (test_paddr_operator_functions): Remove single-quoting
11804 for method names.
11805 Add tests for operator new[] and operator delete[].
11806
9b14d7aa
JK
118072009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11808
11809 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
11810
85feb311
KS
118112009-11-09 Keith Seitz <keiths@redhat.com>
11812
11813 * gdb.cp/overload.exp: Add tests for resolving overloaded
11814 methods in expression parsing/evaluation.
11815
fa335448
DJ
118162009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
11817
11818 * lib/gdb.exp (default_gdb_version): Use --version instead of
11819 --command.
11820
ec3c07fc
NS
118212009-11-10 Nathan Sidwell <nathan@codesourcery.com>
11822
11823 * lib/gdb.exp (gdb_compile_test): New.
11824 (skip_ada_tests, skip_java_tests): New.
11825 (gdb_compile): Use gdb_compile_test for f77.
11826 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
11827 * lib/java.exp (compile_java_from_source): Remove runtests check,
11828 use gdb_compile_test to record result.
11829 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
11830 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
11831 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
11832 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
11833 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
11834 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
11835 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
11836 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
11837 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
11838 adjust gdb_compile invocations.
11839
b8b4e42b
JK
118402009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11841
11842 * Makefile.in (abs_builddir): New.
11843 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
11844 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
11845 `$(abs_builddir)/site.exp'.
11846
f8b7eaf3
DJ
118472009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
11848
11849 * config/m68k-emc.exp, lib/emc-support.exp,
11850 gdb.trace/gdb_c_test.c: Delete.
11851 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
11852 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
11853 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
11854 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
11855 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
11856 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
11857 casing for m68k-*-elf.
11858
c4187697
NS
118592009-11-03 Pedro Alves <pedro@codesourcery.com>
11860
11861 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
11862 * gdb.arch/i386-prologue.exp: Likewise.
11863 * gdb.arch/i386-unwind.exp: Likewise.
11864
db16b772
DJ
118652009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11866
11867 * lib/gdb.exp (gdb_expect): Fix timeout typo.
11868
bcf71277
DJ
118692009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11870
11871 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
11872
0105cee2
DJ
118732009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11874
11875 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
11876
24ddea62
JK
118772009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11878
11879 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
11880
287ccc17
JK
118812009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11882
11883 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
11884 * gdb.base/sepdebug2.c: New file.
11885
08bca259 118862009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
11887
11888 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
11889 the modified warnings for catch syscall. Verify if GDB was compiled
11890 with support for lib expat, and choose which tests to run depending
11891 on this.
11892
5d4e2b76
VP
118932009-10-30 Vladimir Prus <vladimir@codesourcery.com>
11894
11895 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
11896 that composite commands are parsed OK. And also test
11897 that breakpoint commands do work.
11898
240e538a
MS
118992009-10-23 Michael Snyder <msnyder@vmware.com>
11900
11901 gdb.reverse/consecutive-precsave.exp: Change expect pattern
11902 to allow for new disassembly style.
11903
9c419145
PP
119042009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11905
11906 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 11907
02506ff1
MS
119082009-10-22 Michael Snyder <msnyder@vmware.com>
11909
11910 * gdb.reverse/break-precsave.exp: New test.
11911 * gdb.reverse/consecutive-precsave.exp: Ditto.
11912 * gdb.reverse/finish-precsave.exp: Ditto.
11913 * gdb.reverse/i386-precsave.exp: Ditto.
11914 * gdb.reverse/machinestate-precsave.exp: Ditto.
11915 * gdb.reverse/sigall-precsave.exp: Ditto.
11916 * gdb.reverse/solilb-precsave.exp: Ditto.
11917 * gdb.reverse/step-precsave.exp: Ditto.
11918 * gdb.reverse/until-precsave.exp: Ditto.
11919 * gdb.reverse/watch-precsave.exp: Ditto.
11920
4cf866a3
MS
119212009-10-22 Michael Snyder <msnyder@vmware.com>
11922
11923 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
11924 for gdb_expect. Adjust one test's expect strings for the new
11925 format of disassemble.
11926 * gdb.reverse/finish-reverse.exp: Delete 'return'.
11927 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
11928 gdb_test_multiple.
11929 * gdb.reverse/step-reverse.exp: Delete 'return'.
11930 * gdb.reverse/until-reverse.exp: Delete blank lines.
11931 * gdb.reverse/watch-reverse.exp: Delete blank lines.
11932
2b28d209
PP
119332009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
11934
11935 * gdb.base/consecutive.exp: Adjust.
11936 * gdb.base/display.exp: Likewise.
11937 * gdb.base/pc-fp.exp: Likewise.
11938 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 11939
33b9c32b
MS
119402009-10-19 Michael Snyder <msnyder@vmware.com>
11941
11942 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
11943 * gdb.reverse/finish-reverse.c: Ditto.
11944 * gdb.reverse/sigall-reverse.c: Ditto.
11945 * gdb.reverse/solib-reverse.c: Ditto.
11946 * gdb.reverse/step-reverse.c: Ditto.
11947 * gdb.reverse/watch-reverse.c: Ditto.
11948
6c95b8df
PA
119492009-10-19 Pedro Alves <pedro@codesourcery.com>
11950 Stan Shebs <stan@codesourcery.com>
11951
11952 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
11953 * gdb.base/foll-exec.exp: Adjust to expect a process id before
11954 "Executing new program".
11955 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
11956 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
11957 left listed after having been killed.
11958 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
11959 * gdb.base/maint.exp: Adjust test.
11960
11961 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
11962 * gdb.multi/Makefile.in: New.
11963 * gdb.multi/base.exp: New.
11964 * gdb.multi/goodbye.c: New.
11965 * gdb.multi/hangout.c: New.
11966 * gdb.multi/hello.c: New.
11967 * gdb.multi/bkpt-multi-exec.c: New.
11968 * gdb.multi/bkpt-multi-exec.exp: New.
11969 * gdb.multi/crashme.c: New.
11970
279017b7
TG
119712009-10-13 Tristan Gingold <gingold@adacore.com>
11972
11973 * gdb.base/sepdebug.exp: Check debug info are found.
11974
0413d738
PA
119752009-10-08 Pedro Alves <pedro@codesourcery.com>
11976
11977 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
11978 bits.
11979
c628eecc
JK
119802009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11981
11982 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
11983
38af1bfe
JB
119842009-10-07 Joel Brobecker <brobecker@adacore.com>
11985
11986 * gdb.base/watchpoints.c: Add copyright header. Reformat one
11987 of the comments.
11988
2b0adecd
PM
119892009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
11990
11991 * gdb.base/annota1.exp: Remove obsolete match_max increase.
11992 * gdb.base/annota3.exp: Idem.
11993 * gdb.base/maint.exp: Idem.
11994
8d417781
PM
119952009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
11996
889bf7c5 11997 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
11998 to default.
11999
bb61102d
PM
120002009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
12001
889bf7c5 12002 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
12003 mingw and cygwin targets.
12004
ace5c364
PM
120052009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
12006 Pedro Alves <pedro@codesourcery.com>
12007
889bf7c5 12008 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
12009 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
12010
c2d494a0
PM
120112009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12012
e1b52ce2
PM
12013 * gdb.base/shr1.c: Use %p in format string.
12014 * gdb.base/unload.c: Avoid warning in fprintf.
12015 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 12016
209f53f5
PM
120172009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12018
12019 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
12020 long type.
12021 (test_unlink): Correct printf string.
12022 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
12023 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
12024
8172766a
JK
120252009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12026
12027 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
12028 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
12029 * gdb.arch/ia64-breakpoint-shadow.S: New file.
12030
0f73703c
UW
120312009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12032
12033 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
12034 * gdb.objc/nondebug.exp: Likewise.
12035
b32306ca
UW
120362009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12037
12038 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
12039 target_info setting.
12040
12041 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
12042 that detect new threads during "info threads".
12043
0057022f
UW
120442009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12045
12046 * gdb.threads/manythreads.c (main): Increase thread stack size
12047 to 2*PTHREAD_STACK_MIN.
12048 * gdb.threads/multi-create.c (main): Likewise.
12049 (create_function): Likewise.
12050
f29c0325
UW
120512009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12052
12053 * gdb.base/dump.exp: Pass difference of pointer types instead
12054 of integer types as offset to restore in intarr3.srec case.
12055
fcb34849
UW
120562009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12057
12058 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
12059
d5142e3b
UW
120602009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12061
12062 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
12063
087b74b2 120642009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 12065
087b74b2
PM
12066 New test for two watchpoints, with disabling of
12067 the first inserted.
12068 * testsuite/gdb.base/watchpoints.c: New file.
12069 * testsuite/gdb.base/watchpoints.exp: New file.
12070
96c07c5b
TT
120712009-09-25 Tom Tromey <tromey@redhat.com>
12072
12073 * gdb.base/charset.exp: Test utf-16 strings with Python.
12074
b8899f2b
TT
120752009-09-25 Tom Tromey <tromey@redhat.com>
12076
12077 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
12078 UCS-4.
12079 * gdb.base/charset.c (utf_32_string): Rename.
12080 (init_utf32): Rename.
12081 (main): Update.
12082
329719ec
TT
120832009-09-22 Tom Tromey <tromey@redhat.com>
12084
12085 * gdb.python/py-function.exp: Add regression tests.
12086
11ef0d76
KS
120872009-09-21 Keith Seitz <keiths@redhat.com>
12088
12089 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
12090 with invalid operator.
12091
3fe8f3b3
KS
120922009-09-21 Keith Seitz <keiths@redhat.com>
12093
12094 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
12095 and destructor using typedef name of class.
12096 * gdb.cp/classes.cc (class Base1): Add a destructor.
12097 (base1): New typedef.
12098 (use_methods): Instanitate an object of type base1.
12099 * gdb.cp/templates.exp (test_template_typedef): New procedure.
12100 (do_tests): Call test_template_typedef.
12101 * gdb.cp/templates.cc (Baz::~Baz): New method.
12102 (intBazOne): New typedef.
12103 (main): Instantiate intBazOne.
12104
7a9fe101
PM
121052009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12106
12107 PR python/10633
12108
12109 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
12110 Function.
12111 (run_lang_tests): Add print elements test.
12112
2e4d963f
PM
121132009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12114
12115 * gdb.python/py-value.exp (test_subscript_regression): New
12116 function. Test for invalid subscripts.
12117 * gdb.python/py-value.c (main): Add test array, and pointer to it.
12118 (ptr_ref): New function.
12119
ec7e75e7
PP
121202009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12121
12122 * gdb.base/default.exp: Fix "show convenience".
12123
0cc7d26f
TT
121242009-09-15 Tom Tromey <tromey@redhat.com>
12125
12126 * lib/mi-support.exp (mi_create_varobj): Update.
12127 (mi_create_floating_varobj): Likewise.
12128 (mi_create_dynamic_varobj): New proc.
12129 (mi_varobj_update): Update.
12130 (mi_varobj_update_with_type_change): Likewise.
12131 (mi_varobj_update_kv_helper): New proc.
12132 (mi_varobj_update_dynamic_helper): Rewrite.
12133 (mi_varobj_update_dynamic): New proc.
12134 (mi_list_varobj_children): Update.
12135 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
12136 * gdb.python/python-prettyprint.py (pp_outer): New class.
12137 (pp_nullstr): Likewise.
12138 (lookup_function): Register new printers.
12139 * gdb.python/python-prettyprint.c (struct substruct): New type.
12140 (struct outerstruct): Likewise.
12141 (substruct_test): New function.
12142 (struct nullstr): New type.
12143 (string_1, string_2): New globals.
12144 (main): Add new tests.
12145 * gdb.python/python-mi.exp: Added regression tests.
12146 * gdb.mi/mi2-var-display.exp: Update.
12147 * gdb.mi/mi2-var-cmd.exp: Update.
12148 * gdb.mi/mi2-var-child.exp: Update.
12149 * gdb.mi/mi2-var-block.exp: Update.
12150 * gdb.mi/mi-var-invalidate.exp: Update.
12151 * gdb.mi/mi-var-display.exp: Update.
12152 * gdb.mi/mi-var-cmd.exp: Update.
12153 * gdb.mi/mi-var-child.exp: Update.
12154 * gdb.mi/mi-var-block.exp: Update.
12155 * gdb.mi/mi-break.exp: Update.
12156 * gdb.mi/gdb701.exp: Update.
12157
a96d9b2e
SDJ
121582009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
12159
12160 * Makefile.in: Inclusion of catch-syscall object.
12161 * gdb.base/catch-syscall.c: New file.
12162 * gdb.base/catch-syscall.exp: New file.
12163
b43b923a
MS
121642009-09-12 Michael Snyder <msnyder@vmware.com>
12165
12166 * gdb.reverse/step-reverse.exp: Explicitly check for targets
12167 that can support reverse debuggnig.
12168
cec03d70
TT
121692009-09-11 Tom Tromey <tromey@redhat.com>
12170
12171 * gdb.dwarf2/valop.S: New file.
12172 * gdb.dwarf2/valop.exp: New file.
12173
e23bb3fc
MK
121742009-09-11 Mark Kettenis <kettenis@gnu.org>
12175
12176 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
12177
37c3696d
DE
121782009-09-10 Doug Evans <dje@google.com>
12179
12180 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
12181 Add $gdb_prompt to second breakpoint regexp.
12182
5172aecb
JB
121832009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
12184
12185 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
12186 names, add missing ones.
12187 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
12188 * gdb.python/py-frame.c: Rename from python-frame.c.
12189 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
12190 testfile name.
12191 * gdb.python/py-function.exp: Rename from python-function.exp.
12192 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
12193 testfile name.
12194 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
12195 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
12196 Adjust testfile name.
12197 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
12198 * gdb.python/py-template.cc: Rename from python-template.cc.
12199 * gdb.python/py-template.exp: Rename from python-template.exp.
12200 Adjust testfile name.
12201 * gdb.python/py-value.c: Rename from python-value.c.
12202 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
12203 testfile name.
12204
b554e4bd
JK
122052009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12206
12207 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
12208 $bpt2address.
12209 (Second breakpoint address is valid on ia64)
12210 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
12211
9a68ae16
JM
122122009-09-03 Joseph Myers <joseph@codesourcery.com>
12213
12214 * gdb.base/ending-run.exp: Restrict regular expression matching
12215 line number to require closing brace following.
12216
146b9145
DE
122172009-09-03 Doug Evans <dje@google.com>
12218
12219 * gdb.base/store.exp (check_set): Fix typo in expected value message.
12220
787d21e1
TT
122212009-09-02 Tom Tromey <tromey@redhat.com>
12222
12223 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
12224
e7802207
TT
122252009-09-02 Tom Tromey <tromey@redhat.com>
12226
12227 * gdb.dwarf2/callframecfa.exp: New file.
12228 * gdb.dwarf2/callframecfa.S: New file.
12229
817aadd2
JK
122302009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12231
12232 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
12233 gdb.base/solib-overlap-main.c: New.
12234
4a76eae5
DJ
122352009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
12236
12237 PR gdb/10565
12238
12239 * gdb.base/bitfields.c (struct container, container): New.
12240 (main): Initialize it and call break5.
12241 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
12242
d4b96c9a
JK
122432009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12244
12245 Support constant DW_AT_data_member_location by GCC PR debug/40659.
12246 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
12247
4e22772d
JK
122482009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12249
12250 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
12251
2efab443
MS
122522009-08-26 Michael Snyder <msnyder@vmware.com>
12253
12254 * gdb.base/i386-reverse.c: New file.
12255 * gdb.base/i386-reverse.exp: New file.
12256 * gdb.base/Makefile.in: Add new files to be removed.
12257
07ab73a0
JM
122582009-08-26 Joseph Myers <joseph@codesourcery.com>
12259
12260 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
12261 environment-pwd for remote host.
12262 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
12263
676accff
KS
122642009-08-24 Keith Seitz <keiths@redhat.com>
12265
12266 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
12267 Add two new C++ completer tests which limit the output to a
889bf7c5 12268 given class.
676accff 12269
f9f7ad22
MS
122702009-08-24 Michael Snyder <msnyder@vmware.com>
12271
12272 * gdb.base/del.exp: Fix typo in comment.
12273 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
12274
81ecdfbb
RW
122752009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12276
12277 * configure: Regenerate.
12278 * gdb.hp/configure: Likewise.
12279 * gdb.hp/gdb.aCC/configure: Likewise.
12280 * gdb.hp/gdb.base-hp/configure: Likewise.
12281 * gdb.hp/gdb.compat/configure: Likewise.
12282 * gdb.hp/gdb.defects/configure: Likewise.
12283 * gdb.hp/gdb.objdbg/configure: Likewise.
12284 * gdb.stabs/configure: Likewise.
12285
cab0c772
UW
122862009-08-19 Doug Evans <dje@google.com>
12287
12288 * gdb.base/gdbvars.c: New file.
12289 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
12290
b8fa0bfa
PA
122912009-08-14 Pedro Alves <pedro@codesourcery.com>
12292
12293 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12294 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
12295
b84aa90a
PA
122962009-08-13 Pedro Alves <pedro@codesourcery.com>
12297
12298 * gdb.base/default.exp: Adjust "set language test": it's now an
12299 enum command. Larger help string moved to "help set language".
12300 * gdb.base/help.exp: Adjust "help set language" expected output,
12301 now lists all known languages.
12302
0d8f9b2c
NF
123032009-08-11 Nathan Froyd <froydnj@codesourcery.com>
12304
12305 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
12306 all frame arguments.
12307 * gdb.arch/altivec-regs.exp: Likewise.
12308
bda180e0
TT
123092009-08-07 Tom Tromey <tromey@redhat.com>
12310
12311 * gdb.base/setshow.exp: Add tests for changes to set language, set
12312 check range, and set check type.
12313
48cb2d85
VP
123142009-08-03 Vladimir Prus <vladimir@codesourcery.com>
12315
12316 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
12317 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 12318 Call it.
48cb2d85 12319
1ea34204
UW
123202009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12321
12322 * configure.ac: Run gdb.cell tests when appropriate.
12323 * configure: Regenerate.
12324 * lib/cell.exp: New file.
12325 * gdb.cell: New directory.
12326 * gdb.cell/configure.ac: New file.
12327 * gdb.cell/configure: New file.
12328 * gdb.cell/Makefile.in: New file.
12329 * gdb.cell/arch.exp: New file.
12330 * gdb.cell/break.c: New file.
12331 * gdb.cell/break.exp: New file.
12332 * gdb.cell/break-spu.c: New file.
12333 * gdb.cell/bt.c: New file.
12334 * gdb.cell/bt2-spu.c: New file.
12335 * gdb.cell/bt-spu.c: New file.
12336 * gdb.cell/bt.exp: New file.
12337 * gdb.cell/coremaker.c: New file.
12338 * gdb.cell/coremaker-spu.c: New file.
12339 * gdb.cell/core.exp: New file.
12340 * gdb.cell/gcore.exp: New file.
12341 * gdb.cell/data.c: New file.
12342 * gdb.cell/data.exp: New file.
12343 * gdb.cell/data-spu.c: New file.
12344 * gdb.cell/ea-cache.exp: New file.
12345 * gdb.cell/ea-cache.c: New file.
12346 * gdb.cell/ea-cache-spu.c: New file.
12347 * gdb.cell/ea-standalone.c: New file.
12348 * gdb.cell/ea-standalone.exp: New file.
12349 * gdb.cell/ea-test.c: New file.
12350 * gdb.cell/ea-test.exp: New file.
12351 * gdb.cell/f-regs.exp: New file.
12352 * gdb.cell/mem-access.c: New file.
12353 * gdb.cell/mem-access.exp: New file.
12354 * gdb.cell/mem-access-spu.c: New file.
12355 * gdb.cell/ptype.exp: New file.
12356 * gdb.cell/registers.exp: New file.
12357 * gdb.cell/size.c: New file.
12358 * gdb.cell/sizeof.exp: New file.
12359 * gdb.cell/size-spu.c: New file.
12360 * gdb.cell/solib.exp: New file.
12361 * gdb.cell/solib-symbol.exp: New file.
12362
85e747d2
UW
123632009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12364
12365 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
12366
58d6951d
DJ
123672009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
12368
12369 * gdb.base/float.exp: Handle VFP registers.
12370
6e0a4f15
MS
123712009-07-14 Michael Snyder <msnyder@vmware.com>
12372
dcd5da87
MS
12373 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
12374 to bring gdb to the beginning of the calling line.
12375
6e0a4f15
MS
12376 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
12377 confusing the i386 epilogue unwinder.
12378
782b2b07
SS
123792009-07-14 Stan Shebs <stan@codesourcery.com>
12380
12381 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
12382
f662c3bc
MS
123832009-07-14 Michael Snyder <msnyder@vmware.com>
12384
12385 * gdb.reverse/step-reverse.exp (stepi into function call):
12386 Call instruction may not be first instruction in the line.
12387 (reverse stepi from a function call): Used wrong line number.
12388
8f313923
JK
123892009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12390
12391 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
12392
4662c76e
JK
123932009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12394
12395 Fix gdb.base/macscp.exp when using custom inputrc.
12396 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
12397 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
12398 env(TERM) set.
12399 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
12400 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
12401
aa81e255
JK
124022009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12403
12404 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
12405 * gdb.base/annota1.exp (thread_test): Import global $testfile.
12406 Change the compilation target to match the testcase name.
12407 * gdb.base/sect-cmd.exp: Change the compilation target to match the
12408 testcase name.
12409 * a2-run.exp: Use for setup prepare_for_testing. Change the
12410 compilation target to match the testcase name.
12411 * gdb.base/commands.exp: Likewise.
12412 * gdb.base/finish.exp: Likewise.
12413 * gdb.base/float.exp: Likewise.
12414 * gdb.base/info-target.exp: Likewise.
12415 * gdb.base/relational.exp: Likewise.
12416 * gdb.base/term.exp: Likewise.
12417 * gdb.base/until.exp: Likewise.
12418 * gdb.base/volatile.exp: Likewise.
12419 * gdb.base/whatis-exp.exp: Likewise.
12420
4c93b1d7
HZ
124212009-07-11 Hui Zhu <teawater@gmail.com>
12422
12423 * gdb.base/help.exp (disassemble): Update expected help text.
12424
812f7342
TT
124252009-07-09 Tom Tromey <tromey@redhat.com>
12426
12427 * lib/gdb.exp: Handle TRANSCRIPT.
12428 (remote_spawn, remote_close, send_gdb): New procs.
12429
fbb8f299
PM
124302009-07-10 Phil Muldoon <pmuldoon@redhat.com>
12431
12432 * gdb.python/python-prettyprint.c: Add counted null string
12433 structure.
12434 * gdb.python/python-prettyprint.exp: Print null string. Test for
12435 embedded nulls.
12436 * gdb.python/python-prettyprint.py (pp_ns): New Function.
12437 * gdb.python/python-value.exp (test_value_in_inferior): Add
12438 variable length string fetch tests.
12439 * gdb.python/python-value.c (main): Add strings for string fetch tests.
12440
c0ac0ec7
JK
124412009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12442
12443 * gdb.base/dump.exp (inaccessible memory is reported): New test.
12444
30b66ecc
TT
124452009-07-07 Tom Tromey <tromey@redhat.com>
12446
12447 * gdb.base/call-rt-st.exp: Update for change to escape output.
12448 * gdb.base/callfuncs.exp: Likewise.
12449 * gdb.base/charset.exp: Likewise.
12450 * gdb.base/constvars.exp: Likewise.
12451 * gdb.base/long_long.exp: Likewise.
12452 * gdb.base/pointers.exp: Likewise.
12453 * gdb.base/printcmds.exp: Likewise.
12454 * gdb.base/setvar.exp: Likewise.
12455 * gdb.base/store.exp: Likewise.
12456 * gdb.cp/ref-types.exp: Likewise.
12457 * gdb.mi/mi-var-child.exp: Likewise.
12458 * gdb.mi/mi-var-display.exp: Likewise.
12459 * gdb.mi/mi2-var-display.exp: Likewise.
12460 * gdb.base/charset.exp: Test octal escape sequence length.
12461 Update for change to escape output.
12462
187c4a2b
JK
124632009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12464
12465 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
12466
d80a43f9
DJ
124672009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
12468
12469 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
12470
047427a8
JK
124712009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12472
12473 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
12474 gdbserver increasing $portnum if "Can't bind address" has been seen.
12475
8b5a0f4f
PA
124762009-07-05 Pedro Alves <pedro@codesourcery.com>
12477
12478 * gdb.base/ending-run.exp: Add "step out of main" pattern for
12479 mingw32ce.
12480
7d93ba58
PA
124812009-07-05 Pedro Alves <pedro@codesourcery.com>
12482
12483 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
12484 VFP format.
12485
2277426b
PA
124862009-07-02 Pedro Alves <pedro@codesourcery.com>
12487
12488 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
12489 linux. Adjust to use "inferior", "info inferiors", "detach
12490 inferior" and "kill inferior" instead of "restart", "info fork",
12491 "detach fork" and "delete fork".
12492 * gdb.base/ending-run.exp: Spell out "info".
12493 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
12494 the "kill" command.
12495
5af949e3
UW
124962009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12497
12498 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
12499 change to prefix TLS offset in hex with 0x.
12500
5d3729b5
UW
125012009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12502
12503 * gdb.base/default.exp: Update test case for "x" changes.
12504
af589bd0
TG
125052009-07-01 Tristan Gingold <gingold@adacore.com>
12506
12507 * gdb.base/bigcore.exp: Make darwin untested.
12508
40974f91
JK
125092009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12510
12511 * gdb.base/completion.exp (directory completion): Create the directory.
12512 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
12513 escapeuniquesub.
12514 (directory completion 2): Expect now ${escapeuniquesub}.
12515 (Glob remaining of directory test): Remove one excessive newline.
12516 Expect the real output.
12517
59dd3af6
JK
125182009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12519
12520 Fix `make check//%' target after `make check' has been ran.
12521 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
12522 a mkdir call.
12523 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
12524 (%/.dir): Remove.
12525
f4e164aa
JK
125262009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12527
12528 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
12529 the expected result record.
12530
69af2122
JK
125312009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12532
12533 Remove racy FAILs relying just on the timeouts.
12534 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
12535 (annotation_level 2): Remove racy FAILs.
12536
2fd481e1
PP
125372009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12538
12539 gdb/10275
889bf7c5
PA
12540 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
12541
c38f313d
DJ
125422009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
12543
12544 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
12545
8b777f02
VP
125462009-06-30 Vladimir Prus <vladimir@codesourcery.com>
12547
12548 * gdb.mi/mi-stack.exp: Testing symbolic options
12549 to -stack-list-locals and -stack-list-arguments.
12550
00c7eacf
JK
125512009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12552
12553 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
12554
6bc80edc
TT
125552009-06-29 Tom Tromey <tromey@redhat.com>
12556
12557 * dg-extract-results.sh: New file.
12558 * Makefile.in (FORCE_PARALLEL): New variable.
12559 (CHECK_TARGET): New conditional variable.
12560 (check): Use CHECK_TARGET.
12561 (DO_RUNTEST): New variable.
12562 (check-single): New target.
12563 (TEST_DIRS): New variable.
12564 (TEST_TARGETS): Likewise.
12565 (check-parallel): New target.
12566 (check-gdb.%): New pattern.
12567 (BASE1_FILES): New variable.
12568 (BASE2_FILES): Likewise.
12569 (check-gdb.base%): New pattern.
12570 (%/.dir): New pattern.
12571 * configure: Rebuild.
12572 * aclocal.m4 (AM_CONDITIONAL): New defun.
12573 * configure.ac: Check whether user is using GNU make.
12574 (GMAKE): New conditional.
12575
794684b6
SW
125762009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
12577
12578 * gdb.cp/namespace-nested-import.cc: New test.
12579 * gdb.cp/namespace-nested-import.exp: New test.
12580
edb3359d
DJ
125812009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
12582
12583 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
12584 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
12585 * gdb.opt/Makefile.in (EXECUTABLES): Update.
12586 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
12587 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
12588 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
12589 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
12590 gdb.opt/inline-markers.c: New files.
12591 * lib/gdb.exp (skip_inline_frame_tests): New function.
12592 (skip_inline_var_tests): New function.
12593
cf657a0c
AS
125942009-06-27 Andreas Schwab <schwab@linux-m68k.org>
12595
12596 * gdb.cp/exception.exp: Don't require $hex before inner frame in
12597 backtrace.
12598
28d41a99
MS
125992009-06-27 Michael Snyder <msnyder@vmware.com>
12600
12601 * gdb.reverse: New directory.
12602 * gdb.reverse/break-reverse.c: New test.
12603 * gdb.reverse/break-reverse.exp: New test.
12604 * gdb.reverse/consecutive-reverse.c: New test.
12605 * gdb.reverse/consecutive-reverse.exp: New test.
12606 * gdb.reverse/finish-reverse.c: New test.
12607 * gdb.reverse/finish-reverse.exp: New test.
12608 * gdb.reverse/machinestate.c: New test.
12609 * gdb.reverse/ms1.c: New test.
12610 * gdb.reverse/machinestate.exp: New test.
12611 * gdb.reverse/Makefile.in: New file.
12612 * gdb.reverse/shr2.c: New test.
12613 * gdb.reverse/solib-reverse.c: New test.
12614 * gdb.reverse/solib-reverse.exp: New test.
12615 * gdb.reverse/step-reverse.c: New test.
12616 * gdb.reverse/step-reverse.exp: New test.
12617 * gdb.reverse/until-reverse.c: New test.
12618 * gdb.reverse/ur1.c: New test.
12619 * gdb.reverse/until-reverse.exp: New test.
12620 * gdb.reverse/watch-reverse.c: New test.
12621 * gdb.reverse/watch-reverse.exp: New test.
12622 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
12623 * configure: Regenerate.
12624
fe3c8b0d
DE
126252009-06-26 Doug Evans <dje@google.com>
12626
12627 * gdb.base/psymtab.exp: Turn off pending breakpoints.
12628
3a72a602
PM
126292009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
12630
12631 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
12632 windows problem for 'file delete $binfile'.
12633
27aa8d6a
SW
126342009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
12635
12636 * gdb.cp/namespace-using.exp: New test.
12637 * gdb.cp/namespace-using.cc: New test.
12638
8ac055f8
JB
126392009-05-20 Joel Brobecker <brobecker@adacore.com>
12640
12641 * gdb.ada/variant_record_packed_array: New testcase.
12642
85e306ed
TT
126432009-06-23 Tom Tromey <tromey@redhat.com>
12644
12645 * gdb.base/charset.exp (test_combination): Regression test.
12646 * gdb.base/charset.c (my_wchar_t): New typedef.
12647 (myvar): New global.
12648 (main): Set myvar.
12649
56643c5e
PM
126502009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
12651
12652 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
12653 target.
12654
1fac167a
UW
126552009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12656
12657 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
12658
7ccb0be9
UW
126592009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12660
12661 * gdb.mi/gdb680.exp: Update test for error message.
12662
568d6575
UW
126632009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12664
12665 * gdb.base/annota1.exp: Allow multiple occurrences of the
12666 frames-invalid annotation.
12667 * gdb.cp/annota2.exp: Likewise.
12668
7cd1089b
PM
126692009-06-15 Phil Muldoon <pmuldoon@redhat.com>
12670
12671 * gdb.cp/gdb2495.cc: New file.
12672 * gdb.cp/gdb2495.exp: New file.
12673
72c63395
JK
126742009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12675
12676 Report error on GDB crash during runto.
12677 * lib/gdb.exp (runto <eof>): New.
12678
3788363d
DJ
126792009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
12680
12681 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
12682 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
12683 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
12684 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
12685 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
12686 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
12687 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
12688 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
12689 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
12690 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
12691 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
12692 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
12693 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12694 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
12695 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
12696 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
12697 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
12698 gdb.server/server-mon.exp, gdb.server/server-run.exp,
12699 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12700 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
12701 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
12702 gdb.trace/passcount.exp, gdb.trace/report.exp,
12703 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
12704 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
12705 gdb.trace/while-stepping.exp: Use a unique name for the compiled
12706 executable.
12707
17592de3
PA
127082009-06-07 Pedro Alves <pedro@codesourcery.com>
12709
12710 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
12711 defined before referencing it.
12712
701e355d
DE
127132009-06-03 Doug Evans <dje@google.com>
12714
12715 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
12716 * gdb.arch/i386-see.c: Ditto.
12717
f2292c65
PM
127182009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
12719
12720 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
12721 (check_macro): Return 1 if undefined.
12722 If first test fails, check if macro debug information is available,
12723 and report unsupported test if no macro information is found.
12724
5a437975
DE
127252009-05-29 Doug Evans <dje@google.com>
12726
12727 * gdb.threads/hand-call-in-threads.exp: New.
12728 * gdb.threads/hand-call-in-threads.c: New.
12729
c141c696
MS
127302009-05-29 Michael Snyder <msnyder@vmware.com>
12731
12732 * gdb.base/break-always.exp: Change "1" to "on".
12733 Add confirmation check.
12734
b3444185
PA
127352009-05-28 Pedro Alves <pedro@codesourcery.com>
12736
12737 * gdb.threads/threxit-hop-specific.c: New.
12738 * gdb.threads/threxit-hop-specific.exp: New.
12739 * gdb.threads/thread-execl.c: New.
12740 * gdb.threads/thread-execl.exp: New.
12741
b6313243
TT
127422009-05-27 Tom Tromey <tromey@redhat.com>
12743 Thiago Jung Bauermann <bauerman@br.ibm.com>
12744
12745 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
12746 (mi_child_regexp): Likewise.
12747 (mi_list_varobj_children_range): Likewise.
12748 (mi_get_features): Likewise.
12749 (mi_list_varobj_children): Rewrite.
12750 * gdb.python/python-mi.exp: New file.
12751
a6bac58e
TT
127522009-05-27 Tom Tromey <tromey@redhat.com>
12753 Thiago Jung Bauermann <bauerman@br.ibm.com>
12754 Phil Muldoon <pmuldoon@redhat.com>
12755 Paul Pluzhnikov <ppluzhnikov@google.com>
12756
12757 * gdb.python/python-prettyprint.exp: New file.
12758 * gdb.python/python-prettyprint.c: New file.
12759 * gdb.python/python-prettyprint.py: New file.
12760 * gdb.base/display.exp: print/r is now valid.
12761
2c74e833
TT
127622009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
12763 Tom Tromey <tromey@redhat.com>
12764 Pedro Alves <pedro@codesourcery.com>
12765 Paul Pluzhnikov <ppluzhnikov@google.com>
12766
12767 * gdb.python/python-template.exp: New file.
12768 * gdb.python/python-template.cc: New file.
12769 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12770 tests.
12771 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12772 Call it.
12773 (test_value_after_death): New proc.
12774 * gdb.python/python-value.c (PTR): New typedef.
12775 (main): New variable 'x'.
12776
89c73ade
TT
127772009-05-27 Tom Tromey <tromey@redhat.com>
12778
12779 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12780 tests.
12781 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12782 Call it.
12783
a75724bc
PA
127842009-05-27 Pedro Alves <pedro@codesourcery.com>
12785
12786 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
12787
e58b0e63
PA
127882009-05-24 Pedro Alves <pedro@codesourcery.com>
12789
12790 * gdb.threads/fork-thread-pending.c: New.
12791 * gdb.threads/fork-thread-pending.exp: New.
12792
4ac36638
JK
127932009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12794
12795 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
12796 * gdb.dwarf2/dw2-strp.S (a_string2): New.
12797
889bf7c5 127982009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 12799
889bf7c5 12800 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 12801
b242c3c2
PA
128022009-05-17 Pedro Alves <pedro@codesourcery.com>
12803
12804 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
12805 `gdb_get_line_number'. Call `callee' in both parent and child.
12806 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
12807 `gdb_get_line_number' instead of hardcoding line numbers.
12808 (catch_fork_unpatch_child): New procedure to test detaching
12809 breakpoints from child fork.
12810 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
12811 hardcoding line numbers.
12812 (do_fork_tests): Run `catch_fork_unpatch_child'.
12813
ee342b23
VP
128142009-05-17 Vladimir Prus <vladimir@codesourcery.com>
12815
12816 * gdb.mi/mi-cmd-var.exp: Check that when varobj
12817 of structure type enters or leaves the scope, it
12818 is reported by -var-update.
12819
e2009e98
DE
128202009-05-11 Doug Evans <dje@sebabeach.org>
12821
12822 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 12823 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
12824 * gdb.threads/schedlock.c (main): Fix off-by-one error.
12825
00903456
JK
128262009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12827
12828 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
12829
dc621c35
DE
128302009-04-30 Doug Evans <dje@google.com>
12831
12832 * gdb.threads/watchthreads2.exp: New testcase.
12833 * gdb.threads/watchthreads2.c: New testcase.
12834
9ab4e744
DE
128352009-04-29 Doug Evans <dje@google.com>
12836
12837 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
12838 * gdb.cp/mb-ctor.cc: Ditto.
12839 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
12840 * gdb.cp/mb-inline.h (multi_line_foo): New function.
12841 * gdb.cp/mb-inline1.cc: Call it.
12842 * gdb.cp/mb-inline2.cc: Ditto.
12843 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
12844 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
12845
484086b7
JK
128462009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12847
12848 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
12849 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
12850 Replace all uses of `decimal' by `nonzero'.
12851 (info macro FROM_COMMANDLINE): New test.
12852
379a77b5
TT
128532009-04-27 Tom Tromey <tromey@redhat.com>
12854
12855 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
12856
b92b73c2
DE
128572009-04-27 Doug Evans <dje@google.com>
12858
12859 * gdb.threads/watchthreads.c (main): Initialize args before starting
12860 the threads. Plus formatting cleanup.
12861 * gdb.threads/watchthreads.exp: Avoid errant failures due to
12862 biased scheduling of one thread.
12863
945a118d
JG
128642009-04-27 Jerome Guitton <guitton@adacore.com>
12865
12866 * gdb.cp/templates.cc (GetMax): New template.
12867 (main): Declare two instances of GetMax.
12868 * gdb.cp/templates.exp: Add new test.
12869
d389af10
JK
128702009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12871
12872 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
12873
e7f86de9
JM
128742009-04-22 Joseph Myers <joseph@codesourcery.com>
12875
12876 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
12877
334cc82d
TT
128782009-04-15 Tom Tromey <tromey@redhat.com>
12879
12880 * gdb.base/charset.exp: Add regression test.
12881
d12672cc
JB
128822009-04-14 Joel Brobecker <brobecker@adacore.com>
12883
12884 * gdb.base/exe-lock.exp: New testcase.
12885
18e8c3bc
TT
128862009-04-13 Tom Tromey <tromey@redhat.com>
12887
12888 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
12889 operator on Frame.
12890
5ecd5cbe
UW
128912009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12892
12893 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
12894 * gdb.server/ext-attach.exp: Likewise.
12895
7309f756
VP
128962009-04-03 Vladimir Prus <vladimir@codesourcery.com>
12897
12898 Eliminate some sleep usage.
12899
889bf7c5
PA
12900 * gdb.mi/basics.c (do_nothing): New.
12901 (main): Use do_nothing instead of printf, so that
12902 not to introduce race condition between output of
12903 inferiour and output of gdb. Do not use sleep as it
12904 is not generally available on embedded targets.
7309f756 12905
f4b95f6f
PA
129062009-04-02 Pedro Alves <pedro@codesourcery.com>
12907
12908 * gdb.server/ext-attach.exp: Expect an optional process id after
12909 "Detached from remote process".
12910
de40b933
JK
129112009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12912
12913 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
12914 gdb.dwarf2/dw2-unresolved.exp: New.
12915
2ae101a4
PA
129162009-04-02 Pedro Alves <pedro@codesourcery.com>
12917
12918 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
12919 mi_run_to_main.
12920
56a8e183
PA
129212009-04-02 Pedro Alves <pedro@codesourcery.com>
12922
12923 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
12924 mi_run_to_main. Skip thread exit test on remote targets.
12925 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
12926 mi_run_to_main.
12927 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
12928 mi_run_to_main.
12929 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
12930 when expecting ^connected. Detect when the target doesn't support
12931 non-stop mode.
12932 (mi_run_cmd): Detect if non-stop mode was requested by isn't
12933 supported. Return -1 on error, 0 on success.
12934 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
12935 (mi_runto): Return mi_runto_helper's result explicitly.
12936
c35fafde
PA
129372009-04-01 Pedro Alves <pedro@codesourcery.com>
12938
12939 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
12940
f8a8dce6
JB
129412009-04-01 Tom Tromey <tromey@redhat.com>
12942
12943 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
12944 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
12945 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
12946 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
12947
71c25dea
TT
129482009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
12949 Jan Kratochvil <jan.kratochvil@redhat.com>
12950
12951 PR gdb/931
12952 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
12953 output.
12954 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
12955 for gdb/931.
12956 * dw2-strp.S (DW_AT_language): Change to C++.
12957 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
12958
02d9a9ce
JB
129592009-03-31 Joel Brobecker <brobecker@adacore.com>
12960
12961 * gdb.ada/tasks: New testcase.
12962
1042e4c0
SS
129632009-03-30 Stan Shebs <stan@codesourcery.com>
12964
12965 * gdb.trace/actions.exp: Update to match new info trace format.
12966 * gdb.trace/deltrace.exp: Ditto.
12967 * gdb.trace/infotrace.exp: Ditto.
12968 * gdb.trace/passcount.exp: Ditto.
12969 * gdb.trace/save-trace.exp: Ditto.
12970 * gdb.trace/while-stepping.exp: Ditto.
12971 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
12972
f8f6f20b
TJB
129732009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12974
12975 * gdb.python/python-frame.c: New file.
12976 * gdb.python/python-frame.exp: New file.
12977
c0c6f777
TJB
129782009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
12979
12980 * gdb.python/python-value.exp: Add tests for the address
12981 attribute.
12982
3cb51905
AS
129832009-03-29 Andreas Schwab <schwab@linux-m68k.org>
12984
12985 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
12986
88fc996f
DE
129872009-03-26 Doug Evans <dje@google.com>
12988
12989 * gdb.mi/mi-nonstop-exit.exp: New file.
12990 * gdb.mi/non-stop-exit.c: New file.
12991
56ef84b1
TT
129922009-03-26 Tom Tromey <tromey@redhat.com>
12993
12994 Update for change to prologue skipping:
12995 * gdb.mi/mi2-simplerun.exp: Update.
12996 * gdb.mi/mi2-break.exp: Update.
12997 * gdb.mi/mi-simplerun.exp: Update.
12998 * gdb.mi/mi-break.exp: Update.
12999 * gdb.base/ending-run.exp: Update.
13000
def2b000
TJB
130012009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
13002
13003 * gdb.python/python-value.exp (test_value_in_inferior): Test
13004 gdb.Value.is_optimized_out attribute.
13005
442ddf59
JK
130062009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13007
13008 * gdb.dwarf2/dw2-noloc-main.c: New file.
13009 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
13010 (.text): Remove.
13011 (.data): New.
13012 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
13013 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
13014 (DW_TAG_subprogram func_cu1, noloc): Remove.
13015 (main): New.
13016 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
13017 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
13018 (file_symbols): New procedure.
13019
a8df5de4
TT
130202009-03-25 Tom Tromey <tromey@redhat.com>
13021
13022 * gdb.base/charset.exp (valid_target_charset): New proc.
13023 Use it to skip tests on invalid charsets.
13024
cc1d7add
PM
130252009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
13026
13027 * gdb.base/completion.exp: Add a test for directory completion.
13028
bcd5727b
JK
130292009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13030
13031 Fix a racy FAIL.
13032 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
13033 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
13034
cc924cad
TJB
130352009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
13036
13037 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
13038 * gdb.python/python-function.exp: Add test for function returning
13039 a GDB value.
13040
bc3b79fd
TJB
130412009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
13042
13043 * gdb.python/python-function.exp: New file.
13044
6c7a06a3
TT
130452009-03-20 Tom Tromey <tromey@redhat.com>
13046
13047 * gdb.base/store.exp: Update for change to escape output.
13048 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
13049 to escape output.
13050 * gdb.base/pointers.exp: Update for change to escape output.
13051 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
13052 to escape output.
13053 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
13054 escape output.
13055 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
13056 to escape output.
13057 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
13058 escape output.
13059 * gdb.base/setvar.exp: Update for change to escape output.
13060 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
13061 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
13062 to escape output.
13063 (test_print_string_constants): Likewise.
13064 * gdb.base/charset.exp (valid_host_charset): Check size of
13065 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
13066 cases. Handle "auto"-related output.
13067 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
13068 (uvar, Uvar): New globals.
13069
c31af87b
JG
130702009-03-19 Jerome Guitton <guitton@adacore.com>
13071
13072 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
13073 deltas.
13074 * gdb.ada/fixed_points.exp: Ditto.
13075
51272cf2
PA
130762009-03-18 Pedro Alves <pedro@codesourcery.com>
13077
13078 * return-nodebug.c: Don't include stdio.h.
13079 (init): Delete.
13080 (func): Delete definition and provide extern declaration.
13081 (t): New.
13082 (main): Don't call printf. Call func and store its result in t.
13083 * return-nodebug1.c: New.
13084 * return-nodebug.exp: Don't expect stdio output. Instead, print
13085 the global variable t. Drop printf formatters and cast types from
13086 foreach loop. Don't use prepare_for_testing. Compile
13087 return-nodebug.c and return-nodebug1.c in separate steps. Don't
13088 define FORMAT or CAST.
13089
d24948ac
PP
130902009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13091
13092 * gdb.base/solib-display.exp: Disable test for remote targers.
13093
61ff14c6
JK
130942009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13095
13096 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
13097
cb4dce93
JK
130982009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13099
13100 Fix a racy FAIL.
13101 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
13102 code from `follow parent, print pids'.
13103 (`follow child, print pids', `follow parent, print pids'): Call it.
13104 Replace `gdb_test "break..."' by gdb_breakpoint.
13105
f7c60c5e
VP
131062009-03-13 Vladimir Prus <vladimir@codesourcery.com>
13107
13108 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 13109 sync and async modes.
f7c60c5e 13110
383ace49
JB
131112009-03-12 Joel Brobecker <brobecker@adacore.com>
13112
13113 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
13114 that was checked in by mistake. Remove loading of ada.exp, since
13115 this is not necessary in this case.
13116
4ce102af
JB
131172009-03-12 Joel Brobecker <brobecker@adacore.com>
13118
13119 * gdb.ada/ptype_arith_binop.exp: New testcase.
13120
529a2aef
JB
131212009-03-12 Joel Brobecker <brobecker@adacore.com>
13122
13123 * gdb.ada/mod_from_name: New testcase.
13124
8a38181c
JB
131252009-03-12 Joel Brobecker <brobecker@adacore.com>
13126
13127 * gdb.ada/tick_last_segv: New testcase.
13128
11436dee
VP
131292009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13130
61ff14c6 13131 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 13132
1f31650a
VP
131332009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13134
61ff14c6
JK
13135 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
13136 include the token in ^running and frame info in *stopped.
1f31650a 13137
a3247a22
PP
131382009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13139
13140 * solib-display.exp: New file.
13141 * solib-display-main.c: New file.
13142 * solib-display-lib.c: New file.
61ff14c6 13143
aae64587
PA
131442009-03-05 Pedro Alves <pedro@codesourcery.com>
13145
13146 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
13147
44aabfbc
JK
131482009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13149
13150 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
13151 (list_and_check_macro): Use more specific test name.
13152 (next to definition): Make the test names unique.
13153
c087fcd3
PM
131542009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
13155
13156 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 13157
c86cf029
VP
131582009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13159
13160 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
13161 notifications.
13162 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
13163 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
13164 * lib/mi-support.exp (library_loaded_re): New.
13165 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
13166
3ea85240
VP
131672009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13168
13169 * gdb.gdb/observer.exp: Use test_notification observer, not
13170 normal_stop, everywhere.
13171 (test_normal_stop_notifications): Rename to...
13172 (test_notifications): ...this.
13173 (test_observer_normal_stop): Rename to...
13174 (test_observer): ...this.
13175
1903f0e6
DE
131762009-02-16 Doug Evans <dje@google.com>
13177
13178 * gdb.arch/amd64-disp-step.S (test_int3): New test.
13179 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
13180 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
13181 (test_prefixed_syscall,test_int3): New tests.
13182 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
13183 (test_prefixed_syscall,test_int3): New tests.
13184
1d33d6ba
VP
131852009-02-14 Vladimir Prus <vladimir@codesourcery.com>
13186
3cb51905
AS
13187 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
13188 (mi_expect_interrupt): Likewise.
13189 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
13190 response.
1d33d6ba 13191
faafb047
PM
131922009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13193
13194 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
13195 * gdb.base/pc-fp.exp (get_valueofx): Remove.
13196 Replace calls to get_valueofx by get_hexadecimal_valueof.
13197
417e16e2
PM
131982009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13199
13200 * lib/gdb.exp (get_valueof): Accept anything as a return value.
13201 (get_integer_valueof): New procedure.
13202 (get_sizeof): Use new get_integer_value_of.
13203 * gdb.base/sizeof.exp: Replace all uses of get_valueof
13204 by get_integer_valueof.
13205
7065b901
TT
132062009-02-13 Tom Tromey <tromey@redhat.com>
13207
13208 * gdb.base/remote.exp (get_sizeof): Remove.
13209 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
13210 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
13211 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
13212 * lib/gdb.exp (get_valueof): Move from long_long.exp.
13213 (get_sizeof): Likewise.
13214
5d7cb8df
JK
132152009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13216
13217 PR fortran/9806
13218 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
13219
b2febfff
PP
132202009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13221
13222 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
13223
4aa995e1
PA
132242009-02-06 Pedro Alves <pedro@codesourcery.com>
13225
13226 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
13227
d8906c6f
TJB
132282009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
13229
13230 * gdb.python/python-cmd.exp: New file.
13231
ff4ab08d
TG
132322009-02-06 Tristan Gingold <gingold@adacore.com>
13233
13234 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
13235
aacd552b
TG
132362009-02-05 Tristan Gingold <gingold@adacore.com>
13237
13238 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
13239 pointer is dereferenced and use this signal name in regexp.
13240 * gdb.base/signull.exp: Ditto.
13241 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
13242 * gdb.base/signull.c (main): Ditto.
13243
08c637de
TJB
132442009-02-04 Tom Tromey <tromey@redhat.com>
13245 Thiago Jung Bauermann <bauerman@br.ibm.com>
13246
13247 * gdb.python/python-value.exp: Use `gdb.history' instead of
13248 `gdb.value_from_history'.
13249 (test_value_numeric_ops): Add test for conversion of enum constant.
13250 * gdb.python/python-value.c (enum e): New type.
13251 (evalue): New global.
13252 (main): Use argv.
13253
20261af8
JG
132542009-02-04 Jerome Guitton <guitton@adacore.com>
13255
13256 * gdb.ada/uninitialized_vars: New test program.
13257 * gdb.ada/uninitialized_vars.exp: New testcase.
13258
52e44b43
TT
132592009-02-02 Tom Tromey <tromey@redhat.com>
13260
13261 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
13262 * gdb.cp/pr2489.cc: Rename...
13263 * gdb.cp/pr9594.cc: ... to this.
13264
1c71341a
TT
132652009-02-02 Tom Tromey <tromey@redhat.com>
13266
13267 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
13268 * gdb.cp/pr2489.cc: New file.
13269 * gdb.cp/cpcompletion.exp: New file.
13270
a4295225
TT
132712009-02-02 Tom Tromey <tromey@redhat.com>
13272
13273 PR exp/9059:
13274 * gdb.cp/call-c.exp: Add regression test.
13275 * gdb.cp/call-c.cc (FooHandle): New typedef.
13276 (main): New variable 'handle'.
13277
592375cd
VP
132782009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13279
13280 * lib/mi-support.exp (et_mi_thread_list)
13281 (check_mi_and_console_threads): Adjust for current thread in
13282 -thread-list-ids output.
13283
41447f92
VP
132842009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13285
889bf7c5
PA
13286 * gdb.mi/mi-break.exp (test_disabled_creation): New.
13287 Call it.
41447f92 13288
35669430
DE
132892009-01-28 Doug Evans <dje@google.com>
13290
13291 * gdb.arch/amd64-disp-step.S: New file.
13292 * gdb.arch/amd64-disp-step.exp: New file.
13293 * gdb.arch/i386-disp-step.S: New file.
13294 * gdb.arch/i386-disp-step.exp: New file.
13295
09f00d9a
PM
132962009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
13297
13298 * gdb.base/find.exp: Set newline variable
13299 using quotes instead of braces to fix cygwin failures.
13300
1e8fb976
PA
133012009-01-23 Pedro Alves <pedro@codesourcery.com>
13302
13303 * gdb.base/radix.exp: Add tests to ensure that that set
13304 input-radix 0 and set output-radix 0 are really rejected.
13305
da061712
PA
133062009-01-23 Pedro Alves <pedro@codesourcery.com>
13307
13308 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
13309 copyright years.
13310
dd7e2d2b
PA
133112009-01-23 Pedro Alves <pedro@codesourcery.com>
13312
13313 PR gdb/9664:
13314 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
13315
392452f6
PA
133162009-01-22 Pedro Alves <pedro@codesourcery.com>
13317
13318 PR c++/9631:
13319 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
13320
8653e71c
PM
133212009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
13322
13323 * gdb.server/file-transfer.exp: Use EXEEXT variable for
13324 binfile definition to fix Windows OS failure.
13325
a12cc160
DJ
133262009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13327
13328 PR gdb/9346
13329 * gdb.base/interrupt.c (sigint_handler): New.
13330 (main): Install a SIGINT handler if SIGNALS is defined. Exit
13331 on error.
13332 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
13333 Test "signal SIGINT".
13334
b89667eb
DE
133352009-01-19 Doug Evans <dje@google.com>
13336
13337 * gdb.base/break.exp: Update expected gdb output.
13338 * gdb.base/sepdebug.exp: Ditto.
13339 * gdb.mi/mi-syn-frame.exp: Ditto.
13340 * gdb.mi/mi2-syn-frame.exp: Ditto.
13341 * gdb.base/call-signal-resume.exp: New file.
13342 * gdb.base/call-signals.c: New file.
13343 * gdb.base/unwindonsignal.exp: New file.
13344 * gdb.base/unwindonsignal.c: New file.
13345 * gdb.threads/interrupted-hand-call.exp: New file.
13346 * gdb.threads/interrupted-hand-call.c: New file.
13347 * gdb.threads/thread-unwindonsignal.exp: New file.
13348
adb483fe
DJ
133492009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
13350
13351 * gdb.base/define.exp: Test defining and hooking prefix commands.
13352 * gdb.python/python.exp: Update test for "show user" output.
13353
60023297
JK
133542009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13355
13356 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
13357 now the output exactly, using less wildcards. Expect also the output
13358 of gfortran-4.3. Update for the f-valprint.c modification from
13359 2008-04-22.
13360 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
13361 Remove gdb_test test names where matching the command.
13362
ccc57cf9
PA
133632009-01-01 Pedro Alves <pedro@codesourcery.com>
13364
13365 PR breakpoints/9681:
13366 * gdb.base/watchpoint.exp: Add regression test.
13367
c7a6ca08
PA
133682008-12-31 Pedro Alves <pedro@codesourcery.com>
13369
13370 * gdb.threads/attach-into-signal.exp: Don't use
13371 gdb_suppress_entire_file.
13372 * gdb.threads/attach-stopped.exp: Ditto.
13373 * gdb.threads/attachstop-mt.exp: Ditto.
13374
3a031f65
PA
133752008-12-31 Pedro Alves <pedro@codesourcery.com>
13376
13377 PR gdb/8812:
13378 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
13379
09e6485f
PA
133802008-12-29 Pedro Alves <pedro@codesourcery.com>
13381
13382 PR gdb/7536:
13383 * gdb.base/radix.exp: Add tests to ensure invalid input radices
13384 and unsupported output radices are really rejected.
13385
0cd53049
JK
133862008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13387
13388 * gdb.cp/punctuator.exp: Backslash the '$' signs.
13389
ba163c7e
TT
133902008-12-22 Tom Tromey <tromey@redhat.com>
13391
13392 * gdb.cp/punctuator.exp: New file.
13393
6f4de6c9
JK
133942008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13395
13396 * gdb.base/completion.exp (Completing non-existing component): New test.
13397
0f34d0b4
JK
133982008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13399
13400 Fix for PR gdb/8648.
13401 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
13402 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
13403 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
13404 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
13405
db2ad4c3
JK
134062008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13407
13408 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
13409
bb5ef15e
DP
134102008-12-16 Christophe Lyon <christophe.lyon@st.com>
13411
13412 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
13413 compiler actually generate code at the expected line number.
13414
90142adc
JZ
134152008-12-15 Jie Zhang <jie.zhang@analog.com>
13416
13417 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
13418
fad6eecd
TT
134192008-12-12 Tom Tromey <tromey@redhat.com>
13420
13421 * gdb.base/commands.exp (redefine_hook_test): New proc.
13422 Call it.
13423
17c8aaf5
TT
134242008-12-11 Tom Tromey <tromey@redhat.com>
13425
13426 * gdb.base/macscp.exp: New regression test.
13427
7c8adf68
TT
134282008-12-11 Tom Tromey <tromey@redhat.com>
13429
13430 * gdb.base/macscp.exp: Print "address.addr".
13431 * gdb.base/macscp1.c (struct outer): New struct.
13432 (address): New global.
13433
b05dcbb7
TT
134342008-12-09 Tom Tromey <tromey@redhat.com>
13435
13436 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
13437 Call it.
13438
2d476de1
DE
134392008-12-04 Doug Evans <dje@google.com>
13440
13441 * gdb.server/ext-run.exp: Relax regexp for init program.
13442
87bdc959
TG
134432008-12-03 Tristan Gingold <gingold@adacore.com>
13444
13445 * gdb.base/macscp.exp: Generate an object file during compilation
13446 to work around Darwin dsymutil limitations.
13447
e0740f77
JK
134482008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13449
13450 Test resolving external references to TLS variables.
13451 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
13452 FILE2_THREAD_LOCAL.
13453 (testfile2, srcfile2): New variables.
13454 * gdb.threads/tls.c (file2_thread_local)
13455 (function_referencing_file2_thread_local): New.
13456 * gdb.threads/tls2.c: New file.
13457
67f0aac5
JB
134582008-11-28 Joel Brobecker <brobecker@adacore.com>
13459
13460 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
13461 rather than integer, as integer might not be big enough when
13462 on 64bit targets.
67f0aac5 13463
c332165e
JG
134642008-11-27 Jerome Guitton <guitton@adacore.com>
13465
13466 * gdb.cp/formatted-ref.exp: Add equality test.
13467 * gdb.ada/formatted_ref.exp: Ditto.
13468
fc9b693c
JK
134692008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13470
13471 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
13472 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
13473
a9c64011
AS
134742008-11-20 Andreas Schwab <schwab@suse.de>
13475
13476 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
13477 matching syscall entry point.
13478 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13479 (tcatch_vfork_then_child_follow): Likewise. Finish through
13480 vfork even if we stopped at the syscall trampoline.
13481
e2fd701e
DE
134822008-11-20 Doug Evans <dje@google.com>
13483
13484 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
13485
69abc51c
TJB
134862008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
13487
13488 * gdb.arch/ppc-dfp.exp: New file.
13489 * gdb.arch/ppc-dfp.c: New file.
13490
c14c28ba
PP
134912008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13492
13493 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 13494
2e74121d
DE
134952008-11-17 Doug Evans <dje@google.com>
13496
13497 * gdb.mi/mi-syn-frame.exp: Update expected output.
13498 * gdb.mi/mi2-syn-frame.exp: Update expected output.
13499
66bb093b
VP
135002008-11-17 Vladimir Prus <vladimir@codesourcery.com>
13501
13502 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
13503 "thread N" results in =thread-selected.
13504 * lib/mi-support (mi_run_cmd, mi_expect_stop)
13505 (mi_send_resuming_command_raw): Be prepared for
13506 =thread-selected.
13507
3d043ef6
VP
135082008-11-17 Vladimir Prus <vladimir@codesourcery.com>
13509
a9c64011
AS
13510 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
13511 * lib/mi-support.exp: Likewise.
3d043ef6 13512
808104c8
JB
135132008-11-16 Joel Brobecker <brobecker@adacore.com>
13514
13515 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
13516 commands from the expected output for "help catch".
13517
00b22944
JB
135182008-11-15 Joel Brobecker <brobecker@adacore.com>
13519
13520 * gdb.ada/int_deref.exp: New testcase.
13521
59669435
TT
135222008-11-14 Nick Roberts <nickrob@snap.net.nz>
13523
13524 * gdb.mi/gdb2549.exp: New file.
13525
de04a248
DE
135262008-11-11 Doug Evans <dje@google.com>
13527
13528 * gdb.base/callexit.exp: New file.
13529 * gdb.base/callexit.c: New file.
13530
6b8ce727
DE
135312008-11-10 Doug Evans <dje@google.com>
13532
13533 * lib/gdb.exp (GDBFLAGS): Move -nx ...
13534 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
13535 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
13536 (default_gdb_start,default_gdb_exit): Ditto.
13537 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
13538 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
13539 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
13540 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
13541 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
13542 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
13543
1b14b8aa
AS
135442008-11-03 Andreas Schwab <schwab@suse.de>
13545
13546 * gdb.base/hashline2.exp: Fix typo.
13547 * gdb.base/hashline3.exp: Likewise.
13548
f3134b88
TT
135492008-10-30 Tom Tromey <tromey@redhat.com>
13550
13551 * gdb.base/pointers.exp: Add test.
13552 * gdb.base/pointers.c (k, S): New typedefs.
13553 (instance): New global.
13554
c2226152
AS
135552008-10-30 Andreas Schwab <schwab@suse.de>
13556
13557 * gdb.base/args.exp: Add tests for newlines.
13558
462f405c
JB
135592008-10-30 Joel Brobecker <brobecker@adacore.com>
13560
13561 gdb.base/foll-exec.exp: Update the expected output of a couple
13562 of "info breakpoints" tests.
13563
79a45b7d
TT
135642008-10-28 Tom Tromey <tromey@redhat.com>
13565
13566 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
13567
adc13a14
PA
135682008-10-24 Pedro Alves <pedro@codesourcery.com>
13569
13570 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
13571 gdb_start_cmd.
13572 Use runto_main before any test that requires execution.
13573
252fbfc8
PA
135742008-10-23 Pedro Alves <pedro@codesourcery.com>
13575
13576 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
13577 instead of SIGINT.
13578
28148e3d
JB
135792008-10-22 Joel Brobecker <brobecker@adacore.com>
13580
13581 * gdb.base/completion.exp: Update expected output following
13582 the addition of the "info tasks" command.
13583
c209f847
TT
135842008-10-22 Tom Tromey <tromey@redhat.com>
13585
13586 * gdb.base/exprs.exp (test_expr): Add test for string
13587 concatenation.
13588
f177e350
PA
135892008-10-19 Pedro Alves <pedro@codesourcery.com>
13590
13591 * configure.ac: Output gdb.python/Makefile.
13592 * configure: Regenerate.
13593 * gdb.python/Makefile.in: New.
13594
cce89356
JB
135952008-10-16 Joel Brobecker <brobecker@adacore.com>
13596
13597 * gdb.base/foll-fork.exp: Adjust the expected output to match
13598 the new description for fork/vfork catchpoints in the "info
13599 breakpoints" output.
13600
176d289d
TJB
136012008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13602
13603 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
13604
a08702d6
TJB
136052008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13606
13607 * gdb.python/python-value.c: New file.
13608 * gdb.python/python-value.exp: New file.
13609
1c5cfe86
PA
136102008-10-15 Pedro Alves <pedro@codesourcery.com>
13611
13612 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
13613
5a98ad69
DP
136142008-10-15 Denis Pilat <denis.pilat@st.com>
13615
41702f1b 13616 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 13617
dcb1a1e2
TT
136182008-10-09 Tom Tromey <tromey@redhat.com>
13619
13620 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
13621 'fprintf' and 'stderr'.
13622
9124fe48
JB
136232008-10-07 Joel Brobecker <brobecker@adacore.com>
13624
13625 * gdb.ada/ref_tick_size.exp: New testcase.
13626
45452591
DE
136272008-10-06 Doug Evans <dje@google.com>
13628
13629 * gdb.dwarf2/dw2-cu-size.exp: New file.
13630 * gdb.dwarf2/dw2-cu-size.S: New file.
13631
13632 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
13633 .Ltype_int for clarity.
13634
4fc5b208
PP
136352008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13636
13637 PR gdb/2384:
13638 * gdb.cp/gdb2384.exp: Extended to test more cases.
13639 * gdb.cp/gdb2384.cc: Likewise.
13640 * gdb.cp/gdb2384-base.h: Likewise.
13641 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 13642
d78df370
JK
136432008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13644
13645 * gdb.base/maint.exp (maint print type): Remove printing
13646 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
13647
9a044a89
TT
136482008-09-30 Tom Tromey <tromey@redhat.com>
13649
13650 * gdb.base/macscp.exp: Add completion tests.
13651 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
13652 (TWENTY_THREE): Likewise.
13653 (FORTY_EIGHT): Likewise.
13654
506800a9
TT
136552008-09-30 Tom Tromey <tromey@redhat.com>
13656
13657 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
13658 everywhere.
13659 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
13660
1a6f01b5
JK
136612008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13662
13663 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
13664 testcase is derived from. Fix racy dependency on an expected PID
13665 number. No longer support the testcase on Linux kernel 2.4.x.
13666
2fae03e8
TT
136672008-09-27 Tom Tromey <tromey@redhat.com>
13668
13669 * gdb.base/macscp.exp: Add tests for stringification, splicing,
13670 and varargs.
13671
1ad15515
PA
136722008-09-22 Pedro Alves <pedro@codesourcery.com>
13673
13674 * lib/mi-support.exp (mi_expect_interrupt): New.
13675 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
13676 from gdb.mi/mi-nonstop.exp.
13677 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
13678 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
13679 lib/mi-support.exp.
13680 Use mi_check_thread_states throughout. Avoid ".*" and do not
13681 require an anchor after -exec-run.
13682
d0b76dc6
DJ
136832008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
13684
13685 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
13686 stop is pending. Avoid ".*" when two stops are pending.
13687 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
13688 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
13689 newlines in fullnames.
13690 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
13691 (mi_expect_stop): Update comments. Only anchor in sync mode.
13692 Do not match newlines.
13693 (mi_send_resuming_command_raw): Always return status.
13694 (mi_get_stop_line): Do not match more than one line by accident.
13695 Only anchor in sync mode.
13696 (mi_run_inline_test): If -exec-next fails, give up.
13697
9990c830
UW
136982008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13699
13700 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
13701 on SPU.
13702
ebcf6f00
JB
137032008-09-10 Joel Brobecker <brobecker@adacore.com>
13704
13705 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
13706
b6db24e5
JB
137072008-09-10 Joel Brobecker <brobecker@adacore.com>
13708
13709 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
13710 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
13711 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
13712 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
13713 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
13714 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
13715 gdb.ada/interface.exp, gdb.ada/null_array.exp,
13716 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
13717 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
13718 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
13719 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
13720 Include the "= " sequence in the expected output of print tests.
13721
2bf448e0
JB
137222008-09-10 Joel Brobecker <brobecker@adacore.com>
13723
13724 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
13725 description for boolean types.
13726
d51fd4c8
PA
137272008-09-09 Pedro Alves <pedro@codesourcery.com>
13728
13729 * gdb.base/hook-stop-continue.c: New.
13730 * gdb.base/hook-stop-continue.exp: New.
13731
694182d2
DJ
137322008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
13733
13734 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
13735
3b8a7fc0
JG
137362008-09-08 Jerome Guitton <guitton@adacore.com>
13737
13738 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
13739 (stack_check_probe_2, stack_check_probe_loop_1)
13740 (stack_check_probe_loop_2): New functions.
13741 (main): Add call to these new functions.
13742 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
13743 functions, check that the breakpoint is inserted at the appropriate
13744 location.
13745 (insert_breakpoint): Slightly refine this procedure so that it can
13746 be called several times in the test.
13747
96cc0ae8
JG
137482008-09-08 Jerome Guitton <guitton@adacore.com>
13749
13750 * gdb.base/stack-checking.c: New file.
13751 * gdb.base/stack-checking.exp: New file.
13752
1f08b409
TJB
137532008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13754
13755 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
13756 * gdb.arch/altivec-regs.exp: Likewise.
13757 * gdb.arch/vsx-regs.exp: Likewise.
13758
3099e1c4
TJB
137592008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13760
13761 * gdb.arch/ppc-fp.exp: New file.
13762 * gdb.arch/ppc-fp.c: New file.
13763
cc69bfc1
PP
137642008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13765
13766 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
13767 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 13768
b02a33db
MS
137692008-09-04 Michael Snyder <msnyder@vmware.com>
13770
13771 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
13772 as "at" (for non-debug functions such as _start).
13773
2992cbe0
UW
137742008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13775
13776 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
13777 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
13778 software watchpoints.
13779 * gdb.base/watch_thread_num.exp: Likewise.
13780
514f746b
AR
137812008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
13782
13783 * gdb.arch/i386-bp_permanent.exp: New test.
13784
876cecd0
TT
137852008-08-24 Tom Tromey <tromey@redhat.com>
13786
13787 * gdb.base/maint.exp: Update "maint print type".
13788
80f73d71
VP
137892008-08-21 Vladimir Prus <vladimir@codesourcery.com>
13790
13791 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
13792 support. Adjust the order of "*running" notifications.
13793 * gdb.mi/non-stop.c: Don't cast from int to void* and
13794 back.
13795
d9c78d7d
MK
137962008-08-20 Mark Kettenis <kettenis@gnu.org>
13797
13798 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
13799 expect to find it in the "info frame" output.
13800
97a2d1d3
DJ
138012008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
13802
13803 * gdb.base/interp.exp: Always consume both prompts.
13804
b96e2927
PA
138052008-08-20 Pedro Alves <pedro@codesourcery.com>
13806
13807 * gdb.base/pending.exp: Test pending breakpoints without symbols
13808 loaded.
13809
8cf6e61a
VP
138102008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13811
13812 * lib/mi-support.exp (mi_expect_stop): Produce
13813 more details on failures.
13814 * gdb.mi/mi-nonstop.exp: New.
13815 * gdb.mi/non-stop.c: New.
13816
c6ebd6cf
VP
138172008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13818
a9c64011
AS
13819 * gdb.mi/mi-async.exp: Use 'set target-async'.
13820 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 13821
46a9b8ed
DJ
138222008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
13823
13824 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
13825
44feb3ce
TT
138262008-08-17 Tom Tromey <tromey@redhat.com>
13827
13828 * gdb.base/help.exp (help catch): Rewrite.
13829
311a4e6b
TJB
138302008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13831
13832 * gdb.base/define.exp: Test indented command documentation.
13833 * gdb.python/python.exp: Test indented multi-line command.
13834
604c2f83
LM
138352008-08-15 Luis Machado <luisgpm@br.ibm.com>
13836
13837 * testsuite/gdb.arch/vsx-regs.c: New source file.
13838 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
13839 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
13840
886a217c
TT
138412008-08-14 Tom Tromey <tromey@redhat.com>
13842
13843 * gdb.base/macscp.exp: Add regression test for "macro define" or
13844 "macro undef" with no arguments.
13845
c814a4f3
PP
138462008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13847
13848 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 13849
12ab8a60
UW
138502008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13851
13852 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
13853
d57a3c85
TJB
138542008-08-06 Tom Tromey <tromey@redhat.com>
13855
13856 * gdb.python/python.exp: New file.
13857
c7b778ff
JK
138582008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13859
13860 Fix for PR gdb/1543.
13861 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
13862 $LOCATION.
13863 (location): New variable.
13864 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
13865 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
13866 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
13867 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
13868 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
13869 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
13870 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
13871 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
13872 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
13873 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
13874 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
13875 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
13876 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
13877 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
13878 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
13879 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
13880 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
13881 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
13882 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
13883 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
13884 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
13885 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
13886 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
13887 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
13888 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
13889 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
13890 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
13891 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
13892 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
13893 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
13894 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
13895 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
13896 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
13897 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
13898 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
13899 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
13900 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
13901 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
13902 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
13903 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
13904 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
13905 gdb.base/type-opaque.exp, gdb.base/until.exp,
13906 gdb.base/value-double-free.c, gdb.base/varargs.exp,
13907 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
13908 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
13909 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
13910 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
13911 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
13912 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
13913 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
13914 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
13915 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
13916 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
13917 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
13918 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
13919 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
13920 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
13921 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
13922 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
13923 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
13924 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
13925 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
13926 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13927 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
13928 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
13929 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
13930 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13931 gdb.pascal/types.exp, gdb.stabs/weird.exp,
13932 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
13933 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
13934 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
13935 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
13936 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
13937 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
13938 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13939 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13940 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13941 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13942 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13943 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
13944 lib/mi-support.exp, lib/trace-support.exp: Remove reference
13945 to bug-gdb@prep.ai.mit.edu .
13946
5e06a3d1
VP
139472008-07-31 Vladimir Prus <vladimir@codesourcery.com>
13948
13949 * lib/mi-support.exp (mi_load_shlibs): New.
13950 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
13951
9d81d21b
VP
139522008-07-30 Vladimir Prus <vladimir@codesourcery.com>
13953
13954 * lib/mi-support.exp (get_mi_thread_list)
13955 (check_mi_and_console_threads): New, moved from ...
13956 * gdb.mi/mi-pthread.exp: ...here.
13957 * gdb.mi/gdb669.exp (get_mi_thread_list)
13958 (check_mi_and_console_threads): Delete.
13959 * gdb.mi/mi2-pthread.exp: Likewise.
13960
bae98fe0
TT
139612008-07-28 Tom Tromey <tromey@redhat.com>
13962
13963 * Makefile.in (just-check): Remove. Move body to...
13964 (check): ... here.
13965
57380f4e
DJ
139662008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13967
13968 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
13969 Add a test for duplicated SIGINTs.
13970
e09490f1
DJ
139712008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13972
13973 * gdb.threads/schedlock.exp (get_args): Update to work for any
13974 value of NUM.
13975 (Top level): Report the number of threads that did not resume.
13976
6387b45f
DJ
139772008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13978
13979 * gdb.dwarf2/dw2-compressed.S: Also define __start.
13980
62f64ff2
DJ
139812008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13982
13983 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
13984 non-MI prompt.
13985
fa8de41e
TT
139862008-07-26 Tom Tromey <tromey@redhat.com>
13987
13988 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
13989 (function_struct, function_struct_ptr): New globals.
13990 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
13991 function pointer in a struct.
13992
ccb3ac8a
TT
139932008-07-26 Tom Tromey <tromey@redhat.com>
13994
13995 * gdb.base/macscp.exp: Add test for macro lexing bug.
13996
d7d9f01e
TT
139972008-07-18 Tom Tromey <tromey@redhat.com>
13998
13999 * gdb.base/macscp.exp: Add macro tests.
14000
9bf07184
PP
140012008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14002
14003 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
14004
becf6477
PP
140052008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14006
14007 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
14008
0709f7d3
PP
140092008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
14010
14011 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 14012
7093c834
PP
140132008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14014
14015 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 14016
b432ffe3
JK
140172008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14018
14019 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
14020
b1a268e5
VP
140212008-07-12 Vladimir Prus <vladimir@codesourcery.com>
14022
14023 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
14024
e2995f8e
KB
140252008-07-11 Kevin Buettner <kevinb@redhat.com>
14026
14027 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
14028 of regexp to account for changes made to GDB in the printing of
14029 byte vectors.
14030
14032a66
TT
140312008-07-11 Tom Tromey <tromey@redhat.com>
14032
14033 * gdb.base/completion.exp: Add 'help' completion test.
14034
981505ef
JK
140352008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14036
14037 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
14038
10568435
JK
140392008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14040
14041 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
14042
4487aabf
PA
140432008-07-09 Pedro Alves <pedro@codesourcery.com>
14044
14045 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
14046
a4a9b1c4
PA
140472008-07-09 Pedro Alves <pedro@codesourcery.com>
14048
14049 * gdb.base/fullname.exp: Restore pwd if compiling failed.
14050
3c3185ac
JK
140512008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14052
14053 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
14054
7ebd49dc
VP
140552008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14056
14057 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
14058 previous commit. Add a comment.
14059
84e46146
PA
140602008-06-28 Pedro Alves <pedro@codesourcery.com>
14061
14062 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
14063
0f8d4a2f
VP
140642008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14065
14066 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
14067
f747e0ce
PA
140682008-06-27 Pedro Alves <pedro@codesourcery.com>
14069
14070 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
14071 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
14072 compiling an executable, link in an object that forces unbuffered
14073 output.
14074 * lib/set_unbuffered_mode.c: New file.
14075
734a5c36
JK
140762008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14077
14078 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
14079
a2840c35
VP
140802008-06-25 Vladimir Prus <vladimir@codesourcery.com>
14081
a9c64011
AS
14082 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
14083 mi_expect_stop.
14084 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
14085 Demand that *running is output.
14086 (detect_async): Perform checking every time.
14087 (mi_send_resuming_command): Extract everything into...
14088 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
14089 (mi_expect_stop): Don't accept any output before *stopped.
14090
6ae37fef
VP
140912008-06-13 Vladimir Prus <vladimir@codesourcery.com>
14092
14093 Robustify mi-simplerun.
a9c64011
AS
14094 * gdb.mi/basics.c (main): Add a call to sleep.
14095 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
14096 * gdb.mi/mi2-cli.exp: Likewise.
14097 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 14098
b4aa76f0 140992008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
14100
14101 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
14102
e1ac3328
VP
141032008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14104
a9c64011
AS
14105 * gdb.mi/mi-console.exp: Adjust.
14106 * gdb.mi/mi-syn-frame.exp: Adjust.
14107 * gdb.mi/mi2-console.exp: Adjust.
14108 * gdb.mi/mi2-syn-frame.exp: Adjust.
14109 * lib/mi-support.exp (mi_run_cmd): Adjust.
14110 (mi_send_resuming_command): Adjust.
e1ac3328 14111
f7f9a841
VP
141122008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14113
14114 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
14115 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
14116 testing of stopped.
14117 * gdb.mi/mi2-syn-frame.exp: Likewise.
14118 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
14119 (async, detect_async): New.
14120 (mi_expect_stop, mi_continue_to_line): Adjust expectation
14121 depending on if we're running in sync or async mode.
f7f9a841 14122
37cd5d19
TT
141232008-06-09 Tom Tromey <tromey@redhat.com>
14124
14125 * gdb.base/completion.exp: New tests for field name completion
14126 with spaces, and field name completion with '->'.
14127
65d12d83
TT
141282008-06-06 Tom Tromey <tromey@redhat.com>
14129
14130 * gdb.base/break1.c (struct some_struct): New struct.
14131 (values): New global.
14132 * gdb.base/completion.exp: Add field name completion test.
14133
ebfe2e3f
PP
141342008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14135
14136 * gdb.cp/call-c.exp: Test for incorrect handling of reference
14137 to pointer.
14138 * gdb.cp/call-c.cc: Likewise.
14139
bcf6fc3a
NR
141402008-06-06 Nick Roberts <nickrob@snap.net.nz>
14141
14142 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
14143 annotation.
14144
49fd4a42 141452008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 14146 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
14147
14148 * gdb.threads/execl.c, gdb.threads/execl1.c,
14149 gdb.threads/execl.exp: New tests.
a9c64011 14150
8a34ac3f
AR
141512008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
14152 Daniel Jacobowitz <dan@codesourcery.com>
14153
14154 * gdb.cp/exception.exp: Activate test, make it work with pending
14155 catchpoints.
14156
86ae69ef
JK
141572008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14158
14159 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
14160
f7f9ae2c
VP
141612008-05-28 Vladimir Prus <vladimir@codesourcery.com>
14162
a9c64011
AS
14163 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
14164 now printed.
14165 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 14166
2a2d4dc3
AS
141672008-05-27 Andreas Schwab <schwab@suse.de>
14168
14169 * gdb.base/frame-args.exp: Handle arguments that are optimized
14170 out.
14171
5099e4d9
LM
141722008-05-26 Luis Machado <luisgpm@br.ibm.com>
14173
14174 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
14175 quiet for ppc32 and group options into a single variable.
14176
d9c36a91
JB
141772008-05-23 Joel Brobecker <brobecker@adacore.com>
14178
14179 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
14180 of zero-size elements.
14181 * gdb.ada/null_array.exp: Test printing this new array.
14182
103a8671
JK
141832008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14184
14185 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
14186
07a4cc1a 141872008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
14188
14189 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
14190 of the "finish" command.
14191
55f996a7
NR
141922008-05-21 Nick Roberts <nickrob@snap.net.nz>
14193
14194 * gdb.base/annota1.exp: Test for new annotation.
14195
907fc202
UW
141962008-05-16 Pedro Alves <pedro@codesourcery.com>
14197
14198 * gdb.base/fixsection.exp: New file.
14199 * gdb.base/fixsection0.c: New file.
14200 * gdb.base/fixsection1.c: New file.
14201
e8f97270
UW
142022008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14203
14204 * gdb.base/annota1.exp: Accept printf@... in place of printf.
14205 * gdb.base/annota3.exp: Likewise.
14206
ac0bb574
NF
142072008-05-13 Nathan Froyd <froydnj@codesourcery.com>
14208
14209 * gdb.base/watch_thread_num.exp: Don't run tests that require
14210 watchpoints if the target doesn't support them.
14211
6fadd07a
DE
142122008-05-12 Doug Evans <dje@google.com>
14213
14214 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
14215
6e9a4a30
JB
142162008-05-09 Joel Brobecker <brobecker@adacore.com>
14217
14218 * gdb.ada/assign_1.exp: New testcase.
14219
08388c79
DE
142202008-05-09 Doug Evans <dje@google.com>
14221
a3c83fae
DE
14222 * gdb.base/find.exp: New file.
14223 * gdb.base/find.c: New file.
08388c79 14224
bd5ddfe8
DJ
142252008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
14226
14227 * gdb.base/commands.exp (watchpoint_command_test): Handle
14228 gdb,no_hardware_watchpoints.
14229 * gdb.base/float.exp: Allow ARM targets without floating point.
14230 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
14231
b5dd68e2 142322008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 14233 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
14234
14235 * gdb.ada/lang_switch: New test program.
14236 * gdb.ada/lang_switch.exp: New testcase.
14237
382d13d1
DE
142382008-05-05 Doug Evans <dje@google.com>
14239
14240 * gdb.base/help.exp (disassemble): Update expected help text.
14241
9dd789d0
PA
142422008-05-04 Pedro Alves <pedro@codesourcery.com>
14243
14244 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
14245
611c83ae
PA
142462008-05-04 Pedro Alves <pedro@codesourcery.com>
14247
14248 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
14249 different times.
14250
ff013f42
JK
142512008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14252
14253 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
14254 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
14255 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
14256 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
14257
96dff6a2
VP
142582008-05-04 Vladimir Prus <vladimir@codesourcery.com>
14259
14260 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
14261 notification to appear.
14262
55cd6f92
DJ
142632008-05-04 Daniel Jacobowitz <dan@debian.org>
14264
14265 * gdb.base/fullname.c: New file.
14266 * gdb.base/fullname.exp: New file.
14267 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
14268
d705c43c
PA
142692008-05-03 Pedro Alves <pedro@codesourcery.com>
14270
14271 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
14272 expressions with macros.
14273
333222e1
JK
142742008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14275
14276 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
14277
5ac01682
DJ
142782008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
14279
14280 * gdb.base/completion.exp: Handle lack of other symbols beginning
14281 with "a".
14282
14283 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
14284
237fc4c9
PA
142852008-05-02 Jim Blandy <jimb@codesourcery.com>
14286
14287 * gdb.asm/asmsrc1.s: Add scratch space.
14288
ed5e9466
DJ
142892008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14290 Daniel Jacobowitz <dan@codesourcery.com>
14291
14292 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
14293 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
14294 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
14295
b39cc962
DJ
142962007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
14297
14298 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
14299
36d520f5
JB
143002008-05-01 Joel Brobecker <brobecker@adacore.com>
14301
14302 * gdb.base/info-target.exp: New testcase.
14303
8d4e3071
DJ
143042008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14305
14306 * gdb.cp/hang.exp: Use .cc instead of .C.
14307 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
14308 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
14309
6f3f3097
DJ
143102008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14311
14312 * gdb.base/gdb1250.exp: Remove perror.
14313 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
14314
5550a914
PA
143152008-04-30 Pedro Alves <pedro@codesourcery.com>
14316
14317 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
14318 .2byte.
14319
d848e687
DJ
143202008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
14321
14322 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
14323 (maybe_kfail): New.
14324
93b5768b
PA
143252008-04-25 Pedro Alves <pedro@codesourcery.com>
14326
14327 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
14328
721c02de
VP
143292008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14330
a9c64011
AS
14331 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
14332 * gdb.mi/mi2-syn-frame.exp: Likewise.
14333 * lib/mi-support.exp: Likewise.
721c02de 14334
74960c60
VP
143352008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14336
14337 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
14338 to specify regexp for the location to stop at.
14339 * gdb.base/break-always.c: New.
14340 * gdb.base/break-always.exp: New.
14341
d24317b4
VP
143422008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14343
14344 * lib/mi-support.exp (mi_runto_helper): Adjust
14345 for the original-location field.
14346 (mi_create_breakpoint, mi_list_breakpoints): New.
14347 * gdb.mi/mi-break.exp: Adjust.
14348 * gdb.mi/mi2-break.exp: Adjust.
14349 * gdb.mi/mi-pending.exp: Adjust.
14350 * gdb.mi/mi-simplerun.exp: Adjust.
14351 * gdb.mi/mi2-simplerun.exp: Adjust.
14352 * gdb.mi/mi-syn-frame.exp: Adjust.
14353 * gdb.mi/mi2-syn-frame.exp: Adjust.
14354 * gdb.mi/mi-until.exp: Adjust.
14355 * gdb.mi/mi2-until.exp: Adjust.
14356 * gdb.mi/mi-var-display.exp: Adjust.
14357 * gdb.mi/mi2-var-display.exp: Adjust.
14358 * gdb.mi/mi-watch.exp: Adjust.
14359 * gdb.mi/mi2-watch.exp: Adjust.
14360
fdc59709 143612008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 14362
a9c64011
AS
14363 * aclocal.m4: Add override.m4.
14364 * configure: Regenerate.
fdc59709 14365
8e91f023
VP
143662008-04-19 Vladimir Prus <vladimir@codesourcery.com>
14367
14368 * gdb.mi/var-cmd.c (do_at_tests): Verify that
14369 '-var-update --all-values' reports new value even the type
14370 of a variable object has changed.
14371
233a11ab
CS
143722008-04-18 Craig Silverstein <csilvers@google.com>
14373
14374 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
14375 files.
d24317b4 14376
9c1137ad
JB
143772008-04-18 Joel Brobecker <brobecker@adacore.com>
14378
14379 * gdb.ada/atomic_enum: New test program.
14380 * gdb.ada/atomic_enum.exp: New testcase.
14381
66d0bbc7
DE
143822008-04-17 Doug Evans <dje@google.com>
14383
14384 * gdb.opt/Makefile.in: Fix whitespace.
14385
100906b0
UW
143862008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
14387
14388 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
14389
4584e32e
DE
143902008-04-17 Doug Evans <dje@google.com>
14391
14392 * gdb.base/hashline1.exp: New testcase.
14393 * gdb.base/hashline2.exp: New testcase.
14394 * gdb.base/hashline2.exp: New testcase.
14395
0a320680
PA
143962008-04-17 Pedro Alves <pedro@codesourcery.com>
14397
14398 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
14399
18ac113b
AR
144002008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
14401
14402 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
14403 temporary breakpoint to match "Temporary breakpoint".
14404 * gdb.base/break.exp (delete_breakpoints): Likewise.
14405 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
14406 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
14407 * gdb.base/display.exp: Likewise.
14408 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
14409 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
14410 * gdb.base/restore.exp (restore_tests): Likewise.
14411 * gdb.base/sepdebug.exp: Likewise.
14412 * gdb.base/watchpoint.exp: Likewise.
14413 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
14414 * gdb.mi/mi-pending.exp: Likewise.
14415 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
14416 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
14417 * gdb.mi/mi-var-cmd.exp: Likewise.
14418 * gdb.mi/mi-var-display.exp: Likewise.
14419 * gdb.mi/mi2-cli.exp: Likewise.
14420 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
14421 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
14422 * gdb.mi/mi2-var-display.exp: Likewise.
14423 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
14424 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
14425 new "disp" field.
a9c64011 14426 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
14427 reason. This is to support fix for PR2424.
14428
add38693
JK
144292008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14430
14431 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
14432
fcacd99f
VP
144332008-04-13 Vladimir Prus <vladimir@codesourcery.com>
14434
14435 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 14436 field. Add more floating varobj tests.
fcacd99f 14437 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
14438 field.
14439 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
14440 (main): Call do_at_tests.
14441 * lib/mi-support.exp (mi_create_floating_varobj)
14442 (mi_varobj_update_with_type_change): New.
fcacd99f 14443
de051565
MK
144442008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
14445
14446 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
14447 option of -var-evaluate-expression.
14448 * gdb.mi/mi2-var-display.exp: Likewise.
14449
dbc52822
VP
144502008-04-07 Vladimir Prus <vladimir@codesourcery.com>
14451
14452 Introduce test setup helpers.
a9c64011
AS
14453 * lib/gdb.exp (build_executable, clean_restart)
14454 (prepare_for_testing): New.
14455 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
14456 * gdb.base/return.exp: Likewise.
14457 * gdb.base/ending-run.exp: Likewise.
dbc52822 14458
473591da
NR
144592008-04-07 Nick Roberts <nickrob@snap.net.nz>
14460
14461 * gdb.mi/mi-async.exp: New test for asynchronous Machine
14462 Interface (MI) responses.
14463
2b2d9e11
VP
144642008-04-06 Vladimir Prus <vladimir@codesourcery.com>
14465
a9c64011
AS
14466 * gdb.cp/breakpoint.cc: New code to test conditions involving
14467 member variables.
14468 * gdb.cp/breakpoint.exp: Test condition involving member
14469 variables.
2b2d9e11 14470
bb378428
VP
144712008-04-05 Vladimir Prus <vladimir@codesourcery.com>
14472
14473 * lib/mi-support.exp (mi_expect_stop): New.
14474 (mi_run_cmd): Change the
14475 token. Use mi_send_resuming_command, use
14476 mi_expect_stop.
14477 (mi_execute_to_helper): Rename to mi_execute_to.
14478 (mi_send_resuming_command): Add more error patterns.
14479 (mi_wait_for_stop): Renamed to...
14480 (mi_get_stop_line): ...this.
14481 (mi_run_inline_test): Adjust.
14482
14483 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
14484 * gdb.mi/mi-console.exp: Likewise.
14485 * gdb.mi/mi-pending.exp: Likewise.
14486 * gdb.mi/mi-simplerun.exp: Likewise.
14487 * gdb.mi/mi-stack.exp: Likewise.
14488 * gdb.mi/mi-stepi.exp: Likewise.
14489 * gdb.mi/mi-syn-frame.exp: Add comment.
14490 * gdb.mi/mi-until.exp: Likewise.
14491 * gdb.mi/mi-var-display.exp: Likewise.
14492 * gdb.mi/mi-watch.exp: Likewise.
14493 * gdb.mi/mi2-cli.exp: Likewise.
14494 * gdb.mi/mi2-console.exp: Likewise.
14495 * gdb.mi/mi2-simplerun.exp: Likewise.
14496 * gdb.mi/mi2-stack.exp: Likewise.
14497 * gdb.mi/mi2-stepi.exp: Likewise.
14498 * gdb.mi/mi2-until.exp: Likewise.
14499 * gdb.mi/mi2-var-display.exp: Likewise.
14500 * gdb.mi/mi2-watch.exp: Likewise.
14501
62172bb9
UW
145022008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14503
14504 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
14505
14506 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
14507
a13e061a
PA
145082008-04-04 Pedro Alves <pedro@codesourcery.com>
14509
14510 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
14511 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
14512 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14513 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
14514 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
14515 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
14516 expect an mi error duplicated in stderr.
14517
eae06beb
JB
145182008-04-03 Joel Brobecker <brobecker@adacore.com>
14519
14520 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
14521 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
14522 Add a couple of tests that verify the behavior when the new setting
14523 is set to "cancel" and "all".
14524 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
14525 "ask" before we start the testing.
14526
79c6ced6
AR
145272008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
14528
14529 * gdb.cp/casts.cc: Add class reference variables.
14530 * gdb.cp/casts.exp: New test cases for up/down casting references.
14531
6c2d1a6b
MK
145322008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
14533
14534 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
14535 instead of beginning to make an extra test pass.
14536 * gdb.mi/mi2-var-display.exp: Likewise.
14537
55b411d9
MR
145382008-03-31 Maciej W. Rozycki <macro@mips.com>
14539
14540 * gdb.base/break.exp: Mark failures as such. Fix formatting.
14541
c6140da2
MD
145422008-03-31 Markus Deuling <deuling@de.ibm.com>
14543 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14544
14545 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
14546 value. Add xfail for older kernels.
14547
79732189
AR
145482008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
14549
14550 Bring mi-support in line with gdb.exp.
14551 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
14552 (mi_gdb_start): New function.
14553
33c3676e
MR
145542008-03-28 Maciej W. Rozycki <macro@mips.com>
14555
14556 * gdb.mi/mi-var-cmd.exp: Fix a typo.
14557
92e28119
VP
145582008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14559
14560 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
14561 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 14562
9e8e3afe
VP
145632008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14564
14565 * lib/mi-support.exp (mi_create_varobj_checked): New.
14566 (mi_list_varobj_children): Allow to check for a
14567 value.
14568 (mi_list_array_varobj_children): New.
14569
14570 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
14571 and mi_list_varobj_children, as opposed to hardcoding
14572 expected strings.
14573 * gdb.mi/gdb701.exp: Likewise.
14574 * gdb.mi/gdb792.exp: Likewise.
14575 * gdb.mi/mi-var-block.exp: Likewise.
14576 * gdb.mi/mi-var-cmd.exp: Likewise.
14577 * gdb.mi/mi-var-invalidate.exp: Likewise.
14578 * gdb.mi/mi2-var-block.exp: Likewise.
14579 * gdb.mi/mi2-var-child.exp: Likewise.
14580 * gdb.mi/mi2-var-cmd.exp: Likewise.
14581 * gdb.mi/mi2-var-display.exp: Likewise.
14582
9df50351
JK
145832008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14584
14585 Fix random false FAILs on i386.
14586 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
14587
31e5d73a
DJ
145882008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14589
14590 PR gdb/544
14591 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
14592
12f4afab
DJ
145932008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14594
14595 PR gdb/544
14596 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
14597
b562a0cb
DJ
145982008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14599
14600 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
14601 fixed PR gdb/544.
14602
17faa917
DJ
146032008-03-21 Pedro Alves <pedro@codesourcery.com>
14604
14605 * gdb.threads/fork-child-threads.exp: Test next over fork.
14606
6214f497
DJ
146072008-03-21 Chris Demetriou <cgd@google.com>
14608
14609 * gdb.base/break.exp (rbreak junk): New test for rbreak
14610 "Junk at end of arguments" issue.
14611
63092375
DJ
146122008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14613
14614 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
14615 *& to work on created array elements.
14616 (Top level): Test print $pc with a file. Test string operations
14617 without a target.
14618 * gdb.base/ptype.exp: Do not expect *& to work on created array
14619 elements.
14620
b21991b0
DJ
146212008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14622
14623 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14624 gdb.threads/staticthreads.exp: Update exit query.
14625
c4b347c7
SL
146262008-03-07 Sandra Loosemore <sandra@codesourcery.com>
14627
14628 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
14629
fa4727a6
DJ
146302008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
14631
14632 * gdb.base/watchpoint.c (global_ptr, func4): New.
14633 (main): Call func4.
14634 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
14635 (test_inaccessible_watchpoint): New.
14636
2f34202f
MR
146372008-02-29 Maciej W. Rozycki <macro@mips.com>
14638
14639 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
14640 select the largest.
14641
0d6ba1b1
DJ
146422008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
14643
14644 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
14645 frames-invalid annotations.
14646
e691325a
PM
146472008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
14648
a9c64011 14649 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 14650
f85b5ecc
DE
146512008-02-27 Doug Evans <dje@google.com>
14652
14653 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
14654 for bug 1738.
14655 (breakpoint_to_handler_entry): Ditto.
14656
b40e7bf3
JB
146572008-02-27 Joel Brobecker <brobecker@adacore.com>
14658
14659 * gdb.base/ending-run.exp: Use the first line of code inside
14660 function body to test breakpoints.
14661 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
14662 location where the breakpoint is inserted when using the line
14663 where a function is declared. Fix typo in the description of
14664 one of the tests.
14665 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
14666
2faca73a
PM
146672008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14668
14669 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 14670 tests.
2faca73a 14671
6f439c36
PM
146722008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14673
14674 * gdb.base/args.exp: avoid same output for tests
14675 with single quotes.
14676
54e52265
VP
146772008-02-26 Vladimir Prus <vladimir@codesourcery.com>
14678
a9c64011
AS
14679 * gdb.base/annota1.exp: Adjust for 'info break'
14680 format changes.
14681 * gdb.base/annota3.exp: Likewise.
14682 * gdb.base/break.exp: Likewise.
14683 * gdb.base/condbreak.exp: Likewise.
14684 * gdb.base/pending.exp: Likewise.
14685 * gdb.base/sepdebug.exp: Likewise.
14686 * gdb.base/unload.exp: Likewise.
14687 * gdb.cp/ovldbreak.exp: Likewise.
14688 * gdb.mi/mi-pending.exp: Likewise.
54e52265 14689
897b09ca
DE
146902008-02-07 Doug Evans <dje@google.com>
14691
14692 * gdb.cp/mb-inline.exp: New.
14693 * gdb.cp/mb-inline.h: New.
14694 * gdb.cp/mb-inline1.cc: New.
14695 * gdb.cp/mb-inline2.cc: New.
14696
b1c32d35
PM
146972008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
14698
14699 * gdb.pascal/floats.pas: New test program.
14700 * gdb.pascal/floats.exp: New testcase.
14701
1a4ca44a
TJB
147022008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14703
14704 * gdb.base/callfuncs.c (t_float_many_args): New function.
14705 (t_double_many_args): New function.
14706 * gdb.base/callfuncs.exp: Add tests for exceeding float
14707 and double parameters passed through the stack.
14708
439048e8
JB
147092008-02-05 Joel Brobecker <brobecker@adacore.com>
14710
14711 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
14712 gdb.ada/complete/foo.adb: New files.
14713 * gdb.ada/complete.exp: New testcase.
14714
81fe8080
DE
147152008-02-03 Doug Evans <dje@google.com>
14716
301f0ecf
DE
14717 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
14718
81fe8080
DE
14719 * gdb.cp/gdb2384.exp: New file.
14720 * gdb.cp/gdb2384.cc: New file.
14721 * gdb.cp/gdb2384-base.h: New file.
14722 * gdb.cp/gdb2384-base.cc: New file.
14723
4b071aec
DE
147242008-02-02 Doug Evans <dje@google.com>
14725
14726 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
14727
61137ba6
JB
147282007-02-01 Joel Brobecker <brobecker@adacore.com>
14729
14730 * gdb.ada/sym_print_name: New test program.
14731 * gdb.ada/sym_print_name.exp: New testcase.
14732
147332007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
14734
14735 * gdb.ada/nested/hello.adb: New file.
14736 * gdb.ada/nested.exp: New testcase.
14737 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
14738
98deb0da
VP
147392008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14740
14741 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
14742 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
14743 don't cause future evaluations of function to report
14744 creation of internal breakpoints.
98deb0da 14745
723a2275
VP
147462008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14747
14748 * gdb.mi/mi-break.exp (test_error): New.
14749 Call it.
14750
fb546a2f
LM
147512008-01-31 Luis Machado <luisgpm@br.ibm.com>
14752
14753 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
14754 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
14755
2d8fd90a
PM
147562008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14757
14758 * gdb.pascal/integers.pas: New test program.
14759 * gdb.pascal/integers.exp: New testcase.
14760
a7fa0ded
PM
147612008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14762
14763 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
14764
5e1a1926
TJB
147652008-01-30 Luis Machado <luisgpm@br.ibm.com>
14766
14767 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
14768 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
14769
8d04f9f0
JB
147702008-01-30 Paul Hilfinger <hilfinger@adacore.com>
14771
14772 * gdb.ada/formatted_ref: New test program.
14773 * gdb.ada/formatted_ref.exp: New testcase.
14774
14775 * gdb.cp/formatted-ref.cc: New file.
14776 * gdb.cp/formatted-ref.exp: New testcase.
14777
ce75a98f
JB
147782008-01-30 Joel Brobecker <brobecker@adacore.com>
14779
14780 * gdb.base/ptype.exp: Add testing of "ptype $pc".
14781
e835f6bf
NR
147822008-01-30 Nick Roberts <nickrob@snap.net.nz>
14783
14784 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
14785 (test_file_list_exec_source_file): Update to new macro-info field.
14786
d118ef87
PH
147872008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
14788
14789 * gdb.ada/exprs: New test program.
14790 * gdb.ada/exprs.exp: New testcase.
14791
7d35ab09
TJB
147922008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14793
14794 * dfp-test.c (DELTA, DELTA_B): New definitions.
14795 (double_val1, double_val2, double_val3, double_val4, double_val5,
14796 double_val6, double_val7, double_val8, double_val9, double_val10,
14797 double_val11, double_val12, double_val13, double_val14, dec32_val1,
14798 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
14799 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
14800 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
14801 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
14802 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
14803 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
14804 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
14805 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
14806 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
14807 dec128_val16): New global variables.
14808 (decimal_dec128_align): New function.
14809 (decimal_mixed): Likewise.
14810 (decimal_many_args_dec32): Likewise.
14811 (decimal_many_args_dec64): Likewise.
14812 (decimal_many_args_dec128): Likewise.
14813 (decimal_many_args_mixed): Likewise.
14814 * dfp-test.exp: Add tests calling new inferior functions.
14815
2d717e4f
DJ
148162008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14817
14818 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
14819 gdb.server/ext-run.exp: New files.
14820 * lib/gdbserver-support.exp (gdbserver_download): New.
14821 (gdbserver_start): New. Update gdbserver expected
14822 output.
14823 (gdbserver_spawn): Use them.
14824 (gdbserver_start_extended): New.
14825
e85a822c
DJ
148262008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14827
14828 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
14829 Run on GNU/Linux.
14830 (do_exec_tests): Check for systems which do not support catchpoints.
14831 Do not match START.
14832 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
14833 Run on GNU/Linux. Enable verbose output.
14834 (check_fork_catchpoints): New.
14835 (explicit_fork_child_follow, catch_fork_child_follow)
14836 (tcatch_fork_parent_follow): Update expected messages.
14837 (do_fork_tests): Use check_fork_catchpoints.
14838 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
14839 Run on GNU/Linux. Enable verbose output.
14840 (check_vfork_catchpoints): New.
14841 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
14842 expected messages.
14843 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
14844
401ea829
JB
148452008-01-29 Jim Blandy <jimb@red-bean.com>
14846
14847 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
14848 host' errors.
14849 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
14850
aceaf3ad
JB
148512008-01-29 Jim Blandy <jimb@red-bean.com>
14852
14853 * gdb.threads/sigthread.c: Use barriers to ensure that
14854 child_thread and child_thread_two are always initialized before we
14855 start to use them.
14856
a5606eee
VP
148572008-01-29 Vladimir Prus <vladimir@codesourcery.com>
14858
14859 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
14860 * gdb.base/watchpoint-solib.c: New.
14861 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 14862
c55a82bb
PM
148632008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
14864
14865 * gdb.base/gdb1056.exp: Add unsigned integer test.
14866
0993fe05
DE
148672008-01-28 Doug Evans <dje@google.com>
14868
14869 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
14870
4fe42e7f
JB
148712008-01-27 Jim Blandy <jimb@codesourcery.com>
14872
c7a69933
JB
14873 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
14874
4fe42e7f
JB
14875 * gdb.base/expand-psymtabs.exp: Doc fix.
14876
5def8285
MK
148772008-01-26 Mark Kettenis <kettenis@gnu.org>
14878
14879 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
14880
5313c911
NR
148812008-01-24 Nick Roberts <nickrob@snap.net.nz>
14882
a9c64011 14883 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
14884 -var-set-format.
14885
93815fbf
VP
148862008-01-23 Chris Demetriou <cgd@google.com>
14887
14888 * gdb.threads/thread_events.c: New testcase source file.
14889 * gdb.threads/thread_events.exp: New testcase expect file.
14890
467a88ee
NR
148912008-01-23 Nick Roberts <nickrob@snap.net.nz>
14892
14893 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
14894
14895 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
14896 -var-set-format.
14897
d8f82aba
DJ
148982008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
14899 Vladimir Prus <vladimir@codesourcery.com>
14900
14901 * gdb.base/float.exp: Allow missing floating point for m68k and
14902 PowerPC.
14903
60c46647
VP
149042008-01-22 Vladimir Prus <vladimir@codesourcery.com>
14905
14906 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
14907 ignore count.
14908 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
14909 * gdb.mi/mi-cli.exp: Adjust.
14910 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 14911
c7dd36a1
PA
149122008-01-17 Pedro Alves <pedro@codesourcery.com>
14913
14914 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
14915 and 'dummy_ptr' integer pointer. Initialize struct_declarations
14916 with dummy_ptr's address.
14917 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
14918 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
14919 all targets.
14920 * gdb.mi/mi2-var-child.exp: Likewise.
14921
39d5313e
JB
149222008-01-09 Joel Brobecker <brobecker@adacore.com>
14923
14924 * gdb.ada/null_array: New test program.
14925 * gdb.ada/null_array.exp: New testcase.
14926
0aea4bf3
LM
149272008-01-09 Luis Machado <luisgpm@br.ibm.com>
14928
14929 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
14930 with required float modifiers.
14931
0b354900
JB
149322008-01-08 Joel Brobecker <brobecker@adacore.com>
14933
14934 * gdb.ada/funcall_param: New test program.
14935 * gdb.ada/funcall_param.exp: New testcase.
14936
cdb7f5d4
JB
149372008-01-08 Joel Brobecker <brobecker@adacore.com>
14938
14939 * gdb.ada/arrayparam: New test program.
14940 * gdb.ada/arrayparam.exp: New testcase.
14941
88e2547f
JB
149422008-01-08 Joel Brobecker <brobecker@adacore.com>
14943
14944 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
14945 landed. Should also fix random failures in the test following it.
14946
f6867ce0
TJB
149472008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
14948
14949 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
14950 for expressions with decimal float values.
14951 (test_dfp_conversions): New function to test casts to and from
14952 decimal float types.
14953 Call test_dfp_conversions.
14954 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
14955 elements.
14956 (main): Initialize ds.float4 and ds.double8 elements.
14957 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
14958 string to new error message.
14959 (d64_set_tests): Likewise.
14960 (d128_set_tests): Likewise.
14961 Add tests for expressions with decimal float variables. Add tests for
14962 conversions to and from decimal float types.
14963
f9c11282
JB
149642008-01-05 Joel Brobecker <brobecker@adacore.com>
14965
14966 * gdb.ada/packed_tagged/comp_bug.adb: New file.
14967 * gdb.ada/packed_tagged.exp: New testcase.
14968
0ecbca72
JB
149692008-01-04 Joel Brobecker <brobecker@adacore.com>
14970
14971 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
14972 gdb.ada/homonym/homonym_main.adb: New files.
14973 * gdb.ada/homonym.exp: New testcase.
14974
c18d3d89
JB
149752008-01-04 Joel Brobecker <brobecker@adacore.com>
14976
14977 * gdb.ada/packed_array.exp: Add testing of references to
14978 a packed array.
14979
ecc7085b
JB
149802008-01-04 Joel Brobecker <brobecker@adacore.com>
14981
14982 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
14983 New files.
14984 * gdb.ada/type_coercion.exp: New testcase.
14985
c474c922
JB
149862008-01-04 Joel Brobecker <brobecker@adacore.com>
14987
14988 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
14989 gdb.ada/tagged/foo.adb: New file.
14990 * gdb.ada/tagged.exp: New testcase.
14991
9005b927
JB
149922008-01-04 Joel Brobecker <brobecker@adacore.com>
14993
14994 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
14995 gdb.ada/ptype_field/foo.adb: New files.
14996 * gdb.ada/ptype_field.exp: New testcase.
14997
1a6aaad8
JB
149982008-01-03 Joel Brobecker <brobecker@adacore.com>
14999
15000 * gdb.ada/print_pc.exp: New testcase.
15001
0ef22f53
JB
150022008-01-03 Joel Brobecker <brobecker@adacore.com>
15003
15004 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
15005 gdb.ada/taft_type/p.adb: New files.
15006 * gdb.ada/taft_type.exp: New testcase.
15007
1689ecf8
JB
150082008-01-03 Joel Brobecker <brobecker@adacore.com>
15009
15010 * gdb.ada/array_bounds/bar.adb: New file.
15011 * gdb.ada/array_bounds.exp: New testcase.
15012
a4d0b9c3
JB
150132008-01-03 Joel Brobecker <brobecker@adacore.com>
15014
15015 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
15016 gdb.ada/arrayptr/foo.adb: New files.
15017 * gdb.ada/arrayptr.exp: New testcase.
15018
a31ace00
JB
150192008-01-03 Joel Brobecker <brobecker@adacore.com>
15020
15021 * gdb.base/set-lang-auto.exp: New testcase.
15022
a97fced3
JB
150232008-01-03 Joel Brobecker <brobecker@adacore.com>
15024
15025 * gdb.ada/fun_addr/foo.adb: New file.
15026 * gdb.ada/fun_addr.exp: New testcase.
15027
ef29ce1a
JK
150282008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15029
15030 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
15031 New files
15032
0fafefe3
JB
150332008-01-02 Joel Brobecker <brobecker@adacore.com>
15034
15035 * array_subscript_addr/p.adb: New file.
a9c64011 15036 * array_subscript_addr.exp: New testcase.
0fafefe3 15037
c4359f8d
JB
150382008-01-02 Joel Brobecker <brobecker@adacore.com>
15039
a9c64011 15040 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
15041 New files.
15042 * gdb.ada/str_cmp_ref.exp: New testcase.
15043
1aa1b15b
JB
150442008-01-01 Joel Brobecker <brobecker@adacore.com>
15045
15046 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
15047 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 15048 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 15049
81c9b2cf
JB
150502008-01-01 Joel Brobecker <brobecker@adacore.com>
15051
15052 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
15053 gdb.ada/ref_param/pck.ads: New files.
15054 * gdb.ada/ref_param.exp: New testcase.
15055
319e4674
JB
150562008-01-01 Joel Brobecker <brobecker@adacore.com>
15057
15058 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
15059 gdb.ada/interface/foo.adb: New files.
15060 * gdb.ada/interface.exp: New testcase.
15061
ef682c56
JB
150622007-12-31 Jim Blandy <jimb@codesourcery.com>
15063
15064 * gdb.base/multi-forks.exp: Consume all output from child
15065 processes before proceeding to next test.
15066
f6f3eb6c
JB
150672007-12-29 Jim Blandy <jimb@codesourcery.com>
15068
15069 * configure: Regenerated.
15070
f652e42f
JB
150712007-12-27 Joel Brobecker <brobecker@adacore.com>
15072
15073 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
15074 gdb.ada/fixed_cmp/fixed.adb: New files.
15075 * gdb.ada/fixed_cmp.exp: New testcase.
15076
6943e596
JB
150772007-12-27 Joel Brobecker <brobecker@adacore.com>
15078
15079 * gdb.ada/boolean_expr.exp: New testcase.
15080
aad9a193
JB
150812007-12-26 Jim Blandy <jimb@codesourcery.com>
15082
15083 * gdb.base/multi-forks.exp: Doc fix.
15084
fb5f3683
JB
150852007-12-26 Joel Brobecker <brobecker@adacore.com>
15086
15087 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15088 * gdb.ada/char_param.exp: Do not compile our test program with
15089 -gnata, this is unnecessary.
15090 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
15091
384e4a9c
JB
150922007-12-24 Joel Brobecker <brobecker@adacore.com>
15093
15094 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
15095 gdb.ada/print_chars/foo.adb: New files.
15096 * gdb.ada/print_chars.exp: New testcase.
15097
01e044f7
JB
150982007-12-24 Joel Brobecker <brobecker@adacore.com>
15099
15100 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
15101 gdb.ada/char_param/foo.adb: New files.
15102 * gdb.ada/char_param.exp: New testcase.
15103
0ce17860
JB
151042007-12-22 Jim Blandy <jimb@codesourcery.com>
15105
15106 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
15107 hard-coding source line numbers into the test.
15108 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
15109 gdb_get_line_number to find.
15110
919809b9
JB
151112007-12-22 Joel Brobecker <brobecker@adacore.com>
15112
15113 * gdb.base/ptype.c (highest): New struct type.
15114 (the_highest): New variable of that type.
15115 (main): Add dummy assignment to a field of variable the_highest.
15116 * gdb.base/ptype.exp: Test type printing of our new variable.
15117
abc8a88d
PM
151182007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
15119
15120 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 15121 and record first explicitly generated thread number.
abc8a88d
PM
15122 Use that thread number for thread specific watchpoint test.
15123 Add iteration number to repetitive tests.
15124
5158f3e3
CES
151252007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15126 Jim Blandy <jimb@codesourcery.com>
15127
15128 * gdb.base/expand-psymtabs.c: New testcase
15129 source file.
15130 * gdb.base/expand-psymtabs.exp: New testcase
15131 expect file.
15132
37e4754d
LM
151332007-12-17 Luis Machado <luisgpm@br.ibm.com>
15134
15135 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
15136 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
15137
551e5d04
JB
151382007-12-17 Joel Brobecker <brobecker@adacore.com>
15139
15140 * gdb.ada/frame_args/foo.adb: New file.
15141 * gdb.ada/frame_args/pck.ads: New file.
15142 * gdb.ada/frame_args/pck.adb: New file.
15143 * gdb.ada/frame_args.exp: New testcase.
15144
a05ee097
JB
151452007-12-17 Joel Brobecker <brobecker@adacore.com>
15146
15147 * gdb.base/frame-args.c: New file.
15148 * gdb.base/frame-args.exp: New testcase.
15149
c162e8c9 151502007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 15151 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
15152
15153 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
15154
afe8ab22 151552007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15156
afe8ab22
VP
15157 * gdb.mi/mi-pending.exp: New.
15158 * gdb.mi/mi-pending.c: New.
15159 * gdb.mi/mi-pendshr.c: New.
15160
dfdfb3ca
JB
151612007-12-06 Jim Blandy <jimb@codesourcery.com>
15162
15163 * gdb.base/default.exp: Update expected output for 'info catch'.
15164
b7fca990
JK
151652007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15166
15167 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
15168 must be set to binary.
15169
6a1afc1e
PA
151702007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
15171
15172 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
15173
a6b151f1
DJ
151742007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
15175
15176 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
15177 gdb.mi/mi-file-transfer.exp: New.
15178
43039443
JK
151792007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15180
15181 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
15182
0ef2251b
MR
151832007-11-22 Maciej W. Rozycki <macro@mips.com>
15184
15185 * gdb.trace/backtrace.exp: Fix a typo.
15186 * gdb.trace/circ.exp: Likewise.
15187 * gdb.trace/collection.exp: Likewise.
15188 * gdb.trace/limits.exp: Likewise.
15189 * gdb.trace/report.exp: Likewise.
15190 * gdb.trace/tfind.exp: Likewise.
15191 * gdb.trace/while-dyn.exp: Likewise.
15192
5443631e
NR
151932007-11-21 Nick Roberts <nickrob@snap.net.nz>
15194
15195 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
15196 objects of pointers that can't be dereferenced are now
15197 "noneditable".
15198
a4ce5b0d
UW
151992007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15200
15201 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
15202 (target_cpu): Remove.
15203
d6e956e5
VP
152042007-10-15 Vladimir Prus <vladimir@codesourcery.com>
15205
15206 * gdb.base/ending-run.exp: Expect the list of cleared
15207 breakpoint to come in natural order, not the reversed one.
a9c64011 15208
214270ab
VP
152092007-11-07 Vladimir Prus <vladimir@codesourcery.com>
15210
15211 * gdb.mi/mi-var-child.c (do_child_deletion): New.
15212 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 15213
1a619819
LM
152142007-11-05 Luis Machado <luisgpm@br.ibm.com>
15215
15216 * gdb.base/printcmds.exp: New function
15217 test_printf_with_dfp.
15218
5b01a6fa
DE
152192007-11-02 Doug Evans <dje@google.com>
15220
15221 * gdb.disasm/t01_mov.s: Remove carriage returns.
15222 * gdb.disasm/t02_mova.s: Ditto.
15223 * gdb.disasm/t03_add.s: Ditto.
15224 * gdb.disasm/t04_sub.s: Ditto.
15225 * gdb.disasm/t05_cmp.s: Ditto.
15226 * gdb.disasm/t06_ari2.s: Ditto.
15227 * gdb.disasm/t07_ari3.s: Ditto.
15228 * gdb.disasm/t08_or.s: Ditto.
15229 * gdb.disasm/t09_xor.s: Ditto.
15230 * gdb.disasm/t10_and.s: Ditto.
15231 * gdb.disasm/t11_logs.s: Ditto.
15232 * gdb.disasm/t12_bit.s: Ditto.
15233 * gdb.disasm/t13_otr.s: Ditto.
15234
ec33ab7f
JK
152352007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15236
15237 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
15238
ae0d01ff
UW
152392007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15240
15241 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
15242 provide DFP support.
15243
55eddb0f
DJ
152442007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
15245
15246 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
15247 Test "set powerpc vector-abi". Skip auto-detection tests for old
15248 toolchains.
15249
7020f05c
PA
152502007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15251
15252 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
15253 with [string compare].
15254
84bc3db9
PA
152552007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15256
15257 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
15258 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
15259
5876dc88
LM
152602007-10-25 Luis Machado <luisgpm@br.ibm.com>
15261
15262 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
15263 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
15264 * gdb.opt/Makefile.in: New makefile.
15265 * Makefile.in: Create new directory "gdb.opt".
15266 * configure.ac: Add "gdb.opt" directory.
15267 * configure: Regenerated.
a9c64011 15268
c3ea9a14
DE
152692007-10-25 Doug Evans <dje@google.com>
15270
15271 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
15272 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
15273
a9c64011 152742007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
15275 Thiago Jung Bauermann <bauerman@br.ibm.com>
15276
15277 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
15278 Floating Point expressions.
15279 * gdb.base/dfp-test.exp: new file adding tests for Decimal
15280 Floating Point variables.
15281 * gdb.base/dfp-test.c: new file containing program with Decimal
15282 Floating variables, used by gdb.base/dfp-test.exp.
15283
62a24a2b
DJ
152842007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
15285
15286 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
15287
e7b1eae6
UW
152882007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15289
15290 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
15291 compiling test case with GCC.
15292 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
15293
c641edcc
UW
152942007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15295
15296 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15297 format changes.
15298
5e5ebfe6
MS
152992007-10-18 Michael Snyder <msnyder@specifix.com>
15300
15301 * gdb.base/dbx.exp: Add missing "-re " operator.
15302
e831e7b6
GM
153032007-10-16 Gaius Mulley <gaius@glam.ac.uk>
15304
15305 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
15306 * configure.ac: Removed trailing spaces after backslash.
15307 * gdb.modula2: New directory.
15308 * gdb.modula2/Makefile.in: New file.
15309 * gdb.modula2/unbounded-array.exp: New file.
15310 * gdb.modula2/unbounded1.c: New file.
15311
7cc46491
DJ
153122007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
15313
15314 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
15315
153162007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
15317
15318 * gdb.base/sigstep.c (main): Add checks for
15319 return values for setitimer call.
15320 Call setitimer again with itimer = ITIMER_REAL
15321 if first call to setitimer fails.
15322
e91528f0
KH
153232007-10-11 Kazu Hirata <kazu@codesourcery.com>
15324
15325 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
15326 of $timeout.
15327
2ec9a4f8
DJ
153282007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
15329
15330 * gdb.server/server-run.exp: Test for dynamic linker symbols.
15331
153322007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
15333
15334 * lib/gdb.exp (gdb_run_cmd): Move comment outside
15335 of gdb_expect call, to avoid interruption.
15336
64b2fa04
PA
153372007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
15338
15339 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
15340 (v_unsigned_long_long, v_long_long_array)
15341 (v_signed_long_long_array, v_unsigned_long_long_array)
15342 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
15343 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
15344 [!NO_LONG_LONG]: New.
15345 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
15346 v_long_long_member.
15347
15348 (v_long_long_func, v_signed_long_long_func)
15349 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
15350 (main) [!NO_LONG_LONG]: Initialize long long variants.
15351
15352 * gdb.base/whatis.exp: If board file requests no_long_long, build
15353 test with NO_LONG_LONG defined. Test long long, signed long long,
15354 and unsigned long long variants but only if board file doesn't
15355 disable it.
15356
a912286e 153572007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 15358 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
15359
15360 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
15361 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
15362 * configure: Regenerated.
15363 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
15364 gdb.pascal/types.exp, lib/pascal.exp: New files.
15365
471ba8c9
DJ
153662007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
15367
15368 * gdb.cp/classes.exp (do_tests): Always step to the line after the
15369 call.
15370 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
15371 to return to the call.
15372 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
15373 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
15374 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
15375 * gdb.mi/mi-until.exp (test_until): Likewise.
15376 * gdb.mi/mi2-until.exp (test_until): Likewise.
15377
fef8a650
DJ
153782007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
15379
15380 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
15381 two-char array.
15382 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
15383
d983da9c
DJ
153842007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
15385
15386 * gdb.threads/watchthreads.c (thread_function): Sleep between
15387 iterations.
15388 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
15389 at once for S/390. Generate matching fails and passes.
15390
17f62551
VP
153912007-09-27 Vladimir Prus <vladimir@codesourcery.com>
15392
15393 * gdb.mi/var-cmd.c (do_children_tests): Initialize
15394 the 'struct_declarations' variable to zeros.
a9c64011 15395
ed0616c6
VP
153962007-09-24 Vladimir Prus <vladimir@codesourcery.com>
15397
15398 * gdb.cp/mb-ctor.cc: New.
15399 * gdb.cp/mb-ctor.exp: New.
15400 * gdb.cp/mb-templates.cc: New.
15401 * gdb.cp/mb-templates.exp: New.
15402
41f1b697
DJ
154032007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
15404
15405 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
15406
3f213f78
PA
154072007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
15408
15409 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
15410 targets.
15411 * configure: Regenerate.
15412
0d381245 154132007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15414
0d381245
VP
15415 * gdb.base/annota1.exp: Adjust for 'info break'
15416 format changes.
15417 * gdb.base/annota3.exp: Likewise.
15418 * gdb.base/break.exp: Likewise.
15419 * gdb.base/condbreak.exp: Likewise.
15420 * gdb.base/pending.exp: Likewise.
15421 * gdb.base/sepdebug.exp: Likewise.
15422 * gdb.base/unload.exp: Likewise.
15423 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 15424
fe3f5fa8
VP
154252007-09-22 Vladimir Prus <vladimir@codesourcery.com>
15426
15427 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
15428 messages.
15429 * gdb.base/chng-syms.exp: Likewise.
15430 * gdb.base/unload.exp: Likewise.
a9c64011 15431
a75cf6c0
DJ
154322007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
15433
15434 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
15435
18ecae38
DJ
154362007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
15437
15438 * schedlock.c (NUM): Change to 1.
15439 (main): Use args[0] for the main thread.
15440 * schedlock.exp: Only expect two threads. Only issue one pass or fail
15441 regardless of the number of threads.
15442
5509918f
MR
154432007-09-14 Maciej W. Rozycki <macro@mips.com>
15444
4a543daf
MR
15445 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
15446 type down.
15447 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15448 test.
15449 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
15450 watchpoint type down.
15451 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15452 test.
15453
154542007-09-14 Maciej W. Rozycki <macro@mips.com>
15455
5509918f
MR
15456 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
15457 Move all the tests here and run them twice, once using software
15458 watchpoints and once using hardware watchpoints.
15459 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
15460
40b53987
DJ
154612007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
15462
15463 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
15464 test.
15465
695e2681
MK
154662007-09-10 Mark Kettenis <kettenis@gnu.org>
15467
8b3fc8d8
MK
15468 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
15469 build-id.
15470
695e2681
MK
15471 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
15472 know about $ORIGIN. Calculate output dir from $dest instead of
15473 using ${objdir}/{$subdir}.
15474
58d69f29
MK
154752007-09-09 Mark Kettenis <kettenis@gnu.org>
15476
15477 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
15478 gcore, before continuing with the test.
15479
3e347599
DJ
154802007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
15481
15482 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
15483 * gdb.mi/mi-watch.exp: Likewise.
15484
ea37ba09
DJ
154852007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
15486 Jim Blandy <jimb@codesourcery.com>
15487
15488 * gdb.arch/i386-sse.exp: Do not expect character constants.
15489 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
15490 * gdb.base/display.exp: Allow print/s.
15491 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
15492 and unsigned char array changes.
15493
2025a643
DJ
154942007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
15495
15496 * gdb.base/display.exp: Add tests for printf %p.
15497
26669a27
PA
154982007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
15499
15500 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
15501 the dll name to unicode.
15502
c8f021f8
JK
155032007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15504
15505 * gdb.base/default.exp (show version): Update the version text.
15506 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
15507
4cf31eea
JK
155082007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15509
15510 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
15511 New files.
15512
4935890f
JK
155132007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15514
15515 * lib/gdb.exp (build_id_debug_filename_get): New function.
15516 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
15517 Remove the generate DEBUG file for the future testcase runs.
15518 New testcase for the NT_GNU_BUILD_ID retrieval.
15519 Move the final testing step to ...
15520 (test_different_dir): ... a new function.
15521 New parameter XFAIL to XFAIL all the tests performed.
15522 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
15523 New parameter TYPE to PF_PREFIX all the tests performed.
15524
02142340
VP
155252007-08-31 Vladimir Prus <vladimir@codesourcery.com>
15526
15527 * gdb.mi/mi-var-cp.cc (path_expression): New
15528 function.
15529 * gdb.mi/mi-var-cp.exp: Run path exression tests.
15530
36acd84e
UW
155312007-08-27 Markus Deuling <deuling@de.ibm.com>
15532
15533 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
15534 to fit into SPU Local Store memory.
15535
a896d121
JB
155362007-08-23 Joel Brobecker <brobecker@adacore.com>
15537
15538 * gdb.base/default.exp: Adjust the expected output of "info
15539 warranty" after the switch to GPLv3.
15540
7b433602
JB
155412007-08-23 Joel Brobecker <brobecker@adacore.com>
15542
15543 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
15544 to 30000 (from 20000).
15545
e22f8b7c
JB
155462007-08-23 Joel Brobecker <brobecker@adacore.com>
15547
15548 Switch the license of all .exp files to GPLv3.
15549 Switch the license of all .f and .f90 files to GPLv3.
15550 Switch the license of all .s and .S files to GPLv3.
15551
5a0e3bd0
JB
155522007-08-23 Joel Brobecker <brobecker@adacore.com>
15553
15554 * configure.ac: Switch license to GPLv3.
15555
cc00619d
JB
155562007-08-23 Joel Brobecker <brobecker@adacore.com>
15557
15558 Switch the licensing to GPLv3 for all .ads and .adb files.
15559
8d26208a
DJ
155602007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
15561
15562 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
15563 and t_int_double.
15564 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
15565
4fcb9948
JB
155662007-08-17 Joel Brobecker <brobecker@adacore.com>
15567
15568 * gdb.base/step-line.c: Switch license to GPL version 3, and
15569 update copyright year.
15570 * gdb.base/step-line.inp: Likewise.
15571
b9c34f67
JB
155722007-08-17 Joel Brobecker <brobecker@adacore.com>
15573
15574 * gdb.base/gdb1555.exp: Make expected output immune to formatting
15575 changes inside gdb1555.c.
15576 * gdb.base/pending.exp: Likewise.
15577
2cc17678
DJ
155782007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
15579
15580 * config/default.exp: New file.
15581
e48883f7
DJ
155822007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15583
15584 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
15585 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
15586
1ab80e5b
MR
155872007-07-30 Maciej W. Rozycki <macro@mips.com>
15588
15589 * gdb.base/dump.exp: Force the correct endianness for binary
15590 formats not carrying this information.
15591
aba471f5
DJ
155922007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15593
15594 * gdb.threads/staticthreads.exp: Match .*sem_post.
15595
d4e07204
DJ
155962007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15597
15598 * gdb.base/readline.exp (operate_and_get_next): Match the final
15599 prompt.
15600
2b97317d
KB
156012007-07-23 Kevin Buettner <kevinb@redhat.com>
15602
15603 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
15604 to restarting SID.
15605
44efa07a
KB
156062007-07-18 Kevin Buettner <kevinb@redhat.com>
15607
15608 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
15609 prior to `gdb_start'.
15610
7b5ebade
KB
156112007-07-18 Kevin Buettner <kevinb@redhat.com>
15612
15613 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
15614 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
15615 Remove call to gdb_unload.
15616
255e7678
DJ
156172007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
15618 Daniel Jacobowitz <dan@codesourcery.com>
15619
15620 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
15621 for __WIN32__.
15622 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
15623 * gdb.base/unload.exp: Use shared library test routines.
15624
3a40aaa0
UW
156252007-07-03 Markus Deuling <deuling@de.ibm.com>
15626
15627 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
15628 * gdb.base/solib-symbol-lib.c: Likewise.
15629 * gdb.base/solib-symbol-main.c: Likewise.
15630
b0f4b84b
DJ
156312007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
15632
15633 * config/gdbserver.exp (gdb_reconnect): New.
15634 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
15635 gdb.base/solib-disc.exp: New files.
15636 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
15637 remote debugging".
15638 (gdb_compile): Add shlib_load flag.
15639 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
15640 port.
15641 (gdbserver_reconnect): New.
15642
1b05479a
DJ
156432007-07-01 Nick Roberts <nickrob@snap.net.nz>
15644 Daniel Jacobowitz <dan@codesourcery.com>
15645
15646 * gdb.base/annota3.exp: Test for if construct.
15647
86f78eb2
DJ
156482007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
15649
15650 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
15651
6a2eb474 156522007-06-21 Chris Dearman <chris@mips.com>
a9c64011 15653 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
15654
15655 * gdb.base/display.exp: Allow a newline after display/i.
15656 * gdb.base/pc-fp.exp: Likewise.
15657 * gdb.base/sigbpt.exp: Likewise.
15658
f8b73d13
DJ
156592007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15660
15661 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
15662 required features to be included.
15663
4339e69e
DJ
156642007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
15665
15666 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
15667 in info threads output.
15668
23d964e7
UW
156692007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15670 Markus Deuling <deuling@de.ibm.com>
15671
15672 * gdb.arch/spu-info.exp: New testcase.
15673 * gdb.arch/spu-info.c: New file.
15674
fd20f75b
DJ
156752007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
15676
15677 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
15678 tpcs_offset. Restore lr after the call.
15679 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
15680
2226f861
DJ
156812007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
15682
15683 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
15684 (gdbserver_run): Kill any running gdbserver.
15685 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
15686
d12371a9
MR
156872007-05-17 Maciej W. Rozycki <macro@mips.com>
15688
15689 * gdb.base/sigbpt.exp: Preset segv_addr.
15690
93f02886
DJ
156912007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
15692
15693 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
15694 (gdb_compile_shlib): Likewise.
15695 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
15696 (default_gdb_init): Clear cleanfiles.
15697 (gdb_finish): Delete recorded cleanfiles.
15698 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
15699
15700 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
15701 Do not use isnative.
15702 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
15703 gdb.base/so-impl-ld.exp: Likewise.
15704 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
15705 * gdb.base/unload.exp: Likewise. Do not pass empty option to
15706 gdb_compile.
15707
b04e06d7
VP
157082007-05-15 Vladimir Prus <vladimir@codesourcery.com>
15709
15710 * config/unknown.exp: Remove.
15711
069ed931
UW
157122007-05-15 Markus Deuling <deuling@de.ibm.com>
15713
15714 * gdb.base/info-proc.exp: Check is_remote.
15715
09db0d03
UW
157162007-05-14 Markus Deuling <deuling@de.ibm.com>
15717
15718 * gdb.base/gcore.exp: Initialize variable core_supported.
15719
af2cbe8c
DJ
157202007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15721
15722 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
15723
027c0295
DJ
157242007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15725
15726 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
15727 * gdb.threads/print-threads.exp (test_all_threads): Allow
15728 negative and hexadecimal thread IDs.
15729
dc5000e7
DJ
157302007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15731
15732 * gdb.java/jprint.java (public): Avoid invalid call to static
15733 method.
15734
2e74ed18
DP
157352007-05-14 Denis Pilat <denis.pilat@st.com>
15736
15737 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
15738 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
15739 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
15740 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
15741 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
15742
83547f02
UW
157432007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15744
15745 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 15746 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
15747 this mode.
15748 * gdb.base/ovlymgr.c: Provide stubs for spu target.
15749 * gdb.base/spu.ld: New file.
15750
b18be20d
DJ
157512007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
15752
15753 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
15754
be444858
DJ
157552007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
15756
15757 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
15758
b1d53152
DJ
157592007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15760
15761 * gdb.java/jmain.exp: Handle demangled names with and without method
15762 signatures.
15763
d084b331
DJ
157642007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15765
15766 * gdb.mi/mi-syn-frame.c (main, foo, bar)
15767 (have_a_very_merry_interrupt): Remove calls to puts.
15768 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
15769 inferior output.
15770 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
15771 test names.
15772
db9d7fc5
DJ
157732007-04-29 Markus Deuling <deuling@de.ibm.com>
15774 Daniel Jacobowitz <dan@codesourcery.com>
15775
15776 * gdb.base/auxv.exp (core_works): Also check is_remote.
15777 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
15778
ef783a7d 157792007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15780
ef783a7d
VP
15781 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
15782 message, not the undefined 'module' variable.
15783 * gdb.base/siginfo.exp: Likewise.
15784 * gdb.base/sigstep.exp: Likewise.
15785 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
15786 serialport.
15787 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
15788
b7b73cae
CV
157892007-04-25 Corinna Vinschen <vinschen@redhat.com>
15790
15791 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
15792 target sim fails. Return 0 otherwise.
15793 (gdb_load): Return prematurely if gdb_target_sim fails.
15794
7d90fdfa
DP
157952007-04-16 Denis Pilat <denis.pilat@st.com>
15796
15797 * gdb.base/setshow.exp: Reset height after having set it to 100.
15798
5d3e9c85
DP
157992007-04-16 Denis Pilat <denis.pilat@st.com>
15800
15801 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
15802
18e75969
DP
158032007-04-16 Denis Pilat <denis.pilat@st.com>
15804
15805 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
15806
25d5ea92
VP
158072007-04-14 Vladimir Prus <vladimir@codesourcery.com>
15808
15809 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
15810 tests. Run the frozen varobjs test.
15811 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 15812 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 15813
0b49cb80
JK
158142007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15815
15816 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
15817 gdb.base/type-opaque.exp: New files.
15818
a73bafbc 158192007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
15820
15821 * gdb.mi/mi-var-child.c
a73bafbc
VP
15822 (do_children_tests): User char[2] instead of
15823 char so that automatic printing of pointers to char
15824 don't give unpredicable result.
15825 * gdb.mi/var-cmd.c (do_locals_test): Initialize
15826 local variables.
15827 * gdb.mi/mi-var-child.exp: Step to right line
15828 of do_children_tests.
15829 * gdb.mi/mi2-var-child.exp: Likewise.
15830 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 15831 do_locals_tests.
a73bafbc
VP
15832 (do_children_tests): User char[2] instead of
15833 char so that automatic printing of pointers to char
a9c64011 15834 don't give unpredicable result.
a73bafbc 15835 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 15836 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
15837 Pass test name to mi_wait_for_stop.
15838
7ce59000
DJ
158392007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15840
15841 * gdb.asm/asm-source.exp: Remove d10v case.
15842 * lib/gdb.exp (skip_cplus_tests): Likewise.
15843 * gdb.asm/d10v.inc: Deleted.
15844
20389057
DJ
158452007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15846
15847 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
15848
8807d78b
DJ
158492007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15850
15851 * config/netware.exp: Delete file.
15852
aa3edb8e
JB
158532007-03-29 Joel Brobecker <brobecker@adacore.com>
15854
15855 * gdb.dwarf2/dw2-noloc.S: New file.
15856 * gdb.dwarf2/dw2-noloc.exp: New file.
15857
297561ac
PA
158582007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
15859
15860 * gdb.cp/method2.cc: New test.
15861 * gdb.cp/method2.exp: New test.
15862 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
15863
1f81bd39
DJ
158642007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15865
15866 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
15867
9453113a
DJ
158682007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
15869
15870 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
15871
b741e217
DJ
158722007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15873
15874 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
15875 (gdb_load): Delete, replace with...
15876 (gdb_reload): ...this.
15877 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
15878 * gdb.server/server-mon.exp: Likewise.
15879 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
15880 (gdb_start_cmd): New.
15881 (gdb_file_cmd): Save the last loaded file.
15882 (gdb_reload): New.
15883 (gdb_gnu_strip_debug): Use transform.
15884 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
15885 support here. Use new $last_loaded_file. Check mtime.
15886 (gdb_target_cmd): Handle ObjC failure case.
15887 (infer_host_exec): Delete.
15888 (gdbserver_load): Rename to...
15889 (gdbserver_run): ...this. Simplify.
15890 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
15891 (mi_gdb_load): Move most contents to a new function...
15892 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
15893 (mi_run_cmd): Use mi_gdb_target_load.
15894 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
15895 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
15896 Use gdb_run_cmd.
15897 * gdb.base/charsign.exp: Remove incorrect comment.
15898 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
15899 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
15900 gdb.base/start.exp: Use gdb_start_cmd.
15901
446ab585 159022007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 15903 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
15904
15905 * gdb.base/sigbpt.exp: Fix the message when skipping test.
15906 * gdb.base/signull.exp: Similarly.
15907
bbb88ebf
UW
159082007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15909
15910 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
15911 messages available to test cases (like chng-sym.exp).
15912
cb8c4a99
AS
159132007-03-14 Andreas Schwab <schwab@suse.de>
15914
15915 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15916 format changes.
15917
4e463ff5
DJ
159182007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
15919
15920 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
15921 (optimized_1): New.
15922 (main): Call optimized_1.
15923 (gdb2029): Correct typos. Call gdb2029_marker.
15924 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
15925 for gdb2029.
15926
b6db2c47
MK
159272007-03-12 Mark Kettenis <kettenis@gnu.org>
15928
15929 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
15930 as tabs. Remove redundant test pattern.
15931
70ed3737
UW
159322007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15933
15934 * gdb.base/long_long.exp: Accept optional symbol name in <...>
15935 for /a format output.
15936
47b67b60
DJ
159372007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
15938
15939 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
15940 collect output incrementally.
15941
b8953b0e
UW
159422007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15943
15944 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
15945 for -var-create lpcharacter test.
15946 * gdb.mi/mi2-var-cmd.exp: Likewise.
15947
7acd5c40
UW
159482007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15949
15950 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
15951 pass on targets where address zero is readable.
15952
9c6759c1
UW
159532007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15954
15955 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
15956 just a single architecture.
15957
a2f1aeb4
UW
159582007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15959
15960 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
15961 (fetch_all_registers): New function, uses gdb_test_multiple and
15962 exp_continue to fetch inferior output line-by-line.
15963 Replace all uses of do_get_all_registers by fetch_all_registers.
15964
46579ac2
UW
159652007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15966
15967 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
15968 in target_info.
15969
fc133f24
MS
159702007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15971
a9c64011 15972 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
15973 consistancy; add a default (timeout) case.
15974
7646a51d
MS
159752007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15976
15977 * gdb.base/watchpoint.exp: Fix truncated comment.
15978
dcfff61f
MS
159792007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15980
15981 * Makefile.in: Remove spurious single-quotes from sed command.
15982
664e3ee9
DJ
159832007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15984
15985 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
15986 func.
15987 * gdb.mi/mi2-var-cmd.exp: Likewise.
15988
d7cc6f2f
JB
159892007-02-27 Joel Brobecker <brobecker@adacore.com>
15990
a9c64011
AS
15991 * gdb.dwarf2/dw2-producer.S: New file.
15992 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
15993
159942007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
15995
15996 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
15997 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
15998 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
15999 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16000 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
16001 Revert tests to use mi_gdb_test and include value field in output
16002 of -var-create.
16003
93d42b30
DJ
160042007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
16005
16006 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
16007
c499ed39
DJ
160082007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
16009
16010 * gdb.base/maint.exp: Remove full paths from test names.
16011 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
16012 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
16013
9836f81b
JB
160142007-02-27 Joel Brobecker <brobecker@adacore.com>
16015
16016 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
16017
c74d0ad8
DJ
160182007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16019
16020 * gdb.server/server-mon.exp: New test.
16021
2711e456
DJ
160222007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16023
16024 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
16025
ff6f572f
DJ
160262007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16027
16028 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
16029 register capitalization.
16030
fada3feb
DP
160312007-02-13 Denis Pilat <denis.pilat@st.com>
16032
16033 * gdb.mi/mi-var-invalidate.exp: New file.
16034
fb1e4ffc
DJ
160352007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16036
16037 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
16038
3da939d7
DJ
160392007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16040
16041 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
16042
123dc839
DJ
160432007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16044
16045 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
16046 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
16047
877e3645 160482007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
16049
16050 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16051 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16052 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16053 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16054 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 16055 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 16056 Update tests to include value field in output of -var-create.
a9c64011 16057
3c0a2960
AS
160582007-02-08 Andreas Schwab <schwab@suse.de>
16059
16060 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
16061
108546a0
DJ
160622007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
16063
16064 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
16065 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
16066
d701dcab
DP
160672007-02-02 Denis Pilat <denis.pilat@st.com>
16068
16069 * gdb.threads/threadapply.exp: check that frame is not changed by
16070 the thread apply all command.
16071
783e3e2f
AS
160722007-01-31 Andreas Schwab <schwab@suse.de>
16073
6d9c3a87
AS
16074 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16075
3c50d7b9
AS
16076 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
16077 in the dwarf sections.
16078 * gdb.dwarf2/mac-fileno.S: Likewise.
16079
783e3e2f
AS
16080 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
16081 bspstore register on ia64.
16082
78ff580e
AS
160832007-01-29 Andreas Schwab <schwab@suse.de>
16084
cc8e9b12
AS
16085 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
16086 "frame-begin" annotation.
16087
78ff580e
AS
16088 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
16089 number of "frames-invalid" annotations.
16090
704a4f78
DJ
160912007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16092
16093 * gdb.base/commands.exp: Call if_commands_test.
16094 (gdb_test_no_prompt, if_commands_test): New.
16095
e741bf94
MK
160962007-01-28 Mark Kettenis <kettenis@gnu.org>
16097
16098 * gdb.threads/sigthread.c (NSIGS): Make bigger.
16099
474d0ad3
AS
161002007-01-27 Andreas Schwab <schwab@suse.de>
16101
16102 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
16103 .short/.int/.quad in the dwarf sections.
16104 * gdb.dwarf2/dw2-intercu.S: Likewise.
16105 * gdb.dwarf2/dw2-intermix.S: Likewise.
16106
e784b426
JK
161072007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16108
16109 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
16110 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
16111 array.
e784b426
JK
16112 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
16113 * gdb.base/setvar.exp: Likewise.
16114
37f08e04
AS
161152007-01-26 Andreas Schwab <schwab@suse.de>
16116
9a01813a
AS
16117 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
16118 test.
16119
37f08e04
AS
16120 * gdb.base/multi-forks.exp ("restart $i"): Also match
16121 __kernel_syscall_via_break.
16122
6e2a9270
VP
161232007-01-24 Vladimir Prus <vladimir@codesourcery.com>
16124
16125 * lib/mi-support.exp (mi_delete_varobj): New.
16126 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
16127 testcase.
16128 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
16129 (main): Call the above.
16130 (reference_update_test, base_in_reference_test)
16131 (reference_to_pointer): Delete the created varobjs.
a9c64011 16132
e515b470
DJ
161332007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
16134
16135 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
16136 * configure: Regenerated.
16137 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
16138 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
16139 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
16140 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
16141 * lib/gdb.exp (gdb_skip_xml_test): New function.
16142
08d8bcd7
DJ
161432007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
16144
16145 * gdb.base/sigrepeat.exp: Correct error message.
16146
161472007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
16148 Daniel Jacobowitz <dan@codesourcery.com>
16149
16150 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
16151 gdb.arch/i386-gnu-cfi-asm.S: New files.
16152
97c3f1f3
JK
161532007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16154
16155 * lib/gdb.exp: Abort on missing `site.exp'.
16156
cb1df416
DJ
161572007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16158 Daniel Jacobowitz <dan@codesourcery.com>
16159
16160 * gdb.base/included.c, gdb.base/included.exp,
16161 gdb.base/included.h: New files.
16162
35990120
DJ
161632007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16164
16165 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
16166 (maximize_rlimit): Reduce limits on 64-bit systems.
16167
6e81a116 161682007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
16169
16170 From Marcus Deuling <deuling@de.ibm.com>:
16171 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
16172 every case.
16173
6c3c41f3
NR
161742007-01-13 Nick Roberts <nickrob@snap.net.nz>
16175
16176 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
16177 (test_path_specification): Use objdir instead of srcdir to always
16178 get an absolute filename.
16179
2f12c312
DJ
161802007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
16181
16182 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
16183
81121995
VP
161842007-01-11 Vladimir Prus <vladimir@codesourcery.com>
16185
16186 * gdb.mi/mi-var-cp.cc (reference_update_tests):
16187 Make sure the variable we're using is in scope.
16188 (reference_to_pointer): Likewise.
16189
4741b737
DJ
161902007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16191
16192 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
16193 has no debug information.
16194
054410c3
DJ
161952007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16196
16197 * gdb.base/annota1.exp: Remove extra send_gdb.
16198
818f79f6
DJ
161992007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16200
16201 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
16202
f7a6bb70
DJ
162032007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16204
16205 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
16206
57e66780
DJ
162072007-01-08 Nick Roberts <nickrob@snap.net.nz>
16208 Daniel Jacobowitz <dan@codesourcery.com>
16209
16210 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
16211 lcharacter or linteger change. Correct duplicated test name.
16212 * gdb.mi/mi2-var-cmd.exp: Likewise.
16213
3d799a95
DJ
162142007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
16215
16216 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
16217
162182007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 16219
a9c64011
AS
16220 * gdb.base/nofield.c: New file.
16221 * gdb.base/nofield.exp: New testcase.
51679ba9 16222
eafb94e8
NR
162232007-01-05 Nick Roberts <nickrob@snap.net.nz>
16224
16225 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
16226
16227 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
16228 test.
16229
5e572bb4
DJ
162302007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16231
16232 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
16233
74a44383
DJ
162342007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16235
16236 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
16237 when continuing.
16238
1b572db9
DJ
162392007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16240
16241 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
16242 Expect ".exe" extension.
16243
381bc39b
DJ
162442007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16245
16246 * gdb.base/charset.exp: Add explicit filename to break.
16247 * gdb.base/dbx.exp: Add explicit filename to breaks.
16248
2b70e4c6
DJ
162492007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16250
16251 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
16252 * gdb.mi/mi2-file.exp: Likewise.
16253
303b6f5d
DJ
162542007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16255
16256 Implement specification of MI tests as comments
16257 in C and C++ sources.
16258 * lib/mi-support.exp (mi_autotest_data): New variable.
16259 (mi_autotest_source): New variable.
16260 (count_newlines, mi_prepare_inline_tests)
16261 (mi_get_inline_test, mi_continue_to_line)
16262 (mi_run_inline_test, mi_tbreak)
16263 (mi_send_resuming_command, mi_wait_for_stop): New functions.
16264 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
16265 Run inline tests.
16266 * gdb.mi/mi-var-cp.cc: Define tests here.
16267
23da0d94
VP
162682007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16269
16270 Simplify usage of mi_continue_to.
16271 * lib/mi-support.exp (mi_runto_helper): Renamed
16272 from mi_runto, added new parameter 'run_or_continue'.
16273 (mi_runto): Use mi_runto_helper.
16274 (mi_continue_to): Accept just function name as parameter.
16275 Use mi_runto_helper.
16276 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
16277 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 16278
f9e18282
JB
162792006-01-04 Joel Brobecker <brobecker@adacore.com>
16280
16281 Make this testcase a bit more realistic. The current code
16282 is too simplistic, and allows the compiler to optimize out
16283 some of the entities we need for this testcase.
16284 * gdb.ada/null_record/bar.ads (Void_Star): New type.
16285 (Do_Nothing): Add extra parameter.
16286 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
16287 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
16288 by using a variable of type Void_Star.
16289
fd678c65
JB
162902006-01-04 Joel Brobecker <brobecker@adacore.com>
16291
16292 * gdb.ada/catch_ex/foo.adb: New file.
16293 * gdb.ada/catch_ex.exp: New testcase.
16294
05cfdb42
DJ
162952007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
16296
16297 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
16298 pass --image-base to linker.
16299
2e03ee74
DJ
163002007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16301 Daniel Jacobowitz <dan@codesourcery.com>
16302
16303 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
16304 secondary prompts.
16305
0d5de010
DJ
163062007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16307
16308 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
16309 output. Test the types of members and member pointers.
16310 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
16311 gdb/2092.
16312 * gdb.cp/member-ptr.exp: Search for a comment instead of a
16313 statement. Enable for GCC. Update expected output for some tests
16314 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
16315 layout.
16316 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
16317 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
16318 (Diamond::vget_base): New.
16319 (main): Add new tests.
16320 * gdb.cp/printmethod.exp: Update expected output for member functions.
16321 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
16322 print pEe->D::vg().
16323
61a771aa
DJ
163242007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16325
16326 * gdb.threads/tls.exp: Allow stops in sem_post.
16327
2fa63963
DJ
163282006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
16329
16330 * gdb.base/annota1.exp: Allow .*printf in backtraces.
16331 * gdb.base/annota3.exp: Likewise.
16332 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
16333 again (instead of timing out).
16334 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
16335 GCC bug 26475.
16336 * gdb.java/jmisc.exp: Adjust to work with method signatures including
16337 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
16338 test from jmisc1.exp.
16339 * gdb.java/jmisc1.exp: Delete.
16340 * gdb.java/jprint.exp: Adjust to work with method signatures including
16341 return types.
16342 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
16343 * gdb.threads/linux-dp.exp: Don't be confused by program output.
16344 * lib/java.exp (compile_java_from_source): Pass the correct type
16345 to target_compile.
16346
5eefc2b7
JB
163472006-12-31 Joel Brobecker <brobecker@adacore.com>
16348
16349 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
16350 (stack_align_edx): New function.
16351 (stack_align_eax): New function.
16352 (main): Add calls to stack_align_edx and stack_align_eax.
16353 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
16354 Add testing for the cases where the register used during a stack
16355 realignment is edx. Same for eax.
16356
227c54da
DJ
163572006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
16358
16359 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
16360 and generic PE targets.
16361
cab8ac94
JB
163622006-12-29 Joel Brobecker <brobecker@adacore.com>
16363
16364 * gdb.ada/array_return.exp: Update copyright date list.
16365
ba54f318
JB
163662006-12-27 Joel Brobecker <brobecker@adacore.com>
16367
16368 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
16369 (Create_Small_Float_Vector): New function.
16370 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
16371 function body.
16372 * gdb.ada/array_return/p.adb: Use new type and function from
16373 package Pck.
16374 * gdb.ada/array_return.exp: Add a test verifying that GDB is
16375 able to print the value returned by a function returning an
16376 array of float.
16377
6b7a35dd
JB
163782006-12-20 Joel Brobecker <brobecker@adacore.com>
16379
16380 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
16381 The associated tests should be PASSing.
16382
038224f6
VP
163832006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16384
16385 Test for base in references.
16386 * gdb.mi/mi-var-cp.cc: Add test code.
16387 * gdb.mi/mi-var-cp.exp: Test for bases in references.
16388 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
16389 * gdb.mi/mi2-watch.exp: Likewise.
16390 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
16391 (mi_list_varobj_children): New function.
16392
b26ed50d
VP
163932006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16394
16395 * lib/mi-support.exp
16396 (mi_runto): Accept "()" after function name.
16397 (mi_create_varobj): New function.
16398 (mi_varobj_update): New function.
16399 (mi_Check_varobj_value): New function.
16400 * gdb.mi/mi-var-cp.exp: New file.
16401 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 16402
08232497
DJ
164032006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
16404
16405 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
16406 gdb.base/weaklib2.c: New files.
16407
d394c993 164082006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 16409
ac6c2fba
NS
16410 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
16411 info. Adjust test names.
16412
8ec659a0 16413 * gdb.base/break.c (main): Move position of malloc.
d394c993 16414 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 16415
acd65feb
VP
164162006-11-28 Vladimir Prus <vladimir@codesourcery.com>
16417
16418 * gdb.mi/mi-var-cmd.exp: Check -var-update after
16419 assignement of arrays and function pointers.
16420 * gdb.mi/var-cmd.c: Add declaration necessary for above
16421 tests.
16422
f556d5e5
NS
164232006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16424
16425 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
16426
16427 * gdb.threads/linux-dp.exp: Read thread table before and after
16428 creating each philosopher and verify it.
16429
697bc68d
NS
164302006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16431 Paul Brook <paul@codesourcery.com>
16432 Daniel Jacobowitz <dan@codesourcery.com>
16433
16434 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 16435 main to remove duplication. Add start function of the form
697bc68d
NS
16436 '_*start[1-9]*'. Add RVDS start function.
16437
29d73ae4
DJ
164382006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16439
16440 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
16441
c1d88655
UW
164422006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16443
16444 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
16445 * gdb.asm/spu.inc: New file.
16446 * gdb.base/term.exp: Disable if [target_info exists noargs].
16447 * gdb.gdb/complaints.exp: Disable if ![isnative].
16448 * gdb.gdb/selftest.exp: Likewise.
16449 * gdb.gdb/observer.exp: Likewise.
16450 * gdb.gdb/xfullpath.exp: Likewise.
16451 * gdb.base/attach.exp: Disable on SPU target.
16452 * gdb.cp/bs145503.exp: Likewise.
16453 * gdb.cp/exception.exp: Likewise.
16454 * gdb.cp/userdef.exp: Likewise.
16455
32a13b1a
DJ
164562006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16457
16458 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
16459
d8295fe9
VP
164602006-11-10 Vladimir Prus <vladimir@codesourcery.com>
16461
16462 * gdb.base/completion.exp: Fix completion tests for
16463 'info' and 'info '.
16464 * gdb.base/help.exp (help_test_raw, test_class_help)
16465 (test_prefix_command_help): Move...
16466 * lib/gdb.exp: Here.
16467 * gdb.base/main.exp: Adjust.
16468 * gdb.cp/maint.exp: Adjust.
16469 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 16470
8c394015
VP
164712006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16472
16473 * gdb.stabs/weird.exp (print_weird_var): Use
16474 gdb_test_multiple instead of gdb_expect.
16475
027fc1bc
VP
164762006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16477
16478 * gdb.base/help.exp (help_test_raw): New.
16479 (test_class_help): New.
16480 (test_prefix_command_help): New.
16481 Adjust testcases.
16482
67609209
FR
164832006-11-09 Christophe Lyon <christophe.lyon@st.com>
16484
16485 * gdb.base/constvars.c (main): Write to crass and crips, so that
16486 they are allocated by the compiler.
16487
f73adfeb
AS
164882006-10-27 Andreas Schwab <schwab@suse.de>
16489
16490 * gdb.base/multi-forks.exp: Use "detach fork" instead of
16491 "detach-fork".
16492
2f83a18e
DJ
164932006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
16494
16495 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
16496 of patterns.
16497
94277a38
DJ
164982006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
16499
16500 * gdb.base/sepdebug.exp: Remove debug format test.
16501 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
16502 Handle no-symtab.
16503 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
16504
5bd2f6e2
DJ
165052006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
16506
16507 * gdb.threads/manythreads.c (thread_function, main): Don't cast
16508 int to pointer or pointer to int.
16509 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
16510
8c008720
DJ
165112006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
16512
16513 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
16514
9e35dae4
DJ
165152006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16516
16517 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
16518
d9639e13
DJ
165192006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16520
16521 PR c++/2116
16522 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
16523
390a1bd0
JB
165242006-10-06 Joel Brobecker <brobecker@adacore.com>
16525
16526 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
16527 the corresponding bug has been fixed in GDB (PR/2018).
16528
dd920c33
JB
165292006-10-06 Joel Brobecker <brobecker@adacore.com>
16530
16531 * gdb.base/subst.exp: New testcase.
16532
53bbefe9
JB
165332006-10-06 Joel Brobecker <brobecker@adacore.com>
16534
16535 * gdb.ada/array_return/pck.ads: Add copyright notice.
16536 * gdb.ada/array_return/pck.adb: Likewise.
16537 * gdb.ada/array_return/p.adb: Likewise.
16538 * gdb.ada/exec_changed/first.adb: Likewise.
16539 * gdb.ada/exec_changed/second.adb: Likewise.
16540
09851417
JB
165412006-10-06 Joel Brobecker <brobecker@adacore.com>
16542
16543 * gdb.ada/watch_arg/watch.adb: New file.
16544 * gdb.ada/watch_arg.exp: New testcase.
16545
041bf30d
VP
165462006-10-02 Vladimir Prus <vladimir@codesourcery.com>
16547
16548 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 16549 via string_to_regexp.
041bf30d 16550 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 16551
f286fbdd 165522006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
16553
16554 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
16555 Remove unused / obsolete files.
16556
7c07f349
NR
165572006-09-19 Nick Roberts <nickrob@snap.net.nz>
16558
16559 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
16560
cd5ff84a
VP
165612006-09-17 Vladimir Prus <vladimir@codesourcery.com>
16562
16563 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
16564 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 16565 the number of frames.
cd5ff84a 16566
ae018d1a
DJ
165672006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
16568
16569 * gdb.base/args.c (main): Add breakpoint marker.
16570 * gdb.base/args.exp: Use args_test for tests. Add new tests which
16571 really test empty arguments.
16572 (args_load): Delete.
16573 (args_test): New.
16574
b399c549
NR
165752006-09-13 Nick Roberts <nickrob@snap.net.nz>
16576
16577 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 16578 check for one file.
b399c549 16579
2ab1eb7a
VP
165802006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
16581
16582 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
16583 HIGH_FRAME argument to -stack-list-locals can be larger than
16584 the number of frames.
a9c64011 16585
476308bf
FF
165862006-08-18 Fred Fish <fnf@specifix.com>
16587
16588 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
16589 '$' in front of skip_vmx_tests_saved when setting that.
16590
8625200f
AS
165912006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
16592
16593 * gdb.base/trace-commands.exp: New file.
16594
089ec8f1
DJ
165952006-08-10 Joel Brobecker <brobecker@adacore.com>
16596 Daniel Jacobowitz <dan@codesourcery.com>
16597
16598 * gdb.base/step-bt.exp: Make hexadecimal address optional in
16599 expected output of the backtrace commands.
16600
b60f0898
JB
166012006-08-09 Joel Brobecker <brobecker@adacore.com>
16602
16603 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
16604 untested followed by return combination.
16605 * gdb.arch/altivec-regs.exp: Likewise.
16606 * gdb.arch/e500-abi.exp: Likewise.
16607 * gdb.arch/e500-regs.exp: Likewise.
16608 * gdb.arch/gdb1291.exp: Likewise.
16609 * gdb.arch/gdb1431.exp: Likewise.
16610 * gdb.arch/gdb1558.exp: Likewise.
16611 * gdb.arch/i386-prologue.exp: Likewise.
16612 * gdb.arch/i386-unwind.exp: Likewise.
16613 * gdb.asm/asm-source.exp: Likewise.
16614 * gdb.base/a2-run.exp: Likewise.
16615 * gdb.base/advance.exp: Likewise.
16616 * gdb.base/all-bin.exp: Likewise.
16617 * gdb.base/annota1.exp: Likewise.
16618 * gdb.base/annota3.exp: Likewise.
16619 * gdb.base/args.exp: Likewise.
16620 * gdb.base/arithmet.exp: Likewise.
16621 * gdb.base/assign.exp: Likewise.
16622 * gdb.base/async.exp: Likewise.
16623 * gdb.base/attach.exp: Likewise.
16624 * gdb.base/bang.exp: Likewise.
16625 * gdb.base/bigcore.exp: Likewise.
16626 * gdb.base/bitfields.exp: Likewise.
16627 * gdb.base/bitfields2.exp: Likewise.
16628 * gdb.base/break.exp: Likewise.
16629 * gdb.base/call-sc.exp: Likewise.
16630 * gdb.base/call-strs.exp: Likewise.
16631 * gdb.base/callfuncs.exp: Likewise.
16632 * gdb.base/checkpoint.exp: Likewise.
16633 * gdb.base/chng-syms.exp: Likewise.
16634 * gdb.base/code-expr.exp: Likewise.
16635 * gdb.base/commands.exp: Likewise.
16636 * gdb.base/completion.exp: Likewise.
16637 * gdb.base/cond-expr.exp: Likewise.
16638 * gdb.base/condbreak.exp: Likewise.
16639 * gdb.base/consecutive.exp: Likewise.
16640 * gdb.base/constvars.exp: Likewise.
16641 * gdb.base/corefile.exp: Likewise.
16642 * gdb.base/cvexpr.exp: Likewise.
16643 * gdb.base/dbx.exp: Likewise.
16644 * gdb.base/define.exp: Likewise.
16645 * gdb.base/detach.exp: Likewise.
16646 * gdb.base/display.exp: Likewise.
16647 * gdb.base/dump.exp: Likewise.
16648 * gdb.base/ena-dis-br.exp: Likewise.
16649 * gdb.base/ending-run.exp: Likewise.
16650 * gdb.base/environ.exp: Likewise.
16651 * gdb.base/eval-skip.exp: Likewise.
16652 * gdb.base/exprs.exp: Likewise.
16653 * gdb.base/fileio.exp: Likewise.
16654 * gdb.base/finish.exp: Likewise.
16655 * gdb.base/float.exp: Likewise.
16656 * gdb.base/foll-exec.exp: Likewise.
16657 * gdb.base/foll-fork.exp: Likewise.
16658 * gdb.base/foll-vfork.exp: Likewise.
16659 * gdb.base/freebpcmd.exp: Likewise.
16660 * gdb.base/funcargs.exp: Likewise.
16661 * gdb.base/gcore.exp: Likewise.
16662 * gdb.base/gdb1090.exp: Likewise.
16663 * gdb.base/gdb1250.exp: Likewise.
16664 * gdb.base/huge.exp: Likewise.
16665 * gdb.base/info-proc.exp: Likewise.
16666 * gdb.base/interrupt.exp: Likewise.
16667 * gdb.base/jump.exp: Likewise.
16668 * gdb.base/langs.exp: Likewise.
16669 * gdb.base/lineinc.exp: Likewise.
16670 * gdb.base/list.exp: Likewise.
16671 * gdb.base/logical.exp: Likewise.
16672 * gdb.base/long_long.exp: Likewise.
16673 * gdb.base/macscp.exp: Likewise.
16674 * gdb.base/maint.exp: Likewise.
16675 * gdb.base/mips_pro.exp: Likewise.
16676 * gdb.base/miscexprs.exp: Likewise.
16677 * gdb.base/multi-forks.exp: Likewise.
16678 * gdb.base/opaque.exp: Likewise.
16679 * gdb.base/overlays.exp: Likewise.
16680 * gdb.base/pc-fp.exp: Likewise.
16681 * gdb.base/pointers.exp: Likewise.
16682 * gdb.base/printcmds.exp: Likewise.
16683 * gdb.base/psymtab.exp: Likewise.
16684 * gdb.base/ptype.exp: Likewise.
16685 * gdb.base/recurse.exp: Likewise.
16686 * gdb.base/relational.exp: Likewise.
16687 * gdb.base/relocate.exp: Likewise.
16688 * gdb.base/remote.exp: Likewise.
16689 * gdb.base/reread.exp: Likewise.
16690 * gdb.base/restore.exp: Likewise.
16691 * gdb.base/return.exp: Likewise.
16692 * gdb.base/return2.exp: Likewise.
16693 * gdb.base/scope.exp: Likewise.
16694 * gdb.base/sect-cmd.exp: Likewise.
16695 * gdb.base/sep.exp: Likewise.
16696 * gdb.base/sepdebug.exp: Likewise.
16697 * gdb.base/setshow.exp: Likewise.
16698 * gdb.base/setvar.exp: Likewise.
16699 * gdb.base/sigall.exp: Likewise.
16700 * gdb.base/sigbpt.exp: Likewise.
16701 * gdb.base/signals.exp: Likewise.
16702 * gdb.base/signull.exp: Likewise.
16703 * gdb.base/sizeof.exp: Likewise.
16704 * gdb.base/solib.exp: Likewise.
16705 * gdb.base/step-line.exp: Likewise.
16706 * gdb.base/step-test.exp: Likewise.
16707 * gdb.base/structs.exp: Likewise.
16708 * gdb.base/structs2.exp: Likewise.
16709 * gdb.base/term.exp: Likewise.
16710 * gdb.base/twice.exp: Likewise.
16711 * gdb.base/until.exp: Likewise.
16712 * gdb.base/varargs.exp: Likewise.
16713 * gdb.base/volatile.exp: Likewise.
16714 * gdb.base/watchpoint.exp: Likewise.
16715 * gdb.base/whatis-exp.exp: Likewise.
16716 * gdb.base/whatis.exp: Likewise.
16717 * gdb.cp/ambiguous.exp: Likewise.
16718 * gdb.cp/annota2.exp: Likewise.
16719 * gdb.cp/annota3.exp: Likewise.
16720 * gdb.cp/bool.exp: Likewise.
16721 * gdb.cp/breakpoint.exp: Likewise.
16722 * gdb.cp/casts.exp: Likewise.
16723 * gdb.cp/class2.exp: Likewise.
16724 * gdb.cp/classes.exp: Likewise.
16725 * gdb.cp/cplusfuncs.exp: Likewise.
16726 * gdb.cp/ctti.exp: Likewise.
16727 * gdb.cp/derivation.exp: Likewise.
16728 * gdb.cp/exception.exp: Likewise.
16729 * gdb.cp/gdb1355.exp: Likewise.
16730 * gdb.cp/hang.exp: Likewise.
16731 * gdb.cp/inherit.exp: Likewise.
16732 * gdb.cp/local.exp: Likewise.
16733 * gdb.cp/m-data.exp: Likewise.
16734 * gdb.cp/m-static.exp: Likewise.
16735 * gdb.cp/member-ptr.exp: Likewise.
16736 * gdb.cp/method.exp: Likewise.
16737 * gdb.cp/misc.exp: Likewise.
16738 * gdb.cp/namespace.exp: Likewise.
16739 * gdb.cp/overload.exp: Likewise.
16740 * gdb.cp/ovldbreak.exp: Likewise.
16741 * gdb.cp/pr-1023.exp: Likewise.
16742 * gdb.cp/pr-1210.exp: Likewise.
16743 * gdb.cp/pr-574.exp: Likewise.
16744 * gdb.cp/printmethod.exp: Likewise.
16745 * gdb.cp/psmang.exp: Likewise.
16746 * gdb.cp/ref-params.exp: Likewise.
16747 * gdb.cp/ref-types.exp: Likewise.
16748 * gdb.cp/rtti.exp: Likewise.
16749 * gdb.cp/templates.exp: Likewise.
16750 * gdb.cp/try_catch.exp: Likewise.
16751 * gdb.cp/userdef.exp: Likewise.
16752 * gdb.cp/virtfunc.exp: Likewise.
16753 * gdb.disasm/am33.exp: Likewise.
16754 * gdb.disasm/h8300s.exp: Likewise.
16755 * gdb.disasm/mn10300.exp: Likewise.
16756 * gdb.disasm/sh3.exp: Likewise.
16757 * gdb.disasm/t01_mov.exp: Likewise.
16758 * gdb.disasm/t02_mova.exp: Likewise.
16759 * gdb.disasm/t03_add.exp: Likewise.
16760 * gdb.disasm/t04_sub.exp: Likewise.
16761 * gdb.disasm/t05_cmp.exp: Likewise.
16762 * gdb.disasm/t06_ari2.exp: Likewise.
16763 * gdb.disasm/t07_ari3.exp: Likewise.
16764 * gdb.disasm/t08_or.exp: Likewise.
16765 * gdb.disasm/t09_xor.exp: Likewise.
16766 * gdb.disasm/t10_and.exp: Likewise.
16767 * gdb.disasm/t11_logs.exp: Likewise.
16768 * gdb.disasm/t12_bit.exp: Likewise.
16769 * gdb.disasm/t13_otr.exp: Likewise.
16770 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
16771 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
16772 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16773 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
16774 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
16775 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16776 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16777 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16778 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
16779 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
16780 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16781 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16782 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16783 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16784 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16785 * gdb.mi/gdb701.exp: Likewise.
16786 * gdb.mi/gdb792.exp: Likewise.
16787 * gdb.mi/mi-basics.exp: Likewise.
16788 * gdb.mi/mi-break.exp: Likewise.
16789 * gdb.mi/mi-cli.exp: Likewise.
16790 * gdb.mi/mi-console.exp: Likewise.
16791 * gdb.mi/mi-disassemble.exp: Likewise.
16792 * gdb.mi/mi-eval.exp: Likewise.
16793 * gdb.mi/mi-file.exp: Likewise.
16794 * gdb.mi/mi-read-memory.exp: Likewise.
16795 * gdb.mi/mi-regs.exp: Likewise.
16796 * gdb.mi/mi-return.exp: Likewise.
16797 * gdb.mi/mi-simplerun.exp: Likewise.
16798 * gdb.mi/mi-stack.exp: Likewise.
16799 * gdb.mi/mi-stepi.exp: Likewise.
16800 * gdb.mi/mi-syn-frame.exp: Likewise.
16801 * gdb.mi/mi-until.exp: Likewise.
16802 * gdb.mi/mi-var-block.exp: Likewise.
16803 * gdb.mi/mi-var-child.exp: Likewise.
16804 * gdb.mi/mi-var-cmd.exp: Likewise.
16805 * gdb.mi/mi-var-display.exp: Likewise.
16806 * gdb.mi/mi-watch.exp: Likewise.
16807 * gdb.mi/mi2-basics.exp: Likewise.
16808 * gdb.mi/mi2-break.exp: Likewise.
16809 * gdb.mi/mi2-cli.exp: Likewise.
16810 * gdb.mi/mi2-console.exp: Likewise.
16811 * gdb.mi/mi2-disassemble.exp: Likewise.
16812 * gdb.mi/mi2-eval.exp: Likewise.
16813 * gdb.mi/mi2-file.exp: Likewise.
16814 * gdb.mi/mi2-read-memory.exp: Likewise.
16815 * gdb.mi/mi2-regs.exp: Likewise.
16816 * gdb.mi/mi2-return.exp: Likewise.
16817 * gdb.mi/mi2-simplerun.exp: Likewise.
16818 * gdb.mi/mi2-stack.exp: Likewise.
16819 * gdb.mi/mi2-stepi.exp: Likewise.
16820 * gdb.mi/mi2-syn-frame.exp: Likewise.
16821 * gdb.mi/mi2-until.exp: Likewise.
16822 * gdb.mi/mi2-var-block.exp: Likewise.
16823 * gdb.mi/mi2-var-child.exp: Likewise.
16824 * gdb.mi/mi2-var-cmd.exp: Likewise.
16825 * gdb.mi/mi2-var-display.exp: Likewise.
16826 * gdb.mi/mi2-watch.exp: Likewise.
16827 * gdb.stabs/exclfwd.exp: Likewise.
16828 * gdb.stabs/weird.exp: Likewise.
16829 * gdb.threads/gcore-thread.exp: Likewise.
16830 * gdb.trace/actions.exp: Likewise.
16831 * gdb.trace/backtrace.exp: Likewise.
16832 * gdb.trace/circ.exp: Likewise.
16833 * gdb.trace/collection.exp: Likewise.
16834 * gdb.trace/deltrace.exp: Likewise.
16835 * gdb.trace/infotrace.exp: Likewise.
16836 * gdb.trace/limits.exp: Likewise.
16837 * gdb.trace/packetlen.exp: Likewise.
16838 * gdb.trace/passc-dyn.exp: Likewise.
16839 * gdb.trace/passcount.exp: Likewise.
16840 * gdb.trace/report.exp: Likewise.
16841 * gdb.trace/save-trace.exp: Likewise.
16842 * gdb.trace/tfind.exp: Likewise.
16843 * gdb.trace/tracecmd.exp: Likewise.
16844 * gdb.trace/while-dyn.exp: Likewise.
16845 * gdb.trace/while-stepping.exp: Likewise.
16846
f4b618d1
JB
168472006-08-08 Joel Brobecker <brobecker@adacore.com>
16848
16849 * gdb.base/step-bt.c: New file.
16850 * gdb.base/step-bt.exp: New testcase.
16851
3d00d119
DJ
168522006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
16853
16854 * config/monitor.exp (gdb_load): Remove support for obsolete
16855 download-write-size.
16856 * gdb.base/remote.exp: Likewise. Update all callers of
16857 gdb_timed_load.
16858
017b5bd4
DJ
168592006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
16860
16861 * cursal.exp: Pass binfile to gdb_load.
16862
837c599d
DJ
168632006-08-01 Nathan Sidwell <nathan@codesourcery.com>
16864
16865 * gdb.base/cursal.exp: Add "" to gdb_load call.
16866
8dd4540b
MK
168672006-07-29 Mark Kettenis <kettenis@gnu.org>
16868
16869 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
16870 NetBSD/ELF targets.
16871
ab5c9f60
DJ
168722006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
16873
16874 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
16875 operator*.
16876
4c42eaff
DJ
168772006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
16878
16879 * gdb.base/completion.exp: Update for change in "file" behavior.
16880 * gdb.stabs/weird.exp: Likewise.
16881 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
16882 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
16883
0155cc76
NS
168842006-07-24 Nathan Sidwell <nathan@codesourcery.com>
16885
16886 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
16887 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
16888
16026cd7
AS
168892006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
16890
16891 * gdb.base/default.exp: Update source command error message.
16892 * gdb.base/help.exp: Update 'help source' message.
16893
16963cb6
DJ
168942006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
16895
16896 * gdb.cp/bs15503.exp: Update comment for no longer crashing
16897 test.
16898
6d7fd486
AS
168992006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
16900
16901 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
16902
29e8a844
DJ
169032006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
16904
16905 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
16906
6afcfa39
DJ
169072006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
16908
16909 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
16910
267a692b
MK
169112006-07-17 Mark Kettenis <kettenis@gnu.org>
16912
16913 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
16914 *-*-openbsd* from targets for wich we expect ARM FPA floating
16915 point format.
16916
85d2fec4
NR
169172006-07-17 Nick Roberts <nickrob@snap.net.nz>
16918
16919 * gdb.cp/annota3.exp: Expect frame-begin annotation.
16920
169212006-07-17 Mark Kettenis <kettenis@gnu.org>
16922
16923 * gdb.base/annota3.exp: Expect frame-begin annotation.
16924
85b4c6e8
JB
169252006-07-14 Joel Brobecker <brobecker@adacore.com>
16926
16927 * gdb.base/help.exp: Adjust "help unset" test to accept
16928 any list of unset commands.
16929
fb933624
DJ
169302006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
16931 Daniel Jacobowitz <dan@codesourcery.com>
16932
16933 * gdb.cp/ref-params.exp: New test.
16934 * gdb.cp/ref-params.cc: New source file.
16935 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
16936
1dff4b64
MK
169372006-07-08 Mark Kettenis <kettenis@gnu.org>
16938
16939 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
16940 spaces/tabs in regular expressions since they might not be there.
16941
40d2e0e3
AS
169422006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
16943
16944 * gdb.base/ifelse.exp: New file.
16945
f6c957d2
NS
169462006-07-04 Nathan Sidwell <nathan@codesourcery.com>
16947
16948 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
16949 line.
16950 * gdb.base/huge.exp: Loop over compilation to find a size that
16951 is acceptable.
16952 * gdb.base/remote.exp: Correct expected strings.
16953 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
16954
b9c5a23d
DJ
169552006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16956
16957 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
16958
9af2e58d
DJ
169592006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16960
16961 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
16962 native.
16963
30930ca5
DJ
169642006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16965
16966 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
16967 enable stabs testing.
16968
aa32fa1d
DJ
169692006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16970
bd4a4c80 16971 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
16972 gdb_test_multiple does.
16973
321fef15
DJ
169742006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16975
16976 * Makefile.in (host_alias): Remove.
16977 (target_alias): Use @target_noncanonical@.
16978 (site.exp): Don't set host_alias.
16979 * aclocal.m4: Remove contents. Include acx.m4.
16980 * configure: Regenerated.
16981 * configure.ac: Use ACX_NONCANONICAL_TARGET.
16982
e1c2defa
NS
169832006-06-13 Nathan Sidwell <nathan@codesourcery.com>
16984
e63b55d1
NS
16985 * lib/gdb.exp (gdb_load_cmd): New.
16986
5600ea19
NS
16987 * gdb.base/fileio.c: Add system(NULL) test.
16988 * gdb.base/fileio.exp: Check it.
16989
e1c2defa
NS
16990 * gdb.base/break.c: Add 10a breakpoint at }
16991 * gdb.base/break.exp: Add test for breakpoint at }
16992 * gdb.cp/anon-union.cc: Add code at end of function.
16993 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
16994 * gdb.mi/var-cmd.c: Add code at end of function.
16995 * gdb.mi/mi-var-display.exp: Adjust end of next.
16996 * gdb.mi/mi2-var-display.exp: Likewise.
16997 * gdb.base/fileio.c: Add stop function and insert calls at
16998 stopping places.
16999 * gdb.base/fileio.exp: Breakpoint stop function and remove
17000 explicit line number references.
17001
6c0112ec
JB
170022006-05-19 Joel Brobecker <brobecker@adacore.com>
17003
a9c64011
AS
17004 * gdb.base/del.exp (test_delete_alias): New function.
17005 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 17006
154189a4
FF
170072006-05-18 Fred Fish <fnf@specifix.com>
17008
17009 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
17010 required. Check for spurious output after program exits normally.
17011
582e64c2
FF
170122006-05-17 Fred Fish <fnf@specifix.com>
17013
17014 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
17015 gdb_load, so it works in the simulator.
17016
8ef6493a
FF
170172006-05-11 Fred Fish <fnf@specifix.com>
17018
17019 * gdb.base/bang.exp: Ignore unexpected output between the
17020 "program exited normally" and the gdb prompt, as many other
17021 tests do.
17022
692b141c
MK
170232006-05-07 Mark Kettenis <kettenis@gnu.org>
17024
17025 * gdb.base/help.exp: Make "delete checkpoint" part option for
17026 "help d" and "help delete" tests.
17027
540b8a30
UW
170282006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17029
a9c64011 17030 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
17031 expected output in some mi_gdb_test statements.
17032 * gdb.mi/mi2-basics.exp: Likewise.
17033
9b6462d9
JB
170342006-05-05 Joel Brobecker <brobecker@adacore.com>
17035
17036 * gdb.base/del.c: New file.
17037 * gdb.base/del.exp: New testcase.
17038
954de43b
DM
170392006-05-05 David S. Miller <davem@sunset.davemloft.net>
17040
17041 * gdb.base/break.exp: Do not assume a breakpoint on
17042 main will actually be in $srcfile when optimizing.
1303f75e
DM
17043 * gdb.base/savedregs.exp: Do not require that the dummy
17044 frame location match up to a symbol and source file location.
c3242428
DM
17045 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
17046 will get printed without a mi_cmd_data_list_register_values prefix.
17047 (*-data-list-register-*): Correct regular expressions to expect the new
17048 pseudo d? floating point registers.
17049 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 17050
c7e64c9a
DJ
170512006-05-05 Christophe Lyon <christophe.lyon@st.com>
17052
17053 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
17054 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
17055 is allocated by the compiler.
17056 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
17057 anons, e, anone to force their allocation by the compiler.
17058
170592006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
17060
17061 * gdb.base/help.exp: Update expected text for help d and
17062 help delete.
17063
27ce9a6d
MK
170642006-05-02 Mark Kettenis <kettenis@gnu.org>
17065
17066 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
17067 NetBSD/ELF targets.
17068
8608915f
MK
170692006-04-30 Mark Kettenis <kettenis@gnu.org>
17070
17071 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
17072 single-step breakpoint fails; make this a KFAIL on
17073 sparc*-*-openbsd*.
17074 * gdb.base/siginfo.exp: Likewise.
17075 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17076
b8db102d
MS
170772006-04-26 Michael Snyder <msnyder@redhat.com>
17078
17079 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
17080 which may have to consume output from other forks.
17081 Add tests to make sure that "delete fork" succeeded.
17082
c702009a
MS
170832006-04-20 Michael Snyder <msnyder@redhat.com>
17084
17085 * 2006-03-22 Jim Blandy <jimb@redhat.com>
17086 Add support for the Renesas M32C and M16C.
17087
17088 * gdb.asm/asm-source.exp: Add m32c target.
17089 * gdb.asm/m32c.inc: Support for m32c target.
17090
e28493f2
AS
170912006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
17092
17093 * gdb.base/commands.exp (recursive_source_test): New test.
17094
880da185
DM
170952006-04-04 David S. Miller <davem@sunset.davemloft.net>
17096
17097 * gdb.base/float.exp: Add pattern for sparc targets.
17098
61d9b92f
DJ
170992006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17100
17101 * gdb.base/commands.exp (stray_arg0_test): New test.
17102
bd717df8
PB
171032006-03-30 Paul Brook <paul@codesourcery.com>
17104
17105 * gdb.mi/mi-until.exp: kfail broken until command.
17106 * gdb.mi/mi2-until.exp: Ditto.
17107
ec793d3c
NR
171082006-03-27 Nick Roberts <nickrob@snap.net.nz>
17109
17110 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
17111
831004b7
AO
171122006-03-08 Alexandre Oliva <aoliva@redhat.com>
17113
17114 * gdb.base/prelink.exp: Anchor tested-for regular expression
17115 on gdb prompt.
17116
effe49a0
PB
171172006-03-07 Paul Brook <paul@codesourcery.com>
17118
17119 * gdb.base/assign.exp: Correct fail message.
17120
e5461016
PB
171212006-03-07 Paul Brook <paul@codesourcery.com>
17122
17123 * lib/compiler.c: Extract armcc version number.
17124 * lib/compiler.cc: Ditto.
17125
fc91c6c2
PB
171262006-03-07 Paul Brook <paul@codesourcery.com>
17127
17128 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
17129 additional_flags=-w.
17130 * gdb.arch/altivec-regs.exp: Ditto.
17131 * gdb.arch/e500-abi.exp: Ditto.
17132 * gdb.arch/e500-regs.exp: Ditto.
17133 * gdb.base/all-bin.exp: Ditto.
17134 * gdb.base/annota1.exp: Ditto.
17135 * gdb.base/annota3.exp: Ditto.
17136 * gdb.base/args.exp: Ditto.
17137 * gdb.base/arithmet.exp: Ditto.
17138 * gdb.base/assign.exp: Ditto.
17139 * gdb.base/async.exp: Ditto.
17140 * gdb.base/bang.exp: Ditto.
17141 * gdb.base/break.exp: Ditto.
17142 * gdb.base/call-rt-st.exp: Ditto.
17143 * gdb.base/completion.exp: Ditto.
17144 * gdb.base/cond-expr.exp: Ditto.
17145 * gdb.base/condbreak.exp: Ditto.
17146 * gdb.base/consecutive.exp: Ditto.
17147 * gdb.base/define.exp: Ditto.
17148 * gdb.base/display.exp: Ditto.
17149 * gdb.base/ena-dis-br.exp: Ditto.
17150 * gdb.base/environ.exp: Ditto.
17151 * gdb.base/eval-skip.exp: Ditto.
17152 * gdb.base/info-proc.exp: Ditto.
17153 * gdb.base/jump.exp: Ditto.
17154 * gdb.base/logical.exp: Ditto.
17155 * gdb.base/long_long.exp: Ditto.
17156 * gdb.base/maint.exp: Ditto.
17157 * gdb.base/miscexprs.exp: Ditto.
17158 * gdb.base/pc-fp.exp: Ditto.
17159 * gdb.base/pointers.exp: Ditto.
17160 * gdb.base/relational.exp: Ditto.
17161 * gdb.base/reread.exp: Ditto.
17162 * gdb.base/sect-cmd.exp: Ditto.
17163 * gdb.base/sep.exp: Ditto.
17164 * gdb.base/sepdebug.exp: Ditto.
17165 * gdb.base/until.exp: Ditto.
17166 * gdb.base/whatis-exp.exp: Ditto.
17167 * gdb.cp/annota2.exp: Ditto.
17168 * gdb.cp/annota3.exp: Ditto.
17169 * gdb.trace/actions.exp: Ditto.
17170 * gdb.trace/backtrace.exp: Ditto.
17171 * gdb.trace/circ.exp: Ditto.
17172 * gdb.trace/collection.exp: Ditto.
17173 * gdb.trace/deltrace.exp: Ditto.
17174 * gdb.trace/infotrace.exp: Ditto.
17175 * gdb.trace/limits.exp: Ditto.
17176 * gdb.trace/packetlen.exp: Ditto.
17177 * gdb.trace/passc-dyn.exp: Ditto.
17178 * gdb.trace/passcount.exp: Ditto.
17179 * gdb.trace/report.exp: Ditto.
17180 * gdb.trace/save-trace.exp: Ditto.
17181 * gdb.trace/tfind.exp: Ditto.
17182 * gdb.trace/tracecmd.exp: Ditto.
17183 * gdb.trace/while-dyn.exp: Ditto.
17184 * gdb.trace/while-stepping.exp: Ditto.
17185 * lib/gdb.exp: Ditto.
17186 (gdb_compile): Handle nowarning option.
17187
5f4a23d9
AO
171882006-03-07 Alexandre Oliva <aoliva@redhat.com>
17189
17190 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
17191 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
17192 Rename executable to prelinkt. Don't re-prelink if we didn't
17193 get a core file. Test prelink -u exit status to tell whether
17194 prelinking failed. Use gdb_test_multiple.
17195
9733fc94
DJ
171962006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
17197
17198 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
17199 (do_tests): Call it.
17200
cc10cae3
AO
172012006-02-28 Alexandre Oliva <aoliva@redhat.com>
17202
17203 * gdb.base/prelink.exp: New test.
17204 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
17205
15c46491
WZ
172062006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
17207
17208 * gdb.fortran/derived-type.f90: New file.
17209 * gdb.fortran/derived-type.exp: New testcase.
17210
5c9f7ded
DJ
172112006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
17212
17213 * gdb.base/default.exp: Allow ';' as a directory separator.
17214
5b96932b
AS
172152006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17216
17217 * gdb.base/help.exp (help add-symbol-file): Update.
17218
1986bccd
AS
172192006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17220
17221 * gdb.base/help.exp (help load): Update expected results.
17222
a8b7528f
FF
172232006-02-19 Fred Fish <fnf@specifix.com>
17224
17225 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
17226 specifix hex value as part of results.
17227 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 17228
f8261448
FF
172292006-02-16 Fred Fish <fnf@specifix.com>
17230
17231 * gdb.base/whatis.c: Define variables using typedefs char_addr,
17232 ushort_addr, and slong_addr, so the typedefs are not optimized
17233 away.
17234 * gdb.base/whatis.exp: Add tests using type name for struct type,
17235 union type, enum type, and typedef.
a9c64011 17236
31d8bdd2
MK
172372006-02-13 Mark Kettenis <kettenis@gnu.org>
17238
17239 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
17240
34e41e63
JB
172412006-02-13 Jim Blandy <jimb@redhat.com>
17242
17243 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
17244 case where it takes two "next" commands to skip past the init
17245 call.
17246
ac6e4f31
FF
172472006-02-12 Fred Fish <fnf@specifix.com>
17248
17249 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
17250 to handle cases where it takes two "next" commands to skip
17251 past the init call.
17252
2db2d571
JB
172532006-02-07 Joel Brobecker <brobecker@adacore.com>
17254
17255 * gdb.ada/array_return.exp: Mark the last test as expected to fail
17256 on hppa32 targets.
17257
38fcd64c
DJ
172582006-02-06 Vladimir Prus <ghost@cs.msu.su>
17259
17260 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
17261 field.
17262
1315ad46
MK
172632006-01-29 Mark Kettenis <kettenis@gnu.org>
17264
17265 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
17266
5625b943
DJ
172672006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17268
17269 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
17270 files.
17271
80df1bbe
DJ
172722006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17273
17274 * gdb.cp/maint.exp: Set complaints to a positive value.
17275
9078e690
DJ
172762006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17277
17278 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
17279 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
17280 function name.
17281
9c903399
DJ
172822006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17283
17284 * gdb.base/checkpoint.c: Update copyright notice. Include
17285 <stdlib.h>.
17286
761ae4d6
JB
172872006-01-04 Jim Blandy <jimb@redhat.com>
17288
17289 * gdb.asm/asm-source.exp: Independently provide default values for
17290 asm-flags and debug-flags. Use 'string equal' to do the
17291 comparison, not the implicit expr's '==' operator. Remove
17292 now-unneeded assignments to asm-flags. In h8300 case, place
17293 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
17294
099ac3dd
MS
172952006-01-04 Michael Snyder <msnyder@redhat.com>
17296
17297 * gdb.base/checkpoint.c: New file.
17298 * gdb.base/checkpoint.exp: New file.
17299 * gdb.base/multi-fork.c: New file.
17300 * gdb.base/multi-fork.exp: New file.
17301 * gdb.base/pi.txt: New file (data for checkpoint.c test).
17302
f4d85314
FF
173032006-01-04 Fred Fish <fnf@specifix.com>
17304
17305 * gdb.base/ptype.c (foo): Add typedef.
17306 (intfoo): Add function.
17307 * gdb.base/ptype1.c: New file.
17308 * gdb.base/ptype.exp: Handle compilation and linking with two
17309 source files. Test that proper type for "foo" is found based
17310 on source context rather than first match found in symtabs.
17311
a1b06f35
MK
173122005-12-28 Mark Kettenis <kettenis@gnu.org>
17313
17314 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
17315 * gdb.asm/openbsd.inc: Indent commands.
17316
d082a1e2
MK
173172005-12-26 Mark Kettenis <kettenis@gnu.org>
17318
c65016bd
MK
17319 * gdb.base/freebpcmd.exp: Increase timeout.
17320
d082a1e2
MK
17321 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
17322
d3c32a0e
DJ
173232005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
17324
17325 * gdb.base/default.exp: Update check for "show version".
17326
9fdb1f50
RC
173272005-12-09 Randolph Chung <tausq@debian.org>
17328
17329 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
17330 * gdb.asm/pa64.inc: New file.
17331
5f2c56f7
RC
173322005-12-09 Randolph Chung <tausq@debian.org>
17333
17334 * gdb.asm/common.inc: Indent commands.
17335 * gdb.asm/asmsrc1.s: Likewise.
17336 * gdb.asm/asmsrc2.s: Likewise.
17337
8117349c
RC
173382005-12-09 Randolph Chung <tausq@debian.org>
17339
17340 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
17341 (get_addr_of_sym): Remove duplicate print.
17342 (gen_core): xfail hppa*-*-hpux*, update expected output.
17343 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
17344 * gdb.arch/pa64-nullify.s: New file.
17345
8f07f25a
RC
173462005-12-09 Randolph Chung <tausq@debian.org>
17347
17348 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
17349
55b39184
DJ
173502005-12-07 Christophe Lyon <christophe.lyon@st.com>
17351
17352 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
17353 code generation for these functions.
17354 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
17355 error message.
17356
31e2b00f
AS
173572005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
17358
17359 * gdb.base/help.exp (help b, help br, help bre, help brea)
17360 (help break): Update the expected message.
17361
c3d0b56e
SC
173622005-11-11 Stephane Carrez <stcarrez@nerim.fr>
17363
17364 * gdb.asm/m68hc11.inc: Setup the data section.
17365 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
17366 script for this test.
17367 (m6812-*-*): Likewise.
17368
36ae0ea9
RC
173692005-11-09 Randolph Chung <tausq@debian.org>
17370
17371 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
17372
9d6f42e9
WZ
173732005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
17374
17375 * gdb.base/break.exp: Fix a comment typo.
17376
e2126a14
EZ
173772005-11-03 Jim Blandy <jimb@redhat.com>
17378
a9c64011
AS
17379 Checked in by Elena Zannoni <ezannoni@redhat.com>
17380
889bf7c5 17381 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 17382
e0ac7199
CV
173832005-11-02 Corinna Vinschen <vinschen@redhat.com>
17384
17385 * gdb.arch/gdb1558.c: Include stdio.h.
17386
31d3fb18
MK
173872005-10-31 Mark Kettenis <kettenis@gnu.org>
17388
17389 * gdb.asm/asm-source.exp: Use -e instead of --entry.
17390
e52b687c
MK
173912005-10-31 Mark Kettenis <kettenis@gnu.org>
17392
17393 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
17394
f4711d79
PG
173952005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
17396
a9c64011
AS
17397 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17398 vscr" tests to better match output.
f4711d79 17399
987a9106
JB
174002005-10-12 Jim Blandy <jimb@redhat.com>
17401
17402 * gdb.base/structs.exp (any): New function.
17403 (test_struct_returns): Don't make any assumptions at all about
17404 what value the function returns when GDB can't set the return
17405 value.
17406
2336bb58
JB
174072005-10-09 Joel Brobecker <brobecker@adacore.com>
17408
17409 * gdb.ada/arrayidx/p.adb: New file.
17410 * gdb.ada/arrayidx.exp: New testcase
17411
174122005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
17413
17414 * gdb.ada/array_return/pck.ads: New file.
17415 * gdb.ada/array_return/pck.adb: New file.
17416 * gdb.ada/array_return/p.adb: New file.
17417 * gdb.ada/array_return.exp: New testcase.
17418
705335ea
JB
174192005-10-03 Joel Brobecker <brobecker@adacore.com>
17420
a9c64011
AS
17421 * gdb.base/arrayidx.c: New file.
17422 * gdb.base/arrayidx.exp: New testcase.
705335ea 17423
11ee9940
NR
174242005-09-29 Nick Roberts <nickrob@snap.net.nz>
17425
17426 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
17427 frames-invalid and breakpoints-invalid are no longer generated
17428 with level 3 so don't expect them in the output.
17429
39fb8e9e
BR
174302005-09-27 Bob Rossi <bob@brasko.net>
17431
a9c64011 17432 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
17433 from test. Escape the | in mi_gdb_test call.
17434 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
17435 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
17436 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
17437 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
17438 expected regex's in mi_gdb_test calls.
17439 * lib/mi-support.exp: Remove arbitrary .* from tests.
17440 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
17441 Fully anchor GDB/MI expected results in mi_gdb_test.
17442 * lib/gdb.exp (string_to_regexp): Escape the ] character.
17443 * gdb.base/sizeof.exp: Remove escape character. Correct test.
17444
2af48f68
PB
174452005-09-26 Paul Brook <paul@codesourcery.com>
17446
17447 * long_long.exp: Exclude eabi targets from arm FPA float format test.
17448
f34502bc
WZ
174492005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17450
17451 * bfp-test.c: New file.
17452 * bfp-test.exp: New testcase.
17453
ca929517
WZ
174542005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17455
17456 * gdb.fortran/subarray.exp: New testcase to test the evaluation
17457 of subarray and substring variable.
17458 * gdb.fortran/subarray.f: New source file for the test of subarray
17459 and substring variable evaluation.
17460 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
17461 of string constant.
17462
c761af65
DJ
174632005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
17464
17465 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
17466 copyright dates.
17467
561d7a1d
PG
174682005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
17469
17470 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
17471 powerpc altivec' test with an almost identical 'info vector' test.
17472
b2b64cc9
PG
174732005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17474
a9c64011
AS
17475 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17476 vscr" tests to match output.
b2b64cc9 17477
6ac4d15a
PG
174782005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17479
a9c64011
AS
17480 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
17481 output.
6ac4d15a 17482
40e55bef
BR
174832005-09-11 Bob Rossi <bob@brasko.net>
17484
889bf7c5
PA
17485 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
17486 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
17487 commands that return an MI output command and an asyncronous MI output
17488 command.
40e55bef
BR
17489 * gdb.mi/mi-console.exp: Ditto.
17490
3c7385ec
BR
174912005-09-11 Bob Rossi <bob@brasko.net>
17492
17493 * gdb.mi/mi-var-child.c: Include <string.h>.
17494
a6cd0eb3
DJ
174952005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
17496
17497 * killed.exp: Correct gdb_expect syntax.
17498
2f168eed
CV
174992005-08-09 Corinna Vinschen <vinschen@redhat.com>
17500
17501 * lib/mi-support.exp (mi_gdb_load): Fix typo.
17502
ecd3fd0f
BR
175032005-08-02 Bob Rossi <bob@brasko.net>
17504
17505 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
17506 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
17507 Change tests to inferior-tty-set/show.
17508 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
17509 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
17510 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
17511 inferior. Use mi_gdb_test to get GDB and Inferior output.
17512 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
17513 descriptor.
17514 (mi_inferior_tty_name): Add inferior PTY file name.
17515 (mi_gdb_start): Add INFERIOR_PTY parameter.
17516 (mi_gdb_test): Add IPATTERN parameter.
17517
f1ea48cb 175182005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 17519
f1ea48cb
BR
17520 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
17521 parameter to mi_gdb_test.
17522 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
17523
6e650a67
DJ
175242005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17525
17526 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
17527 struct_declarations.
17528 * gdb.mi/mi-var-child.exp: Step over the initialization of
17529 struct_declarations.
17530
8be260b6
DJ
175312005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17532
17533 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
17534 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
17535 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
17536 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
17537 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
17538 file.
17539
4e660f07
NR
175402005-07-27 Nick Roberts <nickrob@snap.net.nz>
17541
17542 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
17543 (do_children_tests): Assign values to the extra elements.
17544
17545 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
17546 them for tests for "-var-update --no-values" and
a9c64011 17547 "-var-update --all-values".
4e660f07
NR
17548 Add test for "-var-list-children --simple-values".
17549
17550 * gdb.mi/basics.c (callee4): Add integer array D[3]...
17551
17552 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
17553 "-stack-list-locals --simple-values" Improve doc strings and
17554 comments.
17555
6bdae935
MK
175562005-07-18 Mark Kettenis <kettenis@gnu.org>
17557
598b7a6f
MK
17558 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
17559 *-*-openbsd*.
17560 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
17561
6bdae935
MK
17562 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
17563 sigaltsatck'.
17564
1323e929 175652005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 17566
1323e929
BR
17567 * gdb.base/default.exp (tty): Changed output of command.
17568 * gdb.base/help.exp (help tty): Ditto.
17569
b1a9c082
MK
175702005-07-12 Mark Kettenis <kettenis@gnu.org>
17571
17572 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
17573
10a844a2
MK
175742005-07-10 Mark Kettenis <kettenis@gnu.org>
17575
17576 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
17577 -stack-select-frame without arguments.
17578 (test_stack_frame_listing): Add test for newly implemented command
17579 -stack-info-frame.
17580
3cb3b8df
BR
175812005-07-06 Bob Rossi <bob@brasko.net>
17582
17583 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
17584 command.
17585 (Copyright): Update copyright.
17586
a0c5fbcf
WZ
175872005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
17588
17589 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
17590 tests to evaluate exponentiation expression.
17591
984971d0
AS
175922005-06-29 Andreas Schwab <schwab@suse.de>
17593
17594 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
17595 main to avoid warnings.
17596
17597 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
17598
fe03833f
NR
175992005-06-20 Nick Roberts <nickrob@snap.net.nz>
17600
17601 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
17602 -stack-select-frame without arguments.
17603 (test_stack_frame_listing): Add test for newly implemented command
17604 -stack-info-frame.
a9c64011 17605
7a55f279
WZ
176062005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
17607
0ffa0ea5
DJ
17608 * gdb.fortran/array-element.f: New file.
17609 * gdb.fortran/array-element.exp: New testcase.
7a55f279 17610
26585198
DJ
176112005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17612
17613 * gdb.base/bigcore.exp: Correct checks for systems which can
17614 not dump a large core file.
17615
c1bd25fd
DJ
176162005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17617
17618 * gdb.base/relocate.c: Add a copyright notice.
17619 (dummy): Remove.
17620 * gdb.base/relocate.exp: Test printing the values of variables
17621 from a relocatable file.
17622
589e074d
DJ
176232005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17624
17625 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
17626 excess MI output after an error.
17627
0915f927
JB
176282005-05-29 Joel Brobecker <brobecker@adacore.com>
17629
17630 * gdb.arch/alpha-step.c: New file.
17631 * gdb.arch/alpha-step.exp: New testcase.
17632
76ff342d
DJ
176332005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
17634 Dennis Brueni <dennis@slickedit.com>
17635
17636 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
17637 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
17638 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
17639 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
17640 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
17641 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
17642 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
17643
96b0c7ac
DJ
176442005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
17645 Wu Zhou <woodzltc@cn.ibm.com>
17646
17647 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
17648 IBM's xlc compiler.
17649 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
17650 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
17651
f21565d2
JB
176522005-05-13 Jim Blandy <jimb@redhat.com>
17653
17654 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
17655 calling gdb_suppress_entire_file.
17656 * gdb.base/charset.exp: Same.
17657 * gdb.base/call-rt-st.exp: Same.
17658
6006a3a1
BR
176592005-05-05 Bob Rossi <bob_rossi@cox.net>
17660
17661 * lib/gdb.exp (fullname_syntax): Added global regex.
17662 (fullname_syntax_POSIX): Ditto.
17663 (fullname_syntax_UNC): Ditto.
17664 (fullname_syntax_DOS_CASE): Ditto.
17665 (fullname_syntax_DOS): Ditto.
17666 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
17667 fullname_syntax variable to scope and use it.
17668 (test_file_list_exec_source_files): Ditto.
17669 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
17670
c3b69c04
DJ
176712005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
17672
17673 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
17674
3c95e6af
PG
176752004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
17676
a9c64011
AS
17677 * lib/gdb.exp (skip_altivec_tests): New function, based on
17678 check_vmx_hw_available from the GCC testsuite.
17679 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
17680 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 17681
78df6c56
JB
176822005-05-02 Jim Blandy <jimb@redhat.com>
17683
17684 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
17685 calling gdb_suppress_entire_file.
17686
1690f9cf
DJ
176872005-04-30 Randolph Chung <tausq@debian.org>
17688
17689 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
17690 Slightly relax "sem_post" name checking.
17691
5ea106f7
PG
176922005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17693
17694 * gdb.base/unload.exp: Use new shared library infrastructure.
17695
bf7234cf
PG
176962005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17697
17698 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 17699 infrastructure.
bf7234cf 17700
547b869a
CV
177012005-04-29 Corinna Vinschen <vinschen@redhat.com>
17702
17703 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
17704 * gdb.asm/h8300.inc: New file.
17705
f07e55f0
PG
177062005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17707
17708 * gdb.base/shlib-call.exp: Change to use new shared library
17709 infrastructure.
17710
3cbba3d1
PG
177112005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17712
a9c64011
AS
17713 * gdb.base/pending.exp: Change to use new shared library
17714 infrastructure.
3cbba3d1 17715
ed6df200
PG
177162005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17717
a9c64011
AS
17718 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
17719 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 17720
8c8f4ebe
PG
177212005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
17722
a9c64011
AS
17723 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
17724 shared objects being adjusted and update copyright years.
8c8f4ebe 17725
607fbc54
DJ
177262005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
17727
17728 * ChangeLog: Correct some 2003-01-13 dates.
17729 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
17730 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
17731 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
17732 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
17733 gdb.trace/tfind.exp: Update copyright years.
17734
57bf0e56
DJ
177352005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
17736 Daniel Jacobowitz <dan@codesourcery.com>
17737
17738 * lib/gdb.exp (gdb_compile): Handle shlib=.
17739 (gdb_compile_shlib): New function.
17740
9b593790
PG
177412005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
17742
a9c64011 17743 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 17744
9494c6a5
DJ
177452005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17746
17747 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
17748 gdb.server.
17749 * configure.ac: Likewise.
17750 * configure: Regenerated.
17751 * gdb.gdbserver/Makefile.in: Moved to...
17752 * gdb.server/Makefile.in: ... here.
17753 * gdb.gdbserver/server.c: Moved to...
17754 * gdb.server/server.c: ... here.
17755 * gdb.gdbserver/server-run.exp: Moved to...
17756 * gdb.server/server-run.exp: ... here.
17757
6f8eac0e
DJ
177582005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17759
17760 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
17761 * configure.ac: Create gdb.gdbserver/Makefile.
17762 * configure: Regenerated.
17763 * lib/gdbserver-support.exp: New file, derived from
17764 config/gdbserver.exp.
17765 * config/gdbserver.exp: Use gdbserver-support.exp.
17766 * gdb.gdbserver/Makefile.in: New file.
17767 * gdb.gdbserver/server.c: New file.
17768 * gdb.gdbserver/server-run.exp: New file.
17769
6e87504d
PG
177702005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
17771
a9c64011
AS
17772 * lib/gdb.exp (test_compiler_info): Return compiler_info
17773 if no arguments are given.
6e87504d 17774
d1779be4
PG
177752005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
17776
17777 * gdb.arch/altivec-abi.exp: Check for compiler and set
17778 use altivec' flag accordingly.
17779 * gdb.arch/altivec-regs.exp: Likewise.
17780
88750304
DJ
177812005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
17782
17783 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
17784
f3fb768d
AS
177852005-03-27 Andreas Schwab <schwab@suse.de>
17786
17787 * gdb.base/bigcore.c (main): Add missing mode argument in open
17788 call.
17789
7e813ac5
DJ
177902005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
17791
17792 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
17793 downloads.
17794 * config/gdbserver.exp (gdb_load): Likewise.
17795
8e3049aa
PB
177962005-03-14 Paul Brook <paul@codesourcery.com>
17797
17798 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
17799 targets.
17800
a9df7c44
JB
178012005-03-09 Joel Brobecker <brobecker@adacore.com>
17802
17803 * gdb.dwarf2/dup-psym.S: New file.
17804 * gdb.dwarf2/dup-psym.exp: New testcase.
17805
9f0d94e8
JB
178062005-03-09 Joel Brobecker <brobecker@adacore.com>
17807
17808 * gdb.ada/exec_changed/first.adb: New file.
17809 * gdb.ada/exec_changed/second.adb: New file.
17810 * gdb.ada/exec_changed.exp: New testcase.
17811
5f579bc5
NS
178122005-03-08 Nathan Sidwell <nathan@codesourcery.com>
17813
36e9969c
NS
17814 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
17815 (A2): New class.
17816 (main): Test operator+.
17817 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
17818 breakpoint test.
17819
5f579bc5
NS
17820 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
17821 * gdb.base/signull.exp: Disable if gdb,nosignals.
17822 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
17823 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
17824 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
17825 * gdb.mi/mi2-console.exp: Likewise.
17826 * gdb.trace/collection.exp (run_trace_experiment): Consume the
17827 continue output at start.
17828 (gdb_collect_locals_test): Robustify regexp.
17829 * gdb.trace/passc-dyn.exp: Fix comment typo.
17830 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
17831
be46087e
CV
178322005-03-08 Corinna Vinschen <vinschen@redhat.com>
17833
17834 * gdb.asm/asm-source.exp: Add iq2000 case.
17835 * gdb.asm/iq2000.inc: New file.
17836
384e1a61 178372005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 17838
384e1a61
MI
17839 * gdb.base/command.exp: Change hardcoded value to regular expression.
17840 * gdb.base/float.exp: Add powerpc to the list of targets checked.
17841
584b6e9e
DJ
178422005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
17843
17844 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
17845 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
17846 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
17847 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
17848 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
17849
ab5b5d61
MK
178502005-03-05 Mark Kettenis <kettenis@gnu.org>
17851
17852 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
17853 changes.
17854
ae051c1b
PG
178552004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
17856
a9c64011
AS
17857 * lib/compiler.c: Add test for IBM's xlc compiler.
17858 * lib/compiler.cc: Likewise.
ae051c1b 17859
3f0f6ed2
JB
178602004-02-24 Joel Brobecker <brobecker@adacore.com>
17861
17862 * gdb.ada/fixed_points.exp: Create compilation object directory
17863 before running the test.
17864 * gdb.ada/null_record.exp: Likewise.
17865 * gdb.ada/packed_array.exp: Likewise.
17866 * gdb.ada/start.exp: Likewise.
17867
724f452b
JB
178682005-02-15 Joel Brobecker <brobecker@adacore.com>
17869
17870 * gdb.ada/packed_array/pa.adb: New file.
17871 * gdb.ada/packed_array.exp: New testcase.
17872
57f5cdfb 178732005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 17874
1f393151
MK
17875 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
17876 files.
17877
ebdda337
MK
17878 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
17879 on *-*-openbsd*. Correctly match whitespace in regukar
17880 expressions.
17881
cf309262
DJ
178822005-02-10 Daniel Jacobowitz <dan@debian.org>
17883
17884 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
17885 PR exp/1821
17886 * gdb.base/gdb1821.c: New test file.
17887 * gdb.base/gdb1821.exp: New test file.
17888
3be49e7a
JB
178892005-02-09 Joel Brobecker <brobecker@adacore.com>
17890
17891 * gdb.base/start.c: New file.
17892 * gdb.base/start.exp: New testcase.
17893
e292e67d
JB
178942005-02-09 Joel Brobecker <brobecker@adacore.com>
17895
17896 * gdb.ada/start/dummy.adb: New file.
17897 * gdb.ada/start.exp: New testcase.
17898
dbdfa66c
CV
178992005-02-09 Corinna Vinschen <vinschen@redhat.com>
17900
17901 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
17902 for printing symbols and statistics.
17903 Add test for using relative pathnames in "maint print msymbols" test.
17904 Mark "maint info sections DATA" XFAIL on Cygwin.
17905 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
17906 tests.
17907
d7941671
AC
179082005-02-09 Andreas Schwab <schwab@suse.de>
17909
17910 Committed by Andrew Cagney <cagney@gnu.org>
17911 * gdb.base/remotetimeout.exp: New file.
17912
74e5ef44
MK
179132005-02-07 Mark Kettenis <kettenis@gnu.org>
17914
17915 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
17916
464dd14d
JB
179172005-02-03 Joel Brobecker <brobecker@adacore.com>
17918
17919 * gdb.ada/gnat_ada.gpr: New file.
17920 * gdb.ada/gnat_ada.gin: Delete, no longer used.
17921 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
17922 * configure.ac: No longer generate gnat_ada.gpr.
17923 * configure: Regenerate.
17924 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
17925 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
17926 * gdb.ada/null_record/bar.ads: Likewise.
17927 * gdb.ada/null_record/bar.adb: Likewise.
17928 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
17929 * gdb.ada/null_record.exp (testdir): New variable.
17930 (testfile): executable is now in testdir subdirectory.
17931 (srcfile): Use full path to the main compilation unit.
17932 * gdb.ada/fixed_points.exp: Same changes as above.
17933
30d756ae
NR
179342005-02-03 Nick Roberts <nickrob@snap.net.nz>
17935
17936 * gdb.base/interp.exp: New test.
17937
9d799f85
AC
179382005-01-24 Andrew Cagney <cagney@gnu.org>
17939
17940 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
17941
15656118
AC
179422005-01-19 Andrew Cagney <cagney@gnu.org>
17943
a892c31b
AC
17944 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
17945 configure.ac not configure.in.
17946
15656118
AC
17947 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
17948 of powerpc*-*-*.
17949 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 17950 * gdb.base/list.exp (test_list_function)
15656118
AC
17951 (test_list_filename_and_function): Ditto.
17952 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
17953
a7b01baf
AC
179542005-01-16 Andrew Cagney <cagney@gnu.org>
17955
17d92a02
AC
17956 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
17957
a7b01baf
AC
17958 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
17959
bc8332bb
AC
179602005-01-14 Andrew Cagney <cagney@gnu.org>
17961
17962 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
17963 * gdb.mi/mi2-var-cmd.exp: Ditto.
17964
4d074752
CV
179652005-01-10 Corinna Vinschen <vinschen@redhat.com>
17966
17967 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
17968
bec39cab
AC
179692005-01-07 Andrew Cagney <cagney@gnu.org>
17970
17971 * configure.ac: Rename configure.in, require autoconf 2.59.
17972 * configure: Re-generate.
17973 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
17974 * gdb.stabs/configure: Re-generate.
17975 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
17976 * gdb.hp/configure: Re-generate.
17977 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
17978 autoconf 2.59.
17979 * gdb.hp/gdb.objdbg/configure: Re-generate.
17980 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
17981 autoconf 2.59.
17982 * gdb.hp/gdb.defects/configure: Re-generate.
17983 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
17984 autoconf 2.59.
17985 * gdb.hp/gdb.compat/configure: Re-generate.
17986 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
17987 autoconf 2.59.
17988 * gdb.hp/gdb.base-hp/configure: Re-generate.
17989 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
17990 autoconf 2.59.
17991 * gdb.hp/gdb.aCC/configure: Re-generate.
17992
f10b16d4
JB
179932004-12-15 Jim Blandy <jimb@redhat.com>
17994
17995 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
17996 under NPTL when there is debugging info available for libpthread.
17997
fb6e1814
JG
179982004-12-13 Jerome Guitton <guitton@gnat.com>
17999
18000 * gdb.ada/fixed_points.c: New file.
18001 * gdb.ada/fixed_points.exp: New file.
18002
fe46cd3a
RC
180032004-12-03 Randolph Chung <tausq@debian.org>
18004
18005 * gdb.arch/pa-nullify.exp: New file.
18006 * gdb.arch/pa-nullify.s: New file.
18007
8de0841b
RC
180082004-11-30 Randolph Chung <tausq@debian.org>
18009
18010 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
18011 instead of "tbug". Fix regexp to work properly with gdb_test.
18012
c8170782
PH
180132004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
18014
18015 * gdb.base/bitfields2.exp: New test.
18016 * gdb.base/bitfields2.c: New file.
18017
954269c2
RE
180182004-11-28 Richard Earnshaw <rearnsha@arm.com>
18019
18020 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
18021
0107feed
RC
180222004-11-16 Randolph Chung <tausq@debian.org>
18023
18024 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
18025
f073ae8c
DJ
180262004-11-14 Daniel Jacobowitz <dan@debian.org>
18027
18028 * gdb.threads/threadapply.exp: Correct "macro details" test.
18029
19ad59e7
JJ
180302004-11-11 Jeff Johnston <jjohnstn@redhat.com>
18031
18032 * gdb.threads/threadapply.exp: New test.
18033 * gdb.threads/threadapply.c: New file.
18034
9cf0961b
MK
180352004-11-07 Mark Kettenis <kettenis@gnu.org>
18036
18037 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
18038 frames.
18039
c789492a
FL
180402004-11-05 Felix Lee <felix+log1@specifixinc.com>
18041
18042 * gdb.base/cursal.exp: New file.
18043 * gdb.base/cursal.c: New file.
18044
a1e167bb
AC
180452004-11-03 Andrew Cagney <cagney@gnu.org>
18046
18047 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
18048
b7cbf173
MK
180492004-10-30 Mark Kettenis <kettenis@gnu.org>
18050
18051 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
18052 NetBSD/ELF targets.
18053
88f9d34f
JB
180542004-10-29 Joel Brobecker <brobecker@gnat.com>
18055
18056 * gdb.threads/bp_in_thread.c: New file, copied from
18057 pthread_cond_wait.c.
18058 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
18059 file, rather than reusing the .c file from another testcase.
18060
ca7d6a0c
JB
180612004-10-20 Joel Brobecker <brobecker@gnat.com>
18062
18063 * gdb.ada/null_record.exp: Check where we stopped after
18064 sending the start command, instead of where the associated
18065 temporary breakpoint was inserted.
18066
0d863d03
AC
180672004-10-14 Andrew Cagney <cagney@gnu.org>
18068
18069 * gdb.mi/gdb701.c (main): Return 0.
18070
d11e72cb
DJ
180712004-10-13 Daniel Jacobowitz <dan@debian.org>
18072
d40539a4 18073 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 18074
e1923096
JJ
180752004-10-12 Jeff Johnston <jjohnstn@redhat.com>
18076
18077 * gdb.threads/schedlock.c: Add comment markers to use to find
18078 line numbers.
18079 * gdb.threads/schedlock.exp: Adjust regex to handle the new
18080 comments.
18081 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
18082 breakpoint lines.
18083
ec8ba2c9
DJ
180842004-10-12 Daniel Jacobowitz <dan@debian.org>
18085
18086 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
18087
0eb3658b
DJ
180882004-10-12 Daniel Jacobowitz <dan@debian.org>
18089
18090 * configure.in: Add gdb.dwarf2.
18091 * configure: Regenerated.
18092 * Makefile.in: Add gdb.dwarf2.
18093 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
18094 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
18095 gdb.dwarf2/file1.txt: New files.
18096
a271cc33
OF
180972004-10-11 Orjan Friberg <orjanf@axis.com>
18098
a9c64011 18099 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
18100 of "run", since the latter doesn't work with remote targets. Adjust
18101 the breakpoint numbering accordingly.
18102 * gdb.threads/pthread_cond_wait.exp: Ditto.
18103
895ce074
MC
181042004-10-08 Michael Chastain <mec.gnu@mindspring.com>
18105
18106 * gdb.base/overlays.exp: Update copyright years.
18107
6be3092d
KI
181082004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
18109
18110 * gdb.base/overlays.exp: Disable if target is Linux.
18111
e05389b8
FL
181122004-10-06 Felix Lee <felix+log1@specifixinc.com>
18113
18114 * config/gdbserver.exp (gdb_load): Use right filename on remote.
18115
73cb587d
KI
181162004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
18117
18118 * gdb.asm/asm-source.exp: Add m32r-linux target.
18119 * gdb.asm/m32r-linux.inc: New file.
18120
3c0edcdc
AC
181212004-09-24 Andrew Cagney <cagney@redhat.com>
18122 David Anderson <anderson@redhat.com>
18123
18124 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
18125 command fails, assume things will work.
18126 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
18127 (_GNU_SOURCE): Define.
18128 (print_unsigned, print_hex): Change parameter to "long long".
18129 (print_byte_count): New function, use to print byte counts.
18130 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
18131 O_LARGEFILE.
18132 (main): Compute an upper bound on a corefile in max_core_size.
18133 Limit memory chunk size to max_core_size. Limit total memory
18134 allocated to max_core_size.
18135
4bb3667f
AC
181362004-09-23 Andrew Cagney <cagney@gnu.org>
18137
18138 * gdb.base/bigcore.exp: Replace the code that creates a corefile
18139 from a separate process with code that creates a corefile by
18140 making the inferior dump core.
18141
60fe1a51
MK
181422004-09-23 Mark Kettenis <kettenis@gnu.org>
18143
18144 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
18145 block.
18146
8e937346
MC
181472004-09-23 Michael Chastain <mec.gnu@mindspring.com>
18148
18149 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
18150 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
18151 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
18152 Likewise.
18153
7213f6d6
JJ
181542004-09-20 Jeff Johnston <jjohnstn@redhat.com>
18155
18156 * gdb.java/jprint.exp: New test case for java inferior call.
18157 * gdb.java/jprint.java: Ditto.
18158
eac69dca
JB
181592004-09-15 Joel Brobecker <brobecker@gnat.com>
18160
18161 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
18162
22227696
MC
181632004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18164
18165 * gdb.threads/killed.c: Include <stdlib.h>.
18166 * gdb.threads/pthreads.c: Likewise.
18167
7dd403a4
MC
181682004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18169
18170 * gdb.threads/killed.c: Add copyright notice.
18171
33f2d567
JM
181722004-09-10 Jason Molenda (jmolenda@apple.com)
18173
a9c64011
AS
18174 * gdb.base/define.exp: Two new tests to verify zero space chars
18175 after 'if' and 'while' commands in a user-defined command is correctly
18176 parsed.
33f2d567 18177
e05b62ac
AC
181782004-09-08 Andrew Cagney <cagney@gnu.org>
18179
18180 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
18181 delivery test with duplicate at end of file.
18182
9cbe82da
MK
181832004-09-06 Mark Kettenis <kettenis@jive.nl>
18184
18185 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
18186
564803d9
MC
181872004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18188
18189 * config/hppro.exp: Removed.
18190
7c6807ce
MC
181912004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18192
18193 * config/sparclet.exp: Removed.
18194
bf7e26dd
MC
181952004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18196
18197 * config/udi.exp: Removed.
18198
714e341b
MC
181992004-09-02 Michael Chastain <mec.gnu@mindspring.com>
18200
18201 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
18202 of "exp_continue".
18203 (advancei): Likewise.
18204
1236e623
JJ
182052004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18206
18207 * gdb.base/unload.exp: Fix so messages aren't duplicated.
18208
3bdcad15
MI
182092004-09-01 Manoj Iyer <manjo@austin.ibm.com>
18210
228af206 18211 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
18212 to check for nodebug in executable.
18213 * gdb.gdb/observer.exp (setup_test): Likewise.
18214 * gdb.gdb/selftest.exp (test_with_self): Likewise.
18215 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
18216
c72b934c
AC
182172004-09-01 Andrew Cagney <cagney@gnu.org>
18218
18219 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18220 files.
18221
edd9b715
JJ
182222004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18223
18224 * gdb.base/unload.exp: Fix expected warning message to match
18225 latest format.
18226
fb4ce06b
CV
182272004-09-01 Corinna Vinschen <vinschen@redhat.com>
18228
18229 * gdb.base/call-rt-st.exp: Fix typos.
18230
ce78e7c3
MI
182312004-08-31 Manoj Iyer <manjo@austin.ibm.com>
18232
18233 * gdb.threads/thread_check.exp: New testcase.
18234 * gdb.threads/thread_check.c: New testcase.
18235
2dedb159
AC
182362004-08-31 Andrew Cagney <cagney@gnu.org>
18237
18238 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
18239 (skip_to_handler_entry): New procedures. Test stepping into a
18240 handler when the breakpoint is at the handler's entry point.
18241
68f53502
AC
182422004-08-30 Andrew Cagney <cagney@gnu.org>
18243
18244 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
18245 gdb/1757.
18246
3e3ffd2b
MC
182472004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18248
18249 With code from Manoj Iyer <manjo@austin.ibm.com>:
18250 * lib/gdb.exp (gdb_file_cmd): Return more information in the
18251 return value. Add an arm for "no debugging symbols found".
18252 Change a stray "error" to "perror".
18253 (gdb_run_cmd): Adapt to new return value.
18254 * gdb.base/remote.exp: Adapt to new return value.
18255 * gdb.gdb/complaints.exp: Likewise.
18256 * gdb.gdb/observer.exp: Likewise.
18257 * gdb.gdb/selftest.exp: Likewise.
18258 * gdb.gdb/xfullpath.exp: Likewise.
18259
4b6f5fd2
JB
182602004-08-27 Joel Brobecker <brobecker@gnat.com>
18261
18262 * gdb.threads/bp_in_thread.exp: New testcase.
18263
e5b25496
MC
182642004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18265
18266 Fix PR testsuite/1735.
18267 * gdb.threads/schedlock.c (thread_function): Add a cast
18268 to suppress a gcc warning.
18269 * gdb.threads/thread-specific.c (thread_function): Likewise.
18270
934353d6
MC
182712004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18272
18273 * gdb.base/unload.c: Include <stdlib.h>.
18274
f98a0aef 182752004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 18276
f98a0aef 18277 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
18278 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
18279 synchronized after the "return".
18280
5a2e8882
MC
182812004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18282
18283 * gdb.mi/basics.c: Include <stdio.h>.
18284 * gdb.mi/pthreads.c: Include <stdlib.h>.
18285 * gdb.mi/var-cmd.c: Include <stdlib.h>.
18286
a9640423
MC
182872004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18288
18289 * gdb.threads/schedlock.c: Add copyright notice.
18290
b04e311d
AC
182912004-08-25 Andrew Cagney <cagney@gnu.org>
18292
18293 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
18294 (skip_over_handler, breakpoint_over_hander): New test procedures.
18295 (advance, advancei): Add a proper prefix, do not use
18296 rerun_to_main.
18297 * gdb.base/sigstep.c (main): Change to use an infinite loop.
18298
7c27f15b
MC
182992004-08-24 Michael Chastain <mec.gnu@mindspring.com>
18300
18301 * gdb.mi/basics.c: Add copyright notice.
18302 * gdb.mi/var-cmd.c: Add copyright notice.
18303
fffc87ae
MC
183042004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18305
18306 * lib/gdb.exp: Remove signed_keyword_not_used.
18307 * lib/compiler.c: Likewise.
18308 * lib/compiler.cc: Likewise.
18309
d782e0bf
MC
183102004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18311
18312 * gdb.base/whatis.c: Remove conditional disabling of "signed".
18313 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
18314
96033e83
MC
183152004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18316
18317 * gdb.base/whatis.c: Add copyright notice.
18318
cf38c229
MK
183192004-08-20 Mark Kettenis <kettenis@gnu.org>
18320
18321 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
18322 it to skip the breakpoints encoded in the inline assembly.
18323
f4b49756
MC
183242004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18325
18326 * Makefile.in: Add gdb.fortran.
18327
2f193b69
MC
183282004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18329
18330 * gdb.base/call-sc.exp (test_scalar_returns):
18331 Fix cut-and-paste glitch in "Make fun return now".
18332
89a237cb
MC
183332004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18334
18335 * configure.in: Add gdb.fortran.
18336 * configure: Regenerate.
18337 * gdb.fortran/Makefile.in: New file.
18338 * lib/gdb.exp (skip_fortran_tests): New procedure.
18339
469aff8e
MC
183402004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18341
18342 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
18343 reference to bug-gnu@prep.ai.mit.edu.
18344 * gdb.mi/mi-var-child.exp: Likewise.
18345 * gdb.mi/mi-var-cmd.exp: Likewise.
18346 * gdb.mi/mi-var-display.exp: Likewise.
18347 * gdb.mi/mi2-var-block.exp: Likewise.
18348 * gdb.mi/mi2-var-child.exp: Likewise.
18349 * gdb.mi/mi2-var-cmd.exp: Likewise.
18350 * gdb.mi/mi2-var-display.exp: Likewise.
18351
00b51b9f
MK
183522004-08-15 Mark Kettenis <kettenis@gnu.org>
18353
18354 * gdb.base/unload.c (main): Make local variable msg const.
18355
45f07fef
MC
183562004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18357
18358 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
18359 to bug-gnu@prep.ai.mit.edu.
18360 * gdb.mi/mi-disassemble.exp: Likewise.
18361 * gdb.mi/mi-eval.exp: Likewise.
18362 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
18363 default line number.
18364 * gdb.mi/mi-return.exp: Likewise.
18365 * gdb.mi/mi-simplerun.exp: Likewise.
18366 * gdb.mi/mi-stack.exp: Likewise.
18367 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
18368 number with explicit range test.
18369 * gdb.mi/mi-watch.exp: Likewise.
18370 * gdb.mi/mi2-break.exp: Likewise.
18371 * gdb.mi/mi2-cli.exp: Likewise.
18372 * gdb.mi/mi2-disassemble.exp: Likewise.
18373 * gdb.mi/mi2-eval.exp: Likewise.
18374 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
18375 default line number.
18376 * gdb.mi/mi2-return.exp: Likewise.
18377 * gdb.mi/mi2-simplerun.exp: Likewise.
18378 * gdb.mi/mi2-stack.exp: Likewise.
18379 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
18380 number with explicit range test.
18381 * gdb.mi/mi2-watch.exp: Likewise.
18382
dd8c8ee7
MC
183832004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18384
18385 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
18386 * gdb.cp/m-static.exp: Likewise.
18387 * gdb.cp/rtti.exp: Likewise.
18388
4e838464
MK
183892004-08-14 Mark Kettenis <kettenis@gnu.org>
18390
18391 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
18392
8d8cb839
EZ
183932004-08-14 Eli Zaretskii <eliz@gnu.org>
18394
18395 * ChangeLog: Prefix Local Variables with semi-colons and indent
18396 the reference to older ChangeLog files, to fix fontification in
18397 Emacs.
18398
deea8bb0
MC
183992004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18400
18401 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
18402 * gdb.mi/mi2-break.exp: Likewise.
18403
c3297504
MC
184042004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18405
18406 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
18407
25808999
MC
184082004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18409
18410 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
18411
226a8d71
MC
184122004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18413
18414 * gdb.cp/classes.exp: Remove unused declarations. Just let
18415 test names default instead of providing special names. Remove
18416 extraneous demangler test.
18417
37fdf854
JJ
184182004-08-12 Jeff Johnston <jjohnstn@redhat.com>
18419
18420 * gdb.base/unload.exp: New test for breakpoints in dynamically
18421 loaded libraries.
18422 * gdb.base/unload.c: Ditto.
18423 * gdb.base/unloadshr.c: Ditto.
18424
2d3a7986
MC
184252004-08-12 Michael Chastain <mec.gnu@mindspring.com>
18426
18427 * gdb.cp/classes.exp (test_ptype_class_objects): Call
18428 cp_test_ptype_class.
18429 (test_enums): Likewise.
18430
c72b934c
AC
184312004-08-10 Andrew Cagney <cagney@gnu.org>
18432
18433 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18434 files.
18435
cc503c8a
AC
184362004-08-10 Andrew Cagney <cagney@gnu.org>
18437
18438 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
18439 init_malloc call.
18440
902f2ccb
MC
184412004-08-10 Michael Chastain <mec.gnu@mindspring.com>
18442
18443 * ChangeLog: Add copyright notice. The notice is copied
18444 from emacs 21.3 top level ChangeLog.
18445
78c90502
MC
184462004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18447
18448 * lib/cp-support.exp: New file.
18449 * lib/cp-support.exp (cp_test_type_class): New function.
18450 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
18451 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
18452 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
18453 cp_test_ptype_class.
18454
88e5ea78
MC
184552004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18456
18457 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
18458 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
18459 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
18460 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
18461 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
18462 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
18463 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
18464 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
18465 gdb.mi/mi2-watch.exp: Update copyright years.
18466
6a89fc9c
MK
184672004-08-09 Mark Kettenis <kettenis@gnu.org>
18468
18469 * gdb.base/sigaltstack.exp: Provide proper anchoring.
18470
1482e0de
MC
184712004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18472
18473 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
18474 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
18475 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
18476 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
18477 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
18478 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
18479 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
18480 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
18481 gdb.mi/mi-watch.exp: Update copyright years.
18482
1a5ce3f3
DJ
184832004-08-08 Daniel Jacobowitz <dan@debian.org>
18484
18485 PR gdb/1738
18486 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
18487 from a breakpoint with a pending signal.
18488
04f6ecf2
DJ
184892004-08-08 Daniel Jacobowitz <dan@debian.org>
18490
18491 PR gdb/1736
18492 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
18493 * gdb.base/sigaltstack.exp (finish_test): Consume output until
18494 the prompt.
18495 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
18496
54d90d35
DJ
184972004-08-08 Daniel Jacobowitz <dan@debian.org>
18498
18499 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
18500
d2f6abb0
DJ
185012004-08-08 Daniel Jacobowitz <dan@debian.org>
18502
18503 PR gdb/1736
18504 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
18505 for i?86-*-linux*.
18506
5598c03d
DJ
185072004-08-08 Daniel Jacobowitz <dan@debian.org>
18508
18509 * gdb.arch/i386-prologue.exp: Compile without debug information.
18510
c6fee705
MC
185112004-08-08 Michael Chastain <mec.gnu@mindspring.com>
18512
18513 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
18514 rather than asking gdb to search.
18515
dd90efdb
MC
185162004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18517
18518 * gdb.base/gcore.c: Include <string.h>.
18519
1e84bec1
MC
185202004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18521
18522 * gdb.base/gcore.c: Add copyright notice.
18523
e425eb2b
MC
185242004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18525
18526 * gdb.base/freebpcmd.c: Include <stdio.h>.
18527 * gdb.base/long_long.c: Include <string.h>.
18528 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
18529 * gdb.base/siginfo.c: Include <string.h>.
18530 * gdb.base/sigstep.c: Include <string.h>.
18531
cb9aaed5
MC
185322004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18533
18534 * gdb.base/complex.c: Include <stdlib.h>.
18535
55944f3d
MC
185362004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18537
18538 * gdb.base/complex.c: Add copyright notice.
18539
7b2953d9
MC
185402004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18541
18542 * gdb.base/charset.c: Include <stdlib.h>.
18543
c9133d23
MC
185442004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18545
18546 * gdb.base/auxv.c: Include <stdlib.h>.
18547
0a8490ad
MC
185482004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18549
18550 * gdb.base/auxv.c: Add copyright notice.
18551
3426d5ec
MC
185522004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18553
18554 * gdb.base/coremaker.c: Add copyright notice.
18555 * gdb.base/coremaker2.c: Add copyright notice.
18556
8da195dd
AC
185572004-08-04 Andrew Cagney <cagney@gnu.org>
18558
18559 * gdb.base/store.exp: Update copyright.
18560 (check_set, up_set, check_struct, up_struct): Add a prefix to test
18561 names, do not import gdb_prompt.
18562
8d394f98
AC
185632004-08-01 Andrew Cagney <cagney@gnu.org>
18564
18565 Fix PR testsuite/1729.
18566 * gdb.base/dump.exp: Add test name to callers of capture_value, do
18567 not use capture_value with value 4.
18568 (capture_value): Add optional test name parameter.
18569 (test_reload_saved_value, test_restore_saved_value): Use $msg as
18570 the prefix, pass to capture_value.
18571
b6702b23
MK
185722004-08-01 Mark Kettenis <kettenis@gnu.org>
18573
18574 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
18575 * gdb.arch/i386-prologue.c (standard): New prototype and function.
18576 (main): Call new function.
18577
c203e0ca
MC
185782004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18579
18580 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
18581
a7995a30
MC
185822004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18583
18584 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
18585
9366563b
MC
185862004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18587
b6eeaf26 18588 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
18589 Accept more values of vtbl pointer. Remove some messages
18590 about "obsolete gcc or gdb".
18591
2fc1f950
MC
185922004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18593
18594 * gdb.cp/classes.exp: Accept more varieties of ptype output.
18595
c724d49b
MC
185962004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18597
18598 * gdb.base/asm-source.exp: Properly convert target board
18599 debug flags from gcc format to binutils format.
18600
736b0fce
MK
186012004-07-28 Mark Kettenis <kettenis@gnu.org>
18602
18603 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
18604 gdb1718". PR backtrace/1718 partially fixed.
18605
5633ea5c
JJ
186062004-07-27 Jeff Johnston <jjohnstn@redhat.com>
18607
18608 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
18609
575eebb1
NC
186102004-07-26 Nick Clifton <nickc@redhat.com>
18611
18612 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
18613 good default value for a specific architecture is available then
18614 set it to that value. Otherwise default to the -gstabs switch.
18615 Remove the -g... switches from the asm-flags variable. Allow the
18616 target board info to override the value if it wants to. Pass the
18617 switch on the assembler command line.
18618
62104619
MK
186192004-07-23 Mark Kettenis <kettenis@gnu.org>
18620
18621 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
18622 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
18623 (main): Call new function.
18624
4a1135b8
MC
186252004-07-22 Michael Chastain <mec.gnu@mindspring.com>
18626
18627 Test for PR exp/1715.
18628 * gdb.base/radix.exp: Refactor common procedures. Make all
18629 test names unique. Change XFAIL to KFAIL.
18630
8a12c1f0
MC
186312004-07-20 Michael Chastain <mec.gnu@mindspring.com>
18632
18633 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
18634 * gdb.ada/gnat_ada.gin: ... to here.
18635 * configure.in: Use gnat_ada.gin.
18636 * configure: Regenerate.
18637
23b451cf
AC
186382004-07-20 Andrew Cagney <cagney@gnu.org>
18639
18640 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
18641 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
18642 XFAILs. Clean up test messages and comments. Check backtraces.
18643 Delete re-sync code.
18644
ab618a02
MC
186452004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18646
18647 Fix PR cli/740.
18648 * gdb.base/annota1.exp: Honor gdb,nosignals.
18649 * gdb.base/annota3.exp: Likewise.
18650
46dad340
MC
186512004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18652
18653 * lib/java.exp: Update copyright notice.
18654
756d8c70
AC
186552004-07-19 Andrew Cagney <cagney@gnu.org>
18656
18657 * gdb.base/selftest.exp: Copy file from here ...
18658 * gdb.gdb/selftest.exp: ... to here.
18659
586027e6
AC
186602004-07-16 Andrew Cagney <cagney@redhat.com>
18661
18662 * lib/insight-support.exp: Delete file.
18663 * lib/java.exp (java_init): Fix copyright.
18664
029d2200
AC
186652004-07-16 Andrew Cagney <cagney@gnu.org>
18666
18667 * gdb.base/restore.c: Append "prologue" to comments marking the a
18668 function's prologue.
18669 * gdb.base/restore.exp: Update copyright, re-indent.
18670 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
18671 callerN" prefix where needed. Update patterns that match a
18672 function's prologue.
18673
653b62c5
MC
186742004-07-16 Michael Chastain <mec.gnu@mindspring.com>
18675
18676 * gdb.base/restore.c: Add copyright notice.
18677
f7d690e5
AC
186782004-07-16 Andrew Cagney <cagney@gnu.org>
18679
18680 * gdb.base/logical.exp: Update copyright.
18681 (evaluate): New procedure. Use to re-implement tests using
18682 several tables.
18683
d629a7cb
MH
186842004-07-14 Martin Hunt <hunt@redhat.com>
18685
18686 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
18687 which fixes some problems where init.tcl was not found.
18688
9c7bb332
AC
186892004-07-13 Andrew Cagney <cagney@gnu.org>
18690
6bf46641
AC
18691 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
18692 (check_sizeof, check_valueof): Do not include the output in the
18693 test name. Use gdb_test.
18694 (get_valueof): Use gdb_test_multiple.
18695
c4ffd4c0
AC
18696 * gdb.base/step-test.exp: Update copyright. Use
18697 gdb_test_multiple. Ensure that test names do not include
18698 architecture dependent output.
18699
ab89363a
AC
18700 * gdb.gdb/observer.exp: Update copyright.
18701 (setup_test): Use gdb_test_multiple.
18702 (attach_first_observer, attach_second_observer)
18703 (attach_third_observer, detach_first_observer)
18704 (detach_second_observer, detach_third_observer)
18705 (reset_counters, check_counters): Make $message a prefix.
18706 (test_normal_stop_notifications): Add "args" parameter - a list of
18707 init functions to be called. Make $message a prefix,
18708 (test_observer_normal_stop): Change the message prefixes so that
18709 they are unique, pass the attach / detach procedures to
18710 test_normal_stop_notifications.
18711
ec58997a
AC
18712 * gdb.base/signull.exp (test_segv): Prefix all tests with
18713 "${name}". Clean up test messages.
18714
b475183b
AC
18715 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
18716
9c7bb332
AC
18717 * gdb.base/ena-dis-br.exp: Update copyright.
18718 (break_at): New function. Replace send_gdb with gdb_test,
18719 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
18720 ignore count, not stopped at bpt", with KFAIL.
18721
2dd95497
CV
187222004-07-13 Corinna Vinschen <vinschen@redhat.com>
18723
18724 * gdb.base/attach.exp: Remove cleanupfile handling.
18725
419e626b
AC
187262004-07-12 Andrew Cagney <cagney@gnu.org>
18727
18728 * gdb.base/annota1.exp: Cleanup corefile test name.
18729 * gdb.base/annota3.exp: Ditto.
18730
8b1b3228
AC
187312004-07-12 Andrew Cagney <cagney@gnu.org>
18732
78650829
AC
18733 * gdb.base/signals.exp: Clean up copyright, re-indent.
18734
8b1b3228
AC
18735 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
18736 gdb_test and gdb_test_multiple.
18737
935c2760
JJ
187382004-07-08 Jeff Johnston <jjohnstn@redhat.com>
18739
18740 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 18741 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
18742 provide line number info for first statement in main.
18743
1544280f
AC
187442004-07-08 Andrew Cagney <cagney@gnu.org>
18745
1279f4ff
AC
18746 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
18747
1544280f
AC
18748 * gdb.base/sigbpt.exp: Make the common part of each test name a
18749 prefix instead of suffix.
18750
bcc82369
BR
187512004-07-07 Bob Rossi <bob_rossi@cox.net>
18752
18753 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
18754 test from test_tbreak_creation_and_listing to
18755 test_file_list_exec_source_file
18756 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
18757 Changed name of test from test_tbreak_creation_and_listing to
18758 test_file_list_exec_source_file
18759
23f4b0aa
JJ
187602004-07-07 Jeff Johnston <jjohnstn@redhat.com>
18761
18762 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
18763 the jmisc() constructor instead of <init>.
18764 * gdb.java/jmisc1.exp: Ditto.
18765
56401cd5
AC
187662004-07-07 Andrew Cagney <cagney@gnu.org>
18767
18768 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
18769 corrupting the PC.
18770
44ae2f6a
MC
187712004-07-06 Michael Chastain <mec.gnu@mindspring.com>
18772
18773 * gdb.cp/templates.exp: Accept whitespace change in demangler
18774 output.
18775
45a83408
AC
187762004-07-06 Andrew Cagney <cagney@gnu.org>
18777
18778 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
18779
d205ad70
MC
187802004-07-02 Michael Chastain <mec.gnu@mindspring.com>
18781
18782 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
18783 * lib/compiler.cc: Likewise.
18784
06ea1a61
MC
187852004-06-30 Michael Chastain <mec.gnu@mindspring.com>
18786
18787 * lib/compiler.cc: Work around string preprocessing problem
18788 with old hp c++ compiler.
18789 * lib/compiler.c: Likewise.
18790
daab1251
CV
187912004-06-29 Corinna Vinschen <vinschen@redhat.com>
18792
18793 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
18794 directives to conditionalize symbol prefixing.
18795 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
18796 additional_flags handling. Add underscore prefix for Cygwin.
18797 * gdb.arch/i386-unwind.c: Use preprocessor directives to
18798 conditionalize symbol prefixing.
18799 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
18800 additional_flags handling. Add underscore prefix for Cygwin.
18801
cc984116
CV
188022004-06-29 Corinna Vinschen <vinschen@redhat.com>
18803
18804 * gdb.base/bigcore.exp: Skip test on Cygwin.
18805
c279b077
MC
188062004-06-28 Michael Chastain <mec.gnu@mindspring.com>
18807
18808 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
18809 formats for "info register". Use gdb_test_multiple. Fix
18810 the "invalid register" test.
18811
0e915747
CV
188122004-06-28 Corinna Vinschen <vinschen@redhat.com>
18813
18814 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
18815 PID for Cygwin. Add Cygwin specific strings to check for in some
18816 tests.
18817 (do_attach_tests): Add a test for user interaction when attaching
18818 to a process with no matching symbol table already loaded.
18819
11422c86
AC
188202004-06-26 Andrew Cagney <cagney@gnu.org>
18821
18822 Test PR java/1567 and PR java/1565.
18823 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
18824 * gdb.java/jmisc2.exp: Delete file.
18825
cefbce26
MC
188262004-06-26 Michael Chastain <mec.gnu@mindspring.com>
18827
18828 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
18829
e19f872c
CV
188302004-06-25 Corinna Vinschen <vinschen@redhat.com>
18831
18832 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
18833 attach process.
18834
d931ba3b
MC
188352004-06-23 Michael Chastain <mec.gnu@mindspring.com>
18836
18837 * gdb.cp/pr-1553.exp: Remove.
18838
aef68c48
MC
188392004-06-22 Michael Chastain <mec.gnu@mindspring.com>
18840
18841 * gdb.cp/pr-1553.cc: Remove.
18842 * gdb.cp/pr-1553.exp: Disable this test.
18843
8d5df71a
JB
188442004-06-20 Jim Blandy <jimb@redhat.com>
18845
a9c64011 18846 Fix PR testsuite/1680.
8d5df71a
JB
18847 * gdb.arch/i386-sse.exp: Properly quote curly braces in
18848 regular expressions.
18849
4ac6f39d
MC
188502004-06-19 Michael Chastain <mec.gnu@mindspring.com>
18851
18852 Fix PR testsuite/1679.
18853 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
18854 Issue an UNSUPPORTED result instead.
18855
1b413552
JB
188562004-06-18 Jim Blandy <jimb@redhat.com>
18857
18858 * gdb.base/charset.exp: Only send a control-C if we see a new
18859 prompt and incomplete command.
18860
6daa6ebd
MC
188612004-06-18 Michael Chastain <mec.gnu@mindspring.com>
18862
18863 * gdb.cp/pr-574.cc: Add copyright notice.
18864
51fa4ae0
JB
188652004-06-17 Jim Blandy <jimb@redhat.com>
18866
18867 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
18868 cases where the regexp has no groups; this grabs random text from
18869 the previous test suite, whatever that was.
18870
8fea26c5
MC
188712004-06-17 Michael Chastain <mec.gnu@mindspring.com>
18872
18873 * gdb.cp/printmethod.cc: Add copyright notice.
18874
1e3aeb41
MC
188752004-06-16 Michael Chastain <mec.gnu@mindspring.com>
18876
18877 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
18878
9d9030bc
AC
188792004-06-16 Andrew Cagney <cagney@gnu.org>
18880
18881 * gdb.base/signull.c: Update copyright. Include <string.h>.
18882 (bowler): Replace data_pointer with data_read
18883 and data_write cases. Add code_descriptor case.
18884 (zero, desc): New array and pointer.
18885 (data, code): Change to simple pointers.
18886 * gdb.base/signull.exp: Fix probe pattern matching a function
18887 descriptor SIGSEGV. Replace data_pointer with data_read and
18888 data_write tests.
18889
acd4ad44
AC
188902004-06-16 Andrew Cagney <cagney@gnu.org>
18891
18892 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
18893
08fd625c
MC
188942004-06-15 Michael Chastain <mec.gnu@mindspring.com>
18895
18896 * gdb.base/long_long.c: Add copyright notice.
18897
1903502c
MC
188982004-06-15 Michael Chastain <mec.gnu@mindspring.com>
18899
18900 * gdb.base/long_long.exp: Remove reference to
18901 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
18902 to gdb_breakpoint and gdb_continue_to_breakpoint.
18903
83313cb1
JB
189042004-06-14 Jim Blandy <jimb@redhat.com>
18905
18906 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
18907 endian case.
18908
1bf404ef
AC
189092004-06-14 Andrew Cagney <cagney@gnu.org>
18910
18911 * gdb.base/gcore.exp (capture_command_output): Delete the always
18912 passing tests containing inferior values.
18913 * gdb.base/ending-run.exp: Do not include the breakpoint address
18914 in the test message. Update copyright.
18915 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
18916 size in the test name, use gdb_test_multiple. Update copyright.
18917
ef220b33
MC
189182004-06-14 Michael Chastain <mec.gnu@mindspring.com>
18919
18920 * gdb.cp/ref-types.cc: Add copyright notice.
18921
4f70a4c9
MC
189222004-06-14 Michael Chastain <mec.gnu@mindspring.com>
18923
18924 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
18925 hp_aCC_compiler.
18926 * lib/compiler.cc: Likewise.
18927 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
18928 'set' commands. Log diagnostics for other lines. Set
18929 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
18930
335928ac
MC
189312004-06-13 Michael Chastain <mec.gnu@mindspring.com>
18932
18933 * gdb.cp/try_catch.cc: Add copyright notice.
18934
2efb12e8
MC
189352004-06-12 Michael Chastain <mec.gnu@mindspring.com>
18936
18937 * gdb.cp/userdef.cc: Add copyright notice.
18938
0bbed51a
MC
189392004-06-11 Michael Chastain <mec.gnu@mindspring.com>
18940
18941 * gdb.cp/virtfunc.cc: Add copyright notice.
18942
e12a46c9
RC
189432004-06-11 Randolph Chung <tausq@debian.org>
18944
18945 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
18946 problem.
18947
338e05af
AC
189482004-06-10 Andrew Cagney <cagney@gnu.org>
18949
18950 * lib/compiler.cc, lib/compiler.c: Append either
18951 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
18952 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
18953 instead of gcc-3-3.
18954
dc3f10cb
AC
189552004-06-09 Andrew Cagney <cagney@gnu.org>
18956
b4d946af
AC
18957 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
18958 gdb/1455, bug is specific to "long long" and "double".
a9c64011 18959
dc3f10cb
AC
18960 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
18961 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
18962 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
18963 fixed.
18964
b5c0bfa2
AC
189652004-06-09 Andrew Cagney <cagney@gnu.org>
18966
18967 * gdb.base/structs.exp (test_struct_returns): Replace
18968 "return_value_unknown" and "finish_value_unknown" by
18969 "return_value_known" and "finish_value_known". Instead of
18970 "return_value_unknown" iff "finish_value_unknown", check
18971 "return_value_known" implies "finish_value_known".
18972
caeb605f
MH
189732004-06-08 Martin Hunt <hunt@redhat.com>
18974
18975 * gdb.base/float.exp: Add pattern for mips targets.
18976
c892bb64
RC
189772004-06-08 Randolph Chung <tausq@debian.org>
18978
18979 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
18980 message for unknown architectures more clear.
18981
48306d3e
JB
189822004-06-08 Joel Brobecker <brobecker@gnat.com>
18983
18984 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
18985 start the execution of the program.
18986
83ecb59f
JB
189872004-06-07 Jim Blandy <jimb@redhat.com>
18988
18989 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
18990 * gdb.arch/i386-cpuid.h: New helper file.
18991
55264cb4
RC
189922004-06-07 Randolph Chung <tausq@debian.org>
18993
18994 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
18995 has started.
18996
23cadb28
RM
189972004-06-04 Roland McGrath <roland@redhat.com>
18998
18999 Fix PR gdb/1647.
19000 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
19001 differently to be robust to output buffering differences.
19002
51d01eda
MC
190032004-06-04 Michael Chastain <mec.gnu@mindspring.com>
19004
19005 * gdb.threads/pthreads.exp: Update copyright years.
19006 (check_control_c): Change asynchronous 'after' to synchronous.
19007
f4fc3b93
RM
190082004-06-04 Roland McGrath <roland@redhat.com>
19009
19010 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
19011 next gdb prompt.
19012
4013522b
MC
190132004-06-02 Michael Chastain <mec.gnu@mindspring.com>
19014
19015 Fix PR gdb/1636.
19016 * gdb.threads/manythreads.exp: Change asynchronous 'after'
19017 calls to synchronous.
19018
7a8f1e6b
JB
190192004-05-26 Jim Blandy <jimb@redhat.com>
19020
19021 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
19022
81bb3443
RC
190232004-05-24 Randolph Chung <tausq@debian.org>
19024
19025 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
19026 * gdb.asm/pa.inc: New file.
19027
8f5a3103
MK
190282004-05-22 Mark Kettenis <kettenis@gnu.org>
19029
19030 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
19031
734b8fe8 190322004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 19033 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
19034
19035 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
19036 GDB prompt.
19037
725603e1
UW
190382004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19039
f4fc3b93 19040 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
19041 setjmp/longjmp. Use sigaction instead of signal.
19042
8b923272 190432004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 19044 Michael Snyder <msnyder@redhat.com>
8b923272
JB
19045
19046 * gdb.threads/pthread_cond_wait.c: New file.
19047 * gdb.threads/pthread_cond_wait.exp: New testcase.
19048
8bfabb04
AC
190492004-05-13 Andrew Cagney <cagney@redhat.com>
19050
19051 * gdb.base/signull.exp, gdb.base/signull.c: New files.
19052 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
19053
42edda50
AC
190542004-05-11 Andrew Cagney <cagney@redhat.com>
19055
19056 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
19057 fixed but revealed gdb/1639.
19058
d303a6c7
AC
190592004-05-10 Andrew Cagney <cagney@redhat.com>
19060
19061 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
19062 func1" and "next to 2nd alarm", kernel bug avoided.
19063
bf08c2a1
DJ
190642004-05-10 Daniel Jacobowitz <dan@debian.org>
19065
19066 PR external/1568
19067 * gdb.base/bigcore.exp: Check the size of the dumped core file.
19068 XFAIL if it is smaller than bytes_allocated.
19069 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
19070 (main): Make chunks_allocated unsigned. Correct comment.
19071
c0586a34
JB
190722004-05-07 Joel Brobecker <brobecker@gnat.com>
19073
19074 * gdb.arch/powerpc-aix-prologue.c: New file.
19075 * gdb.arch/powerpc-aix-prologue.exp: New file.
19076
f2785d12
JB
190772004-05-07 Jim Blandy <jimb@redhat.com>
19078
19079 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
19080 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
19081
bd7f6e30
JB
190822004-05-06 Joel Brobecker <brobecker@gnat.com>
19083
19084 * gdb.base/sep.exp: No longer setup_kfail when the program was
19085 built with dwarf2.
19086
0a5e7efe
JI
190872004-05-05 Jim Ingham <jingham@apple.com>
19088
19089 * gdb.base/pending.exp: Make sure pending breakpoints
19090 preserve the ignore count.
f4fc3b93 19091
a8958849
MK
190922004-04-27 Jerome Guitton <guitton@gnat.com>
19093
19094 * i386-prologue.exp: Add testcase for jump instruction as first
19095 instruction of the real code.
19096 * i386-prologue.c (jump_at_beginning): New function.
19097
7e103f5b
MK
190982004-04-28 Mark Kettenis <kettenis@gnu.org>
19099
19100 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
19101 x86_64-*-*.
19102
5d38b224
MK
191032004-04-28 Mark Kettenis <kettenis@gnu.org>
19104
19105 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
19106 i*86-*-*.
19107
0ef32fd9
MK
191082004-04-25 Mark Kettenis <kettenis@gnu.org>
19109
19110 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
19111 expression that checks the return type.
19112
71d7dd7c
AC
191132004-04-23 Andrew Cagney <cagney@redhat.com>
19114
19115 * gdb.base/call-sc.exp: New test of scalar call/return values.
19116 * gdb.base/call-sc.c: Ditto.
19117
1e9f977e
JJ
191182004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19119
19120 * gdb.threads/manythreads.c: Reduce thread stack size.
19121
899d9e3a
JJ
191222004-04-23 Jeff Johnston <jjohnstn@redhat.com>
19123
19124 * gdb.threads/manythreads.c: Add copyright notice.
19125
61bcae62
AC
191262004-04-23 Andrew Cagney <cagney@redhat.com>
19127
19128 * gdb.base/siginfo.exp: Better handle step out of signal.
19129 * gdb.base/sigstep.exp: Ditto.
19130
7339a42e 191312004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 19132 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
19133
19134 * gdb.threads/manythreads.c: New testcase.
19135 * gdb.threads/manythreads.exp: Ditto.
19136
5c98409b
JB
191372004-04-22 Jim Blandy <jimb@redhat.com>
19138
19139 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
19140 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
19141
3b611f1a
MC
191422004-04-21 Michael Chastain <mec.gnu@mindspring.com>
19143
19144 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
19145
f0fd9238
AC
191462004-04-21 Andrew Cagney <cagney@redhat.com>
19147
19148 * gdb.base/sigstep.c: New file.
19149 * gdb.base/sigstep.exp: New file.
19150
90990674
JB
191512004-04-16 Joel Brobecker <brobecker@gnat.com>
19152
19153 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
19154 call to observer_notify_normal_stop.
19155
78cef34b
AC
191562004-04-15 Andrew Cagney <cagney@redhat.com>
19157
19158 * gdb.base/siginfo.c: New file.
19159 * gdb.base/siginfo.exp: New file.
19160
d2343407
JB
191612004-04-12 J. Brobecker <brobecker@gnat.com>
19162
19163 * gdb.base/sep.exp: Fix typo in comment.
19164
a2dba3c8
JB
191652004-04-12 J. Brobecker <brobecker@gnat.com>
19166
19167 * gdb.base/sep.c: New file.
19168 * gdb.base/sep-proc.c: New file.
19169 * gdb.base/sep.exp: New testcase.
19170
15f7b60e
MK
191712004-04-09 Mark Kettenis <kettenis@gnu.org>
19172
19173 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
19174 support.
19175
44f4de1a
AC
191762004-04-05 Andrew Cagney <cagney@redhat.com>
19177
19178 * gdb.base/sigaltstack.c: New file.
19179 * gdb.base/sigaltstack.exp: New file.
19180
ef04f396
JB
191812004-04-04 Joel Brobecker <brobecker@gnat.com>
19182
19183 * gdb.base/foll-fork.exp: Update the expected output for
19184 "help set follow-fork-mode", to match a change that was made
19185 to the help of this variable on 2004-01-13.
19186
d40d2c92
JB
191872004-04-01 Joel Brobecker <brobecker@gnat.com>
19188
19189 * lib/ada.exp: Add copyright notice.
19190 * bar.ads: Likewise.
19191 * bar.adb: Likewise.
19192 * null_record.adb: Likewise.
19193 * null_record.exp: Likewise.
19194 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
19195
f86ef5a3
JB
191962004-04-01 Joel Brobecker <brobecker@gnat.com>
19197
19198 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
19199 * configure: Regenerate.
19200
414e70e3
JB
192012004-04-01 Joel Brobecker <brobecker@gnat.com>
19202
19203 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
19204 to build the application. Remove the message printed when in
19205 verbose mode, redundant with the UNSUPPORTED message above.
19206
f0aaee49
JB
192072004-03-31 Joel Brobecker <brobecker@gnat.com>
19208
19209 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
19210 * gdb.ada (null_record.exp): New testcase.
19211
ac81cb54
JB
192122004-03-31 Joel Brobecker <brobecker@gnat.com>
19213
19214 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
19215
854af2f7
JB
192162004-03-31 Joel Brobecker <brobecker@gnat.com>
19217
19218 * gdb.ada: New subdirectory.
19219 * gdb.ada/Makefile.in: New file.
19220 * gdb.ada/gnat_ada.gpr.in: New file.
19221
034cb681
JB
192222004-03-31 Joel Brobecker <brobecker@gnat.com>
19223
19224 * lib/ada.exp: New file.
19225
78a1a894
DJ
192262004-03-24 Daniel Jacobowitz <drow@mvista.com>
19227
19228 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
19229 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
19230
4b2b3b3e
AC
192312004-03-22 Andrew Cagney <cagney@redhat.com>
19232
19233 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
19234 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
19235 Problem identified by Ulrich Weigand.
19236
23c73aa3
DC
192372004-03-17 David Carlton <carlton@kealia.com>
19238
19239 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
19240 PR c++/826.
19241
d63a86f8
RM
192422004-03-16 Roland McGrath <roland@redhat.com>
19243
19244 * gdb.base/auxv.exp: New file.
19245 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
19246
0e02aa50
DC
192472004-03-12 David Carlton <carlton@kealia.com>
19248
19249 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
19250 * gdb.cp/pr-1553.cc: Ditto.
19251 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
19252 pass branch.
19253
c20b71be
MC
192542004-03-12 Michael Chastain <mec.gnu@mindspring.com>
19255
19256 * gdb.cp/templates.exp: Accept more template types.
19257
c7414a01
MC
192582004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19259
19260 From Corinna Vinschen with modifications.
19261 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
19262 local variable obj_with_enum.
19263 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
19264 results with obj_with_enum.
19265
ed69573c
MC
192662004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19267
19268 * gdb.cp/classes.cc: New file, copied from misc.cc.
19269 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
19270
28301461
MC
192712004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19272
19273 * gdb.cp/misc.cc: Add copyright notice.
19274
1198ecbe
DC
192752004-03-05 David Carlton <carlton@kealia.com>
19276
19277 * gdb.cp/rtti.exp: Add 'print *obj3' test.
19278 * gdb.cp/rtti.h: Update copyright.
19279 (namespace n2::n3): New.
19280 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
19281 (n2::n3::func3): New.
19282 (main): Call n2::n3::func3.
19283 * gdb.cp/rtti2.cc: Update copyright.
19284 (n2::create3): New.
19285
9e08c470
MK
192862004-03-04 Mark Kettenis <kettenis@gnu.org>
19287
19288 * gdb.asm/openbsd.inc: Fix typo.
19289
4bebc3aa
FF
192902004-03-03 Fred Fish <fnf@redhat.com>
19291
19292 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
19293 "val" instead of unused "size". Update copyright year.
19294
6ea9fb37
DJ
192952004-02-29 Daniel Jacobowitz <drow@mvista.com>
19296
19297 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
19298 to use unsigned char.
19299 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
19300 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
19301
23b23974
DJ
193022004-02-29 Daniel Jacobowitz <drow@mvista.com>
19303
19304 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
19305 line of output.
19306
7574fd53
DJ
193072004-02-28 Daniel Jacobowitz <drow@mvista.com>
19308
19309 * gdb.base/relocate.c (dummy): Initialize.
19310
a195357f
DJ
193112004-02-28 Daniel Jacobowitz <drow@mvista.com>
19312
19313 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
19314 a breakpoint at exit.
19315
72fd54a9
FF
193162004-02-27 Fred Fish <fnf@redhat.com>
19317
19318 * gdb.base/chng-syms.exp: Add expect condition to match failing
19319 case that isn't a timeout.
19320
b9d23137
AC
193212004-02-27 Andrew Cagney <cagney@redhat.com>
19322
19323 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
19324 support.
19325
15d208f6 193262004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 19327
15d208f6
FF
19328 * gdb.arch/gdb1431.c: Remove.
19329 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
19330 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
19331 of "until" incorrectly.
19332
98f9cd2d
JB
193332004-02-26 J. Brobecker <brobecker@gnat.com>
19334
19335 * gdb.cp/class2.cc (empty): New class.
19336 (refer): New function.
19337 (main): Declare an object of type empty and use it.
19338 * gdb.cp/class2.exp: Print the value of an object of type empty.
19339
9b50c11b
JJ
193402004-02-26 Jeff Johnston <jjohnstn@redhat.com>
19341
19342 * gdb.base/langs.exp: Update query string to match the
19343 new nquery format used for pending breakpoints.
19344
0dcd613f
AC
193452004-02-26 Andrew Cagney <cagney@redhat.com>
19346
19347 Fix PR i18n/1570.
19348 * gdb.base/charset.c: Update copyright notice.
19349 (main, init_string): Remove the escape character '\e' tests.
19350 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
19351 * gdb.base/charset.exp (valid_host_charset): Ditto.
19352 * gdb.base/setvar.exp: Ditto.
19353
b8a56647
AC
193542004-02-24 Andrew Cagney <cagney@redhat.com>
19355
90d59e34
AC
19356 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
19357 mmapped data in core file" PASS and FAIL messages consistent.
19358
b8a56647
AC
19359 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
19360 setting a breakpoint. Work around PR java/1565.
19361
9f27c604
JJ
193622004-02-23 Jeff Johnston <jjohnstn@redhat.com>
19363
19364 * lib/gdb.exp (gdb_breakpoint): Update query string to match
19365 new nquery format.
19366 * gdb.base/pending.exp: Ditto.
19367
3224a706
MK
193682004-02-22 Mark Kettenis <kettenis@gnu.org>
19369
19370 * configure.in: Run stabs tests on *BSD.
19371 * configure: Regenerated.
19372
41e0a9ca
MK
193732004-02-21 Mark Kettenis <kettenis@gnu.org>
19374
19375 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
19376
1e1b3428
FF
193772004-02-20 Fred Fish <fnf@redhat.com>
19378
19379 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
19380 blank in test for "returns short", for consistency with other
19381 "returns xxx" tests. Update copyright year.
19382
f9a7572a
FF
193832004-02-19 Fred Fish <fnf@redhat.com>
19384
19385 New testcase for PR breakpoint/1558.
19386 * gdb.arch/gdb1558.exp: New file.
19387 * gdb.arch/gdb1558.c: New file.
19388
b2ce2854
EZ
193892004-02-19 Elena Zannoni <ezannoni@redhat.com>
19390
19391 * gdb.base/nodebug.exp: Fix typo.
19392
e7c9ff01
JB
193932004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19394
19395 Committed by Jim Blandy <jimb@redhat.com>.
19396
62f4b920
JB
19397 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
19398
2db536a1
JB
19399 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
19400
e7c9ff01
JB
19401 * gdb.base/float.exp: Support s390*-*-* targets.
19402
f3205b34
AF
194032004-02-17 Adam Fedor <fedor@gnu.org>
19404
19405 * gdb.base/gdb1555.exp: New file.
19406 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
19407
9d62932d
EZ
194082004-02-17 Elena Zannoni <ezannoni@redhat.com>
19409
19410 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
19411
344c9711
FF
194122004-02-16 Fred Fish <fnf@redhat.com>
19413
19414 * gdb.arch/gdb1291.c: Remove
19415 * gdb.arch/gdb1291.s: New test input file.
19416 * gdb.arch/gdb1291.exp: Expand test to check case that should not
19417 fail. Test for correct result, known incorrect result, other
19418 failures and timeouts.
19419
2d822687
AC
194202004-02-16 Andrew Cagney <cagney@redhat.com>
19421
19422 * gdb.base/bigcore.exp: New file.
19423 * gdb.base/bigcore.c: New file.
19424
dac15b66
AC
194252004-02-13 Andrew Cagney <cagney@redhat.com>
19426
19427 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
19428 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
19429 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
19430 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
19431 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
19432 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
19433 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
19434 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
19435 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
19436 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
19437
6bdfc2c4
JJ
194382004-02-11 Jeff Johnston <jjohnstn@redhat.com>
19439
19440 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
19441 executed is an alloc instruction.
19442
87b3ede8
DC
194432004-02-11 David Carlton <carlton@kealia.com>
19444
19445 * gdb.cp/breakpoint.exp: New.
19446 * gdb.cp/breakpoint.cc: New.
19447
6e19e2bf
MC
194482004-02-11 Michael Chastain <mec.gnu@mindspring.com>
19449
19450 Partial fix for PR gdb/1543.
19451 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
19452 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
19453 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
19454 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
19455 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
19456 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
19457 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
19458 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
19459 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
19460 to bug-gdb@prep.ai.mit.edu .
19461 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
19462 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
19463 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
19464 Likewise.
19465
5c5455dc
AC
194662004-02-10 Andrew Cagney <cagney@redhat.com>
19467
19468 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
19469 using gdb_internal_error_resync.
19470
9cf689d7
DJ
194712004-02-09 Daniel Jacobowitz <drow@mvista.com>
19472
19473 * gdb.threads/thread-specific.exp: Stop early if no threads are
19474 found.
19475
d2dc51db
MC
194762004-02-09 Michael Chastain <mec.gnu@mindspring.com>
19477
19478 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
19479
14b1a056
DJ
194802004-02-08 Daniel Jacobowitz <drow@mvista.com>
19481
19482 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
19483 breakpoints.
19484
83f66e8f
DJ
194852004-02-07 Daniel Jacobowitz <drow@mvista.com>
19486
19487 * config/sim.exp (gdb_load): Handle $arg == "".
19488 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
19489 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
19490
30fc0091
EZ
194912004-02-07 Elena Zannoni <ezannoni@redhat.com>
19492
a9c64011
AS
19493 * gdb.base/maint.exp: Update test to reflect
19494 obstack changes.
30fc0091 19495
4d806929
JJ
194962004-02-04 Jeff Johnston <jjohnstn@redhat.com>
19497
19498 * gdb.base/pendshr.c (pendfunc): New function that calls
19499 pendfunc1.
19500 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
19501
7bfdd688
FF
195022004-02-04 Fred Fish <fnf@redhat.com>
19503
19504 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
19505 function symbols and update copyright years.
19506 * gdb.arch/gdb1291.c: Ditto.
19507
aaa08ee4
MC
195082004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19509
19510 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
19511
dbad7755
MC
195122004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19513
19514 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
19515
ec4646ef
MC
195162004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19517
19518 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
19519
1b802196
FF
195202004-02-02 Fred Fish <fnf@redhat.com>
19521
19522 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
19523 remote targets. Update copyright years.
19524
18fe2033
JJ
195252004-02-02 Jeff Johnston <jjohnstn@redhat.com>
19526
19527 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
19528 support.
19529 * gdb.base/langs.exp: Fix test which attempts to create
19530 breakpoint on non-existent function to handle new pending
19531 support.
19532 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
19533 a breakpoint.
19534 * gdb.base/pending.exp: New test.
19535 * gdb.base/pending.c: New file.
19536 * gdb.base/pendshr.c: Ditto.
19537
8d577d32
DC
195382004-02-02 David Carlton <carlton@kealia.com>
19539
19540 * gdb.cp/overload.exp: Add overloadNamespace tests.
19541 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
19542 (overloadNamespace, XXX): New.
19543 (main): Call XXX::marker2.
19544
3ad13771
FF
195452004-02-01 Fred Fish <fnf@redhat.com>
19546
19547 * gdb.base/dump.exp: Use runto_main instead of "runto main".
19548 * gdb.base/finish.exp: Ditto.
19549 * gdb.base/gcore.exp: Ditto.
19550 * gdb.base/huge.exp: Ditto.
19551 * gdb.base/info-proc.exp: Ditto.
19552 * gdb.base/return2.exp: Ditto.
19553 * gdb.threads/gcore-thread.exp: Ditto.
19554
44c75849
DJ
195552004-02-01 Daniel Jacobowitz <drow@mvista.com>
19556
19557 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
19558
005bc093
MK
195592004-02-01 Mark Kettenis <kettenis@gnu.org>
19560
19561 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
19562 that opening the file succeeds on OpenBSD.
19563
c47cebdb
DJ
195642004-02-01 Daniel Jacobowitz <drow@mvista.com>
19565
19566 * gdb.threads/thread-specific.c: New file.
19567 * gdb.threads/threads-specific.exp: New test script.
19568 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
19569 to expect_out.
19570
5a01311c
MK
195712004-02-01 Mark Kettenis <kettenis@gnu.org>
19572
19573 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
19574 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
19575 only on the "print_small_structs from print_long_arg_list" test.
19576
ce22a4f1
DJ
195772004-02-01 Daniel Jacobowitz <drow@mvista.com>
19578
19579 * gdb.base/completion.exp: Kill a stray backslash.
19580
19581 From Jim Ingham <jingham@apple.com>:
19582 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
19583 agrees with the result from sending a tab.
19584
abbab9d3
DJ
195852004-01-31 Daniel Jacobowitz <drow@mvista.com>
19586
19587 * gdb.base/chng-syms.exp: Remove stray newline.
19588
53904d1e
MK
195892004-01-31 Mark Kettenis <kettenis@gnu.org>
19590
19591 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
19592 *-*-openbsd*.
19593 * gdb.asm/openbsd.inc: New file.
19594
3a4b3aac
MK
195952004-01-30 Mark Kettenis <kettenis@gnu.org>
19596
19597 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
19598 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
19599 *-*solaris2*. Remove commented out default settings for
19600 asm-flags. Replace gdb_compile with target_link.
19601
ebac27b4
MC
196022004-01-29 Michael Chastain <mec.gnu@mindspring.com>
19603
19604 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
19605 for all tests. Remove old hp-ux and cygnus xfail cases.
19606
d8679d84
PH
196072004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
19608
19609 * gdb.base/chng-syms.exp: New file.
19610 * gdb.base/chng-syms.c: New file.
19611
0a55bc22
MC
196122004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19613
19614 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
19615 Provide arms for current output in all my configurations.
19616
94b8e876
MC
196172004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19618
19619 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
19620 * lib/compiler.cc: Likewise.
19621 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
19622 get the right preprocessor. Eval the output directly. Remove
19623 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
19624 hp_f77_compiler and hp_f90_compiler completely.
19625 (gdb_preprocess): Delete.
19626 (get_compiler): Delete.
19627
7cf03d44
MK
196282004-01-24 Mark Kettenis <kettenis@gnu.org>
19629
19630 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
19631 <string.h>.
19632
68b6dce9
NR
196332004-01-24 Nick Roberts <nick@nick.uklinux.net>
19634
19635 * gdb.mi/mi-stack.exp: Update copyright.
19636
b368761e
DC
196372004-01-23 David Carlton <carlton@kealia.com>
19638
19639 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
19640 test for cp_lookup_transparent_type.
19641 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
19642 call them.
19643
f2061b53
DJ
196442004-01-23 Daniel Jacobowitz <drow@mvista.com>
19645
19646 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
19647 after -var-update.
19648
37fc574a
DC
196492004-01-23 David Carlton <carlton@kealia.com>
19650
19651 * gdb.cp/namespace.cc (C::ensureRefs): New.
19652 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
19653
8e94b928
NR
196542004-01-20 Nick Roberts <nick@nick.uklinux.net>
19655
19656 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
19657 case "-stack-list-locals 2".
19658 * gdb.mi/mi-var-child.exp: Test for case
19659 "-var-list-children --all-values NAME".
19660
997b0952
MC
196612004-01-18 Michael Chastain <mec.gnu@mindspring.com>
19662
19663 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
19664
52470da3
MK
196652004-01-18 Mark Kettenis <kettenis@gnu.org>
19666
7049b4b8
MK
19667 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
19668 used with gdb_test_multiple.
19669
52470da3
MK
19670 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
19671 read at address 0. This fixes PR testsuite/1504.
19672
da6012e5
DJ
196732004-01-18 Daniel Jacobowitz <drow@mvista.com>
19674
19675 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
19676 Remove downloading, guessing the host executable, the calls to
19677 gdb_file_cmd and gdb_target_cmd, and "load" support.
19678 (infer_host_exec): New function broken out from gdb_load.
19679 (gdb_load): New wrapper for gdbserver_gdb_load.
19680 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
19681 gdb_target_cmd. Use -target-select.
19682 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
19683 Download binaries to the host. Clear last_mi_remote_file when
19684 we load a new binary.
19685 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
19686 call gdbserver_gdb_load and mi_gdb_target_cmd.
19687
32c70722
MC
196882004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19689
19690 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
19691 type patterns.
19692
b0cecf36
MC
196932004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19694
19695 * gdb.cp/templates.exp: Fix typo in test name of
19696 "print Foo<volatile char*>::foo".
19697
4120d7e6
MC
196982004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19699
19700 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
19701
f679e530
BE
197022004-01-16 Ben Elliston <bje@wasabisystems.com>
19703
19704 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
19705 (clean mostlyclean): Remove empty rm.
19706
091c48f6
MC
197072004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19708
19709 * gdb.base/setvar.exp: Add copyright years.
19710
3e5fc8d2
DC
197112004-01-14 David Carlton <carlton@bactrian.org>
19712
19713 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
19714 PR c++/1511 and update coment.
19715 * gdb.cp/templates.exp: Update patterns to match current output.
19716 If changes involve something other than whitespace, KFAIL
19717 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
19718
63d06c5c
DC
197192004-01-14 David Carlton <carlton@kealia.com>
19720
19721 * gdb.cp/namespace.exp: Add tests involving classes defined within
19722 namespaces.
19723 * gdb.cp/namespace.cc (C::CClass): New.
19724 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
19725
a51dab88
EZ
197262004-01-14 Elena Zannoni <ezannoni@redhat.com>
19727
19728 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
19729 what debug info we have. Print a better message if something goes
19730 wrong while producing the separate debug info file.
19731
a476ccc9
MC
197322004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19733
19734 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
19735
f453692c
MC
197362004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19737
19738 * gdb.base/callfuncs.c: Add copyright notice.
19739
f40063a5
MC
197402004-01-13 Michael Chastain <mec.gnu@mindspring.com>
19741
19742 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
19743 inheritance. PR gdb/1498, PR gcc/13539.
19744
19ac3974
EZ
197452004-01-13 Elena Zannoni <ezannoni@redhat.com>
19746
a9c64011
AS
19747 * gdb.threads/gcore-thread.exp: Prefix name of binary with
19748 test specific name.
19749 * gdb.mi/gdb669.exp: Ditto.
19750 * gdb.mi/mi-pthreads.exp: Ditto.
19751 * gdb.mi/mi1-pthreads.exp: Ditto.
19752 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 19753
56c97c6e
MC
197542004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19755
19756 * gdb.cp/member-ptr.cc: Add copyright notice.
19757
a0644324
MC
197582004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19759
19760 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
19761 some patterns for recent versions of gcc and hpacc. Delete
19762 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
19763 Delete tests that access a NULL pointer-to-member-data. This
19764 script is still disabled for gcc.
19765
32fabe09
EZ
197662004-01-12 Elena Zannoni <ezannoni@redhat.com>
19767
19768 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 19769 escaped correctly.
32fabe09 19770
1f8a6abb
EZ
197712004-01-12 Elena Zannoni <ezannoni@redhat.com>
19772
19773 * gdb.base/sepdebug.exp: New file.
19774 * gdb.base/sepdebug.c: New file.
19775 * lib/gdb.exp (separate_debug_filename): New procedure.
19776 (gdb_gnu_strip_debug): New procedure.
19777
48efe704
AC
197782004-01-12 Andrew Cagney <cagney@redhat.com>
19779
19780 * gdb.mi/ChangeLog: Delete file. Renamed to ...
19781 * gdb.mi/ChangeLog-1999-2003: New file.
19782
a9415475
AC
197832004-01-12 Andrew Cagney <cagney@redhat.com>
19784
19785 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
19786 "Renaming a directory to a non-empty directory returns ENOTEMPTY
19787 or EEXIST", treat EBUSY as an XFAIL.
19788
83b8cf9d
MC
197892004-01-11 Michael Chastain <mec.gnu@mindspring.com>
19790
19791 * gdb.base/scope.exp: Remove obsolete setup_xfail for
19792 hp_cc_compiler.
19793
9939d2a8
MC
197942004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19795
19796 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
19797 decorations.
19798
1ff8cadf
MC
197992004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19800
19801 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
19802 and "(aCC)" decorations. Remove obsolete doco about old
19803 test results.
19804
6fa9022e
MC
198052004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19806
19807 * gdb.cp/exception.exp: Fix typo in doco.
19808
209721fe
MK
198092004-01-09 Mark Kettenis <kettenis@gnu.org>
19810
19811 * gdb.base/gdb1476.exp: Fix typo.
19812
ef11303e
MC
198132004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19814
19815 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
19816 file.
19817
041ab88c
MC
198182004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19819
19820 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
19821 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
19822 Use gdb_compile. Remove restriction on gcc. Add some patterns
19823 for recent version of gdb. Delete second half, which was a copy
19824 of the first half with different build flags. This test is
19825 still disabled because it is still not ready for production.
19826
e36d075a
MC
198272004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19828
19829 * gdb.cp/exception.cc: Add copyright notice.
19830 * gdb.cp/exception.exp: Add a notice that this file is broken
19831 because of line number changes caused by addition of copyright
19832 notice.
19833
42b190ad
MC
198342004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19835
19836 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
19837 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
19838
8f25f06b
MC
198392004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19840
19841 * gdb.cp/classes.exp: Accept gnu abi 2.
19842 * gdb.cp/derivation.exp: Likewise.
19843 * gdb.cp/overload.exp: Likewise.
19844 * gdb.cp/virtfunc.exp: Likewise.
19845
06ded8b8
MC
198462004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19847
19848 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
19849 semicolon after end of function.
19850
77c26ae3
MC
198512004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19852
19853 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
19854 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
19855 boilerplate code for compiling and running the program under
19856 test. Add some string method tests.
19857
20757486
MC
198582004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19859
19860 * gdb.cp/bs15503.cc: Add copyright notice.
19861 * gdb.cp/bs15503.exp: Adjust line number.
19862
0fd3b503
MC
198632004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19864
19865 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
19866 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
19867
10d1bea8
MC
198682004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19869
19870 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
19871 hp_cc_compiler.
19872
2789202a
MC
198732004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19874
19875 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
19876 * gdb.cp/ctti.exp: Use the marker instead of "next".
19877 With gcc, run further before bailing.
19878
b862f14c
MC
198792004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19880
19881 * gdb.cp/cttiadd.cc: Add copyright notice.
19882 * gdb.cp/cttiadd1.cc: Likewise.
19883 * gdb.cp/cttiadd2.cc: Likewise.
19884 * gdb.cp/cttiadd3.cc: Likewise.
19885
96da2469
MC
198862004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19887
19888 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
19889 Use gdb_test, gdb_test_multiple. Use floating-point values that
19890 have exact representations in IEEE-ish formats.
19891
053248ff
MC
198922004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19893
19894 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
19895 compilers. Delete duplicate call to get_compiler_info.
19896 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
19897 * gdb.base/volatile.exp: Likewise.
19898
84acecdd
MK
198992004-01-07 Mark Kettenis <kettenis@gnu.org>
19900
19901 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
19902 memory at address 0.
19903
fe11a27f
MC
199042004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19905
19906 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
19907 to test for hp-ux assembler. Fix copyright years.
19908
60ad077b
AC
199092004-01-07 Andrew Cagney <cagney@redhat.com>
19910
19911 * gdb.base/fileio.c (strerrno): Add "EBUSY".
19912
1c9b8f33
AC
199132004-01-07 Andrew Cagney <cagney@redhat.com>
19914
19915 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
19916 when creating the read-only file. From analysis by Roland McGrath
19917 and Elena Zannoni.
19918
753ccc7a
MC
199192004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19920
19921 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
19922
eca3e36b
MC
199232004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19924
19925 * gdb.base/cvexpr.c: Be type-safe with function pointers and
19926 data pointers.
19927
f8d4bac4
MC
199282004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19929
19930 * gdb.cp/m-static.exp: Compile one source file at a time.
19931 Delete unused call to get_compiler_info.
19932
9b4e0f94
MC
199332004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19934
19935 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
19936 * gdb.base/call-rt-st.exp: Likewise.
19937 * gdb.base/nodebug.exp: Likewise.
19938 * gdb.base/volatile.exp: Likewise.
19939 * gdb.cp/ref-types.exp: Likewise.
19940 * gdb.cp/templates.exp: Likewise.
19941
023c1024
MK
199422004-01-05 Mark Kettenis <kettenis@gnu.org>
19943
19944 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
19945
19703c4a
MC
199462004-01-05 Michael Chastain <mec.gnu@mindspring.com>
19947
19948 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
19949 hppa*-hp-hpux*.
19950
18b67037
MK
199512004-01-04 Mark Kettenis <kettenis@gnu.org>
19952
ba6219c8
MK
19953 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
19954 x86_64-*-*.
19955
18b67037
MK
19956 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
19957 sparc64-*-* and sparc*-solaris2*.
19958
1bfbbb9d
MK
199592004-01-04 Mark Kettenis <kettenis@gnu.org>
19960
19961 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
19962 return ${tests}" test. The ${tests} already mentions the
19963 filename.
19964
06846494
MC
199652004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19966
19967 * gdb.cp/local.exp: Accept gcc abi 2.
19968
3b0cb202
MC
199692004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19970
19971 * gdb.cp/templates.exp: Accept gcc abi 2.
19972
0643ec3f
MC
199732004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19974
19975 * lib/compiler.cc: Remove supports_template_debugging.
19976 * gdb.cp/templates.exp: Do not test supports_template_debugging.
19977
d231d0b1
MC
199782004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19979
19980 * gdb.cp/namespace.exp: Accept gcc abi 2.
19981
44ffb27c
MC
199822004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19983
19984 * gdb.cp/method.exp: Accept gcc abi 2.
19985
184ad485
MC
199862004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19987
19988 * gdb.cp/classes.exp: Generate identical results as old version.
19989 * gdb.cp/derivation.exp: Likewise.
19990 * gdb.cp/overload.exp: Likewise.
19991 * gdb.cp/virtfunc.exp: Likewise.
19992
116f09e7
MC
199932004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19994
19995 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
19996 mysterious bug with sourceware version of expect.
19997
b1379776
MC
199982004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19999
20000 * gdb.cp/overload.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 xfail missing "const" in "const char *"
20004 and kfail PR gdb/1155.
20005
6b7a4c0e
MC
200062004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20007
20008 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
20009 current versions of gcc, including gcc abi 2. Remove gratuitous
20010 restart of test program. Use gdb_test_multiple and gdb_test for
20011 all tests. Add patterns to kfail PR gdb/1498.
20012
51615d72
MC
200132003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20014
20015 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
20016 current versions of gcc, including gcc abi 2. Use "breakpoint"
20017 and "continue" instead of restarting the target program. Use
20018 gdb_test_multiple and gdb_test for all tests.
20019
7b79a9d7
MK
200202004-01-01 Mark Kettenis <kettenis@gnu.org>
20021
20022 * gdb.asm/asm-source.exp: Update copyright year. Link statically
20023 for *-*-solaris2*.
20024
1cd3489f
MC
200252003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20026
20027 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
20028 current versions of gcc, including gcc abi 2. Use "breakpoint"
20029 and "continue" instead of restarting the target program several
20030 times. Use gdb_test_multiple and gdb_test for all tests.
20031
850742db
MC
200322003-12-18 Michael Chastain <mec.gnu@mindspring.com>
20033
20034 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
20035 source files.
20036
eb4bbda8
MC
200372003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20038
20039 * gdb.base/environ.exp: Handle compiling test case from multiple
20040 source files.
20041
e42c7771
MC
200422003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20043
20044 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
20045
80e4b428
JB
200462003-12-17 Jim Blandy <jimb@redhat.com>
20047
5f06973a
JB
20048 * gdb.base/freebpcmd.c: Add copyright notice.
20049
80e4b428
JB
20050 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
20051
0ab84fb7
MC
200522003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20053
20054 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
20055
1b3bb3d0
JB
200562003-12-13 Jim Blandy <jimb@redhat.com>
20057
20058 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
20059
3a4c9371
KB
200602003-12-12 Kevin Buettner <kevinb@redhat.com>
20061
20062 * gdb.asm/frv.inc: New file.
20063 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
20064
a1dea79a
FF
200652003-12-09 Fred Fish <fnf@redhat.com>
20066
20067 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
20068 functions to break1.c and leave prototypes behind. Add more
20069 "set breakpoint NN here" comments.
20070 * gdb.base/break1.c: New file.
20071
20072 * gdb.base/break.exp: Handle compiling test case from multiple
20073 source files and change source file references as needed.
20074 * gdb.base/completion.exp: Ditto.
20075 * gdb.base/condbreak.exp: Ditto.
20076 * gdb.base/define.exp: Ditto.
20077 * gdb.base/ena-dis-br.exp: Ditto.
20078 * gdb.base/info-proc.exp: Ditto.
20079 * gdb.base/maint.exp: Ditto.
20080 * gdb.base/until.exp: Ditto.
20081
20082 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
20083 hardcoded line numbers.
20084 * gdb.base/define.exp: Ditto.
20085 * gdb.base/ena-dis-br.exp: Ditto.
20086 * gdb.base/maint.exp: Ditto.
20087 * gdb.base/until.exp: Ditto.
20088
20089 * gdb.base/completion.exp: Use "break1" for completion tests since
20090 "break" is no longer a unique prefix.
20091
5266b69c
AC
200922003-12-06 Andrew Cagney <cagney@redhat.com>
20093
20094 * gdb.base/structs.exp (test_struct_returns): When applicable, set
20095 "return_value_unimplemented". When an unimplemented struct return
20096 architecture, report incorrect values as a KFAIL
20097
374451f0
MC
200982003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20099
20100 * gdb.cp/rtti.exp: Accept new wording of warning from
20101 cp_lookup_rtti_type.
20102
ba9b20a7
MC
201032003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20104
20105 Partial fix for PR testsuite/1456.
20106 * gdb.base/scope.exp (test_at_main): Replace references to
20107 gcc_compiled with calls to test_compiler_info.
20108 (test_at_foo): Likewise.
20109 (test_at_bar): Likewise.
20110
b74b6d0b
MC
201112003-12-04 Michael Chastain <mec.gnu@mindspring.com>
20112
20113 Partial fix for PR testsuite/1456.
20114 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
20115 to test_compiler_info.
20116
ccfa3402
MC
201172003-12-03 Michael Chastain <mec.gnu@mindspring.com>
20118
20119 * gdb.base/so-impl-ld.exp: Update copyright notice.
20120
f6246aba
MC
201212003-12-02 Michael Chastain <mec.gnu@mindspring.com>
20122
20123 Partial fix for PR testsuite/1456.
20124 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
20125 to test_compiler_info.
20126
13ae734a
MC
201272003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20128
20129 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
20130 from current versions of gdb. Clean up regular expressions.
20131 Delete redundant timeout case.
20132
d8e1cdee
MC
201332003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20134
20135 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
20136 from current versions of gdb. Clean up regular expressions.
20137 Delete redundant timeout case.
20138
96457b64
MC
201392003-12-01 Michael Chastain <mec.gnu@mindspring.com>
20140
20141 Partial fix for PR testsuite/1456.
20142 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
20143 gcc_compiled with call to test_compiler_info.
20144
f35309fc
MC
201452003-11-30 Michael Chastain <mec.gnu@mindspring.com>
20146
20147 Partial fix for PR testsuite/1456.
20148 * gdb.base/list.exp (test_list_function): Delete unused declaration
20149 of gcc_compiled.
20150
d7afdf9b
MC
201512003-11-29 Michael Chastain <mec.gnu@mindspring.com>
20152
20153 Partial fix for PR testsuite/1456.
20154 * gdb.base/complex.exp: Replace reference to gcc_compiled with
20155 call to test_compiler_info.
20156
71507b56
MK
201572003-11-29 Mark Kettenis <kettenis@gnu.org>
20158
20159 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
20160 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
20161 it to create the appropriate note.inc.
20162 * gdb.asm/asmsrc1.s: Include "note.inc".
20163 * gdb.asm/netbsd.inc: New file.
20164 * gdb.asm/empty.inc: New file.
20165
f81f93f7
MC
201662003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20167
20168 Partial fix for PR testsuite/1456.
20169 * gdb.base/constvars.exp: Replace references to gcc_compiled with
20170 calls to test_compiler_info.
20171
9a77938e
MC
201722003-11-27 Michael Chastain <mec.gnu@mindspring.com>
20173
20174 Partial fix for PR testsuite/1456.
20175 * gdb.base/volatile.exp: Replace references to gcc_compiled with
20176 calls to test_compiler_info.
20177
e8367dc7
MK
201782003-11-27 Mark Kettenis <kettenis@gnu.org>
20179
20180 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
20181 pattern for the KFAILs.
20182
526c61ee
AF
201832003-11-25 Adam Fedor <fedor@gnu.org>
20184
20185 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
20186 * gdb.objc/objcdecode.m: New file.
20187
28f2d600
AF
201882003-11-25 Adam Fedor <fedor@gnu.org>
20189
20190 * gdb.objc/nondebug.exp: Test for PR objc/1236.
20191 * gdb.objc/nondebug.m: New file.
20192
a3895cee
BE
201932003-11-26 Ben Elliston <bje@wasabisystems.com>
20194
20195 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20196 NetBSD as it does on FreeBSD. Modelled on a similar change by
20197 Mark Kettenis on 2003-05-30.
20198 (link-flags): Set to "--entry _start" regardless of target.
20199 Special linker flags are to be appended to $link-flags.
20200 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
20201
c9f2c8a3
MC
202022003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20203
20204 * gdb.cp/method.exp: Accept output of new demangler.
20205
15a0587a 202062003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
20207
20208 * gdb/class2.exp: New file.
20209 * gdb/class2.cc: New file.
20210
3c00b570
MC
202112003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20212
20213 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
20214 of new demangler.
20215
7027acc7
MK
202162003-11-23 Mark Kettenis <kettenis@gnu.org>
20217
20218 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
20219 of gdb_test "run".
20220
b0e1598a
MK
202212003-11-23 Mark Kettenis <kettenis@gnu.org>
20222
20223 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
20224 "continue" into "run".
20225
4d9eda44
MC
202262003-11-23 Michael Chastain <mec.gnu@mindspring.com>
20227
20228 Partial fix for PR testsuite/1456.
20229 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
20230 call to test_compiler_info.
20231 * gdb.cp/ctti.exp: Likewise.
20232 * gdb.cp/derivation.exp: Likewise.
20233 * gdb.cp/member-ptr.exp: Likewise.
20234 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
20235 reference to gcc_compiled.
20236
202372003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
20238
20239 Fix PR testsuite/1463.
20240 * gdb.base/structs.exp (start_structs_test): Call
20241 get_debug_format before using the debug format.
20242
d422fe19
AC
202432003-11-22 Andrew Cagney <cagney@redhat.com>
20244
20245 * lib/gdb.exp (gdb_test_multiple): Add simple example.
20246 * gdb.base/structs.exp: Use gdb_test_multiple.
20247
039cf96d
AC
202482003-11-20 Andrew Cagney <cagney@redhat.com>
20249
6882279b
AC
20250 * gdb.base/structs.exp: Handle and recover from internal errors.
20251 Replace "foo${n}" with "foo<n>" in test messages.
20252
e53890ae
AC
20253 * gdb.base/structs.exp: Update copyright. Rewrite.
20254 * gdb.base/structs.c: Update copyright. Rewrite.
20255
2b211c59
AC
20256 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
20257 resync count exceeded.
d63a86f8 20258
039cf96d
AC
20259 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
20260 from the internal error.
20261 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
20262 Original from Jim Blandy.
20263 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 20264
eac98b22
AC
202652003-11-19 Andrew Cagney <cagney@redhat.com>
20266
20267 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
20268 KFAIL.
20269
67455b2a
MK
202702003-11-17 Mark Kettenis <kettenis@gnu.org>
20271
20272 New testcase for PR backtrace/1435.
20273 * gdb.arch/i386-unwind.exp: New file.
20274 * gdb.arch/i386-unwind.c: New file.
20275
853d6e5b
AC
202762003-11-17 Andrew Cagney <cagney@redhat.com>
20277
20278 * lib/gdb.exp (compiler_info): New global.
20279 (test_compiler_info): New function.
20280 (get_compiler_info): Set compiler_info.
20281 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
20282 "compiler_info" to gcc-<major>-<minor>.
20283
38cf6e11
MC
202842003-11-15 Michael Chastain <mec.gnu@mindspring.com>
20285
20286 * gdb.trace/configure: Remove.
20287
a50d3602
EZ
202882003-11-13 Elena Zannoni <ezannoni@redhat.com>
20289
20290 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 20291 breakpoints.
a50d3602
EZ
20292 * gdb.base/break.exp: Remove all references to explicit line
20293 numbers.
20294
d9407aaa
NC
202952003-11-11 Nick Clifton <nickc@redhat.com>
20296
20297 * gdb.base/shreloc.exp: Do not run for targets which do not
20298 support shared objects.
20299
db488fc1
CV
203002003-11-10 Corinna Vinschen <vinschen@redhat.com>
20301
20302 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
20303 Don't run tests if nofileio flag is given.
20304
6a90a18e
EZ
203052003-11-07 Elena Zannoni <ezannoni@redhat.com>
20306
20307 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 20308 as well as 'Watchpoint'.
6a90a18e 20309
0b915e9c
EZ
203102003-11-06 Elena Zannoni <ezannoni@redhat.com>
20311
20312 Reported by Jim Ingham <jingham@apple.com>:
20313 * gdb.base/annota1.exp: Match at least one occurrence of the
20314 signal handler annotation.
20315
d7e4b55f
EZ
203162003-11-06 Elena Zannoni <ezannoni@redhat.com>
20317
a9c64011
AS
20318 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
20319 as well as 'Watchpoint'.
d7e4b55f 20320
2fe4e8d0
MC
203212003-11-05 Michael Chastain <mec@shout.net>
20322
20323 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
20324
6ef88553
KW
203252003-11-03 Kris Warkentin <kewarken@qnx.com>
20326
20327 * gdb.arch/gdb1291.c: New test file.
20328 * gdb.arch/gdb1291.exp: New test script.
20329 * gdb.arch/gdb1431.c: New test file.
20330 * gdb.arch/gdb1431.exp: New test script.
20331
ae7dc4d8
MC
203322003-10-22 Michael Chastain <mec@shout.net>
20333
20334 * gdb.mi/pthreads.c: Add copyright notice.
20335
c39d7427
MC
203362003-10-22 Michael Chastain <mec@shout.net>
20337
20338 * gdb.threads/pthreads.c: Add copyright notice.
20339
8b7d96c1
MC
203402003-10-20 Michael Chastain <mec@shout.net>
20341
20342 * gdb.base/gdb1056.exp: New test script.
20343
d1d69fdd
DJ
203442003-10-13 Daniel Jacobowitz <drow@mvista.com>
20345
20346 * gdb.threads/killed.exp: Use gdb_run_cmd.
20347
7d605576
DJ
203482003-10-13 Daniel Jacobowitz <drow@mvista.com>
20349
20350 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
20351 create a core file.
20352 * gdb.threads/gcore-thread.exp: Likewise.
20353
618ec112
CV
203542003-10-13 Corinna Vinschen <vinschen@redhat.com>
20355
20356 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
20357 type, based on char type.
20358 (struct bit_flags_short_t): New bitfield type, based on short type.
20359 (init_bit_flags_char): New fuction.
20360 (init_bit_flags_short): Ditto.
20361 (print_bit_flags_char): Ditto.
20362 (print_bit_flags_short): Ditto.
20363 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
20364
9367a73c
MC
203652003-10-11 Michael Chastain <mec@shout.net>
20366
20367 * gdb.base/call-rt-st.exp: Update copyright year.
20368
1decf120
KI
203692003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
20370
20371 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
20372 * gdb.disasm/sh3.s: Ditto.
20373
5445b2ae
DJ
203742003-10-07 Daniel Jacobowitz <drow@mvista.com>
20375
20376 * gdb.threads/switch-threads.exp: New test.
20377 * gdb.threads/switch-threads.c: New source file.
20378
aec24853
CV
203792003-10-07 Corinna Vinschen <vinschen@redhat.com>
20380
20381 * gdb.base/ending-run.exp: Add sh specific case.
20382
adc7428d
AC
203832003-10-06 Andrew Cagney <cagney@redhat.com>
20384
20385 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
20386 * gdb.disasm/mn10200.exp: Delete obsolete file.
20387
c9d37158
DJ
203882003-09-29 Daniel Jacobowitz <drow@mvista.com>
20389
20390 * ChangeLog: Correct an entry command.exp -> commands.exp.
20391 * gdb.base/commands.exp (bp_deleted_in_command_test)
20392 (temporary_breakpoint_commands): Check noargs.
20393
79c2c32d
DC
203942003-09-25 David Carlton <carlton@kealia.com>
20395
20396 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
20397 of some print tests, where appropriate. Add tests for C::D::cd,
20398 E::ce, F::cXfX, G::XgX.
20399 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
20400
594e6d67
RE
204012003-09-25 Richard Earnshaw <rearnsha@arm.com>
20402
20403 * lib/java.exp (java_init): Import target_alias before using it.
20404
10f0d451
DC
204052003-09-25 David Carlton <carlton@kealia.com>
20406
20407 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
20408
274bcba0
EZ
204092003-09-23 Elena Zannoni <ezannoni@redhat.com>
20410
d63a86f8 20411 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 20412 weirdness.
274bcba0 20413
cdbf20f7
MC
204142003-09-17 Michael Chastain <mec@shout.net>
20415
20416 * gdb.cp/gdb1355.exp: New file.
20417 * gdb.cp/gdb1355.c: New file.
20418
71e06f80
CV
204192003-09-15 Corinna Vinschen <vinschen@redhat.com>
20420
20421 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
20422 * gdb.asm/sh.inc: New file.
20423
5c4e30ca
DC
204242003-09-11 David Carlton <carlton@kealia.com>
20425
bd45b7af
DC
20426 * gdb.cp/namespace.exp: Add tests for namespace types.
20427 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
20428 (test_namespace): New.
20429
1c199746
EZ
204302003-09-11 Elena Zannoni <ezannoni@redhat.com>
20431
a9c64011 20432 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 20433 * gdb.stabs/weird.exp: Ditto.
1c199746 20434
04ed252f
MC
204352003-09-08 Michael Chastain <mec@shout.net>
20436
20437 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
20438
d8a2d9e7
MC
204392003-09-07 Michael Chastain <mec@shout.net>
20440
20441 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
20442 'parse error'.
20443
161afb24
MK
204442003-09-07 Mark Kettenis <m.kettenis@osp.nl>
20445
20446 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
20447
49f2741a
MC
204482003-08-30 Michael Chastain <mec@shout.net>
20449
20450 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
20451 * gdb.gdb/observer.exp: Ditto.
20452 * gdb.gdb/xfullpath.exp: Ditto.
20453
8afa723e
MK
204542003-08-29 Mark Kettenis <kettenis@gnu.org>
20455
20456 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
20457 *-*-*bsd*.
20458
f31dfe3b
JJ
204592003-08-28 Jeff Johnston <jjohnstn@redhat.com>
20460
20461 * gdb.base/dump.exp: Skip for ia64.
20462
4630e498
JJ
204632003-08-25 Jeff Johnston <jjohnstn@redhat.com>
20464
20465 * gdb.asm/asm-source.exp: Add ia64 support.
20466 * gdb.asm/ia64.inc: New file.
20467
1105b7ef
MC
204682003-08-22 Michael Chastain <mec@shout.net>
20469
20470 * gdb.cp: New directory.
20471 * gdb.cp/*: Copy from gdb.c++/*.
20472 * gdb.c++/*: Remove.
20473 * Makefile.in: Change gdb.c++ to gdb.cp.
20474 * configure.in: Ditto.
20475 * configure: Regnerate.
20476
c945b932
MK
204772003-08-18 Mark Kettenis <kettenis@gnu.org>
20478
20479 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
20480 * gdb.arch/i386-prologue.c (gdb1338): Add function.
20481
2b66634b
DJ
204822003-08-17 Daniel Jacobowitz <drow@mvista.com>
20483
20484 * mi-var-display.exp (-var-list-children weird): Accept function
20485 pointers with argument types.
20486 * mi1-var-display.exp (-var-list-children weird): Likewise.
20487 * mi2-var-display.exp (-var-list-children weird): Likewise.
20488
a356f73b
DJ
204892003-08-17 Daniel Jacobowitz <drow@mvista.com>
20490
20491 * gdb.base/annota3.exp: Add missing newline.
20492
483417b8
MC
204932003-08-06 Michael Chastain <mec@shout.net>
20494
20495 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
20496
c99c59c3
MS
204972003-08-12 Michael Snyder <msnyder@redhat.com>
20498
20499 * gdb.base/float.exp: Add test for SH.
20500
55ed7501
MK
205012003-08-10 Mark Kettenis <kettenis@gnu.org>
20502
20503 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
20504
1a371f2e
EZ
205052003-08-07 Elena Zannoni <ezannoni@redhat.com>
20506
20507 * gdb.base/completion.exp: Remove reduntant completion test
20508 on filename.
20509
e0f353ce
EZ
205102003-08-07 Elena Zannoni <ezannoni@redhat.com>
20511
a9c64011
AS
20512 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
20513 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
20514 gdb.trace/save-trace.exp: Make sure that full pathnames are
20515 escaped correctly.
e0f353ce 20516
5710a1af 205172003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 20518
a9c64011
AS
20519 * configure.in: Don't generate config.h from config.hin.
20520 * configure: Regenerate.
20521 * config.hin: Remove file.
20522 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
20523 * gdb.threads/pthreads.c: Ditto.
5710a1af 20524
dcd81ce9
DJ
205252003-08-07 Daniel Jacobowitz <drow@mvista.com>
20526
20527 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20528 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
20529 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
20530 Replace ld24 with seth/add3.
20531
6009d884
AC
205322003-08-02 Andrew Cagney <cagney@redhat.com>
20533
20534 * gdb.base/annota3.exp: New file.
20535 * gdb.base/annota3.c: New file.
20536 * gdb.c++/annota3.exp: New file.
20537 * gdb.c++/annota3.cc: New file.
20538
51514e06
MC
205392003-07-29 Michael Chastain <mec@shout.net>
20540
20541 * gdb.threads/tls.c (spin): Check errno only if sem_wait
20542 actually failed.
20543 (do_pass): Likewise.
20544 * gdb.threads/tls.exp: Always initialize no_of_threads.
20545
4ee6625b
DJ
205462003-07-27 Daniel Jacobowitz <drow@mvista.com>
20547
20548 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
20549 pattern.
20550 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
20551 * gdb.threads/tls.exp: Recognize one case of the host library not
20552 supporting TLS.
20553
225f2bf6
AC
205542003-07-27 Andrew Cagney <cagney@redhat.com>
20555
20556 * gdb.base/fileio.exp: Use SH when running commands using
20557 remote_exec.
20558
bcb27c9f
DJ
205592003-07-24 Daniel Jacobowitz <drow@mvista.com>
20560
20561 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20562 * gdb.base/relocate.c (dummy): New padding array.
20563
3d67be83
MS
205642003-07-22 Michael Snyder <msnyder@redhat.com>
20565
d63a86f8 20566 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
20567
20568 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
20569 patterns to be more general, accepting old and new output.
20570 Some output chars (such as '+') also must be quoted.
d63a86f8 20571 Some addresses are displayed numerically instead of
3d67be83
MS
20572 symbolically.
20573
57ba3b85
MS
205742003-07-23 Michael Snyder <msnyder@redhat.com>
20575
686d097c
MS
20576 * gdb.base/return2.exp: Don't test long-long return.
20577
57ba3b85
MS
20578 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
20579 * gdb.disasm/t01_mov.exp: Ditto.
20580 * gdb.disasm/t02_mova.s: Ditto.
20581 * gdb.disasm/t02_mova.exp: Ditto.
20582 * gdb.disasm/t03_add.s: Ditto.
20583 * gdb.disasm/t03_add.exp: Ditto.
20584 * gdb.disasm/t04_sub.s: Ditto.
20585 * gdb.disasm/t04_sub.exp: Ditto.
20586 * gdb.disasm/t05_cmp.s: Ditto.
20587 * gdb.disasm/t05_cmp.exp: Ditto.
20588 * gdb.disasm/t06_ari2.s: Ditto.
20589 * gdb.disasm/t06_ari2.exp: Ditto.
20590 * gdb.disasm/t07_ari3.s: Ditto.
20591 * gdb.disasm/t07_ari3.exp: Ditto.
20592 * gdb.disasm/t08_or.s: Ditto.
20593 * gdb.disasm/t08_or.exp: Ditto.
20594 * gdb.disasm/t09_xor.s: Ditto.
20595 * gdb.disasm/t09_xor.exp: Ditto.
20596 * gdb.disasm/t10_and.s: Ditto.
20597 * gdb.disasm/t10_and.exp: Ditto.
20598 * gdb.disasm/t11_logs.s: Ditto.
20599 * gdb.disasm/t11_logs.exp: Ditto.
20600 * gdb.disasm/t12_bit.s: Ditto.
20601 * gdb.disasm/t12_bit.exp: Ditto.
20602 * gdb.disasm/t13_otr.s: Ditto.
20603 * gdb.disasm/t13_otr.exp: Ditto.
20604
e00759ef
EZ
206052003-07-22 Elena Zannoni <ezannoni@redhat.com>
20606
20607 * gdb.threads/tls.exp :Add kfail for 'info address' case.
20608
8bc2021f
EZ
206092003-07-22 Elena Zannoni <ezannoni@redhat.com>
20610
a9c64011
AS
20611 * gdb.threads/tls.c : New file.
20612 * gdb.threads/tls.exp : New file.
20613 * gdb.threads/tls-main.c : New file.
20614 * gdb.threads/tls-shared.c : New file.
20615 * gdb.threads/tls-shared.exp : New file.
8bc2021f 20616
89320c4c
AS
206172003-07-22 Andreas Schwab <schwab@suse.de>
20618
20619 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
20620
180dea7c
AS
206212003-07-20 Andreas Schwab <schwab@suse.de>
20622
20623 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
20624 due to insn reordering.
20625
0714963c
AC
206262003-07-15 Andrew Cagney <cagney@redhat.com>
20627
20628 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
20629
98a23b3f
MC
206302003-07-15 Michael Chastain <mec@shout.net>
20631
20632 * gdb.base/gdb1250.exp: New file.
20633 * gdb.base/gdb1250.c: New file.
20634
27e417a2
ML
206352003-07-09 Michal Ludvig <mludvig@suse.cz>
20636
20637 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
20638 expansion of size_t to 'unsigned long', not only to 'unsigned'.
20639
8bc2021f
EZ
206402003-07-09 Elena Zannoni <ezannoni@redhat.com>
20641
a9c64011
AS
20642 * gdb.threads/tls.c: New file.
20643 * gdb.threads/tls.exp: New file.
20644 * gdb.threads/tls-main.c: New file.
20645 * gdb.threads/tls-shared.c: New file.
20646 * gdb.threads/tls-shared.exp: New file.
8bc2021f 20647
d99968dc
EZ
206482003-07-09 Elena Zannoni <ezannoni@redhat.com>
20649
20650 * gdb.base/annota1.exp: Make sure that we properly escape the
20651 full path of the source file. Xfail more permissive patterns,
d63a86f8 20652 due to a compiler debug info problem.
d99968dc 20653
83876b3b
AS
206542003-07-07 Andreas Schwab <schwab@suse.de>
20655
2705e972
AS
20656 * gdb.asm/m68k.inc: New file.
20657 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
20658
83876b3b
AS
20659 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
20660 arguments"): Also match negative number.
20661
20662 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
20663
3a871b37
DJ
206642003-07-03 Daniel Jacobowitz <drow@mvista.com>
20665
20666 * gdb.base/store.c (charest): New typedef.
20667 (add_char): Rename to add_charest, update.
20668 (wack_char): Rename to wack_charest, update types. Return l + r
20669 to keep r live across the call.
20670 (wack_short, wack_int, wack_long, wack_longest, wack_float)
20671 (wack_double, wack_doublest): Return l + r to keep r live across
20672 the call.
20673 * gdb.base/store.exp: Accomodate store.c changes.
20674
b2a7f303
DC
206752003-06-30 David Carlton <carlton@kealia.com>
20676
20677 * gdb.c++/maint.exp (test_invalid_name): New.
20678 (test_first_component): Add tests for invalid names.
20679
3c6cb4a1
MC
206802003-06-29 Michael Chastain <mec@shout.net>
20681
20682 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
20683 output of '<VTT for class>' for virtual base classes.
20684
f1c2644b
DJ
206852003-06-29 Daniel Jacobowitz <drow@mvista.com>
20686
20687 * gdb.base/completion.exp: Tab-complete "complet" instead of
20688 "compl".
20689 * gdb.base/complex.exp, gdb.base/complex.c: New files.
20690
18080350
DJ
206912003-06-29 Daniel Jacobowitz <drow@mvista.com>
20692
20693 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
20694 * gdb.base/volatile.exp: Likewise.
20695
f56973f8
DJ
206962003-06-29 Daniel Jacobowitz <drow@mvista.com>
20697
20698 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
20699 gdb/1265.
20700
207012003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
20702 Daniel Jacobowitz <drow@mvista.com>
20703
20704 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
20705 initial line count of 'captured_main' from 26 to 32.
20706 (test_with_self): Allow xmalloc call to be interleaved with the
20707 preceding two lines.
20708
e766d4d6
JB
207092003-06-24 Joel Brobecker <brobecker@gnat.com>
20710
20711 * gdb.base/bang.exp: New testcase.
20712
f125c9a4
JB
207132003-06-23 Joel Brobecker <brobecker@gnat.com>
20714
20715 * gdb.base/langs.exp: Add some tests for the "minimal" language
20716 support.
20717
6e25beaf
EZ
207182003-06-23 Elena Zannoni <ezannoni@redhat.com>
20719
20720 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
20721 the testcase.
20722
2f816dda
DJ
207232003-06-22 Daniel Jacobowitz <drow@mvista.com>
20724
20725 * gdb.base/relocate.exp: Test add-symbol-file with a variable
20726 offset.
20727
db5a5748
DJ
207282003-06-22 Daniel Jacobowitz <drow@mvista.com>
20729
20730 * gdb.c++/pr-1210.cc: New file.
20731 * gdb.c++/pr-1210.exp: New file.
20732
1df0c130
DJ
207332003-06-21 Daniel Jacobowitz <drow@mvista.com>
20734
20735 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
20736 000-exec-continue.
20737
a92feac0
MK
207382003-06-15 Mark Kettenis <kettenis@gnu.org>
20739
20740 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
20741 on *-*-*bsd* instead of *-*-freebsd*.
20742
81a58f5b
AC
207432003-06-14 Andrew Cagney <cagney@redhat.com>
20744
20745 * gdb.base/store.exp: Test longest and doublest. Test all
20746 parameters. Weaken return statement match.
20747 * gdb.base/store.c: Add longest and doublest - aka long long and
20748 long double functions. Put all parameters into local register
20749 variables. Use negative values.
20750
b257a0d3
AC
207512003-06-14 Andrew Cagney <cagney@redhat.com>
20752
20753 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
20754 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
20755 exit status.
20756 * gdb.base/fileio.exp: Disable target when nointerrupts and
20757 noinferiorio, instead of limiting it to remote. Use remote_exec
20758 instead of system.
d63a86f8 20759
21c38304
JJ
207602003-06-12 Jeff Johnston <jjohnstn@redhat.com>
20761
20762 * gdb.base/float.exp: Add ia64 support.
20763
1bcdb424
CV
207642003-06-12 Corinna Vinschen <vinschen@redhat.com>
20765
20766 * gdb.base/fileio.exp: Run only on remote targets.
20767
6aeb981f
CV
207682003-06-10 Corinna Vinschen <vinschen@redhat.com>
20769
20770 * gdb.base/fileio.c: New file, testing File-I/O.
20771 * gdb.base/fileio.exp: Ditto.
20772
53df362e
RG
207732003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
20774
20775 * gdb.base/shreloc.exp: New file, check symbol values obtained from
20776 shared objects after relocation at load time (gdb PR/1132).
20777 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 20778 as above, part of the shared object relocation test.
53df362e 20779
ffee1b46
MK
207802003-06-08 Mark Kettenis <kettenis@gnu.org>
20781
b5ca3722
MK
20782 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
20783 fully filled history list.
20784 * gdb.base/gdb_history: New file.
20785
03ed860d
MK
20786 * gdb.base/signals.exp: XFAIL "continue to func1" on
20787 i*86-*-freebsd*.
20788
ffee1b46
MK
20789 * gdb.base/attach.exp: When trying to attach to a nonexistent
20790 process, make it possible to specify the PID based on the target,
20791 and do so for *-*-freebsd*.
20792
d80dbb52
RH
207932003-06-02 Richard Henderson <rth@redhat.com>
20794
20795 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
20796
6dd77b81
RH
207972003-06-02 Richard Henderson <rth@redhat.com>
20798
20799 * gdb.base/selftest.exp: Next over lim_at_start initialization.
20800
f6347e16
RH
208012003-06-02 Richard Henderson <rth@redhat.com>
20802
20803 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
20804
2c161407
DJ
208052003-06-01 Daniel Jacobowitz <drow@mvista.com>
20806
20807 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
20808 of globalvar.
20809
572eb746
MK
208102003-06-01 Mark Kettenis <kettenis@gnu.org>
20811
20812 * gdb.asm/asm-source.exp: Check for memory read errors in
20813 disassembler test on *BSD too.
20814
9e9617a5
RH
208152003-06-01 Richard Henderson <rth@redhat.com>
20816
20817 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
20818 for .frame.
20819 (gdbasm_call): Lose ldgp.
20820 (gdbasm_startup): Add frame information.
20821 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
20822
7b34ad4e
MK
208232003-05-31 Mark Kettenis <kettenis@gnu.org>
20824
20825 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
20826 i?86-*-*.
20827
10059fdf
MK
208282003-05-30 Mark Kettenis <kettenis@gnu.org>
20829
20830 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20831 FreeBSD.
20832
acf4b816
RH
208332003-05-29 Richard Henderson <rth@redhat.com>
20834
20835 * gdb.asm/alpha.inc: New file.
20836 * gdb.asm/asm-source.exp: Use it.
20837
e9ecd949
JB
208382003-05-29 Jim Blandy <jimb@redhat.com>
20839
20840 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
20841 'core.PID'.
20842
e3e5a4f3
JB
208432003-05-22 Jim Blandy <jimb@redhat.com>
20844
20845 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
20846 backtrace.
d63a86f8 20847
72fe3d25
DC
208482003-05-20 David Carlton <carlton@math.stanford.edu>
20849
20850 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
20851 this time.
20852
58da2eb2
DC
208532003-05-19 David Carlton <carlton@bactrian.org>
20854
20855 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
20856 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
20857
1fcb5155
DC
208582003-05-19 David Carlton <carlton@bactrian.org>
20859
20860 * gdb.c++/namespace.exp: Add namespace scope and anonymous
20861 namespace tests.
20862 Bump copyright date.
20863 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
20864 (main): Call C::D::marker2.
20865 * gdb.c++/namespace1.cc: New file.
20866
85e85163
JJ
208672003-05-14 Jeff Johnston <jjohnstn@redhat.com>
20868
20869 Roland McGrath <roland@redhat.com>
d63a86f8 20870 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
20871 there is no manager thread.
20872
a25fbfec
JJ
208732003-05-08 Jeff Johnston <jjohnstn@redhat.com>
20874
d63a86f8
RM
20875 * gdb.threads/schedlock.exp: Remove assumption that all threads
20876 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
20877 in one of the child threads rather than the main thread.
20878
be375bae
JB
208792003-05-07 Jim Blandy <jimb@redhat.com>
20880
09bf6082
JB
20881 Add support for assembly source testing on the s390x.
20882 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
20883 architecture.
20884 * gdb.asm/s390x.inc: New file.
20885
be375bae
JB
20886 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
20887 succession of 'if' statements.
20888
00905d52
AC
208892003-05-05 Andrew Cagney <cagney@redhat.com>
20890
20891 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
20892
b1e29e33
AC
208932003-05-05 Andrew Cagney <cagney@redhat.com>
20894
20895 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
20896 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
20897
e33d66ec
EZ
208982003-05-02 Elena Zannoni <ezannoni@redhat.com>
20899
20900 * gdb.base/charset.exp: Update based on new behavior of set/show
20901 charset commands.
20902
2b6fd0d8
AC
209032003-05-01 Andrew Cagney <cagney@redhat.com>
20904
20905 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
20906 variable do not give memory errors.
20907
130cacce
AF
209082003-04-30 Adam Fedor <fedor@gnu.org>
20909
20910 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
20911 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
20912 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
20913 gdb.objc/basicclass.m: : New files
20914
20915 * lib/gdb.exp (gdb_compile_objc): New procedure.
20916
bea71854
DJ
209172003-04-27 Daniel Jacobowitz <drow@mvista.com>
20918
20919 * gdb.base/signals.exp: Make backtrace tests more specific.
20920
0f20eeea
DC
209212003-04-23 David Carlton <carlton@bactrian.org>
20922
20923 * gdb.c++/maint.exp (test_first_component): Add tests for
20924 'operator' in more locations.
20925
c8c4d8dc
KB
209262003-04-16 Kevin Buettner <kevinb@redhat.com>
20927
20928 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
20929
3fe60e3c
EZ
209302003-04-16 Elena Zannoni <ezannoni@redhat.com>
20931
20932 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 20933 func marke' instead. Update test name.
3fe60e3c 20934
9219021c
DC
209352003-04-15 David Carlton <carlton@math.stanford.edu>
20936
20937 * gdb.c++/maint.exp: New file.
20938
5dd55bdd
EZ
209392003-04-14 Elena Zannoni <ezannoni@redhat.com>
20940
20941 * gdb.threads/schedlock.c: Change type of thread function argument
20942 to long, to avoid warnings on 64-bit platforms.
20943
00890572
EZ
209442003-04-14 Elena Zannoni <ezannoni@redhat.com>
20945
a9c64011
AS
20946 * gdb.base/attach.exp: Add new message from ptrace in case of
20947 attaching to nonexistent process.
d63a86f8 20948
93201743
JB
209492003-04-11 Jim Blandy <jimb@redhat.com>
20950
20951 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20952 gdb.c++/userdef.cc: Place comments on the lines to which the
20953 marker function might return.
20954 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20955 gdb.c++/userdef.exp: Look for those comments to check that we've
20956 returned to the right place, instead of checking line numbers.
20957
2a11c64d
EZ
209582003-04-11 Elena Zannoni <ezannoni@redhat.com>
20959
a9c64011
AS
20960 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
20961 match on sourcefile name, instead of directory name.
2a11c64d 20962
68ab8fc5
EZ
209632003-04-10 Elena Zannoni <ezannoni@redhat.com>
20964
d63a86f8 20965 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
20966 working directory name.
20967
5624293a
JB
209682003-04-09 Jim Blandy <jimb@redhat.com>
20969
20970 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20971 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
20972 after an inferior function call, report the failure, but allow the
20973 test to continue.
20974
f1f02ee4
SC
209752003-04-05 Stephane Carrez <stcarrez@nerim.fr>
20976
20977 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
20978 with -DPROTOTYPES.
20979
6eb79af0
SC
209802003-04-05 Stephane Carrez <stcarrez@nerim.fr>
20981
20982 * gdb.base/break.exp: Revert last patch.
20983
8dfb4cf0
SC
209842003-04-04 Stephane Carrez <stcarrez@nerim.fr>
20985
20986 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
20987 with -DPROTOTYPES.
20988
ed4c619a
AC
209892003-04-02 Andrew Cagney <cagney@redhat.com>
20990
20991 * gdb.base/callfuncs.exp: Make "print add" messages unique.
20992 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
20993 matching directories by the name breakpoint.
20994 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
20995 Make "continue to marker1" consistent.
20996 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
20997 message consistent.
20998 * lib/gdb.exp: Put "the program is no longer running", and "the
20999 program exited" in parenthesis.
21000 * lib/mi-support.exp: Ditto.
d63a86f8 21001
4e35d5f0 210022003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 21003
4e35d5f0
BR
21004 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
21005
71900fe8
AC
210062003-03-29 Andrew Cagney <cagney@redhat.com>
21007
21008 * gdb.base/sizeof.c (main): Print the value of '\377'.
21009 * gdb.base/sizeof.exp: Check the sign of '\377'.
21010
c0655a16
MC
210112003-03-27 Michael Chastain <mec@shout.net>
21012
21013 * gdb.base/gdb1090.exp: New file.
21014 * gdb.base/gdb1090.cc: New file.
21015
5b2a3989
JB
210162003-03-27 J. Brobecker <brobecker@gnat.com>
21017
21018 * gdb.gdb/observer.exp: New regression test.
21019
79876890
MC
210202003-03-27 Michael Chastain <mec@shout.net>
21021
21022 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
21023 * gdb.base/ptype.exp: Likewise.
21024
6eac95e3
CV
210252003-03-27 Corinna Vinschen <vinschen@redhat.com>
21026
21027 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
21028
e8c71839
MC
210292003-03-26 Michael Chastain <mec@shout.net>
21030
21031 * gdb.base/ptype.exp: Actually use some typedef'd types.
21032
71b10041
SC
210332003-03-21 Stephane Carrez <stcarrez@nerim.fr>
21034
21035 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
21036 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
21037
2512cf80
CV
210382003-03-20 Corinna Vinschen <vinschen@redhat.com>
21039
21040 * gdb.base/default.exp: Fix regular expression.
21041
0d195a4f
CV
210422003-03-20 Corinna Vinschen <vinschen@redhat.com>
21043
21044 * gdb.base/args.exp: Fix regular expression.
21045
8a2dbca8
CV
210462003-03-20 Corinna Vinschen <vinschen@redhat.com>
21047
21048 * gdb.base/help.exp: Allow Win32 child process.
21049
bf028682
CV
210502003-03-20 Corinna Vinschen <vinschen@redhat.com>
21051
21052 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
21053 when stepping out of main().
21054
182dbe85
CV
210552003-03-20 Corinna Vinschen <vinschen@redhat.com>
21056
21057 * gdb.base/default.exp: Check for win32 specific message when calling
21058 "run" without executable.
21059
d67a6ba5
CV
210602003-03-20 Corinna Vinschen <vinschen@redhat.com>
21061
21062 * gdb.base/args.exp: Expect .exe in output.
21063
a955b5bb
CV
210642003-03-20 Corinna Vinschen <vinschen@redhat.com>
21065
21066 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
21067 Cygwin native.
21068
bf6bad4b
AC
210692003-03-17 Andrew Cagney <cagney@redhat.com>
21070
21071 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
21072 vector registes.
21073 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
21074 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
21075
293e9a31
DC
210762003-03-17 David Carlton <carlton@math.stanford.edu>
21077
21078 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
21079 test, for PR breakpoints/38.
21080 Call test_watchpoint_and_breakpoint.
21081 * gdb.base/watchpoint.c (func3): New function.
21082 (main): Call func3.
21083
5330f2db
DC
210842003-03-04 David Carlton <carlton@math.stanford.edu>
21085
21086 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
21087 Garply<Garply<char> >:: garply".
21088 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
21089 with respect to PR c++/1111; note also PR c++/1113.
21090 (test_template_breakpoints): KFAIL "constructor breakpoint" with
21091 respect to PR c++/1062.
21092 KFAIL "destructor breakpoint" with respect to PR c++/1112.
21093
6ece72da
DC
210942003-03-03 David Carlton <carlton@math.stanford.edu>
21095
21096 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
21097 with respect to PR c++/57.
21098 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
21099 c++/826.
21100 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
21101 respect to PR c++/57.
21102
85ca1584
DC
211032003-03-03 David Carlton <carlton@math.stanford.edu>
21104
21105 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
21106 respect to PR c++/33 into FAILs.
21107
98e9c5b8
MC
211082003-03-03 Michael Chastain <mec@shout.net>
21109
7bedbf27
MC
21110 * configure.in: Update copyright years.
21111
211122003-03-03 Michael Chastain <mec@shout.net>
21113
21114 * Makefile.in: Update copyright years.
98e9c5b8 21115
f683e100
DC
211162003-02-28 David Carlton <carlton@math.stanford.edu>
21117
21118 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
21119 print class instead of struct and/or superfluous protection
21120 specifiers, as long as the resulting output is equivalent to the
21121 source code.
21122 Delete FIXME from end of messages on tests that don't need
21123 fixing.
21124
a9e0cf2c
DC
211252003-02-28 David Carlton <carlton@math.stanford.edu>
21126
21127 * gdb.c++/templates.exp (do_tests): Allow const in the two
21128 Foo<volatile char *>::foo tests.
21129
e8d359df
MS
211302003-02-27 Michael Snyder <msnyder@redhat.com>
21131
d63a86f8 21132 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
21133 will be consistant.
21134
0b71dc91
DC
211352003-02-26 David Carlton <carlton@math.stanford.edu>
21136
21137 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
21138 char *>::foo" test with respect to PR c++/33. Create a new test
21139 which is identical to that one except that it doesn't put the
21140 space between the "char" and the "*"; KFAIL it, too.
21141
dd14ab43
DC
211422003-02-26 David Carlton <carlton@math.stanford.edu>
21143
21144 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
21145 template types into either PASSes or KFAILs (corresponding to PR
21146 c++/57). Tweak indentation. Update copyright.
21147
1146c7f1
SC
211482003-02-23 Stephane Carrez <stcarrez@nerim.fr>
21149
21150 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
21151
74641dfb
MC
211522003-02-13 Michael Chastain <mec@shout.net>
21153
21154 * gdb.base/exprs.exp: Remove i960 remnants.
21155 * gdb.base/funcargs.exp: Likewise.
21156 * gdb.base/list.exp: Likewise.
21157 * gdb.base/ptype.exp: Likewise.
21158
559cd2d0
DC
211592003-02-14 David Carlton <carlton@math.stanford.edu>
21160
21161 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
21162 pEe->D::vg()" from XFAIL to KFAIL.
21163
c4f90d87
JM
211642003-02-13 Jason Molenda (jmolenda@apple.com)
21165
21166 * gdb.base/maint.exp: Update maint print statistics regexp to include
21167 new entries.
21168
cbc4d97c
MC
211692003-02-13 Michael Chastain <mec@shout.net>
21170
21171 * gdb.c++/inherit.exp: Remove call to get_debug_format.
21172
40f235b7
MC
211732003-02-12 Michael Chastain <mec@shout.net>
21174
21175 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
21176 * gdb.c++/inherit.exp: Likewise.
21177 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
21178 * gdb.c++/templates.exp: Likewise.
21179 * gdb.c++/virtfunc.exp: Likewise.
21180
c56716b0
JM
211812003-02-06 Jason Molenda (jason-cl@molenda.com)
21182
21183 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
21184 why the code is written that way.
21185
070afcf8
MC
211862003-02-05 Michael Chastain <mec@shout.net>
21187
21188 * gdb.base/dump.exp: Add missing copyright line.
21189
5d0331e5
JM
211902003-02-05 Jason Molenda (jason-cl@molenda.com)
21191
f7ae6d3e 21192 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
21193 at the beginning so the breakpoint doesn't get set on the loop.
21194
92851186
MC
211952003-02-05 Michael Chastain <mec@shout.net>
21196
21197 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
21198 output for configurations with gcc 2.95.3.
21199
cbf1e085
AC
212002003-02-05 Keith Seitz <keiths@redhat.com>
21201 Andrew Cagney <ac131313@redhat.com>
21202
21203 * gdb.mi/mi-cli.exp: New file.
d63a86f8 21204
29518e1e
MC
212052003-02-04 Michael Chastain <mec@shout.net>
21206
21207 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
21208 Call perror and then continue.
21209
5af1d5f3
MC
212102003-02-03 Michael Chastain <mec@shout.net>
21211
21212 * gdb.c++/pr-1023.cc: New file.
21213 * gdb.c++/pr-1023.exp: New file.
21214
6b549786
JB
212152003-02-05 Jim Blandy <jimb@redhat.com>
21216
21217 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
21218 it's local to foobar. Check for it there, and check that it's not
21219 present in main.
21220 * gdb.c++/local.cc (marker2): New function.
21221 (foobar): Call marker1.
21222 (main): Call marker2 instead of marker1.
21223
67f16606
AC
212242003-02-04 Andrew Cagney <ac131313@redhat.com>
21225
21226 * gdb.disasm/mn10200.exp: Obsolete file.
21227 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
21228 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
21229 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
21230
1c5cb38e
DC
212312003-02-04 David Carlton <carlton@math.stanford.edu>
21232
21233 * gdb.c++/overload.exp: Test intToChar(1).
21234 * gdb.c++/overload.cc (intToChar): New.
21235 (main): Call intToChar.
21236
d1fe6965
DC
212372003-02-03 David Carlton <carlton@math.stanford.edu>
21238
21239 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
21240 'might_kfail' arg.
21241 KFAIL some of the continue_to_bp_overloaded calls, according to
21242 PR c++/1025.
21243
9ba61c5d
MC
212442003-02-01 Michael Chastain <mec@shout.net>
21245
21246 * gdb.base/advance.c (marker1): New marker function.
21247 * gdb.base/advance.exp: When the 'advance' command lands on the
21248 return breakpoint, it can legitimately stop on either the
21249 current line or the next line. Accommodate both outcomes.
21250 * gdb.base/until.exp: Likewise.
21251
e7494ffb
AC
212522003-02-02 Andrew Cagney <ac131313@redhat.com>
21253
21254 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
21255 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
21256 now a list, not a tuple.
21257 * gdb.mi/mi-var-display.exp: Ditto.
21258 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 21259
075559bc
AC
212602003-02-01 Andrew Cagney <ac131313@redhat.com>
21261
21262 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
21263 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
21264 stack backtraces.
21265 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 21266
2bd4c7b1
MK
212672003-02-01 Mark Kettenis <kettenis@gnu.org>
21268
21269 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21270 gdb.mi/mi1-pthreads.exp: Return instead of calling
21271 gdb_suppress_entire_file.
21272
eabd8992
MS
212732003-02-01 Mark Salter <msalter@redhat.com>
21274
21275 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
21276
71469e2f
MS
212772003-01-31 Mark Salter <msalter@redhat.com>
21278
21279 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
21280 Support empty arg.
21281
38a94d44
MC
212822003-01-30 Michael Chastain <mec@shout.net>
21283
21284 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
21285 This was a workaround for a UTF-8 bug in readline 4.3. The bug
21286 has been fixed in gdb/readline on 2003-01-09.
21287
19ea9e73
MS
212882003-01-29 Michael Snyder <msnyder@redhat.com>
21289
e8d359df
MS
21290 * gdb.base/maint.exp: Allow for leading underscore in symbol.
21291 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
21292 * gdb.base/args.exp: Skip if target does not support args passing.
21293
2307bd6a
DJ
212942003-01-22 Daniel Jacobowitz <drow@mvista.com>
21295
19ea9e73 21296 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
21297 gdb_test. Accept a list of expect arguments as the third
21298 parameter.
21299 (gdb_test): Use it.
21300
f2dd3617
EZ
213012003-01-20 Elena Zannoni <ezannoni@redhat.com>
21302
21303 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
21304 allow for different test tree configurations. Update some
21305 tescases accordingly.
21306 * gdb.arch/altivec-regs.exp: Ditto.
21307 * gdb.asm/asm-source.exp: Ditto.
21308 * gdb.base/advance.exp: Ditto.
21309 * gdb.base/display.exp: Ditto.
d63a86f8 21310 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
21311 * gdb.base/mips_pro.exp: Ditto.
21312 * gdb.base/overlays.exp: Ditto.
21313 * gdb.base/relocate.exp: Ditto.
21314 * gdb.base/setshow.exp: Ditto.
21315 * gdb.base/step-line.exp: Ditto.
21316 * gdb.base/step-test.exp: Ditto.
21317 * gdb.base/until.exp: Ditto.
21318 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
21319
c71cdefd
DC
213202003-01-17 David Carlton <carlton@math.stanford.edu>
21321
21322 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
21323 corresponding to PR c++/945.
21324 Update copyright.
21325
fdba05d7
DC
213262003-01-17 David Carlton <carlton@math.stanford.edu>
21327
21328 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
21329 corresponding to PR c++/68.
21330
213312003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
21332
21333 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
21334 (test_paddr_hairy_functions): Call print_addr_2_kfail for
21335 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
21336
c362c33a
EZ
213372003-01-15 Elena Zannoni <ezannoni@redhat.com>
21338
0fbc361c
EZ
21339 * gdb.base/break.exp: Fix change of default location, because of
21340 removal of until tests.
21341 * gdb.base/help.exp: Update test for new 'until' help message.
21342 Add test for help on 'advance'.
a9c64011 21343 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 21344
dabf8a35
MK
213452003-01-15 Mark Kettenis <kettenis@gnu.org>
21346
21347 * gdb.base/default.exp: Adapt "info float" test for recent changes
21348 to that command. Add test for "info vector".
21349 * gdb.base/float.exp: New file. Add test for "info float" that
21350 resembles the old test in gdb.base/default.exp.
21351
a1769aca
DC
213522003-01-15 David Carlton <carlton@math.stanford.edu>
21353
21354 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
21355
82025e13
EZ
213562003-01-15 Elena Zannoni <ezannoni@redhat.com>
21357
21358 * gdb.base/break.exp: Move the tests of until command from here...
21359 * gdb.base/until.exp: ... to here. New file. Add other tests.
21360 * gdb.base/advance.c: New file.
21361 * gdb.base/advance.exp: New file.
21362
8f9ab801
EZ
213632003-01-14 Elena Zannoni <ezannoni@redhat.com>
21364
a9c64011
AS
21365 * gdb.base/args.c: New file.
21366 * gdb.base/args.exp: New file.
8f9ab801 21367
9ae66589
DJ
213682003-01-14 Daniel Jacobowitz <drow@mvista.com>
21369
21370 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
21371
8d77e5c3
DJ
213722003-01-14 Daniel Jacobowitz <drow@mvista.com>
21373
21374 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
21375
12d2f0a1
DJ
213762003-01-14 Daniel Jacobowitz <drow@mvista.com>
21377
21378 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
21379 dates.
21380
6ca37014
DJ
213812003-01-13 Daniel Jacobowitz <drow@mvista.com>
21382
21383 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
21384
b0023472
DJ
213852003-01-13 Daniel Jacobowitz <drow@mvista.com>
21386
21387 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
21388 (ptype &*"foo").
21389 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
21390
607fbc54 213912003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
21392
21393 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
21394 * gdb.mi/mi1-console.exp: Likewise.
21395
607fbc54 213962003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
21397
21398 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
21399 * gdb.mi/mi1-console.exp: Likewise.
21400
a1fb14a2
DJ
214012003-01-13 Daniel Jacobowitz <drow@mvista.com>
21402
21403 * gdb.c++/overload.exp: Remove some fixed XFAILs.
21404
c4cf40b7
DJ
214052003-01-09 Daniel Jacobowitz <drow@mvista.com>
21406
21407 * gdb.base/detach.exp: New test.
21408
696d5a5b
DJ
214092003-01-09 Daniel Jacobowitz <drow@mvista.com>
21410
21411 * Makefile.in (ALL_SUBDIRS): New variable.
21412 (subdirs, clean, distclean): Use it.
21413 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
21414 regenerating Makefile, since it is generated from the top level.
21415 * gdb.asm/Makefile.in: Likewise.
21416 * gdb.base/Makefile.in: Likewise.
21417 * gdb.c++/Makefile.in: Likewise.
21418 * gdb.disasm/Makefile.in: Likewise.
21419 * gdb.java/Makefile.in: Likewise.
21420 * gdb.mi/Makefile.in: Likewise.
21421 * gdb.threads/Makefile.in: Likewise.
21422 * gdb.trace/Makefile.in: Likewise.
21423
754533e4
DC
214242003-01-09 David Carlton <carlton@math.stanford.edu>
21425
21426 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
21427 Add copyright year 2003.
21428
d8b3e9ee
MC
214292003-01-06 Michael Chastain <mec@shout.net>
21430
21431 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
21432 When selecting a thread, 'line' and 'file' are optional.
21433 * gdb.mi/mi1-pthreads.exp: Likewise.
21434
8e9e0fe6
AS
214352003-01-06 Andreas Schwab <schwab@suse.de>
21436
21437 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
21438 failures.
21439
b5ab8ff3
DJ
214402003-01-04 Daniel Jacobowitz <drow@mvista.com>
21441
21442 Fix PR gdb/844
21443 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
21444 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
21445
21446 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
21447 instead of calling gdb_suppress_entire_file.
21448 * gdb.threads/print-threads.exp: Likewise.
21449 * gdb.threads/schedlock.exp: Likewise.
21450
21451 * gdb.threads/killed.exp: Return instead of calling
21452 gdb_suppress_entire_file.
21453 * gdb.threads/linux-dp.exp: Likewise.
21454 * gdb.threads/pthreads.exp: Likewise.
21455
1e698235
DJ
214562003-01-04 Daniel Jacobowitz <drow@mvista.com>
21457
21458 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
21459 stabs.
21460 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
21461 * gdb.base/whatis.exp: Always allow (void) after function names.
21462
147ff08c
DJ
214632003-01-04 Daniel Jacobowitz <drow@mvista.com>
21464
21465 * gdb.c++/casts.exp: Correct regexp.
21466
dc62bfc2
MK
214672003-01-04 Mark Kettenis <kettenis@gnu.org>
21468
21469 * configure.in: Call AC_CONFIG_HEADER. Don't call
21470 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
21471 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
21472 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
21473 aforementioned directories in the AC_OUPUT call.
21474 * config.hin: New file.
21475 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21476 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
21477 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
21478 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
21479 pass -I$objdir instead of -I$objdir/$subdir in compilation.
21480 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
21481 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
21482 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
21483 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
21484 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
21485 gdb.threads/configure.in, gdb.threads/configure,
21486 gdb.threads/config.in, gdb.trace/configure.in,
21487 gdb.trace/configure: Removed.
21488
77afa639
MC
214892003-01-03 Michael Chastain <mec@shout.net>
21490
21491 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
21492 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
21493
7634bb6e
DJ
214942003-01-03 Daniel Jacobowitz <drow@mvista.com>
21495
21496 * gdb.base/store.exp: Fix regular expressions.
21497
b39c905e
MK
214982002-12-28 Mark Kettenis <kettenis@gnu.org>
21499
21500 * configure.in: Rewrite.
21501 * configure: Regenerated.
21502
0a8551dd
DC
215032003-01-03 David Carlton <carlton@math.stanford.edu>
21504
21505 * gdb.base/psymtab.exp: New file.
21506 * gdb.base/psymtab1.c: Ditto.
21507 * gdb.base/psymtab2.c: Ditto.
21508
c60b7188
AF
215092002-12-23 Adam Fedor <fedor@gnu.org>
21510
21511 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
21512
ee73db83
DC
215132002-12-23 David Carlton <carlton@math.stanford.edu>
21514
21515 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
21516 and current_directory initialization.
21517
d6c1774e
JB
215182002-12-22 Jim Blandy <jimb@redhat.com>
21519
f0a847b8
JB
21520 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
21521 rather than as part of the output file name.
21522
d6c1774e
JB
21523 * gdb.base/attach.exp: There's no need to copy the test program to
21524 /tmp; that was only ever necessary on HP/UX, and this test is
21525 entirely disabled there anyway.
21526
f0708dbb
JB
215272002-12-21 Jim Blandy <jimb@redhat.com>
21528
4c2acfea
JB
21529 * gdb.c++/psmang.exp: Doc fix.
21530
f0708dbb
JB
21531 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
21532 test.
21533
9579e000
DC
215342002-12-20 David Carlton <carlton@math.stanford.edu>
21535
21536 * gdb.c++/annota2.exp: KFAIL annotate-quit.
21537
d1810171
MC
215382002-12-18 Michael Chastain <mec@shout.net>
21539
21540 * gdb.c++/annota2.exp: Add copyright year 2002.
21541
76565097
DC
215422002-12-17 David Carlton <carlton@math.stanford.edu>
21543
21544 * gdb.c++/try_catch.cc: Add marker comments.
21545 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
21546 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
21547 * gdb.c++/m-static.cc: Ditto.
21548 * gdb.c++/m-static1.cc: Ditto.
21549 * gdb.c++/try_catch.cc: Ditto.
21550
da81390b
JJ
215512002-12-16 Jeff Johnston <jjohnstn@redhat.com>
21552
21553 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
21554 to see whether we are using the new -environment-directory
21555 command which resets via -r or the old version of the command
21556 which may prompt the user. Part of fix for gdb/741.
21557
b304d130
AC
215582002-12-13 Andrew Cagney <ac131313@redhat.com>
21559
21560 * gdb.fortran/types.exp: Update obsolete comment.
21561 * gdb.fortran/exprs.exp: Ditto.
21562 * lib/gdb.exp: Delete obsolete code.
21563 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
21564 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
21565 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
21566 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
21567 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
21568 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
21569 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
21570 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
21571 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
21572 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
21573 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
21574 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
21575 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
21576 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
21577 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
21578 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
21579 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
21580 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
21581 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
21582 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
21583 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
21584 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
21585 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
21586 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
21587 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
21588 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
21589 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
21590 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
21591 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
21592 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
21593 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
21594 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
21595 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
21596 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
21597 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
21598 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
21599 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
21600
a23b6e6a
DC
216012002-12-11 David Carlton <carlton@math.stanford.edu>
21602
21603 * gdb.c++/m-data.exp: Add test for members that shadow global
21604 variables: see PR gdb/804.
21605 * gdb.c++/m-data.cc: Ditto.
21606
6604731b
DJ
216072002-12-10 Daniel Jacobowitz <drow@mvista.com>
21608
21609 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
21610
de46ecd7
DC
216112002-12-06 David Carlton <carlton@math.stanford.edu>
21612
21613 * gdb.base/store.c: Don't declare functions static.
21614
27e829d0
AC
216152002-12-04 Andrew Cagney <ac131313@redhat.com>
21616
21617 * gdb.base/store.exp, gdb.base/store.c: New files.
21618
92806416
DJ
216192002-12-03 Daniel Jacobowitz <drow@mvista.com>
21620
21621 * gdb.base/selftest.exp: Update for current gdb.
21622
3bcbaac5
DJ
216232002-12-03 Daniel Jacobowitz <drow@mvista.com>
21624
21625 * gdb.base/maint.exp: Only dump symbols from one source file
21626 or objfile.
21627
f4f00b1f
DJ
216282002-12-03 Daniel Jacobowitz <drow@mvista.com>
21629
21630 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
21631 function call.
21632
f1c8a949
JB
216332002-11-25 Jim Blandy <jimb@redhat.com>
21634
21635 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
21636 function appearing in error message.
21637
9e297a97
DJ
216382002-11-21 Daniel Jacobowitz <drow@mvista.com>
21639
21640 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
21641
1f312e79
JJ
216422002-11-08 Jeff Johnston <jjohnstn@redhat.com>
21643
d63a86f8
RM
21644 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
21645 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
21646 should be in mi console format. This is part of fix for PR gdb/604.
21647
83c31e7d
FN
216482002-09-18 Fernando Nasser <fnasser@redhat.com>
21649
21650 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
21651 which explicitly prints the zero offset as "+0".
21652
322b3f65
DJ
216532002-10-22 Daniel Jacobowitz <drow@mvista.com>
21654
21655 * gdb.threads/schedlock.c (args): Make unsigned.
21656
216572002-10-21 Daniel Jacobowitz <drow@mvista.com>
21658
21659 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
21660 numbers. Allow "foo2|selected stack frame".
21661 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
21662 * gdb.asm/asmsrc2.s: Likewise.
21663 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
21664 comments.
21665 * gdb.asm/mips.inc: New file.
21666
5e2fe5b8
AF
216672002-10-18 Adam Fedor <fedor@gnu.org>
21668
21669 * gdb.base/default.exp: Update expected output to include 'ObjC'.
21670 * gdb.base/help.exp: Likewise.
21671
abe1a5d0
KB
216722002-10-17 Kevin Buettner <kevinb@redhat.com>
21673
21674 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
21675 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
21676
10abb1d4
JB
216772002-10-02 Jim Blandy <jimb@redhat.com>
21678
21679 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
21680
1f609b42
AC
216812002-10-01 Andrew Cagney <ac131313@redhat.com>
21682
21683 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
21684 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
21685 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
21686 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
21687 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
21688 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
21689 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
21690
0aee02e4
AC
216912002-09-29 Andrew Cagney <ac131313@redhat.com>
21692
21693 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
21694 * mi0-disassemble.exp, mi0-eval.exp: Delete.
21695 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
21696 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
21697 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
21698 * mi0-var-block.exp, mi0-var-child.exp: Delete.
21699 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 21700
6fde09ad
KB
217012002-09-27 Kevin Buettner <kevinb@redhat.com>
21702
21703 * gdb.base/annota1.exp (info break): Make directory components of
21704 path optional since not all compilers emit this debug information.
21705
889bf7c5
PA
21706 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
21707 step ends up stepping out of the function instead of stopping on
21708 the epilogue.
6fde09ad 21709
9e8aab75
KS
217102002-09-26 Keith Seitz <keiths@redhat.com>
21711
21712 * lib/insight-support.exp (gdbtk_start): Figure out where
21713 the insight executable is based on where gdb is. Use this
21714 executable to start insight instead of gdb.
21715
e36180d7
AC
217162002-09-25 Andrew Cagney <cagney@redhat.com>
21717
21718 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
21719
9dd34b2b
AC
217202002-09-24 Andrew Cagney <ac131313@redhat.com>
21721
21722 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
21723 test_isolated_complaints.
21724 (test_empty_complaint): New function.
21725 (test_empty_complaints): New function. Check no output when no
21726 complaints.
d63a86f8 21727
dea97812
KB
217282002-09-19 Jim Blandy <jimb@redhat.com>
21729
a9c64011 21730 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 21731
54951bd7
AC
217322002-09-19 Andrew Cagney <ac131313@redhat.com>
21733
21734 * gdb.gdb/complaints.exp: New file.
21735
dec43320
AC
217362002-09-18 Andrew Cagney <ac131313@redhat.com>
21737
21738 * gdb.base/maint.exp: Check `help maint internal-warning'.
21739
e70d6e3f
DC
217402002-09-18 David Carlton <carlton@math.stanford.edu>
21741
21742 * gdb.c++/m-static.exp: Remove breakpoints depending on line
21743 numbers, and replace them by a single breakpoint after the
21744 constructors are all finished.
21745 Add test 4.
21746 * gdb.c++/m-static.cc: Add test 4.
21747 * gdb.c++/m-static.h: New file.
21748 * gdb.c++/m-static1.cc: New file.
21749
21750 * gdb.c++/printmethod.exp: New file.
21751 * gdb.c++/printmethod.cc: New file.
21752
21753 * gdb.c++/pr-574.exp: New file.
21754 * gdb.c++/pr-574.cc: New file.
21755
afb5c968
CV
217562002-09-18 Corinna Vinschen <vinschen@redhat.com>
21757
21758 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
21759 embedded targets which never actually exit.
21760
31e45dee
FN
217612002-09-18 Fernando Nasser <fnasser@redhat.com>
21762
21763 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
21764 "don't step after run" as unresolved or unsupported, instead of xfail.
21765
a283c5a1
CV
217662002-09-18 Corinna Vinschen <vinschen@redhat.com>
21767
21768 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
21769 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
21770 Add newline to expected string in "step out of main (status wrapper)"
21771 case.
21772
11350d2a
CV
217732002-09-18 Corinna Vinschen <vinschen@redhat.com>
21774
21775 * lib/gdb.exp (rerun_to_main): Allow restarting application.
21776 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
21777
0deec7d6
TT
217782002-09-17 Tom Tromey <tromey@redhat.com>
21779
21780 * gdb.base/printcmds.exp (test_print_string_constants): Expect
21781 \000, not \0, in double-quoted string.
21782
b2b4a1b5
CV
217832002-09-14 Corinna Vinschen <vinschen@redhat.com>
21784
c9d37158 21785 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
21786 string after running the commands execution on breakpoint tests.
21787
1c56143a
CV
217882002-09-13 Corinna Vinschen <vinschen@redhat.com>
21789
21790 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
21791
37f8da45
JB
217922002-09-12 Joel Brobecker <brobecker@gnat.com>
21793
21794 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
21795
08b468e0
KS
217962002-09-10 Keith Seitz <keiths@redhat.com>
21797
21798 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
21799 runto proc.
21800 (mi_run_to_main): Use mi_runto.
21801 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
21802
dc360f58
KS
218032002-09-10 Keith Seitz <keiths@redhat.com>
21804
21805 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
21806 regexp for stopping at main. Could have multiple event notifications.
21807 Don't assume that main was declared with no parameters.
21808 (mi_next): Use mi_step_to.
21809 (mi_step): Use mi_next_to.
21810
ce3abcfb
CV
218112002-09-09 Corinna Vinschen <vinschen@redhat.com>
21812
21813 * gdb.base/default.exp: Fix expected string in `info float' test.
21814
d1f5b980
BE
218152002-09-09 Ben Elliston <bje@redhat.com>
21816
21817 * config/mips.exp: Update comments.
21818 * config/mips-idt.exp: Likewise.
21819 * config/nind.exp: Likewise.
21820 * config/slite.exp: Likewise.
21821 * config/sparclet.exp: Likewise.
21822 * config/udi.exp: Likewise.
21823 * config/vx.exp: Likewise.
21824 * config/vxworks29k.exp: Likewise.
21825
2f71430b
JB
218262002-09-05 Jim Blandy <jimb@redhat.com>
21827
21828 * gdb.threads/killed.exp: Fix test failure message.
21829
7ddebc7e
KS
218302002-09-04 Keith Seitz <keiths@redhat.com>
21831
21832 * lib/mi-support.exp: Update copyright.
21833 (mi_gdb_test): Increase the priority of the expected pattern
21834 so that it matches gdb_test.
21835
0ae67eb3
KS
218362002-09-03 Keith Seitz <keiths@redhat.com>
21837
21838 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
21839 Use integer comparison instead of string comparison for testing
21840 whether binary was built.
21841
38fc42c8
JB
218422002-09-03 Jim Blandy <jimb@redhat.com>
21843
21844 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
21845
b6ff0e81
JB
218462002-08-29 Jim Blandy <jimb@redhat.com>
21847
21848 * gdb.threads/pthreads.exp: Move the portable thread compilation
21849 code into a function in lib/gdb.exp, and call that from here.
21850 * lib/gdb.exp (gdb_compile_pthreads): New function.
21851
07c98896
KS
218522002-08-29 Keith Seitz <keiths@redhat.com>
21853
21854 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
21855 expect_out so that callers can get at it.
21856
0312286c
DJ
218572002-08-23 Daniel Jacobowitz <drow@mvista.com>
21858
21859 * gdb.threads/print-threads.c: New file.
21860 * gdb.threads/print-threads.exp: New file.
21861 * gdb.threads/schedlock.c: New file.
21862 * gdb.threads/schedlock.exp: New file.
21863
dd039bc4
EZ
218642002-08-22 Elena Zannoni <ezannoni@redhat.com>
21865
a9c64011
AS
21866 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
21867 not altivec.c.
dd039bc4 21868
1f36144c
MK
218692002-08-17 Mark Kettenis <kettenis@gnu.org>
21870
21871 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
21872 targets. The problem should be fixed now.
21873
16057ec7 218742002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
21875
21876 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
21877 2002-07-24 change that removes final dots from error messages.
21878
3c1499ad
TT
218792002-08-13 Tom Tromey <tromey@redhat.com>
21880
21881 * gdb.base/readline.exp: New file.
21882
a20ce2c3
AC
218832002-08-01 Andrew Cagney <ac131313@redhat.com>
21884
21885 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
21886 supress message.
21887
db034ac5
AC
218882002-08-01 Andrew Cagney <cagney@redhat.com>
21889
21890 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
21891 CHILL_FOR_TARGET and CHILL_LIB.
21892 * configure.in (configdirs): Remove gdb.chill.
21893 * configure: Regenerate.
21894 * lib/gdb.exp: Obsolete references to chill.
21895 * gdb.fortran/types.exp: Ditto.
21896 * gdb.fortran/exprs.exp: Ditto.
21897
3e000b18
KB
218982002-07-30 Kevin Buettner <kevinb@redhat.com>
21899
21900 * gdb.base/shlib-call.exp (additional_flags): Conditionally
21901 set Irix-specific compile and link flags.
21902
28f4966b
KB
219032002-07-29 Kevin Buettner <kevinb@redhat.com>
21904
21905 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
21906 source files. The ``-o'' option doesn't work with the ``-E'' option
21907 when using the Irix compiler.
21908
46c0d5a6
DJ
219092002-07-19 Daniel Jacobowitz <drow@mvista.com>
21910
21911 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
21912 Improve support for reusing an exec file. Copy exec file
21913 to target, and run gdbserver on the target instead of on the host.
21914
eecf4bed
JB
219152002-07-18 Jim Blandy <jimb@redhat.com>
21916
0f815cdf
JB
21917 * gdb.base/ending-run.exp: Don't expect to see the program end in
21918 some orderly fashion when we're running on a real stand-alone
21919 board.
21920
eecf4bed
JB
21921 * gdb.base/interrupt.exp: Correct logic for skipping tests on
21922 targets that don't support interrupts.
21923
52d309e4
JB
219242002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
21925
21926 * gdb.base/attach.exp: Add patterns to match output from /proc-based
21927 systems.
21928 Move comments in expect statements to inside the actions, so that they
21929 don't get matched against.
21930
ff683d9e
MK
219312002-07-10 Mark Kettenis <kettenis@gnu.org>
21932
21933 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
21934 function when asleep" test.
21935
b5356753
AC
219362002-07-10 Andrew Cagney <ac131313@redhat.com>
21937
21938 * gdb.base/page.exp: Rewrite to handle problems with very long
21939 `info set' output. Update copyright.
21940
6aa4d13a
AC
219412002-06-26 Andrew Cagney <ac131313@redhat.com>
21942
21943 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
21944 gdb.threads-hp.
21945 * gdb.hp/configure: Regenerate.
21946 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
21947 * gdb.hp/gdb.threads-hp/configure: Delete file.
21948 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
21949
8cf8c2b8
AC
219502002-06-22 Andrew Cagney <ac131313@redhat.com>
21951
21952 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
21953 setlocale, bindtextdomain and textdomain.
21954
6827a8f8
JB
219552002-06-11 Jim Blandy <jimb@redhat.com>
21956
919d772c
JB
21957 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
21958 preprocessor macro information is present.
21959
6827a8f8
JB
21960 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
21961 tests.
21962
c15b0d21
MS
219632002-06-06 Michael Snyder <msnyder@redhat.com>
21964
c5984d70
MS
21965 * gdb.base/overlays.exp: Record addresses of overlay
21966 functions in TCL variables rather than in GDB variables,
21967 to avoid having GDB convert them to pointers (with loss
21968 of information).
21969
d63a86f8 21970 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 21971 default linker script changes.
c15b0d21
MS
21972 * gdb.base/long_long.exp: Add check for sizeof (long double).
21973
be26fe0d
ML
219742002-06-06 Michal Ludvig <mludvig@suse.cz>
21975
21976 * gdb.asm/asm-source.exp: Add x86-64 target.
21977 * gdb.asm/x86_64.inc: New.
d63a86f8 21978
258093ca 219792002-05-30 Michael Chastain <mec@shout.net>
258093ca 21980
4b3153f1 21981 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
21982 * gdb.c++/m-static.cc: New file.
21983 * gdb.c++/m-static.exp: New file.
21984
241264c6
MS
219852002-05-28 Michael Snyder <msnyder@redhat.com>
21986
21987 * gdb.base/call-ar-st.exp: Allow for reduced floating point
21988 precision.
21989
9bba8c8f 219902002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 21991
4b3153f1 21992 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
21993 * gdb.c++/m-data.cc: New file.
21994 * gdb.c++/m-data.exp: New file.
21995
219962002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 21997
4b3153f1 21998 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 21999 * gdb.c++/try_catch.cc: New file.
d63a86f8 22000 * gdb.c++/try_catch.exp: New file.
9bba8c8f 22001
def1b996
MC
220022002-05-27 Michael Chastain <mec@shout.net>
22003
22004 * gdb.c++/local.exp: Accept more nested types in output.
22005
522ba268
MC
220062002-05-26 Michael Chastain <mec@shout.net>
22007
22008 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
22009
277254ba
MS
220102002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
22011
22012 * lib/gdb.exp (gdb_wrapper_init): Just because
22013 gdb_wrapper_file exists, this does not mean that the file
22014 should not be rebuilt. That is what gdb_wrapper_initialized
22015 is for.
22016 (default_gdb_init): Reset gdb_wrapper_initialized.
22017
b61a8733
MS
220182002-05-23 Michael Snyder <msnyder@redhat.com>
22019
d63a86f8 22020 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
22021 the precision of the floating point test results.
22022 * gdb.base/call-rt-st.exp: Ditto.
22023
b61a8733
MS
22024 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
22025 * gdb.base/call-rt-st.exp: Ditto.
22026
56f6e910
MC
220272002-05-19 Michael Chastain <mec@shout.net>
22028
22029 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
22030
ad0b0016
EZ
220312002-05-19 Elena Zannoni <ezannoni@redhat.com>
22032
a9c64011
AS
22033 * configure.in (configdirs): Add gdb.arch.
22034 * configure: Regenerate.
ad0b0016 22035
f617d2b6
JB
220362002-05-17 Jim Blandy <jimb@redhat.com>
22037
22038 * gdb.base/completion.exp: Recognize the more detailed error
22039 messages produced by the macro expander's lexical analyzer.
22040
eac2a696
EZ
220412002-05-14 Elena Zannoni <ezannoni@redhat.com>
22042
a9c64011
AS
22043 * gdb.arch/altivec-abi.c: New file.
22044 * gdb.arch/altivec-abi.exp: New file.
22045 * gdb.arch/altivec-regs.c: New file.
22046 * gdb.arch/altivec-regs.exp: New file.
eac2a696 22047
2fdde8f8
DJ
220482002-05-14 Daniel Jacobowitz <drow@mvista.com>
22049
22050 * gdb.base/maint.exp (maint print type): Update for new type
22051 structure.
d63a86f8 22052
e31f1a7c
EZ
220532002-05-14 Elena Zannoni <ezannoni@redhat.com>
22054
22055 * gdb.arch: New directory.
22056 * gdb.arch/configure.in: New file.
22057 * gdb.arch/configure: New file.
22058 * gdb.arch/Makefile.in: New file.
22059
db589741
CV
220602002-05-13 Corinna Vinschen <vinschen@redhat.com>
22061
22062 * gdb.asm/asm-source.exp: Add v850 as supported target.
22063 * gdb.asm/v850.inc: New file.
22064
8ce2a7dc
DJ
220652002-05-13 Daniel Jacobowitz <drow@mvista.com>
22066
22067 * gdb.c++/annota2.exp (annotate-quit): Add comment.
22068
df763c7f
DJ
220692002-05-12 Daniel Jacobowitz <drow@mvista.com>
22070
22071 * gdb.base/break.exp: Check 'break "marker2"'.
22072
377daeed
MS
220732002-05-10 Michael Snyder <msnyder@redhat.com>
22074
22075 * gdb.base/long_long.exp: Fix typo.
22076
c4b7bc2b
JB
220772002-05-10 Jim Blandy <jimb@redhat.com>
22078
ecac9a4e
JB
22079 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
22080 a bug.
22081
c4b7bc2b
JB
22082 * gdb.base/printcmds.exp (test_integer_literals_rejected):
22083 Recognize more detailed error message produced by the macro
22084 expander's lexical analyzer.
22085 * lib/gdb.exp (test_print_reject): Same.
22086
e71019a1
MK
220872002-05-09 Mark Kettenis <kettenis@gnu.org>
22088
22089 * gdb.c++/method.exp: Fix typo.
22090
fedfc8e6
MS
220912002-05-08 Michael Snyder <msnyder@redhat.com>
22092
166a1957
MS
22093 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
22094 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 22095 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
22096 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
22097 Add iftarget clause for strongarm.
d63a86f8 22098
f1c47eb2
MS
220992002-05-06 Michael Snyder <msnyder@redhat.com>
22100
cb9a9d3e
MS
22101 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
22102 (gdb_continue_to_end): Accept output from status wrapper.
22103 * gdb.base/ending-run.exp: Add case for output from status wrapper.
22104 Clean up fail messages to match pass messages.
22105
f1c47eb2
MS
22106 Enable the "needs_status_wrapper" testsuite feature.
22107 * lib/gdb.exp (gdb_wrapper_init): New procedure.
22108 (gdb_compile): Conditionally call gdb_wrapper_init.
22109 * gdb.base/a2-run.exp: Recognize output from status wrapper.
22110 * gdb.c++/method.exp: Recognize output from status wrapper.
22111
6079c749
BE
221122002-05-06 Ben Elliston <bje@redhat.com>
22113From Graydon Hoare <graydon@redhat.com>
22114
22115 * config/sid.exp: Include support for "rawsid" protocol.
22116
188baff3
JB
221172002-05-03 Jim Blandy <jimb@redhat.com>
22118
22119 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
22120 * gdb.c++/hang3.C: New file.
22121
b9c07f0f
AC
221222002-05-04 Andrew Cagney <ac131313@redhat.com>
22123
22124 * gdb.base/default.exp: Remove obsolete code.
22125 * gdb.c++/misc.exp: Ditto. Update copyright.
22126 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
22127 * gdb.base/whatis.exp: Ditto. Update copyright.
22128 * gdb.base/scope.exp: Ditto. Update copyright.
22129 * gdb.base/ptype.exp: Ditto. Update copyright.
22130 * gdb.base/printcmds.exp: Ditto. Update copyright.
22131 * gdb.base/opaque.exp: Ditto. Update copyright.
22132 * gdb.base/list.exp: Ditto.
22133 * gdb.base/funcargs.exp: Ditto. Update copyright.
22134 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
22135 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
22136 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
22137 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
22138 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
22139 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
22140
5c7a0397
MS
221412002-05-02 Michael Snyder <msnyder@redhat.com>
22142
d6dcc264 22143 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
22144 * gdb.base/long_long.exp: Add xscale target.
22145 * gdb.base/default.exp: Add xscale target.
22146
eb7f1c48
JB
221472002-05-01 Jim Blandy <jimb@redhat.com>
22148
22149 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
22150 gdb.c++/hang.exp: New test.
22151
a6befae8
FF
221522002-05-01 Fred Fish <fnf@redhat.com>
22153
22154 * gdb.base/completion.exp: Handle completions of "./Make" for
22155 more than one completion possibility, as is the case when we
22156 build and test in the source tree.
22157
0a310277
AG
221582002-04-29 Anthony Green <green@redhat.com>
22159
22160 * gdb.java/jmisc1.exp: New file.
22161 * gdb.java/jmisc2.exp: New file.
22162
6ff9af88
DJ
221632002-04-24 Daniel Jacobowitz <drow@mvista.com>
22164
22165 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
22166
96b3d632
EZ
221672002-04-23 Elena Zannoni <ezannoni@redhat.com>
22168
22169 * gdb.base/help.exp: Change 'help status' to allow for target
22170 dependent output differences.
22171
5019bb54
MC
221722002-04-22 Michael Chastain <mec@shout.net>
22173
22174 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
22175
a805a116
MC
221762002-04-22 Michael Chastain <mec@shout.net>
22177
22178 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
22179
a1706bfd
DM
221802002-04-17 David S. Miller <davem@redhat.com>
22181
22182 * gdb.asm/sparc64.inc: New file.
22183 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
22184
a73a20a2
EZ
221852002-04-19 Elena Zannoni <ezannoni@redhat.com>
22186
22187 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
22188 instruction file directly into the build tree. Clean up at end of
22189 test.
22190
ba678339
DM
221912002-04-18 David S. Miller <davem@redhat.com>
22192
22193 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
22194 handle 64-bit platforms correctly.
22195 * gdb.base/maint.exp: Likewise.
22196
b03399da
KB
221972002-04-18 Kevin Buettner <kevinb@redhat.com>
22198
22199 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
22200 ``-fpic'' when compiling files comprising a shared library, but
22201 it does need additional linker flags in order to find shared
22202 libraries at run time.
22203
e2004992
KB
222042002-04-18 Kevin Buettner <kevinb@redhat.com>
22205
22206 * gdb.base/cvexpr.c (use): New function.
22207 (main): Invoke use() on all global variables to prevent
22208 some linkers from deleting these otherwise unused symbols.
22209
d8937120
MC
222102002-04-17 Michael Chastain <mec@shout.net>
22211From David S. Miller <davem@redhat.com>
22212
22213 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
22214 handle 64-bit platforms correctly.
22215
ffd61a58
MS
222162002-04-12 Michael Snyder <msnyder@redhat.com>
22217From Jim Blandy <jimb@redhat.com>
a9c64011 22218 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
22219 script can handle this instead.
22220 * gdb.base/bar.c (barx): Same.
22221 * gdb.base/baz.c (bazx): Same.
22222 * gdb.base/grbx.c (grbxx): Same.
22223
22224 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
22225 manager doesn't automatically unmap overlays unnecessarily.
22226
6b8426a6
MH
222272002-04-10 Martin M. Hunt <hunt@redhat.com>
22228
22229 * gdb.base/ending-run.exp: Fix pattern for Mips targets
22230 stepping out of main.
22231
34af4875
MC
222322002-04-09 Michael Chastain <mec@shout.net>
22233
22234 * gdb.c++/local.cc (main): Move call to marker1() inside nested
22235 scope so that the nested scope tests will make sense.
22236 * gdb.c++/local.exp: Write patterns that actually work with gcc
22237 (the HP patterns "were never known to work with gcc").
22238 Keep the old aCC patterns too.
22239
2d1676a0
DJ
222402002-04-09 Daniel Jacobowitz <drow@mvista.com>
22241
22242 * gdb.base/attach.exp: Correct target board test.
22243
3a63e3f9
MC
222442002-04-08 Michael Chastain <mec@shout.net>
22245
22246 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
22247 in a const method. Add some xfail and fail cases for configurations
22248 that do not emit the "const ...".
22249
f18dabd2
MC
222502002-04-07 Michael Chastain <mec@shout.net>
22251
22252 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
22253 Accept "A * const" and "const A * const" as type of "this".
22254 Fix spelling of getFunky throughout. Make messages uniform.
22255
0fcddd82
EZ
222562002-04-07 Elena Zannoni <ezannoni@redhat.com>
22257
a9c64011 22258 Work around for PR gdb/285:
0fcddd82
EZ
22259 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
22260
16a8534a
EZ
222612002-04-07 Elena Zannoni <ezannoni@redhat.com>
22262
22263 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
22264 instructions file at run time instead of configure time.
22265 Sometimes we run the test in a directory that is not the one we
22266 configured in.
22267 * gdb.asm/configure.in: Delete creation of symlink.
22268 * gdb.asm/configure: Regenerate.
22269
24181d81
JB
222702002-04-05 J. Brobecker <brobecker@gnat.com>
22271
22272 * gdb.gdb/xfullpath.exp: New test, to exercise the new
22273 xfullpath () function.
22274
7cdb7107
DJ
222752002-04-04 Daniel Jacobowitz <drow@mvista.com>
22276
22277 * gdb.asm/Makefile.in: Correct dependencies.
22278
22279 * gdb.asm/powerpc.inc: New file.
22280 * gdb.asm/asm-source.exp: Add PowerPC.
22281 * gdb.asm/configure.in: Likewise.
22282 * gdb.asm/configure: Regenerated.
22283
a7d17088
DJ
222842002-04-04 Daniel Jacobowitz <drow@mvista.com>
22285
22286 * gdb.base/relocate.exp: New file.
22287 * gdb.base/relocate.c: New file.
22288
cd721503
FF
222892002-04-04 Fred Fish <fnf@redhat.com>
22290
22291 * gdb.base/step-test.exp: Update comment regarding stopping in
22292 memcpy/bcopy calls inserted as part of the compiler runtime.
22293
b22ad7a7
MS
222942002-04-04 Michael Snyder <msnyder@redhat.com>
22295
22296 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
22297
5f279fa6
DJ
222982002-04-03 Daniel Jacobowitz <drow@mvista.com>
22299
22300 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
22301 (gdb_expect): Remove $notransfer hack.
22302
dd0fd3ce
DJ
223032002-04-02 Daniel Jacobowitz <drow@mvista.com>
22304
22305 * gdb.c++/classes.exp ("calling method for small class"): Match
22306 updated register output.
22307
1e50cda1
DJ
223082002-03-30 Daniel Jacobowitz <drow@mvista.com>
22309
22310 Fix PR gdb/452
22311 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
22312 when finished. Make gdb_file_cmd send "exec-file" when
22313 appropriate.
22314
24015922
DJ
223152002-03-30 Daniel Jacobowitz <drow@mvista.com>
22316
22317 * gdb.base/attach.exp: Remove extra setup_xfail.
22318
dd7dfd64
MS
223192002-03-26 Michael Snyder <msnyder@redhat.com>
22320
22321 * gdb.base/default.exp: Add tests for dump, append, and restore.
22322 * gdb.base/help.exp: Add tests for dump, append, and restore.
22323 * gdb.base/dump.exp: New file, test dump, append and restore.
22324 * gdb.base/dump.c: New file.
22325
48b2f8d7
MS
223262002-03-27 Michael Snyder <msnyder@redhat.com>
22327
d63a86f8 22328 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
22329 clean-ups in help messages.
22330
05b4d525
FF
223312002-03-26 Fred Fish <fnf@redhat.com>
22332
22333 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
22334 have debugging info for those functions and the compiler uses them
22335 internally to copy structs around.
22336
d7679631
FF
223372002-03-26 Fred Fish <fnf@redhat.com>
22338
22339 * gdb.base/list.exp: Revert the change made yesterday and add note
22340 about why we don't list the default lines for remote targets.
22341
523ac3f9
MS
223422002-03-25 Michael Snyder <msnyder@redhat.com>
22343
22344 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
22345
754b2b8d
FF
223462002-03-25 Fred Fish <fnf@redhat.com>
22347
22348 * gdb.base/list.exp: This test works on remote targets so remove
22349 the short circuit for remote targets. Update copyright.
22350
33c3e192
FF
223512002-03-25 Fred Fish <fnf@redhat.com>
22352
22353 * gdb.base/attach.exp: Fix logic error that was suppressing this
22354 test for all non hppa*-*-hpux* targets, instead of the hp target.
22355 Move comments closer to the suppression point. Also now need to
22356 check that we are running natively.
22357
d43e73ee
MS
223582002-03-22 Michael Snyder <msnyder@redhat.com>
22359
882c8f02
MS
22360 * gdb.base/default.exp: Add test for gcore. Update copyright.
22361 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 22362
04c12f60
FF
223632002-03-06 Fred Fish <fnf@redhat.com>
22364
22365 * gdb.base/funcargs.c: Remove extraneous ';' character.
22366 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
22367
b43df995
MC
223682002-03-04 Michael Chastain <mec@shout.net>
22369
22370 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
22371 accommodate gcc v3 function signature.
22372 * gdb.mi/mi0-var-cmd-exp: Ditto.
22373
92362027
AC
223742002-02-24 Andrew Cagney <ac131313@redhat.com>
22375
22376 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
22377 ``GNU/Linux'' or ``Linux kernel''
22378 * testsuite/gdb.threads/pthreads.c: Ditto.
22379
258ad32d
MC
223802002-02-24 Michael Chastain <mec@shout.net>
22381
22382 * gdb.threads/pthreads.c (thread1): Add a return statement.
22383 (thread2): Likewise.
22384 (foo): Likewise.
22385
04c3b3d4
MC
223862002-02-23 Michael Chastain <mec@shout.net>
22387
22388 * gdb.threads/linux-dp.c (philosopher): Add a return statement
22389 to placate gcc.
22390
5a2a0a20
MC
223912002-02-23 Michael Chastain <mec@shout.net>
22392
22393 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
22394 test "ptype bint". The test passes on all my stabs configurations.
22395
a640f7fc
JB
223962002-02-21 Jim Blandy <jimb@redhat.com>
22397
27924826
JB
22398 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
22399 filename at a time, and watch for the ones we want to see.
22400
a640f7fc
JB
22401 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
22402 types of pointers to prototyped functions.
22403
edcc8c75
AC
224042002-02-20 Andrew Cagney <ac131313@redhat.com>
22405
22406 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
22407 signed, unsigned and straight char.
22408 (padding_char, padding_short, padding_int, padding_long,
22409 padding_long_long, padding_float, padding_double,
22410 padding_long_double): New global variables.
22411 (fill, fill_structs): New functions.
22412
22413 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
22414 for correctly sized writes. Update copyright.
22415 (get_valueof): New procedure.
22416 (get_sizeof): Call get_valueof.
22417 (check_valueof): New procedure.
22418 (check_padding): New procedure.
22419
ac57ea44
MC
224202002-02-20 Michael Chastain <mec@shout.net>
22421
22422 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
22423 to setup_xfail. Document some of the remaining calls.
22424
7a10c941
MC
224252002-02-18 Michael Chastain <mec@shout.net>
22426
22427 * gdb.c++/userdef.exp: Update copyright year.
22428
fb8acdcc
DJ
224292002-02-18 Daniel Jacobowitz <drow@mvista.com>
22430
22431 * gdb.c++/userdef.exp: Test overloaded operators properly.
22432 Remove xfails.
22433
fda6ae12
MS
224342002-02-14 Michael Snyder <msnyder@redhat.com>
22435
22436 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
22437
676a0442
DJ
224382002-02-14 Daniel Jacobowitz <drow@mvista.com>
22439
22440 * gdb.base/a2-run.exp: Check for a remote target properly.
22441 * gdb.base/annota1.exp: Likewise.
22442 * gdb.base/list.exp: Likewise.
22443 * gdb.base/reread.exp: Likewise.
22444 * gdb.base/scope.exp: Likewise.
22445 * gdb.base/shlib-call.exp: Likewise.
22446 * gdb.base/term.exp: Likewise.
22447 * gdb.c++/annota2.exp: Likewise.
22448
78b4f468
RE
224492002-02-13 Richard Earnshaw <rearnsha@arm.com>
22450
22451 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
22452
9a81ba51
MC
224532002-02-10 Michael Chastain <mec@shout.net>
22454
22455 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
22456 (call_after_alloca): Ditto.
22457
004af6c7
DJ
224582002-02-10 Daniel Jacobowitz <drow@mvista.com>
22459
22460 * gdb.base/ending-run.exp: Guard "cont" test with
22461 gdb_skip_stdio_test.
22462
37225f62
JB
224632002-02-06 Jim Blandy <jimb@redhat.com>
22464
22465 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
22466 from here...
22467 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
22468 To here. Disable this test on non-HP platforms. Add big comment.
22469
fe6fdd96
MS
224702002-02-04 Michael Snyder <msnyder@redhat.com>
22471
22472 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
22473 other than d10v and m32r.
22474
036fad3f
RE
224752002-02-02 Richard Earnshaw <rearnsha@arm.com>
22476
22477 * gdb.base/default.exp: Rewrite test patterns to reduce time
22478 taken to match them.
22479
7148ab62
DJ
224802002-01-30 Daniel Jacobowitz <drow@mvista.com>
22481
22482 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
22483 Allow a start function above main.
22484 * gdb.threads/linux-dp.exp: Fix copyright date.
22485
396cc255
DJ
224862002-01-30 Daniel Jacobowitz <drow@mvista.com>
22487
a9c64011
AS
22488 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
22489 (check_philosopher_stack): Check for manager thread before checking
22490 for a just-starting thread.
396cc255 22491
f038d31b
DJ
224922002-01-30 Daniel Jacobowitz <drow@mvista.com>
22493
22494 From Neil Booth <neil@daikokuya.demon.co.uk>:
22495 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
22496 warnings.
22497
b3ff9d9a
FF
224982002-01-21 Fred Fish <fnf@redhat.com>
22499
22500 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
22501 not caller.
22502
39ad761d
JB
225032002-01-21 Jim Blandy <jimb@redhat.com>
22504
22505 * gdb.base/reread.exp: Check that GDB properly re-reads the
22506 executable file when it changes while no inferior is running.
22507
aaf320fa
FF
225082002-01-21 Fred Fish <fnf@redhat.com>
22509
a9c64011
AS
22510 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
22511 optionally accept the "shlib events" variation.
aaf320fa 22512
808a31f5
JB
225132002-01-21 Jim Blandy <jimb@redhat.com>
22514
22515 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
22516 call `fflush' after every `printf', so that the output is produced
22517 at predictable points, regardless of whatever buffering does (or
22518 doesn't) take place.
22519 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
22520 at different points.
22521
4420d5e2
DJ
225222002-01-20 Daniel Jacobowitz <drow@mvista.com>
22523
22524 * gdb.c++/inherit.exp: Update copyright years.
22525 * gdb.c++/method.exp: Likewise.
22526
3e36a0f4
DJ
225272002-01-20 Daniel Jacobowitz <drow@mvista.com>
22528
22529 * gdb.c++/classes.exp: Update for improved v3 support and skipping
22530 artificial methods/arguments.
22531 * gdb.c++/derivation.exp: Likewise.
22532 * gdb.c++/inherit.exp: Likewise.
22533 * gdb.c++/method.exp: Likewise.
22534 * gdb.c++/virtfunc.exp: Likewise.
22535
b4ceaee6
AC
225362002-01-18 Andrew Cagney <ac131313@redhat.com>
22537
22538 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
22539 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
22540 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
22541 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
22542 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
22543 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
22544
ecace851
JB
225452002-01-17 Jim Blandy <jimb@redhat.com>
22546
22547 * gdb.asm/asm-source.exp (info symbol): Take another shot at
22548 anchoring the pattern matching the entry point symbol's name.
22549
375fc983
AC
225502002-01-17 Andrew Cagney <ac131313@redhat.com>
22551
22552 * gdb.base/maint.exp: Update ``maint internal-error'' to match
22553 continue/quit query. Update copyright.
22554
fe6fdd96
MS
225552002-01-14 Michael Snyder <msnyder@redhat.com>
22556
22557 * gdb.base/gcore.exp: Remove extra debugging output.
22558
e017c81f
DJ
225592002-01-13 Daniel Jacobowitz <drow@mvista.com>
22560
22561 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
22562 for slightly dubious v2 mangled string.
22563
37ab3bf8
DJ
225642002-01-13 Daniel Jacobowitz <drow@mvista.com>
22565
22566 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
22567
1bc05c3a 225682002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 22569
1bc05c3a 22570 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 22571
1bc05c3a
JM
22572 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
22573 constructors.
22574 * gdb.c++/derivation.exp: Likewise.
22575 * gdb.c++/templates.exp: Likewise.
22576 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 22577
1bc05c3a
JM
225782002-01-10 Michael Snyder <msnyder@redhat.com>
22579
22580 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 22581
a911c360
MS
225822002-01-08 Michael Snyder <msnyder@redhat.com>
22583
22584 * gdb.base/gcore.exp: New test for generate-core-file command.
22585 * gdb.base/gcore.c: Testcase for above.
22586 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
22587
ea2119ec
JM
225882002-01-08 Jason Merrill <jason@redhat.com>
22589
22590 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
22591
68203136
FF
225922002-01-07 Fred Fish <fnf@redhat.com>
22593
22594 * gdb.c++/overload.exp: Remove unconditional xfails for:
22595 print foo_instance1.overloadargs(1)
22596 print foo_instance1.overloadargs(1, 2)
22597 print foo_instance1.overloadargs(1, 2, 3)
22598 print foo_instance1.overloadargs(1, 2, 3, 4)
22599 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
22600 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
22601 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
22602 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
22603 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
22604 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
22605 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
22606 print foo_instance1.overload1arg()
22607 print foo_instance1.overload1arg((char)arg2)
22608 print foo_instance1.overload1arg((signed char)arg3)
22609 print foo_instance1.overload1arg((unsigned char)arg4)
22610 print foo_instance1.overload1arg((int)arg7)
22611 print foo_instance1.overload1arg((unsigned int)arg8)
22612 print foo_instance1.overload1arg((float)arg11)
22613 print foo_instance1.overload1arg((double)arg12)
d63a86f8 22614
21b9b5b1
MS
226152002-01-07 Michael Snyder <msnyder@redhat.com>
22616
22617 * gdb.base/huge.exp: New test. Print a very large target data object.
22618 (skip_huge_test): New test variable. Define if you want to skip this
22619 test. The test reads an 8 megabyte data object from the target, so it
22620 might be very time consuming on remote targets with a slow connection.
22621 * gdb.base/huge.c: New file. Test case for above.
22622
725f922e
FF
226232002-01-07 Fred Fish <fnf@redhat.com>
22624
22625 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
22626 g_instance.bfoo, and g_instance.cfoo.
22627
889bf7c5 226282002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 22629
889bf7c5
PA
22630 * gdb.base/break.c (multi_line_if_conditional): New function.
22631 (multi_ilne_while_conditional): Likewise.
22632 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
22633 IF or WHILE condition puts the breakpoint at the start of
22634 the condition.
f286b2c3 22635
634d57ec
JL
22636 * gdb.base/selftest.exp (backtrace through signal handler): Remove
22637 hppa*-*-hpux* expected failure.
22638 * gdb.base/structs.exp (do_function_calls): Similarly.
22639
22640 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
22641 watchpoints.
22642
9fbfe2dc
AC
226432002-01-06 Andrew Cagney <ac131313@redhat.com>
22644
22645 Fix PR gdb/66.
22646 * gdb.base/structs.exp: Replace skip for a29k with skip for
22647 gdb,cannot_call_functions.
22648 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
22649 * gdb.base/callfuncs.exp: Ditto.
22650 * gdb.base/call-rt-st.exp: Ditto.
22651 * gdb.base/call-strs.exp: Ditto.
22652 * gdb.base/callfwmall.exp: Ditto.
22653 * gdb.base/scope.exp: Obsolete xfail a29k.
22654 * gdb.c++/misc.exp: Ditto.
22655 * gdb.c++/cplusfuncs.exp: Ditto.
22656 * gdb.base/ptype.exp: Ditto.
22657 * gdb.base/printcmds.exp: Ditto.
22658 * gdb.base/opaque.exp: Ditto.
22659 * gdb.base/list.exp: Ditto.
22660 * gdb.base/funcargs.exp: Ditto.
22661 * gdb.base/default.exp: Ditto.
22662
8ddad156
MS
226632002-01-04 Michael Snyder <msnyder@redhat.com>
22664
ca4976a6 22665 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
22666 * gdb.base/maint.exp: Add tests for maint info sections options.
22667
1b074332
JL
22668Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
22669
22670 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
22671
7d159115
CV
226722001-12-20 Corinna Vinschen <vinschen@redhat.com>
22673
22674 * gdb.asm/arm.inc: New file.
22675 * gdb.asm/asm-source.exp: Add arm targets.
22676 * gdb.asm/configure.in: Ditto.
22677 * gdb.asm/configure: Recreated from configure.in.
22678
8fb87725
JL
22679Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
22680
afabe08c
JL
22681 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
22682 with HP's compiler.
22683 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
22684 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
22685 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
22686 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
22687
22688 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
22689 either HP's compilers or GCC.
22690
db521deb
JL
22691 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
22692 a SIGBUS or SIGSEGV.
22693
22694 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
22695
22696 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
22697 can be compiled with either HP's compiler or GCC.
22698
cfa88ab7
JL
22699 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
22700 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
22701 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
22702
ca344dff
JL
22703 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
22704 to match current gdb output. Update due to using auto-solib-limit
22705 for limiting instead of overloading auto-solib-add.
22706 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
22707 test program.
22708
3f3c6e55 22709 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
22710 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
22711 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
22712 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
22713 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
22714 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
22715 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
22716 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
22717 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
22718 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
22719 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
22720 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
22721 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 22722
8fb87725
JL
22723 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
22724 a SIGTRAP to the inferior.
22725
cf599fa7
CV
227262001-12-19 Corinna Vinschen <vinschen@redhat.com>
22727
22728 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
22729 Substitute call to target_link by call to gdb_compile.
22730
2cd045cd
JL
22731Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
22732
a9c64011
AS
22733 * gdb.base/break.exp: Fix HP specific search string when testing
22734 backtracing in a called function.
2cd045cd 22735
a9c64011
AS
22736 * gdb.base/constvars.exp: Only set lang to C++ if we're
22737 compiling the test with HP's compilers.
22738 * gdb.base/volatile.exp: Similarly.
2cd045cd 22739
99ebe9ac
JB
227402001-12-19 Jim Blandy <jimb@redhat.com>
22741
22742 * gdb.base/printcmds.exp: Expect the null character to be printed
22743 as '\0', and the '\013' to be printed as '\v'.
22744 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
22745 * gdb.base/setvar.exp: Same.
22746
b9891b29
JB
227472001-12-17 Jim Blandy <jimb@redhat.com>
22748
0eba65ab
JB
22749 * gdb.base/completion.exp: Rather than completing very long
22750 filenames, which can make the readline library produce output we
22751 don't recognize, cd to the directory first, and then complete
22752 using nice, short relative paths.
22753
6970b5b1
JB
22754 * gdb.base/completion.exp: On some systems, there is, in fact, a
22755 variable named `b' in scope, since GDB treats all static
a9c64011
AS
22756 variables as being in scope. So use `no_var_named_this'
22757 instead of `b'.
6970b5b1 22758
b9891b29 22759 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 22760 can't find the core file's registers as a failure.
b9891b29 22761
e6ccd35f
JSC
227622001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
22763
a9c64011
AS
22764 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
22765 test expect string more specific.
e6ccd35f 22766
105ba819
CV
227672001-12-13 Corinna Vinschen <vinschen@redhat.com>
22768
22769 * gdb.asm/asm-source.exp: Add support for xstormy16.
22770 * gdb.asm/configure.in: Ditto.
22771 * gdb.asm/configure: Rebuild.
22772 * gdb.asm/xstormy16.inc: New file.
22773
e9e79dd9
FF
227742001-12-10 Fred Fish <fnf@redhat.com>
22775
22776 * gdb.base/maint.exp: Update to match changes in type dumping code.
22777
347dc97d
JB
227782001-12-10 Jim Blandy <jimb@redhat.com>
22779
22780 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
22781 matching the entry point symbol's name at the beginning of the
22782 line.
347dc97d 22783
5178b9d6
DJ
227842001-12-07 Daniel Jacobowitz <drow@mvista.com>
22785
22786 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
22787 gdb.c++/inherit.exp, gdb.c++/method.exp,
22788 gdb.c++/namespace.exp, gdb.c++/templates.exp,
22789 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
22790 and class layout support.
22791
af890c52
DJ
227922001-12-07 Daniel Jacobowitz <drow@mvista.com>
22793
22794 * gdb.c++/classes.exp: Add test for static member function.
22795 * gdb.c++/misc.cc: Add class with static member function.
22796
7a345fb3
JB
227972001-12-07 Jim Blandy <jimb@redhat.com>
22798
f2e54a80 22799 If GDB says it can't find the struct the function returned, report
8032bf31
JB
22800 those tests as `unsupported'.
22801 * gdb.base/call-rt-st.exp (print_struct_call): New function.
22802 Rewrite subsequent tests to use it.
22803
22804 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
22805 those tests as `unsupported'.
22806 * gdb.base/structs.exp (call_struct_func): New function.
22807 (do_function_calls): Use call_struct_func to call the functions
22808 returning structs.
22809
0bc69509
JB
22810 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
22811 whether functions are prototyped or not, so we can't possibly pass
22812 arguments to t_float_values2 properly.
22813
7a345fb3
JB
22814 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
22815 value of `timeout' for targets other than the mips*tx39-*.
22816
edb6ede1
MS
228172001-12-06 Michael Snyder <msnyder@redhat.com>
22818
d63a86f8 22819 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
22820 and detect whether the start symbol has a leading underscore.
22821
2d842f13
JB
228222001-12-04 Jim Blandy <jimb@redhat.com>
22823
22824 * gdb.base/completion.exp: Clarify indentation.
22825
68550daf
JB
228262001-12-03 Jim Blandy <jimb@redhat.com>
22827
22828 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
22829 variables on the S/390, not `.word'.
22830
cd5195a8
JB
228312001-11-30 Jim Blandy <jimb@redhat.com>
22832
22833 Add assembly-source tests for s390-ibm-linux.
22834 * gdb.asm/s390.inc: New file.
22835 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
22836 the S/390 architecture.
a9c64011 22837 * gdb.asm/configure: Regenerated.
cd5195a8 22838
ca9efc90
MS
228392001-11-30 Michael Snyder <msnyder@redhat.com>
22840
22841 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
22842 next, info source, info sources, info line, global and static
22843 variables, and static functions.
22844 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
22845 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
22846 * gdb.asm/asmsrc1.s: Add a static function and some variables.
22847 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
22848 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
22849 (gdbasm_leave): Restore frame pointer.
22850 (gdbasm_startup): Copy stack set-up from crt0.S.
22851
d0e66976
FN
228522001-11-26 Fernando Nasser <fnasser@redhat.com>
22853
22854 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
22855 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
22856 to a local (non-static) variable. Copy tstruct.a to a static buffer
22857 and return a pointer to that buffer.
22858 * gdb.base/callfwmall.c (t_structs_a): Ditto.
22859
e2334072
MK
228602001-11-24 Mark Kettenis <kettenis@gnu.org>
22861
22862 * gdb.asm/configure.in: Fix recognition of ix86 target.
22863 * gdb.asm/configure: Regenerate.
22864
756caa3d
MS
228652001-11-21 Michael Snyder <msnyder@redhat.com>
22866
22867 * gdb.asm/sparc.inc: New file.
22868 * gdb.asm/asm-source.exp: Recognize sparc target.
22869 * gdb.asm/configure.in: Recognize sparc target.
22870 * gdb.asm/configure: Regenerate.
d63a86f8 22871
9a4d72d5
MS
228722001-11-21 Michael Snyder <msnyder@redhat.com>
22873
22874 * gdb.asm/m32r.inc: New file.
22875 * gdb.asm/asm-source.exp: Recognize m32r target.
22876 * gdb.asm/configure.in: Recognize m32r target.
22877 * gdb.asm/configure: Regenerate.
22878
a773d1cd
MS
228792001-11-20 Michael Snyder <msnyder@redhat.com>
22880
017ac23d
MS
22881 * gdb.asm/i386.inc: New file.
22882 * gdb.asm/asm-source.exp: Recognize ix86 target.
22883 * gdb.asm/configure.in: Recognize ix86 target.
22884 * gdb.asm/configure: Regenerate.
22885
a773d1cd
MS
22886 * gdb.c++/namespace.exp: Fix quotes in output messages.
22887
bb632afb
MS
228882001-11-14 Michael Snyder <msnyder@redhat.com>
22889
25d559ca 22890 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
22891 qualifier in a type cast expression, to designate an address
22892 in the instruction space (Harvard architecture).
22893
4749e309
MS
228942001-11-13 Michael Snyder <msnyder@redhat.com>
22895
22896 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
22897 Tests for expressions using 'const' and 'volatile'.
22898
25050984
CV
228992001-11-13 Corinna Vinschen <vinschen@redhat.com>
22900
22901 * gdb.asm/asm-sources.exp: Allow defining linker flags.
22902
1902c51f
DJ
229032001-11-12 Daniel Jacobowitz <drow@mvista.com>
22904
22905 * lib/mi-support.exp (mi_run_to_helper): Move comments
22906 outside of gdb_expect.
22907
dcf95b47
DJ
229082001-11-11 Daniel Jacobowitz <drow@mvista.com>
22909
22910 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
22911 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
22912 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
22913 mi0_run_to): New functions.
22914 * gdb.mi/mi-simplerun.exp: Use them.
22915 * gdb.mi/mi0-simplerun.exp: Likewise.
22916 * gdb.mi/mi-var-cmd.exp: Likewise.
22917 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 22918
45b074e1
AC
229192001-11-10 Andrew Cagney <ac131313@redhat.com>
22920
22921 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
22922 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
22923
bf50d346
AC
229242001-11-09 Andrew Cagney <ac131313@redhat.com>
22925
22926 * gdb.base/restore.exp: Include $expected value in restored test
22927 message.
22928
9383332c
AC
229292001-11-09 Andrew Cagney <ac131313@redhat.com>
22930
22931 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
22932 implemented.
22933
db62520a
MS
229342001-11-08 Michael Snyder <msnyder@redhat.com>
22935
22936 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
22937 Add pass/fail message for stop at breakpoint in call dummy function.
22938
b5703437
MS
229392001-11-07 Michael Snyder <msnyder@redhat.com>
22940
d63a86f8
RM
22941 * gdb.c++/templates.exp (test_template_breakpoints):
22942 If we get an overload menu, but it does not match what
760f6330 22943 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
22944 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
22945 making the whitespace optional. Argument for "new" may be
22946 "unsigned" as well as "unsigned int/long".
d63a86f8 22947 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
22948 making the whitespace optional. Also replace "(void) with
22949 "((void|)), making the keyword "void" optional.
d63a86f8 22950 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
22951 making the whitespace optional. Also replace "(void) with
22952 "((void|)), making the keyword "void" optional.
3bf40917
MS
22953 * gdb.base/callfuncs.c (t_float_values): This function must
22954 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 22955 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
22956 can be tested against both cases. Usually one case involves
22957 promotion of float to double, while the other does not.
22958 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
22959 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
22960 includes a stack frame for "start".
22961
c8ab4e6d
JB
229622001-11-05 Jim Blandy <jimb@redhat.com>
22963
22964 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
22965 pointers are 32 bits long, and that offsets of relocs are always
22966 stored in the data (REL-style), and not in the reloc entry itself
22967 (RELA-style).
22968 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
22969 stabs.
22970
3f08ced9
MS
229712001-11-01 Michael Snyder <msnyder@redhat.com>
22972
22973 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
22974 and regular expression operators by using quoting.
22975
cbfa24cd
MS
229762001-10-31 Michael Snyder <msnyder@redhat.com>
22977
22978 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
22979 depending on what the symbol table contains.
22980 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
22981 the output of the ptype command. Similarly, accept both "const &"
22982 and "const&".
22983
aaa68313
CV
229842001-10-31 Corinna Vinschen <vinschen@redhat.com>
22985
22986 * gdb.base/miscexprs.c (main): Add usage of preprocessor
22987 symbol `STORAGE' to allow to choose the storage class of
22988 the local datastructures.
22989 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
22990 compiler directive.
22991
91740388
MS
229922001-10-30 Michael Snyder <msnyder@redhat.com>
22993
22994 * gdb.base/jump.exp: Allow it to run for all targets.
22995
1b7c05e7
CV
229962001-10-29 Corinna Vinschen <vinschen@redhat.com>
22997
22998 * gdb.base/call-ar-st.c (print_double_array): Match for loop
22999 with new double_array size.
23000 (main): Change storage class of all local variables to static.
23001 Reduce size of double_array to 9.
23002 * gdb.base/call-ar-st.exp: Increase timeout value.
23003 Change expected output for double array to match new size in
23004 call-ar-st.c.
23005
36a22261
CV
230062001-10-29 Corinna Vinschen <vinschen@redhat.com>
23007
23008 * gdb.base/ending-run.exp: Create identical output when passing
23009 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 23010 Stormy16 target.
36a22261 23011
92b8ae91
MK
230122001-10-28 Mark Kettenis <kettenis@gnu.org>
23013
23014 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
23015 that we catch the expected failure under Linux/x86.
23016
cb135b83
OF
230172001-10-29 Orjan Friberg <orjanf@axis.com>
23018
23019 * gdb.base/setvar.exp: Escape curly braces.
23020 * gdb.stabs/weird.exp: Ditto.
23021
6884aa54
DJ
230222001-10-27 Daniel Jacobowitz <drow@mvista.com>
23023
23024 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
23025 * gdm.mi/mi0-hack-cli.exp: Likewise.
23026
0398c9aa
AC
230272001-10-25 Andrew Cagney <ac131313@redhat.com>
23028
23029 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
23030 messages.
23031
d20bf2e8
AC
230322001-10-21 Andrew Cagney <ac131313@redhat.com>
23033
23034 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
23035 checking MI enabled.
23036
03dd63aa
CV
230372001-10-09 Corinna Vinschen <vinschen@redhat.com>
23038
23039 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
23040
1d9d99f3
FCE
230412001-10-04 Frank Ch. Eigler <fche@redhat.com>
23042
23043 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
23044 if gdb child process crashes, just signal an error.
23045
838ae6c4
JB
230462001-10-02 Jim Blandy <jimb@redhat.com>
23047
23048 * lib/gdb.exp (test_xfail_format): Simplify.
23049
23050 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
23051 front of the variable name `format'. Simplify `if'.
23052
8f0cbc1c
DJ
230532001-10-01 Daniel Jacobowitz <drow@mvista.com>
23054
23055 * gdb.threads/pthreads.exp: Wait for output and delay
23056 before sending ^C.
23057
1f08dafd
DJ
230582001-10-01 Daniel Jacobowitz <drow@mvista.com>
23059
23060 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
23061 some incorrect output instead of timing out.
23062 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
23063
674f90ff
CV
230642001-09-28 Corinna Vinschen <vinschen@redhat.com>
23065
23066 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
23067 check to allow additional `int'.
23068
9b284272
DJ
230692001-09-27 Daniel Jacobowitz <drow@mvista.com>
23070
23071 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
23072 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
23073
b55a4771
MS
230742001-09-27 Michael Snyder <msnyder@redhat.com>
23075
23076 * lib/gdb.exp (test_debug_format): New proc.
23077 (setup_xfail_format): Use new proc test_debug_format.
23078 * gdb.base/constvars.exp (local_compiler_xfail_check): New
23079 proc; use new service proc test_debug_format.
23080 Replace all other "gcc_compiled" tests with this test.
23081 * gdb.base/volatile.exp (local_compiler_xfail_check): New
23082 proc; use new service proc test_debug_format.
23083 Replace all other "gcc_compiled" tests with this test.
23084
230852001-09-27 Michael Snyder <msnyder@redhat.com>
23086
23087 * gdb.base/cvexpr.exp: New file.
23088 * gdb.base/cvexpr.c: New file
23089 Test for expressions using const and volatile keywords.
23090
4e6667ac
CV
230912001-09-26 Corinna Vinschen <vinschen@redhat.com>
23092
23093 * gdb.base/constvars.exp: Check for different orders of keywords
23094 and additional "int" strings in output.
23095
4f337972
AC
230962001-09-22 Andrew Cagney <ac131313@redhat.com>
23097
23098 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
23099 responses from "help maint".
23100
2015650d
FCE
231012001-09-19 Frank Ch. Eigler <fche@redhat.com>
23102
23103 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
23104 to localhost:NNN instead of :NNN, in case Xvfb is listening
23105 only on TCP.
23106
f3bcedc1
CV
231072001-09-19 Corinna Vinschen <vinschen@redhat.com>
23108
23109 * gdb.base/recurse.exp: When checking leaving the watchpoint
23110 scope, recognize when gdb is in function's epilogue and pass.
23111
6b819c92
KS
231122001-09-18 Keith Seitz <keiths@redhat.com>
23113
23114 * lib/insight-support.exp (_gdbtk_export_target_info): Add
23115 support for running tests against sid targets.
23116 (gdbtk_done): Ditto.
23117
a10c9419
CV
231182001-09-18 Corinna Vinschen <vinschen@redhat.com>
23119
23120 * gdb.base/ending-run.c (main): Set stdout buffersize
23121 to the same reasonable value for any target.
23122 * gdb.base/ending-run.exp: Add a regular expression
23123 to make testsuite happy on Sanyo Stormy16 target.
23124
739d0d99
CV
231252001-09-17 Corinna Vinschen <vinschen@redhat.com>
23126
23127 * gdb.base/display.c (do_loops): Add float variable `f'.
23128 Increment f in loop.
23129 * gdb.base/display.exp: Increment timeout by 60 seconds.
23130 Change float display test to use variable `f'.
23131
1b8947f0
JB
231322001-09-17 Jim Blandy <jimb@redhat.com>
23133
23134 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
23135 overflowing the limited breakpoint tables on some ROM monitors
23136 (like the ROM68K).
23137
9890ac81
FCE
231382001-09-15 Frank Ch. Eigler <fche@redhat.com>
23139
23140 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
23141 the "-ac" (disable access control) flag.
23142
6db765ea
JH
231432001-08-30 Jeff Holcomb <jeffh@redhat.com>
23144
23145 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
23146 ints.
23147
4c32cc04
KS
231482001-08-30 Keith Seitz <keiths@redhat.com>
23149
23150 * lib/gdb.exp: Move all insight-related functionality into
23151 separate file.
23152 * lib/insight-support.exp: New file.
23153
8d6e6f81
FCE
231542001-08-29 Frank Ch. Eigler <fche@redhat.com>
23155
23156 * config/sid.exp (sid_start): Never set sid verbosity; disable
23157 expect_background {} that consumed its stdout; tolerate </dev/null.
23158 Attempt to set endianness override in "sid" protocol mode. Cleanup.
23159
6a90e1d0
AC
231602001-08-18 Andrew Cagney <ac131313@redhat.com>
23161
23162 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
23163 CLI jump command to start it.
23164 (mi_run_to_main): Fail immediatly when unexpected output.
23165
1759b3c3
AC
231662001-08-18 Andrew Cagney <ac131313@redhat.com>
23167
23168 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
23169 beginning of function. Fix PR gdb/191.
23170
61d11d80
FCE
231712001-08-16 Frank Ch. Eigler <fche@redhat.com>
23172
23173 * config/sid.exp (sid_start): Don't warn if we cannot figure out
23174 what to force sid endianness to.
23175
942a4df2
KS
231762001-08-15 Keith Seitz <keiths@redhat.com>
23177
23178 * lib/gdb.exp (gdbtk_start): Don't set environment
23179 variables for TCL_LIBRARY and friends. Insight will
23180 now figure these out for itself.
23181
0521c418
MS
231822001-08-02 Michael Snyder <msnyder@redhat.com>
23183
23184 * gdb.base/completion.exp: Remove the symbol "a64l" from
23185 the expect string; this is target-specific, and not related
23186 to what is being tested.
23187
74a9a58a
DB
231882001-08-02 Dave Brolley <brolley@redhat.com>
23189
23190 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
23191
c70819fa
MS
231922001-07-25 Michael Snyder <msnyder@redhat.com>
23193
c2b8fa57
MS
23194 * gdb.base/consecutive.exp: New file. Test stepping over
23195 breakpoints on consecutive instructions.
23196 * gdb.base/consecutive.c: New file.
23197
c70819fa
MS
23198 * gdb.base/call-rt-st.exp: Use double-backslash to quote
23199 curly braces in regular expressions.
23200
2b1a1355
MS
232012001-07-25 Michael Snyder <msnyder@redhat.com>
23202
23203 * gdb.base/ending-run.exp: Accept "Program exited normally" as
23204 legitimate output from stepping out of main.
23205
413eca6f
KS
232062001-07-22 Keith Seitz <keiths@redhat.com>
23207
23208 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
23209 the empty string, do not run the tests.
23210
7e5a9322
SC
232112001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23212
23213 * gdb.base/long_long.exp: Detect size of pointer. Take into
23214 account 2-byte pointers when testing for p/a results.
23215
de58f10f
SC
232162001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23217
d63a86f8 23218 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
23219 and defined to 1K for m68hc11.
23220 (random_data): Reduce table to 1K for embedded platforms (68hc11).
23221 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
23222 (sizeof_random_data): New variable to tell the size of the data table;
23223 don't test past this size; always run to main.
23224
d6f5fea1
SC
232252001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23226
23227 * gdb.base/return2.exp: return of long long and double fails for
23228 68HC11; don't execute these tests on that platform.
23229 * gdb.base/return.exp: Return of a double fails for 68hc11.
23230
c477543d
SC
232312001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23232
23233 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
23234 tests that print a float.
23235 * call-rt-st.exp: Likewise.
23236
63cf1c79
MK
232372001-07-12 Mark Kettenis <kettenis@gnu.org>
23238
23239 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
23240 running this test on Linux.
23241
112f9ab5
MC
232422001-06-24 Michael Chastain <chastain@redhat.com>
23243
23244 * gdb.base/arithmet.exp: Remove some tests to make all test names
23245 unique.
23246
4970cb0f
MS
232472001-07-03 Michael Snyder <msnyder@redhat.com>
23248
23249 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
23250 the output of the ptype command.
23251
d85da69f
MS
232522001-07-02 Michael Snyder <msnyder@redhat.com>
23253
4c8a82de
MS
23254 * gdb.base/completion.exp: Don't assume that break.c is the only
23255 source file that may contain functions named "marker".
d85da69f
MS
23256 * gdb.base/corefile.exp: Quote the curly braces in regexp.
23257
8afc772b
AC
232582001-06-28 Andrew Cagney <ac131313@redhat.com>
23259
23260 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
23261 of files to delete.
23262
23263 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
23264 * gdb.disasm/h8300s.exp: New file.
23265 gdb.disasm/h8300s.s: Likewise.
23266
cff22675
AC
232672001-06-27 Andrew Cagney <ac131313@redhat.com>
23268
23269 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
23270 empty breakpoint tables.
23271
68c81b54
AC
232722001-06-25 Andrew Cagney <ac131313@redhat.com>
23273
23274 * lib/mi-support.exp: Update args=... part of stop-reason
23275 patterns. Accept either a list or a tuple.
23276
2dd62704
AC
232772001-06-23 Andrew Cagney <ac131313@redhat.com>
23278
23279 * lib/mi-support.exp: Remove local emacs variable defining
23280 change-log-default-name.
23281
b4127474
MC
232822001-06-22 Michael Chastain <chastain@redhat.com>
23283
23284 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
23285 This is operationally compatible with the previous version.
23286
8dbfb380
JB
232872001-06-13 Jim Blandy <jimb@redhat.com>
23288
23289 * lib/gdb.exp (gdb_test): Doc fix.
23290
f2d8c86d
MC
232912001-06-10 Michael Chastain <chastain@redhat.com>
23292
23293 * gdb.base/exprs.exp: Remove a duplicate test.
23294
81564d34
JB
232952001-06-06 Jim Blandy <jimb@redhat.com>
23296
23297 * gdb.base/return2.exp (main): Use values to test float and double
23298 returns that are not NaN's, to avoid being confused by IEEE
23299 comparison rules.
23300
da55addb
MS
233012001-06-04 Michael Snyder <msnyder@redhat.com>
23302
23303 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 23304 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
23305 rather than wait for 12 more tests to time out.
23306
42c65987
JB
233072001-06-06 Jim Blandy <jimb@redhat.com>
23308
b18bced9 23309 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 23310 Don't forget to match the GDB prompt.
b18bced9 23311
42c65987
JB
23312 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
23313
5b41e5f0
JB
233142001-06-04 Jim Blandy <jimb@redhat.com>
23315
23316 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
23317 command.
23318
015e046f
KB
233192001-05-31 Kevin Buettner <kevinb@redhat.com>
23320
23321 * gdb.base/annota1.exp (info break): Match four or more spaces
23322 after "Address".
23323
fb1ffbbe
MC
233242001-05-31 Michael Chastain <chastain@redhat.com>
23325
23326 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
23327 (dm_type_int_star): Likewise.
23328 (dm_type_long_star): Likewise.
23329 (dm_type_void_star): Likewise.
23330
5ea2a32c
KB
233312001-05-29 Kevin Buettner <kevinb@redhat.com>
23332
23333 * gdb.base/completion.exp (INPUTRC): Set this environment variable
23334 to a known value in order to get consistent results regardless
23335 of the setting of INPUTRC or the presence or contents of .inputrc.
23336
ae23c492
MS
233372001-05-24 Michael Snyder <msnyder@redhat.com>
23338
ac55707e
MS
23339 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
23340 Don't require that the main thread and the manager thread are the
23341 first in the list.
23342
ae23c492
MS
23343 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
23344 debugging. If test fails, issue an "unsupported" not a "fail".
23345
400071f1
JB
233462001-05-24 Jim Blandy <jimb@redhat.com>
23347
23348 Don't assume that short is shorter than int.
23349 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
23350 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 23351 this isn't true.
400071f1
JB
23352 ("print unsigned char == (~0)"): Add test that verifies that ~0,
23353 an int, is not equal to ~0 stored in an unsigned char. This tests
23354 the same thing that the previous test meant to, but works on
23355 16-bit machines, too.
23356 ("print unsigned char != (~0)"): Same test, complemented.
23357
0816a3e5
MS
233582001-05-24 Michael Snyder <msnyder@redhat.com>
23359
23360 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 23361 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
23362 and prevents dejagnu getting out of step.
23363
f6dc23a9
KB
233642001-05-23 Kevin Buettner <kevinb@redhat.com>
23365
23366 * gdb.base/finish.exp (finish_void): Revise pattern for
23367 stopping on the call statement to not permit stopping at
23368 the start of the instructions comprising the call sequence.
23369
7dbd117d
MC
233702001-05-19 Michael Chastain <chastain@redhat.com>
23371
23372 * gdb.base/callfuncs.exp: Make all test names unique.
23373 * gdb.base/commands.exp: Make all test names unique.
23374 * gdb.base/condbreak.exp: Make all test names unique.
23375 * gdb.base/dbx.exp: Make all test names unique.
23376 * gdb.base/default.exp: Make all test names unique.
23377 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
23378 and TIMEOUT messages to their corresponding PASS message.
23379 * gdb.base/ending-run.exp: Make all test names unique.
23380 * gdb.base/long_long.exp: Remove duplicate test.
23381
6b0b0a9e
KB
233822001-05-21 Kevin Buettner <kevinb@redhat.com>
23383
23384 * gdb.base/finish.exp (finish_void): Allow "finish" command to
23385 stop on the call statement as well as the statement after the
23386 call.
23387
2caa35cb
MS
233882001-05-21 Michael Snyder <msnyder@redhat.com>
23389
23390 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
23391
40713331
EZ
233922001-05-10 Elena Zannoni <ezannoni@redhat.com>
23393
a9c64011
AS
23394 * gdb.base/completion.exp: Revamp test. Make it execute on all
23395 platforms.
40713331 23396
c2c1be8d
EZ
233972001-05-10 Elena Zannoni <ezannoni@redhat.com>
23398
a9c64011
AS
23399 * config/gdbserver.exp (gdb_load): Handle the case
23400 in which the arguments to gdbserver are given in the
23401 baseboard configuration file.
23402 Also handle the case in which the server needs to do a
23403 load.
2c9cd303 23404
9671de48
KS
234052001-05-07 Keith Seitz <keiths@cygnus.com>
23406
a9c64011
AS
23407 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
23408 set up the display for testing.
23409 (gdbtk_start): Convert all paths to paths that tcl will like.
23410 Export target information to environment.
23411 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
23412 necessary.
23413 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
23414 (to_tcl_path): New proc to convert a given pathname into
23415 a path acceptible as an argument to a tcl command.
23416 (_gdbtk_export_target_info): New proc to export target info
23417 into the environment for gdbtk testing.
23418 (gdbtk_done): New proc to signal end-of-test.
9671de48 23419
5a360f47
JB
234202001-05-06 Jim Blandy <jimb@redhat.com>
23421
23422 * restore.c: Make the code of caller0 correspond to its comment.
23423
66c756c6
MS
234242001-05-03 Michael Snyder <msnyder@redhat.com>
23425
23426 * config/sid.exp (gdb_target_sid): Check for error messages.
23427 On error or timeout, don't make expect exit (which will terminate
23428 all subsequent tests); instead just make gdb exit.
d63a86f8 23429 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
23430 return a negative value.
23431
a966fde5
JB
234322001-04-24 Jim Blandy <jimb@redhat.com>
23433
851c18e0
JB
23434 * gdb.c++/templates.exp: If we see the prompt for the overload
23435 list, but we haven't recognized any of the longer patterns,
23436 arrange for this test to fail, not hang.
23437
a966fde5
JB
23438 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
23439 variations.
23440
db144853
MC
234412001-04-22 Michael Chastain <chastain@redhat.com>
23442
23443 * gdb.c++/local.exp: Use the 'runto' library function.
23444 * gdb.c++/namespace.exp: Likewise.
23445 * gdb.c++/overload.exp: Likewise.
23446
3207ec21
KB
234472001-03-26 Kevin Buettner <kevinb@redhat.com>
23448
23449 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
23450 * gdb.base/step-line.exp: New file. Test step/next in presence of
23451 #line directives.
23452 * gdb.base/step-line.c: New file. Test program for the above.
23453 * gdb.base/step-line.inp: New file. We pretend that this file has
23454 been transformed by some other tool into step-line.c.
23455
13b57657
JB
234562001-03-21 Jim Blandy <jimb@redhat.com>
23457
23458 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
23459 unmangled operator names.
23460
754cbe1c
JB
234612001-03-20 Jim Blandy <jimb@redhat.com>
23462
23463 * gdb.threads/linux-dp.exp: Recognize an additional message
23464 generated by GDB when it doesn't understand how to debug threads
23465 on the target system.
23466
177495c9
AC
234672001-03-19 Andrew Cagney <ac131313@redhat.com>
23468
23469 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
23470
f266096b
MC
234712001-03-12 Michael Chastain <chastain@redhat.com>
23472
23473 * gdb.c++/derivation.exp: Use the 'runto' library function.
23474
cac3c2ff
MC
234752001-03-12 Michael Chastain <chastain@redhat.com>
23476
23477 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
23478
b6c11a24
MC
234792001-02-24 Michael Chastain <chastain@redhat.com>
23480
23481 * gdb.c++/ref-types.exp: Change handwritten code to library
23482 function 'runto'.
23483
6bae5bce
OF
234842001-03-16 Orjan Friberg <orjanf@axis.com>
23485
23486 * gdb.base/signals.exp: Set count to 0 explicitly.
23487
0015fd9a
MS
234882001-03-15 Mark Salter <msalter@redhat.com>
23489
23490 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
23491 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
23492 (gdb_load): Add support for additional target_info: gdb_download_size
23493 and gdb_load_timeout.
0015fd9a 23494
fc33412a
DT
23495Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
23496
23497 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
23498 file -- to prevent failing when the compile fails but we have no
23499 intention of running the tests anyway.
fc33412a
DT
23500
23501 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
23502 tests if set.
23503
23504 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 23505 integers.
fc33412a
DT
23506
23507 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
23508 * gdb.c++/namespace.exp: Ditto.
23509
115f06de
OF
235102001-03-07 Orjan Friberg <orjanf@axis.com>
23511
23512 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
23513 * gdb.base/pointers.exp: Relax pattern match of decimals.
23514
b6ba6518
KB
235152001-03-06 Kevin Buettner <kevinb@redhat.com>
23516
23517 * Makefile.in, config/abug.exp, config/cfdbug.exp,
23518 config/cpu32bug.exp, config/dve.exp, config/est.exp,
23519 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
23520 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
23521 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
23522 config/sh.exp, config/sid.exp, config/slite.exp,
23523 config/sparclet.exp, config/udi.exp, config/unknown.exp,
23524 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
23525 config/vxworks.exp, config/vxworks29k.exp,
23526 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
23527 gdb.base/all-bin.exp, gdb.base/annota1.exp,
23528 gdb.base/arithmet.exp, gdb.base/assign.exp,
23529 gdb.base/async.exp, gdb.base/attach.exp,
23530 gdb.base/bitfields.exp, gdb.base/bitops.exp,
23531 gdb.base/break.exp, gdb.base/call-ar-st.exp,
23532 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
23533 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
23534 gdb.base/commands.exp, gdb.base/completion.exp,
23535 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
23536 gdb.base/constvars.exp, gdb.base/corefile.exp,
23537 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
23538 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
23539 gdb.base/ending-run.exp, gdb.base/environ.exp,
23540 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
23541 gdb.base/finish.exp, gdb.base/foll-exec.exp,
23542 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
23543 gdb.base/funcargs.exp, gdb.base/help.exp,
23544 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
23545 gdb.base/logical.exp, gdb.base/long_long.exp,
23546 gdb.base/maint.exp, gdb.base/mips_pro.exp,
23547 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
23548 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
23549 gdb.base/pointers.exp, gdb.base/printcmds.exp,
23550 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
23551 gdb.base/regs.exp, gdb.base/relational.exp,
23552 gdb.base/remote.exp, gdb.base/reread.exp,
23553 gdb.base/restore.exp, gdb.base/return2.exp,
23554 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
23555 gdb.base/selftest.exp, gdb.base/setshow.exp,
23556 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
23557 gdb.base/sigall.exp, gdb.base/signals.exp,
23558 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
23559 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
23560 gdb.base/step-test.exp, gdb.base/structs.c,
23561 gdb.base/structs.exp, gdb.base/structs2.exp,
23562 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
23563 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
23564 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
23565 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
23566 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
23567 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
23568 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
23569 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
23570 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
23571 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
23572 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
23573 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
23574 gdb.fortran/types.exp, gdb.java/jmisc.exp,
23575 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
23576 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
23577 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
23578 gdb.trace/circ.exp, gdb.trace/collection.exp,
23579 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
23580 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
23581 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
23582 gdb.trace/report.exp, gdb.trace/save-trace.exp,
23583 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
23584 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
23585 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
23586 notices.
23587
dc96c6c7 235882001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
23589
23590 * gdb.base/varargs.c (find_max_double): Fix printf format string:
23591 first arg is int not float.
23592
dc96c6c7 235932001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
23594
23595 * gdb.base/reread.exp: Unsupported for non-native targets;
23596 doesn't work for remote debugging.
23597
9b0c4aeb
FN
235982001-02-19 Fernando Nasser <fnasser@redhat.com>
23599
23600 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
23601 * gdb.base/ending-run.exp: Properly handle the BSP state when
23602 stepping past the end of main.
9b0c4aeb 23603
02aa71d5
MC
236042001-02-19 John Moore <jmoore@redhat.com>
23605
23606 * gdb.base/commands.exp (infrun_breakpoint_command_test):
23607 Converted HPUX fix for non-expected items following multiple
23608 step commands into general solution for all platforms.
23609
1fa449a4
MC
236102001-02-18 Michael Chastain <chastain@redhat.com>
23611
23612 * gdb.c++/classes.exp (do_tests): Change runto statements
23613 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23614 statements demangler agnostic.
23615 * gdb.c++/virtfunc.exp (do_tests): Likewise.
23616 (gdb_virtfunc_restart): Likewise.
23617
b2f9ec70
MC
236182001-02-14 Michael Chastain <chastain@redhat.com>
23619
23620 * gdb.c++/inherit.exp (do_tests): Change runto statements
23621 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23622 statements demangler agnostic.
23623
cf74b8ca
AC
23624Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
23625
23626 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
23627 ``continue to bkpt at common_routine in thread 2'' and ``stopped
23628 before calling common_routine 15 times'' tests.
cf74b8ca 23629
99f78f56
MC
236302001-02-11 Michael Chastain <chastain@redhat.com>
23631
23632 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
23633 Helps the test script figure out which demangler is in use.
23634 (dm_type_foo_ref): Ditto.
23635 (dm_type_int_star): Ditto.
23636 (dm_type_long_star): Ditto.
23637 (dm_type_unsigned_int): Ditto.
23638 (dm_type_void): Ditto.
23639 (dm_type_void_star): Ditto.
99707966 23640 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
23641 Probe the gdb demangler and set variables to accommodate
23642 formatting differences.
23643 (info_func_regexp): New function. Same as info_func, but
23644 matches against a regexp.
23645 (info_func): Match against a literal string.
23646 (print_addr_2): New function. Match against a literal string,
23647 which can be different from the input to gdb.
23648 (print_addr): Simply call print_addr_2 with the same argument twice.
23649 (test_lookup_operator_functions): Use demangler formatting variables.
23650 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
23651 the tests in the same order as the C++ class declaration.
23652 (test_paddr_operator_functions): Ditto.
23653 (test_paddr_overloaded_functions): Ditto.
23654 (test_paddr_hairy_functions): Use demangler formatting variables.
23655 Add reference to gdb/19 for related tests.
23656 (do_tests): Call probe_demangler.
23657
1de8f023
KB
236582001-01-30 Kevin Buettner <kevinb@redhat.com>
23659
23660 * gdb.c++/templates.cc (printf): Remove unused function definition.
23661
ca3f91ed
MS
236622001-01-26 Felix Lee <flee@redhat.com>
23663
23664 * sid.exp (sid_exit): Pass host, not target, to remote_close.
23665
236662001-01-25 matthew green <mrg@redhat.com>
23667
23668 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
23669 up sid.
23670 (sid_exit): Call `remote_pop_conn' after GDB is gone.
23671
236722001-01-25 matthew green <mrg@redhat.com>
23673
23674 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 23675 Deprecate $sid_spawn_id.
ca3f91ed
MS
23676 (sid_exit): Remove code necessary only for `spawn.'
23677
236782001-01-25 matthew green <mrg@redhat.com>
23679
23680 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
23681
fb18ec4a
MC
236822001-01-28 Michael Chastain <chastain@redhat.com>
23683
23684 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
23685 to call when tests fail. It takes gdb out of the overloaded
23686 function choice menu back to the main prompt, so that the test
23687 program stays synchronized.
23688 (set_bp_overloaded): New proc to collect all the common
23689 code for setting a breakpoint on an overloaded name. Calls
23690 take_gdb_out_of_choice_menu when needed.
23691 (menu_overload1arg): New variable to collect the repeated
23692 instances of the expected menu for an overloaded name. Change
23693 the regular expression to handle changes in g++ type encoding:
23694 "void" can be either "void" or "", and "unsigned int" can be
23695 either "unsigned int" or "unsigned".
23696 (continue_to_bp_overloaded): Change regular expressions to handle
23697 changes in g++ type encoding.
23698 (no proc): Call take_gdb_out_of_choice_menu when needed.
23699 Remove redundant calls to "info break". Accept either "canceled"
23700 or "cancelled". Change regular expressions in "info break"
23701 calls to handle changes in g++ type encoding. Give all tests
23702 unique strings.
23703
9c646a6e
BE
237042001-01-17 Ben Elliston <bje@redhat.com>
23705
23706 * config/sid.exp: New file.
23707
9549d9c1
AC
23708Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
23709
23710 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
23711
dc96c6c7 237122000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
23713
23714 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
23715 Add a RE to accept a non-ascii char if one is ever presented.
23716
b4df4f68
FN
237172000-12-20 Fernando Nasser <fnasser@redhat.com>
23718
297dd0fd 23719 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 23720
dc96c6c7 237212000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 23722
d63a86f8 23723 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
23724 in regexp. One '\' does not suffice on Linux.
23725
4a7bddb6
MC
237262000-12-09 Michael Chastain <chastain@redhat.com>
23727
23728 * gdb.base/break.exp (test_clear_command): Use a marker function
23729 rather than 'main' for the test function. Also move this
23730 test to an execution point where the marker function names are
23731 guaranteed to be bound to functions. (Executing tests after a
23732 'finish' from main runs into name conflicts with local names
23733 in __libc_start_main).
23734
dc96c6c7 237352000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
23736
23737 * gdb.base/finish.exp: New test for gdb's "finish" command.
23738 * gdb.base/return2.exp: New test for gdb's "return" command.
23739 * gdb.base/return2.c: New source file for above.
23740
dc96c6c7 237412000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
23742
23743 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
23744 * gdb.base/miscexprs.exp: Ditto.
23745 * gdb.base/pointers.exp: Ditto.
23746 * gdb.c++/derivation.exp: Ditto.
23747 * gdb.c++/local.exp: Ditto.
23748 * gdb.c++/namespace.exp: Ditto.
23749 * gdb.c++/overload.exp: Ditto.
23750 * gdb.c++/ref-types.exp: Ditto.
23751
dc96c6c7 237522000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
23753
23754 * gdb.base/constvars.exp: Test result of "up" command.
23755 * gdb.base/miscexprs.exp: Ditto.
23756 * gdb.base/pointers.exp: Ditto.
23757 * gdb.base/scope.exp: Ditto.
23758 * gdb.c++/derivation.exp: Ditto.
23759 * gdb.c++/local.exp: Ditto.
23760 * gdb.c++/namespace.exp: Ditto.
23761 * gdb.c++/overload.exp: Ditto.
23762 * gdb.c++/ref-types.exp: Ditto.
23763
44097287
FN
237642000-11-22 Michael Chastain <chastain@redhat.com>
23765
23766 * mips_pro.exp: Accept either "middle -> top -> main" or
23767 "middle -> main" in the backtrace, because gcc can optimize
23768 tail calls to jumps. Remove setup_xfail for the hppa case.
23769 Add a comment with the original warning messages from PR 3016,
23770 which was filed in 1993, to preserve them for posterity.
23771
9d2e1bab
ND
237722000-11-17 Nick Duffek <nsd@redhat.com>
23773
23774 * lib/gdb.exp (gdb_test): Override timeout with board info.
23775
1aca8eb7
ND
237762000-11-17 Nick Duffek <nsd@redhat.com>
23777
23778 * gdb.base/display.exp: Don't kill running stub. Add "again" to
23779 the second kill and detach messages.
23780
93076499
ND
237812000-11-17 Nick Duffek <nsd@redhat.com>
23782
23783 * configure.in: Add AC_EXEEXT.
23784 * configure: Regenerate.
23785 * Makefile.in (just-check): Export EXEEXT.
23786 * lib/gdb.exp ($EXEEXT): Import from environment.
23787 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
23788 expect "maint dump-me" on Cygwin.
23789 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
23790 $EXEEXT.
23791
30e87cd3
ND
237922000-11-17 Nick Duffek <nsd@redhat.com>
23793
23794 * gdb.base/break.exp: Test backtrace and finish from called
23795 function on all platforms, not just HP-UX.
23796
dc96c6c7 237972000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
23798
23799 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
23800 code from gdb_target_monitor, so it can be used independantly
23801 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 23802
dc96c6c7 238032000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
23804
23805 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
23806 * gdb.base/corefile.exp: Expect the message "Program is being
23807 debugged already" when we send the "corefile" command, since
23808 the preceeding gdb_load may have connected gdb to a remote target.
23809 * gdb.base/display.exp: Disable hardware watchpoints if new
23810 board info variable "no_hardware_watchpoints" is true.
23811 Replace single-letter commands with more readable ones.
23812 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
23813 if new board info variable "no_hardware_watchpoints" is true.
23814 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
23815 to see if stdio (printf) testing is possible.
23816 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
23817 board info variable "no_hardware_watchpoints" is true. Use new
23818 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
23819
39124dea
FN
238202000-11-13 Fernando Nasser <fnasser@redhat.com>
23821
23822 From Orjan Friberg <orjanf@axis.com>:
23823 * gdb.base/printcmds.exp: Escape curly braces followed by a number
23824 in array print pattern match.
23825
a9e2e984
FN
238262000-11-09 Fernando Nasser <fnasser@redhat.com>
23827
23828 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
23829 spelling "cancelled" to U.S. spelling "canceled" to match changes
23830 made to gdb.
23831 * gdb.c++/ovldbreak.exp: Ditto.
23832
c7db355b
PS
238332000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23834
23835 * gdb.base/callfuncs.c (main): Moved to end of file, call
23836 t_double_values to initialize the FPU before inferior calls are made.
23837 * gdb.base/callfuncs.exp: Test for register preservation after calling
23838 inferior functions. Add tests for continuining, finishing and
23839 returning from a stop in a call dummy.
23840
dc96c6c7 238412000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
23842
23843 * gdb.base/commands.exp: Break up long lines, and re-indent.
23844
dc96c6c7 238452000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
23846
23847 * config/gdbserver.exp: Rewritten from the ground up, to make it
23848 compatible with the current dejagnu tree, and to make it work with
23849 the new "gdbserver" in libremote.
23850
dc96c6c7 238512000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
23852
23853 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
23854 * gdb.base/varargs.exp: Skip entire test if no printf support.
23855 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
23856 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
23857
dc96c6c7 238582000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
23859
23860 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
23861 no floating point support.
23862 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
23863 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
23864 * gdb.base/call-rt-st.exp: Ditto.
23865 * gdb.base/call-strs.exp: Ditto.
23866
bac5fc66
JG
238672000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
23868
23869 * gdb.base/sizeof.c: include <stdio.h>.
23870
23871 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
23872 'finish', otherwise uncaptured gdb_prompt would potentially
23873 throw remaining test points out of sync.
bac5fc66 23874
b22a6027
SB
238752000-07-26 Scott Bambrough <scottb@netwinder.org>
23876
23877 * gdb.base/recurse.exp: Run tests for all targets.
23878 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
23879 gnu-oldld case on ARM.
23880 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
23881 for ARM targets.
d63a86f8 23882
d8231941
AG
23883Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
23884
23885 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
23886 * gdb.java/configure: Rebuild.
23887
8caabe69
AG
23888Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
23889
23890 * gdb.java/jv-exp.exp: New file.
23891
9d273ca3
AG
23892Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
23893
23894 * configure: Rebuilt.
23895 * configure.in (configdirs): Add gdb.java.
23896 * gdb.java/jmisc.java: New file.
23897 * gdb.java/jmisc.exp: New file.
23898 * gdb.java/Makefile.in: New file.
23899 * gdb.java/configure: Rebuilt.
23900 * gdb.java/configure.in: New file.
23901 * lib/java.exp: New file.
23902
4f823a66
AC
23903Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
23904
23905 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 23906 underflow.
4f823a66 23907
2391e11d
AC
23908Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
23909
23910 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 23911 and the compilers sizes.
2391e11d 23912
54602222
ND
239132000-07-09 Nick Duffek <nsd@redhat.com>
23914
23915 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
23916 (use_methods): New function.
23917 (main): Call use_methods().
23918 * gdb.c++/classes.exp (test_method_param_class): New procedure.
23919 (do_tests): Call test_method_param_class.
23920
2bec0572
ND
239212000-07-09 Nick Duffek <nsd@redhat.com>
23922
23923 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
23924 spelling.
23925 (test_enums): New procedure. Move enum tests from end of script
23926 to here. Set breakpoint on function name instead of line number.
23927 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
23928 (enums2): New marker function.
23929 (enums1): New function.
23930 (main): Call enums1(). Move enum tests to enums1().
23931
78492fde
AC
23932Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
23933
23934 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 23935 compile/link program. Update line numbers.
78492fde
AC
23936 * gdb.asm/d10v.inc: Define ``startup''.
23937 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 23938
49a2cef8
AC
23939Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
23940
23941 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
23942
3e6c8688
EZ
239432000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23944
23945 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 23946 of 'help maint print' command.
3e6c8688 23947
9ff5cbe9
AC
23948Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
23949
23950 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 23951 they use gdb_expect_list.
9ff5cbe9 23952
17c579bd
AC
23953Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
23954
23955 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
23956 memory-read-packet-size'' instead of ``set endian big'' to test
23957 long commands.
17c579bd 23958
e6d71bf3
DB
239592000-06-03 Daniel Berlin <dan@cgsoftware.com>
23960
23961 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 23962 g++, and stop skipping them.
e6d71bf3
DB
23963
23964 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
23965 work under g++.
23966
d63a86f8 23967 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
23968 initialization.
23969
dc96c6c7 239702000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
23971
23972 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
23973 the regular expression: accept an (almost) arbitrary sequence of
23974 "frames-invalid" and "breakpoints-invalid" messages both before
23975 and after the "starting" message.
23976
dc96c6c7 239772000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
23978
23979 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 23980
dc96c6c7 239812000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
23982
23983 * gdb.base/annota1.exp (annotate-signal-handler-caller):
23984 Relax the regular expression a little, make it pass on Solaris 8.
23985
8216cda9
KB
239862000-05-12 Kevin Buettner <kevinb@redhat.com>
23987
23988 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 23989 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
23990 Instead, it is permissible for gdb to stop on the line of the
23991 call itself.
23992
1a570b2f
MS
239932000-05-12 Michael Snyder <msnyder@.cygnus.com>
23994
23995 * gdb.base/break.exp (bp on small function, optimized file):
23996 Add a second pass pattern. The behavior differs here between stabs
23997 and dwarf for one-line functions. Stabs preserves two line symbols
23998 (one before the prologue and one after) with the same line number,
23999 but dwarf regards these as duplicates and discards one of them.
24000 Therefore the address after the prologue (where the breakpoint is)
24001 has no exactly matching line symbol, and GDB reports the breakpoint
24002 as if it were in the middle of a line rather than at the beginning.
24003
dc96c6c7 240042000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 24005
d63a86f8 24006 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
24007 rather than "send_gdb" (for consistancy).
24008
7d418785
AC
24009Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
24010
24011 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
24012 * gdb.c++/templates.cc: Properly check for GCC version number.
24013 * lib/compiler.cc: Likewise
24014
dc96c6c7 240152000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 24016
d63a86f8 24017 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
24018 gdb may not stop at the first line of main, due to code motion.
24019
dc96c6c7 240202000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
24021
24022 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
24023 This test depends on parsing the printf output from the target.
24024 Since the sparclet stub doesn't do stdio, this will never work.
24025 * gdb.base/call-rt-st.exp: ditto.
24026 * gdb.base/call-strs: ditto.
24027
dc96c6c7 240282000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
24029
24030 * gdb.base/miscexprs.exp: make sizeof long array test portable.
24031
24032 * gdb.base/ending-run.exp: After connecting to a remote target,
24033 but before running, the target will appear to be in a random
24034 location. Specify both a file and a line for breakpoints.
24035 Also, the function that calls main may be called 'init'
24036 rather than 'start'.
24037
a5a51225
EZ
240382000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24039
24040 * gdb.base/help.exp: Update output for add-symbol-file command.
24041
7930cc7c
FN
240422000-04-10 Fernando Nasser <fnasser@cygnus.com>
24043
24044 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24045 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
24046
23e37ab1
C
240472000-04-07 J.T. Conklin <jtc@redback.com>
24048
e93c542c
C
24049 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
24050
23e37ab1
C
24051 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
24052
591b8fa3
PDM
24053Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
24054
24055 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 24056 values that can be represented exactly.
591b8fa3
PDM
24057 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
24058 above change, and to not check against the directory part of the source
24059 file name.
24060 (step into print_long_arg_list): Likewise.
24061 (print print_small_structs from print_long_arg_list): Likewise.
24062 (print print_long_arg_list): Likewise.
24063
7a495180
EZ
240642000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24065
30b53638 24066 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 24067
beb998c6
AC
24068Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
24069
24070 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
24071
1c689132
DB
240722000-03-25 Daniel Berlin <dan@cgsoftware.com>
24073
24074 * gdb.base/commands.exp (deprecated_command_test): Add test for
24075 deprecate with no arguments.
24076
c1790a9d
JL
240772000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
24078
24079 * gdb.base/break.exp: Add new test for setting breakpoints on
24080 optimized code so we can test breakpoints work even when function
24081 prologues may be optimized away
24082
003ba290
FN
240832000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
24084
24085 From David Whedon <dwhedon@gordian.com>
a9c64011 24086 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 24087
6837a0a2
DB
240882000-03-22 Daniel Berlin <dan@cgsoftware.com>
24089
24090 * gdb.base/help.exp: Added test for new apropos command.
24091
b9593231
KB
240922000-03-21 Kevin Buettner <kevinb@redhat.com>
24093
24094 * gdb.base/pointers.c (usevar): New function.
24095 (main): Make sure that global variables v_int_pointer2, rptr,
24096 and y are all referenced someplace in the program by calling
24097 usevar() on them. [Some linkers delete symbols which are
24098 never referenced. The space remains, but there's no way to
24099 get a (symbolic) handle on the variable from the debugger.]
24100
751a959b
EZ
241012000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24102
24103 * gdb.base/printcmds.c: Add typedeffed arrays.
24104
24105 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 24106 procedure to test arrays that are typedef'd.
751a959b 24107
73a93a32
JI
241082000-03-13 James Ingham <jingham@leda.cygnus.com>
24109
24110 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 24111 the library directories.
73a93a32 24112
fb40c209
AC
24113Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
24114
24115 * configure.in (configdirs): Add sub directory gdb.mi.
24116 * configure: Re-generate.
24117
24118 * gdb.mi: New directory.
d63a86f8 24119
ee4dd2c9
AC
241202000-02-25 Scott Bambrough <scottb@netwinder.org>
24121
24122 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 24123 a long long value as a double on ARM platforms.
ee4dd2c9 24124
70f0cc22
JB
241252000-02-16 Jim Blandy <jimb@redhat.com>
24126
24127 * gdb.base/break.exp ("breakpoint line number"): Make sure the
24128 default source file is set properly before running this test.
24129
853819b8
EZ
241302000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24131
24132 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 24133 gdbtk/library directory, not in gdbtcl2.
853819b8 24134
dfcd3bfb
JM
241352000-02-04 Jim Blandy <jimb@redhat.com>
24136
24137 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
24138 backslash from regexp pattern.
24139
24140 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
24141 procedure. Use it to run all the "continue to bp overloaded"
24142 tests. Note that this changes the names of the tests slightly.
24143 If the breakpoint hit message includes a hex PC value, because
24144 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
24145 from the real source code, still consider that a pass.
24146
24147 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
24148 XFAIL here if the breakpoint message contains a hex address. Note
24149 similar change on 1999-11-02.
24150
24151 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
24152
24153 * gdb.base/ptype.exp: Establish a default source file before
24154 calling get_debug_format.
24155
241562000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
24157
24158 * gdb.base/watchpoint.exp: Remove duplication of test messages.
24159
8b93c638
JM
241602000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24161
24162 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
24163 of successive stepi commands -- while in the prologue we should see
24164 the function entry bracket.
24165
241662000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24167
24168 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
24169 reach __change_mode() when stepping through the end of main().
24170
c5394b80
JM
241712000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
24172
24173 * gdb.base/default.exp: Fix expected pattern.
24174 * gdb.base/help.exp: Same.
24175
0d06e24b
JM
241762000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24177
24178 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 24179 Don't use xfail's because that affects only the following test.
d63a86f8 24180
0d06e24b 24181 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 24182 solaris or linux.
0d06e24b
JM
24183
24184 * gdb.base/selftest.exp: Update to reflect changes to main.c.
24185
dc96c6c7 241862000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 24187
d63a86f8 24188 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
24189 "A syntax error" rather than "A parse error". Accept both.
24190
241912000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
24192
24193 * gdb.base/default.exp: Remove OS dependent string from "target
24194 remote" test.
24195 * gdb.base/help.exp: Same for "help target remote" test.
24196
c3f6f71d
JM
241972000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24198
24199 From Jim Kingdon <kingdon@redhat.com>:
24200
24201 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
24202 prompt (cleanup rather than necessity, but still might keep output
24203 from spilling to next test).
c3f6f71d
JM
24204
242052000-01-02 Fred Fish <fnf@cygnus.com>
24206
24207 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
24208 AIX, which defines them in <sys/types.h>.
24209
ed9a39eb 242101999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 24211
ed9a39eb 24212 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 24213 float" test.
ed9a39eb
JM
24214
242151999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 24216
ed9a39eb 24217 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
24218
24219 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
24220 outermost frame disallowed".
24221
242221999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
24223
24224 * gdb.base/setvar.exp: New tests for setting the value of a struct
24225 with a constant list.
24226
242271999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24228
24229 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
24230 require the user to type a cast before setting the value of a struct.
24231
de57eccd
JM
242321999-12-06 Jim Blandy <jimb@cygnus.com>
24233
24234 * gdb.base/default.exp: Expect the new 'info float' command on
24235 all i386 platforms.
24236
24237 * gdb.threads/linux-dp.exp: Expand our ability to recognize
24238 LinuxThreads libraries that don't support debugging.
24239
c2d11a7d
JM
24240Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24241
24242 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
24243 Change the buffer type to ``unsigned char'' to simplify size
24244 arithmetic.
c2d11a7d
JM
24245
24246 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
24247 stub only handles 400-1 byte packets. Verify that the download
24248 worked.
c2d11a7d
JM
24249
242501999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
24251
24252 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
24253 tests, using UNRESOLVED for the untested cases. Also, does not wait
24254 for a timeout if the prompt was received before a recognizable pattern.
24255
242561999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
24257
24258 * lib/gdb.exp (gdb_expect_list): Fix spelling.
24259
242601999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24261
24262 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 24263 watchpoints.
c2d11a7d
JM
24264
242651999-11-24 Jason Merrill <jason@casey.cygnus.com>
24266
24267 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
24268
24269 * gdb.c++/local.exp: Be more flexible in recognizing local class
24270 name mangling. Don't allow horribly truncated method names.
24271 * gdb.c++/derivation.exp: Expect protected inheritance.
24272 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
24273 * gdb.c++/virtfunc.exp: Likewise.
24274 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
24275 when printing a nested enum.
24276
242771999-11-22 Jim Blandy <jimb@cygnus.com>
24278
24279 * gdb.base/step-test.exp: Properly await GDB's response to setting
24280 a breakpoint on the call to large_struct_by_value.
24281
24282 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
24283 just because we have debug info for the `start' function.
24284
242851999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
24286
24287 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
24288 "Unknown signal" messages, which indicate (on LinuxThreads) that
24289 GDB doesn't know how to debug threads on this system. This is
24290 better than hanging while philosopher 0 dumps chatter into gdb.log.
24291
242921999-11-18 Tom Tromey <tromey@cygnus.com>
24293
24294 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
24295
242961999-11-18 Fred Fish <fnf@cygnus.com>
24297
24298 * gdb.base/coremaker2.c: Add sample program for generating
24299 cores that is more self contained than coremaker.c. Eventually
24300 I'll add more code to this and tie it into the testsuite.
24301
4ce44c66
JM
243021999-11-12 Stan Shebs <shebs@andros.cygnus.com>
24303
24304 * gdb.base/dollar.exp: Remove, now in gdb.hp.
24305
243061999-11-10 Jimmy Guo <guo@cup.hp.com>
24307
24308 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 24309 from $srcdir/lib/.
4ce44c66 24310 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 24311 and gdb.c++/.
4ce44c66
JM
24312
24313 * gdb.c++/derivation.exp: remove redundant get compiler info code.
24314
d63a86f8 24315 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
24316 'continue with watch' test point.
24317
243181999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
24319
24320 Merged from p2linux-990323-branch:
d63a86f8 24321
4ce44c66
JM
24322 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
24323
11cf8741
JM
24324Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
24325
24326 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 24327 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
24328
24329Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
24330
24331 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 24332 gdb_expect_list.
11cf8741
JM
24333
24334Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
24335
24336 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
24337
243381999-11-03 Mark Salter <msalter@cygnus.com>
24339
24340 * gdb.base/break.exp: Fix "stub continue" pattern.
24341
243421999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
24343
24344 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
24345
243461999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
24347
24348 * gdb.base/display.exp ("finish"): Add timeout clause.
24349
24350 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
24351 plain prompt clause, so this doesn't have to time out in order to
24352 fail.
24353
24354 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 24355 breakpoint hit messages include an address.
11cf8741
JM
24356
24357 * gdb.base/display.exp: Don't forget to escape parens in regular
24358 expressions. Unix regexp notatation sucks.
24359
243601999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24361
24362 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 24363 order for 'signalled' message.
11cf8741 24364
5c44784c
JM
243651999-11-01 Stan Shebs <shebs@andros.cygnus.com>
24366
24367 From Jimmy Guo <guo@cup.hp.com>:
24368 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
24369 * gdb.base/annota1.c: Add code for tests to work with.
24370
243711999-10-26 Frank Ch. Eigler <fche@cygnus.com>
24372
24373 * gdb.base/remote.exp: New test for remote downloading settings.
24374 * gdb.base/remote.c: New file with large .data.
24375
917317f4
JM
243761999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
24377
24378 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
24379 for LinuxThreads support, merged from the Code Fusion branch.
24380
24381Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
24382
24383 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
24384 containing exp_continue into a while within an expect. Don't
24385 attempt a start more than three times. Check return value from
24386 gdb_load.
d63a86f8 24387
2df3850c
JM
24388Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
24389
24390 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 24391 a pass case.
2df3850c 24392
2acceee2
JM
243931999-10-01 Kevin Buettner <kevinb@cygnus.com>
24394
24395 * gdb.base/break.c (main): Added a statement that we can step
24396 off of.
24397 * gdb.base/break.exp: Added tests for setting a breakpoint
24398 at an offset and stepping onto a breakpoint.
24399
244001999-10-01 Fred Fish <fnf@cygnus.com>
24401
d63a86f8 24402 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
24403 gdb output.
24404
c2c6d25f
JM
244051999-09-18 Jim Blandy <jimb@cris.red-bean.com>
24406
24407 * gdb.base/break.exp: Code locations are in hex, don't forget!
24408 (For HP-UX.)
24409
244101999-09-17 Stan Shebs <shebs@andros.cygnus.com>
24411
24412 * condbreak.exp: Use break.c as test program.
24413 * condbreak.c: Remove, redundant with break.c.
24414
244151999-09-15 Stan Shebs <shebs@andros.cygnus.com>
24416
24417 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 24418 Z-packets if the target needs it.
c2c6d25f
JM
24419
244201999-09-13 James Ingham <jingham@leda.cygnus.com>
24421
24422 * gdb.c++/overload.exp: Added tests for listing overloaded
24423 functions with function pointers in the arg, explicitly calling
24424 out the version you want.
24425
cff3e48b
JM
244261999-09-09 Stan Shebs <shebs@andros.cygnus.com>
24427
24428 * long_long.exp: Add variations of test cases that work for
24429 targets with 16-bit ints and 32-bit doubles.
24430
d4f3574e
SS
244311999-09-08 Stan Shebs <shebs@andros.cygnus.com>
24432
24433 * break.c (main): Compare a possibly-uninitialized argc with an
24434 unlikely value that fits in 16 bits.
24435
244361999-09-07 Stan Shebs <shebs@andros.cygnus.com>
24437
24438 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
24439 0xfeeb, don't want negative numbers if ints are 16 bits.
24440
24441 * lib/gdb.exp (skip_cplus_tests): New proc.
24442 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
24443 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
24444 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
24445 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
24446 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
24447 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
24448 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
24449 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
24450
24451 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
24452
24453Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
24454
24455 * gdb.base/corefile.exp (up): Allow a parameter to appear
24456 in the frame that we're going up to.
24457
24458 From Jim Blandy <jimb@cygnus.com>:
24459
24460 * gdb.base/default.exp (info float): Expect some output now.
24461
24462 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
24463 returning floating-point values to fail on the x86.
24464 * gdb.base/callfwmall.exp (do_function_calls): Same.
24465
24466 * gdb.base/list.exp (test_listsize): Correct expectations for
24467 listing line 1 with listsize 2. Also, listing a single line
24468 works now, as does listing three lines. [Kevin's note: There
24469 were a number of other cases fixed too where the expectations
24470 differed...]
24471
244721999-09-02 Stan Shebs <shebs@andros.cygnus.com>
24473
24474 * gdb.base/selftest.exp: Add case for when version prints as
24475 constant string instead of char pointer.
24476
104c1213
JM
244771999-08-25 Stan Shebs <shebs@andros.cygnus.com>
24478
24479 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 24480 stepping out of main.
104c1213
JM
24481
24482 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
24483 G++ used.
24484
24485 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 24486 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
24487
24488 * gdb.c++/ovldbreak.exp: Update match string in test that
24489 includes a warning of multiple breakpoints.
24490
244911999-08-24 Stan Shebs <shebs@andros.cygnus.com>
24492
24493 * gdb.base/display.exp: Improve precision of step-after-finish
24494 added yesterday.
24495
24496 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 24497 test.
104c1213
JM
24498
24499 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
24500 configs when using G++, not just hppa*.
24501
245021999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24503
24504 * gdb.base/async.c: New file.
24505 * gdb.base/async.exp: New file.
24506
24507Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
24508
24509 * gdb.base/break.exp: Tweak PA specific tests to properly handle
24510 PA64.
24511
53a5351d
JM
24512Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
24513
104c1213
JM
24514 * gdb.base/display.exp: "finish" can leave us mid-line on many
24515 targets, deal with it. Add a small constant to main, instead of
24516 1000 since main+1000 may not be a valid address in the target.
24517
53a5351d
JM
24518 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
24519 on hpux11.
24520
24521 * gdb.base/attach.exp: Handle another hpux11 error message variant
24522 when attaching to a process that does not exist.
24523
245241999-08-19 J.T. Conklin <jtc@redback.com>
24525
24526 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 24527 characters in 'continue to 1241' test.
53a5351d
JM
24528
245291999-08-17 Stan Shebs <shebs@andros.cygnus.com>
24530
24531 * gdb.base/call-ar-st.exp: Add a shorter match case for the
24532 stop in print_long_arg_list, define and use a whitespace
24533 variable in print_small_structs test, add an XFAIL for Solaris.
24534 * gdb.base/dbx.exp: XFAIL func commands until somebody is
24535 interested enough to fix.
24536
7be570e7
JM
245371999-08-13 Keith Seitz <keiths@cygnus.com>
24538
24539 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
24540 (dbx_gdb_load): Remove. Use gdb_load instead, since that
24541 proc knows about targets other than the natives.
24542 (test_assign): Use "gdb_run_cmd" to "run" the target.
24543 Check that we've actually hit the breakpoint at main.
24544 When we attempt to assign a value to a local variable, check
24545 that the variable is in the current scope, i.e., don't use
24546 a test with an empty result.
24547
24548Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
24549
24550 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 24551 command.
7be570e7
JM
24552
245531999-08-09 Stan Shebs <shebs@andros.cygnus.com>
24554
24555 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24556 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
24557 gdb.compat, gdb.threads-hp.
24558 gdb.hp/configure, gdb.hp/configure.in: New files.
24559 gdb.hp/Makefile.in: Recurse into new subdirs.
24560 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
24561 gdb.hp/gdb.objdbg: New directory, tests for debugging info
24562 in object files.
24563 gdb.hp/tools: New directory, aux tools for HP-specific tests.
24564
96baa820
JM
245651999-08-05 Stan Shebs <shebs@andros.cygnus.com>
24566
24567 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 24568 funky printf, remove a bogus p/a test.
96baa820
JM
24569
245701999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24571
24572 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
24573 connected to the target. This is necessary when running not
24574 natively.
96baa820
JM
24575
245761999-08-03 Stan Shebs <shebs@andros.cygnus.com>
24577
24578 * gdb.base/step-test.exp: Removed some extraneous messages.
24579
24580 * gdb.base/long_long.exp: Don't run memory examination tests
24581 on little-endian targets (they will need a different set of
24582 results to match).
24583
245841999-08-02 Stan Shebs <shebs@andros.cygnus.com>
24585
24586 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
24587 until somebody decides to fix GDB.
24588
24589 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 24590 constant as "ULL".
96baa820
JM
24591 * gdb.base/long_long.exp: Loosen x/c test, add partial result
24592 matches for a couple x/2 commands.
24593
a0b3c4fd
JM
245941999-07-30 Stan Shebs <shebs@andros.cygnus.com>
24595
24596 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
24597 by merging in ref-types2 tests.
24598 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
24599
24600 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24601 * gdb.c++/Makefile.in: Add standard actions.
24602 (EXECUTABLES): Rename from PROGS, update list.
24603 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
24604 from gdb.hp.
24605 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
24606 foo and bar locals.
24607 * gdb.c++/anon-union.exp: Fix tests to match.
24608 * gdb.c++/classes.exp: Run if HP compiler used, add extra
24609 expect matches to handle output variations.
24610 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
24611 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 24612 output, add HP alternatives for new and delete prints.
a0b3c4fd 24613 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 24614 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
24615 * gdb.c++/demangle.exp: Use $style when reporting failure.
24616 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
24617 * gdb.c++/inherit.exp: Run if HP compiler used, add some
24618 match alternatives.
24619 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 24620 compilers.
a0b3c4fd
JM
24621 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
24622 * gdb.c++/method.exp: Add match alternatives.
24623 * gdb.c++/misc.cc: Add bool types.
24624 * gdb.c++/misc.exp: Add tests for bool types.
24625 * gdb.c++/overload.exp: Add xfails.
24626 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
24627 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
24628 add some more template parameter tests (only for HP currently).
24629 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
24630 * gdb.c++/virtfunc.cc: Add return type and value for main.
24631 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
24632 match alternatives.
d63a86f8 24633
a0b3c4fd
JM
246341999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24635
24636 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
24637
246381999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
24639
24640 * gdb.base/signals.exp: Don't expect getting a backtrace from
24641 within a signal handler to fail on Linux.
24642
246431999-07-29 Stan Shebs <shebs@andros.cygnus.com>
24644
24645 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24646 * lib/gdb.exp: Remove some gratuitious semicolons.
24647 (delete_breakpoints): Increase timeout.
24648 (gdb_expect): Add -notransfer option.
24649 (gdb_test): Use -notransfer option.
24650 (get_compiler_info): Add f77 case.
24651 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 24652 case.
a0b3c4fd
JM
24653 (gdb_preprocess): Call get_compiler.
24654
24655 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
24656 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
24657 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
24658 gdb.base/long_long.exp, gdb.base/printcmds.exp,
24659 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
24660 third arg to gdb_test.
a0b3c4fd
JM
24661 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
24662 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 24663 HP-UX xfails, add others.
a0b3c4fd
JM
24664 * gdb.base/completion.exp: Reflect name change of self-test.
24665 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
24666 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
24667 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
24668 HP failure number.
a0b3c4fd
JM
24669 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
24670 useless HP-UX 10.30 references.
24671 * gdb.base/maint.exp: Loosen matches.
24672 * gdb.base/pointers.c (main): Declare more_code.
24673 * gdb.base/pointers.exp: Match on output of a `next'.
24674 * gdb.base/structs.c: Add prototypes.
24675 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
24676 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
24677
246781999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24679
24680 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 24681 command.
a0b3c4fd
JM
24682
246831999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24684
24685 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
24686 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
24687
24688 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
24689 debug info. Deal with lack of signal hanlder info in stack.
24690
a9c64011 24691 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
24692 * gdb.base/annota1.exp: If printf has debug info, deal with it.
24693
5a2468f5
JM
246941999-07-19 Stan Shebs <shebs@andros.cygnus.com>
24695
24696 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 24697 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 24698
adf40b2e
JM
24699Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24700
24701 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 24702 a1-selftest.exp.
adf40b2e
JM
24703 * gdb.base/configure: Re-generate.
24704
247051999-07-12 Stan Shebs <shebs@andros.cygnus.com>
24706
24707 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
24708 in trying to run first and name is too long.
24709
24710 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
24711 pointers2.c and pointers2.exp, respectively.
24712 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
24713 doschk happier.
24714
43e526b9
JM
247151999-07-08 Stan Shebs <shebs@andros.cygnus.com>
24716
24717 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
24718 callfuncs2.c and callfuncs2.exp.
24719
24720 * gdb.base/list.exp: Remove mistaken xfails.
24721 * gdb.base/list0.h: Add optional prototypes.
24722
9846de1b
JM
24723Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
24724
a9c64011 24725 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 24726 calling malloc.
a9c64011
AS
24727 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
24728 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 24729 use.
9846de1b
JM
24730
247311999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24732
24733 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
24734 * gdb.base/annota2.cc, annota2.exp: Move from here.
24735 * gdb.c++/annota2.cc, annota2.exp: To here.
24736 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
24737
43ff13b4
JM
24738Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
24739
24740 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 24741 a consistent format.
43ff13b4 24742
085dd6e6
JM
247431999-06-25 Stan Shebs <shebs@andros.cygnus.com>
24744
24745 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24746 * lib/gdb.exp (get_compiler_info): Add detection for assorted
24747 HP compilers, also set the globals $true and $false.
24748
24749 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
24750 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
24751 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
24752 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
24753 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
24754 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
24755 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
24756 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
24757 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
24758 whatis.c} Add C++ compatible function definitions and return
24759 types, add includes for library functions.
085dd6e6
JM
24760 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
24761 * gdb.base/step-test.c (myglob): Rename from glob.
24762 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
24763 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
24764 files, move here from gdb.hp.
085dd6e6 24765 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
24766 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
24767 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
24768 Adjust line numbers in regexps.
085dd6e6
JM
24769
24770 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
24771 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
24772 instead of 0/1.
24773
24774 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
24775 foll-vfork.exp: New files, move here from gdb.hp.
24776 * gdb.base/page.exp: New file, test of pagination command.
24777
24778 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
24779 recursion test.
24780 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
24781
24782 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 24783 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
24784
24785 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 24786 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 24787 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 24788 watchpoint test.
085dd6e6
JM
24789 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
24790 them work.
24791 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
24792 expressions properly.
24793 * gdb.base/corefile.exp: Loosen the match slightly.
24794 * gdb.base/default.exp: Allow "Error accessing memory" message
24795 also.
24796 * gdb.base/display.exp: Skip over x/0 j if PA64.
24797 * gdb.base/funcargs.exp: Add xfails for HP-UX.
24798 * gdb.base/interrupt.exp: Ditto.
24799 * gdb.base/langs.exp: Add symbolic matches governed by compiler
24800 in use.
24801 * gdb.base/list.exp: Add xfails for HP-UX.
24802 * gdb.base/long_long.exp: Refine some of the numeric matches.
24803 * gdb.base/mips_pro.exp: Xfail on HP-UX.
24804 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
24805 * gdb.base/nodebug.exp: Succeed on more varieties of output.
24806 * gdb.base/opaque.exp: Remove some HP-UX xfails.
24807 * gdb.base/ptype.exp: Succeed on more varieties of output.
24808 * gdb.base/scope.exp: Add xfails for HP-UX.
24809 * gdb.base/sect-cmd.exp: Add more cases.
24810 * gdb.base/setvar.exp: Add xfails for HP-UX.
24811 * gdb.base/shlib-call.exp: Loosen some matches slightly.
24812 * gdb.base/signals.exp: Match on void symbolically.
24813 * gdb.base/step-test.exp: Add case for PA64.
24814 * gdb.base/term.exp: Add exit and restart.
24815 * gdb.base/twice.exp: Clean up after self.
24816 * gdb.base/varargs.exp: Disable overload resolution explicitly.
24817 * gdb.base/whatis.exp: Allow more ways to pass tests.
24818
24819 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 24820 no longer useful.
085dd6e6
JM
24821
24822Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
24823
24824 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 24825 list of patterns.
085dd6e6 24826 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
24827 print_double_array(double_array)", "continuing to breakpoint
24828 1018", "print print_double_array(array_d)" and "continuing to
24829 1034" tests.
d63a86f8 24830
085dd6e6
JM
248311999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
24832
a9c64011 24833 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
24834
248351999-06-24 Stan Shebs <shebs@andros.cygnus.com>
24836
24837 * config/mt-*: Remove, these haven't been used since 1996.
24838
248391999-06-22 Stan Shebs <shebs@andros.cygnus.com>
24840
24841 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 24842 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
24843 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
24844
9e0b60a8
JM
248451999-06-18 Stan Shebs <shebs@andros.cygnus.com>
24846
24847 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
24848 simpler match case for the ptype of the big class.
24849
248501999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24851
24852 * gdb.exp: Fix test for gdb_prompt existence.
24853
248541999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24855
24856 * gdb.exp (gdb_test): Add fail after calls to perror.
24857
248581999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24859
24860 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
24861
248621999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24863
24864 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
24865
0f71a2f6
JM
24866Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
24867
24868 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 24869 malloc() is linked in.
0f71a2f6
JM
24870
248711999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24872
24873 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
24874 step at end.
24875
24876 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
24877
248781999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
24879
24880 * gdb.java/jv-print.exp: New file. (Our first Java test!)
24881
cce74817
JM
24882Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
24883
24884 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
24885 * gdb.base/mips_pro.exp: Likewise.
24886
248871999-06-02 Keith Seitz <keiths@cygnus.com>
24888
24889 * gdb.c++/templates.cc: Change all "new" operators to throw
24890 an exception.
24891 * gdb.c++/cplusfuncs.cc: Likewise.
24892
24893 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
24894
24895Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
24896
24897 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
24898 * gdb.base/ending-run.exp: When stepping out of main, accept a
24899 step into an arbitrary assembler file.
cce74817 24900
392a587b
JM
249011999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24902
d63a86f8 24903 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 24904 "breakpoint-invalid" to be printed.
6fdff2c5
PA
24905 * gdb.base/annota2.exp: Revise line number for main
24906 breakpoint. Allow any number of "frames-invalid" and
24907 "breakpoint-invalid" to be printed.
392a587b
JM
24908 * gdb.base/annota2.cc: Initialize a.x to 0.
24909
9e086581
JM
249101999-05-17 Keith Seitz <keiths@cygnus.com>
24911
6fdff2c5
PA
24912 * gdb.base/call-ar-st.exp: Skip
24913 "print print_double_array (double_array)" when "skip_float_tests" set.
24914 Ditto for "print print_double_array(array_d)",
24915 "print print_small_structs", "print print_ten_doubles", and
24916 "step into print_long_arg_list".
24917 Don't assume we can step into "print_long_arg_list": we could step
24918 into memcpy.
24919 * gdb.base/call-rt-st.exp: Don't run float-related tests when
24920 "skip_float_tests" is set: "print print_one_double(*d1)"
24921 and "print print_two_floats(*f3)".
9e086581
JM
24922 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
24923 "skip_float_tests" is set.
6fdff2c5
PA
24924 * gdb.base/varargs.exp: Skip
24925 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
24926 "skip_float_tests" set.
d63a86f8 24927
cd0fc7c3
SS
249281999-05-06 Keith Seitz <keiths@cygnus.com>
24929
24930 * gdb.base/annota2.cc: Include stdio.h.
24931
24932Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
24933
24934 * gdb.base/crossload.exp: Remove, this has been disabled ever
24935 since BFD stopped including all targets, and cross-GDB gets
24936 plenty of testing anyway.
24937 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
24938 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
24939 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
24940 * gdb.base/README: Remove, was doc for this.
24941 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 24942 needed.
cd0fc7c3 24943
b83266a0
SS
249441999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24945
24946 * gdb.base/call-ar-st.exp: Fix one regular expression in test
24947 output.
24948
24949 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
24950 * gdb.base/annota2.exp: New file. More annotation tests.
24951 * gdb.base/annota1.c: New file. Source file for annota1.exp.
24952 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
24953
249541999-04-23 Angela Marie Thomas <angela@cygnus.com>
24955
24956 * config/cfdbug.exp: New file.
24957
7a292a7a
SS
249581999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
24959
24960 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
24961 Marcus Daniel's and Dale Hawkins's demangler crashes.
24962
24963 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
24964 test_lucid_style_demangling, test_arm_style_demangling,
24965 test_hp_style_demangling): Try Tom Tromey's core-dumping
24966 identifier under each demangling style.
7a292a7a
SS
24967
249681999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
24969
24970 * gdb.c++/demangle.exp: Include the current demangling style
24971 in all test names.
24972 (current_demangling_style): New global variable.
24973 (set_demangling_style, test_demangling_core, test_demangling,
24974 test_demangling_exact): New functions.
24975 (test_gnu_style_demangling, test_lucid_style_demangling,
24976 test_arm_style_demangling, test_hp_style_demangling): Use those,
24977 instead of calling gdb_test and gdb_test_exact directly.
24978 (catch_demangling_errors): New function, which reports errors
24979 signalled by the demangling test functions in an orderly way.
24980 (do_tests): Use catch_demangling_errors.
24981
249821999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
24983
24984 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 24985 grouping in expressions, not {}.
7a292a7a
SS
24986
24987 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 24988 initialized yet.
7a292a7a
SS
24989
249901999-04-01 Stan Shebs <shebs@andros.cygnus.com>
24991
24992 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
24993 are listed.
24994
249951999-03-26 Stan Shebs <shebs@andros.cygnus.com>
24996
24997 * gdb.stabs/weird.exp: Test for CC being defined before
24998 looking at its value.
24999
250001999-03-25 Stan Shebs <shebs@andros.cygnus.com>
25001
25002 * gdb.base/call-ar-st.exp: Remove stray '#'.
25003 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
25004 "short int" and "long int".
25005 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 25006 change, to mollify finicky HP compiler.
7a292a7a
SS
25007 * gdb.hp/reg-test.exp (testfile): Fix file name.
25008 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 25009
7a292a7a
SS
25010 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
25011 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
25012 alternate form of enum ptype.
25013
c906108c
SS
250141999-03-23 Stan Shebs <shebs@andros.cygnus.com>
25015
7a292a7a
SS
25016 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
25017 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
25018 passing skip_hp_tests, so as not to waste time on guaranteed
25019 failure.
7a292a7a 25020
c906108c
SS
25021 * gdb.c++/overload.cc: Pass string instead of char addr, always
25022 init ccpfoo.
25023 * gdb.c++/templates.cc: Fix syntax error.
25024
7a292a7a
SS
25025Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25026
25027 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 25028 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
25029 command.
25030
250311999-03-18 James Ingham <jingham@cygnus.com>
25032
25033 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
25034
25035 * gdb.c++/method.exp: It was testing an uninitialized int on the
25036 stack and assuming it was positive.
25037
25038 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
25039
25040 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 25041 keep it from killing the rest of the tests.
7a292a7a
SS
25042 Use gdb_continue_to_end.
25043
25044 * gdb.base/sigall.exp: use gdb_continue_to_end.
25045
25046 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
25047
25048 * gdb.base/display.exp: use runto_main, not run.
25049
d63a86f8
RM
25050 * gdb.base/default.exp: Check for the current error message in the
25051 r abbreviation test.
7a292a7a
SS
25052 Add strongarm to the targets that know info float.
25053
d63a86f8 25054 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
25055 run which doesn't work with monitors.
25056
6fdff2c5
PA
25057 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
25058 1034 test.
7a292a7a
SS
25059
25060 * gdb.base/break.exp: use the gdb_continue_to_end proc.
25061
6fdff2c5
PA
25062 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
25063 end of a program. Traps the case (in Cygmon) when the program
25064 never really exits. Same as Mark's continue_to_exit, but I had
25065 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
25066
25067 * config/monitor.exp (gdb_target_monitor): added another
25068 target_info parameter: remotebinarydownload. This will set the
25069 remotebinarydownload flag if this is causing some boards trouble.
25070
250711999-03-18 Mark Salter <msalter@cygnus.com>
25072
25073 * lib/gdb.exp (continue_to_exit): New function.
25074
25075 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
25076 * gdb.base/ending-run.exp: Ditto.
25077 * gdb.base/step-test.exp: Ditto.
25078
250791999-03-16 Stan Shebs <shebs@andros.cygnus.com>
25080
25081 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
25082 (suggested by Art Haas <ahaas@neosoft.com>).
25083
250841999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
25085
889bf7c5 25086 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
25087
25088Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
25089
25090 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 25091 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
25092
250931999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
25094
25095 * gdb.base/call-strs.exp: Don't assume that `step' will step over
25096 a call to strlen; sometimes we do have sources.
25097
250981999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
25099
25100 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 25101 character, so GDB won't print garbage after its end.
d63a86f8 25102
c906108c
SS
25103 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
25104 breakpoint there instead. Sometimes GCC emits memcpy to handle
25105 the large structures being passed by value, so we step into that
25106 instead of sum_array_print, which obscures what we're really testing.
25107 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
25108 the bizarre steps into memcpy, so do that here. Add check for
25109 stepping into function calls that pass large structures by value.
25110 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
25111 Remove all references to specific line numbers.
25112 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
25113 New type and function.
25114 (main): Call large_struct_by_value, passing it a large struct by value.
25115 * lib/gdb.exp (gdb_get_line_number): New function.
25116
25117 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
25118 more portable.
25119
7a292a7a
SS
251201999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
25121
c906108c
SS
25122 * lib/gdb.exp: Doc fixes.
25123
7a292a7a
SS
251241999-03-05 Nick Clifton <nickc@cygnus.com>
25125
d63a86f8 25126 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
25127
251281999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
25129
c906108c 25130 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
25131 commands. They're not germane to this test, and they don't work
25132 that way on remote targets.
c906108c 25133
3fc11d3e
JM
251341999-03-01 James Ingham <jingham@cygnus.com>
25135
25136 * Changelog entries merged over from gdb development branch.
25137
3fc11d3e
JM
25138 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
25139
25140 * lib/gdb.exp (gdbtk_analyze_results): Generic function
25141 for outputting results of test run.
25142
2d4a1622 25143 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
25144
25145 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 25146
7a292a7a
SS
251471999-02-25 Felix Lee <flee@cygnus.com>
25148
25149 * lib/gdb.exp (debug_format): initialize
25150
c906108c
SS
251511999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
25152
25153 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
25154 * gdb.base/call-rt-st.c: Ditto.
25155
c906108c
SS
251561999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
25157
25158 * gdb.threads/pthreads.exp (horiz): New variable.
25159 (test_startup): Fix regexps that capture thread numbers.
25160
251611999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
25162
25163 * gdb.base/smoke.exp: Disambiguate two test case names (both
25164 called ``print'').
25165
25166Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25167
25168 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 25169 compilation.
c906108c
SS
25170
251711999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25172
25173 * gdb.base/miscexprs.exp: Change patterns to match GDB's
25174 actual output formatting.
25175 * gdb.base/smoke.exp: GDB removes leading 0's.
25176 * gdb.base/volatile.exp: Don't check type of remuneration;
25177 that variable is no longer defined in constvars.c.
25178 * gdb.base/step-test.c (main): Exit with explicit exit code.
25179 * gdb.base/step-test.exp: Remove two nexti checks--they are
25180 not portable.
25181
251821999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25183
25184 * gdb.base/help.exp ("help delete display"): Fix test to match
25185 gdb's output.
25186
25187 * gdb.base/long_long.c (known_types): Initialize values to zero.
25188 * gdb.base/long_long.exp: Step one more line
25189 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
25190 leading zeros. Explicitly ask for hex formatting. Use
25191 unique test case names.
c906108c
SS
25192
25193Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25194
d63a86f8 25195 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
25196
25197 * gdb.c++/method.exp: Add missing close brace.
25198
251991999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
25200
25201 * gdb.base/maint.exp: Use 'set height 0' to disable page
25202 prompting, not 'set height 400'.
25203
25204 Fix a bunch of timeouts.
25205 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
25206 four separate tests, so expect doesn't take forever to match a ton
25207 of text against a regexp with lots of .* forms.
25208 ("maint print psymbols", "maint print symbols"): Make some of
25209 these greps more selective, so that expect doesn't try to wade
25210 through huge piles of output and time out.
25211
25212 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
25213
25214 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
25215 tests: one which doesn't expect shlib events to be reported, and
25216 another which does, but is XFAIL for all platforms other than
25217 HP/UX.
c906108c
SS
25218
25219 * gdb.base/break.exp: Teach the test suite that the `catch
25220 fork', `catch vfork', and `catch exec' commands produce error
25221 messages on platforms that don't provide these features.
25222
25223Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25224
25225 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
25226 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
25227 (shortening names from solib_threshold.exp etc), won't run on
25228 anything but HP-UX for the foreseeable future.
c906108c 25229 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 25230 reflect move.
c906108c
SS
25231
25232Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
25233
25234 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 25235 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
25236
25237Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
25238
25239 * gdb.base/shlib-call.exp: add test cases to verify that gdb
25240 successfully re-sets breakpoints in shared libraries.
25241 * gdb.base/shmain.c (main): return 0, don't fall off the end.
25242
25243Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25244
d63a86f8
RM
25245 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
25246 and compiled w/o GCC.
c906108c
SS
25247
25248 * gdb.hp/watch-cmd.exp: ditto.
25249
25250 * gdb.hp/watch-hp.exp: ditto.
25251
25252 * gdb.hp/xdb1.exp: ditto.
25253
25254 * gdb.hp/xdb2.exp: ditto.
25255
25256 * gdb.hp/dbx.exp: ditto.
25257
25258Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
25259
25260 * constvars.c: Remove C++-isms.
25261 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 25262 with GCC.
c906108c
SS
25263
25264Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
25265
25266 The following changes are part of the HP merge.
25267
25268 * gdb.base/break.exp: new tests to verify that catchpoints for
25269 fork, vfork, and exec don't trigger inappropriately.
25270
25271 * gdb.base/opaque.exp: compile one file at a time, then link.
25272
25273 * gdb.base/signals.exp: be more restrictive about which hppa
25274 systems receive a setup_xfail. new tests.
25275
25276 * gdb.base/solib_threshold.build: new file.
25277 * gdb.base/solib_threshold.exp: new file.
25278 * gdb.base/solib_threshold.link_opts: new file.
25279 * gdb.base/solib_threshold.mk: new file.
25280 * gdb.base/gen_solib_threshold.c: new file.
25281
25282 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
25283 tests. New tests for enums inside classes.
25284
25285 * gdb.c++/compiler.cc: indicate support of template debugging.
25286
25287 * gdb.c++/demangle.exp: run hp style demangling tests.
25288
25289 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
25290 tests.
25291
25292 * gdb.c++/misc.cc: changes to support new tests.
25293
25294 * gdb.c++/templates.cc: changes to support HP's compiler; changes
25295 to support new tests.
25296
25297 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
25298 gcc, then skip these tests.
25299
25300Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
25301
25302 The following files are part of the HP merge; some had longer
25303 names at HP, but have been renamed to be no more than 14
25304 characters in length.
25305
25306 * gdb.hp/ambiguous.cc: new file.
25307 * gdb.hp/ambiguous.exp: new file.
25308 * gdb.hp/attach.exp: new file.
25309 * gdb.hp/attach2.exp: new file.
25310 * gdb.hp/classes-hp.exp: new file.
25311 * gdb.hp/ctti.exp: new file.
25312 * gdb.hp/ctti-add.cc: new file.
25313 * gdb.hp/ctti-add1.cc: new file.
25314 * gdb.hp/ctti-add2.cc: new file.
25315 * gdb.hp/ctti-add3.cc: new file.
25316 * gdb.hp/dbx.exp: new file.
25317 * gdb.hp/exception.cc: new file.
25318 * gdb.hp/exception.exp: new file.
25319 * gdb.hp/foll-exec.c: new file.
25320 * gdb.hp/foll-exec.exp: new file.
25321 * gdb.hp/foll-fork.c: new file.
25322 * gdb.hp/foll-fork.exp: new file.
25323 * gdb.hp/foll-vfork.c: new file.
25324 * gdb.hp/foll-vfork.exp: new file.
25325 * gdb.hp/inherit-hp.exp: new file.
25326 * gdb.hp/more-steps.exp: new file.
25327 * gdb.hp/namespace.cc: new file.
25328 * gdb.hp/namespace.exp: new file.
25329 * gdb.hp/optimize.exp: new file.
25330 * gdb.hp/pxdb.c: new file.
25331 * gdb.hp/pxdb.exp: new file.
25332 * gdb.hp/quicksort.exp: new file.
25333 * gdb.hp/reg-test.exp: new file.
25334 * gdb.hp/reg-test.s: new file.
25335 * gdb.hp/sized-enum.c: new file.
25336 * gdb.hp/sized-enum.exp: new file.
25337 * gdb.hp/start-stop.exp: new file.
25338 * gdb.hp/templ-hp.cc: new file.
25339 * gdb.hp/templ-hp.exp: new file.
25340 * gdb.hp/thr-lib.c: new file.
25341 * gdb.hp/thr-lib.exp: new file.
25342 * gdb.hp/thr-lib.h: new file.
25343 * gdb.hp/thr-liblib.c: new file.
25344 * gdb.hp/virtfun-hp.c: new file.
25345 * gdb.hp/virtfun-hp.exp: new file.
25346 * gdb.hp/watch-cmd.exp: new file.
25347 * gdb.hp/watch-hp.exp: new file.
25348 * gdb.hp/xdb1.exp: new file.
25349 * gdb.hp/xdb2.exp: new file.
25350 * gdb.hp/xdb3.exp: new file.
25351
25352Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
25353
25354 The following files are part of the HP merge; some had longer
25355 names at HP, but have been renamed to be no more than 14
25356 characters in length.
25357
25358 * gdb.base/ss.h: new file.
25359 * gdb.base/call-ar-st.c: new file.
25360 * gdb.base/call-ar-st.exp: new file.
25361 * gdb.base/call-rt-st.c: new file.
25362 * gdb.base/call-rt-st-exp: new file.
25363 * gdb.base/call-strs.exp: new file.
25364 * gdb.base/ena-dis-br.exp: new file.
25365 * gdb.base/environ.exp: new file.
25366 * gdb.base/long_long.exp: new file.
25367 * gdb.base/sect-cmd.exp: new file.
25368 * gdb.base/shlib-cl2.exp: new file.
25369 * gdb.base/smoke.exp: new file.
25370 * gdb.base/so-impl-ld.c: new file.
25371 * gdb.base/so-impl-ld.exp: new file.
25372 * gdb.base/so-indr-cl.c: new file.
25373 * gdb.base/so-indr-cl.exp: new file.
25374 * gdb.base/varargs.exp: new file.
25375 * gdb.base/volatile.exp: new file.
25376 * gdb.base/whatis-exp.exp: new file.
7a292a7a 25377 * gdb.base/display.exp: new file.
c906108c
SS
25378 * gdb.c++/derivation.exp: new file.
25379 * gdb.c++/local.exp: new file.
25380 * gdb.c++/member-ptr.exp: new file.
25381 * gdb.c++/overload.exp: new file.
25382 * gdb.c++/ovldbreak.exp: new file.
25383 * gdb.c++/ref-types.exp: new file.
25384 * gdb.c++/ref-types2.exp: new file.
25385 * gdb.c++/userdef.exp: new file.
d63a86f8 25386
c906108c
SS
25387Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
25388
25389 * gdb.base/default.exp: Reflect wording change in remote.c.
25390
dc96c6c7 25391Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25392
25393 * gdb.base/help.exp: Update to reflect current text.
25394
25395Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
25396
25397 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
25398 they're stack variables and contain garbage.
25399 * gdb.c++/anon-union.exp: new file.
25400
25401 The following changes were made by David Taylor
889bf7c5
PA
25402 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25403 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25404 in changes by HP.
c906108c
SS
25405
25406 * gdb.base/bitops.exp: new file.
25407 * gdb.base/default.exp: change expected messages for catch and
25408 info catch tests to reflect HP merge changes.
25409 * gdb.base/enable-disable-break.exp
25410 * gdb.base/ending-run.c: new file.
25411 * gdb.base/long_long.c: new file.
25412 * gdb.base/maint.exp: new file.
25413 * gdb.base/pointers2.exp: new file.
25414 * gdb.base/shlib-call2.exp: new file.
25415 * gdb.base/solib.exp: new file.
25416 * gdb.base/step-test.c: new file.
25417 * gdb.c++/anon-union.cc: new file.
25418 * gdb.c++/local.cc: new file.
25419 * gdb.c++/member-pointer.cc: new file.
25420 * gdb.c++/method.cc: new file.
25421 * gdb.c++/ref-types.cc: new file.
25422 * gdb.c++/ref-types2.cc: new file.
25423 * gdb.c++/userdef.cc: new file.
d63a86f8 25424
c906108c
SS
25425 * gdb.base/scope.exp: compile one file at a time, then link.
25426 * gdb.base/langs.exp: ditto.
25427 * gdb.base/list.exp: ditto.
d63a86f8 25428
c906108c
SS
25429Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
25430
25431 The following changes were made by David Taylor
889bf7c5
PA
25432 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25433 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25434 in changes by HP.
d63a86f8 25435
c906108c
SS
25436 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
25437 skip tests. When compiling pass c++ flag to gdb_compile.
25438 * gdb.c++/
d63a86f8 25439
c906108c
SS
25440 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
25441 test for on hppa*-*-hpux*; use args to see if c++ was specified.
25442 (skip_hp_tests): new function.
25443 (gdb_preprocess): new function.
25444
25445 * configure.in (hpdir): decide whether to configure gdb.hp.
25446 * configure: regenerated.
25447
25448 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
25449 to delete on clean.
25450 (EXECUTABLES): update to reflect new additions.
25451 * gdb.base/commands.exp: update message expected.
25452 * gdb.base/default.exp: add copyright notice.
25453 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
25454 * gdb.base/help.exp: update messages to reflect current text.
25455 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
25456 targets for recurse tests.
25457 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
25458 skip this file.
25459
25460 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
25461 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
25462 compilation.
25463 * gdb.c++/misc.exp: ditto.
25464 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
25465 run the tests. tell gdb_compile that it's a c++ compilation.
25466
25467 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 25468
c906108c
SS
25469 * gdb.base/all-bin.exp: new file.
25470 * gdb.base/arithmet.exp: new file.
25471 * gdb.base/assign.exp: new file.
25472 * gdb.base/completion.exp: new file.
25473 * gdb.base/cond-expr.exp: new file.
25474 * gdb.base/condbreak.exp: new file.
25475 * gdb.base/define.exp: new file.
25476 * gdb.base/dollar.exp: new file.
25477 * gdb.base/environment.exp: new file.
25478 * gdb.base/eval-skip.exp: new file.
25479 * gdb.base/jump.exp: new file.
25480 * gdb.base/logical.exp: new file.
25481 * gdb.base/pointers.exp: new file.
25482 * gdb.base/relational.exp: new file.
25483 * gdb.base/section_command.exp: new file.
25484 * gdb.base/whatis-expr.exp: new file.
25485
25486 * gdb.base/all-types.c: new file.
25487 * gdb.base/call-array-struct.c: new file.
25488 * gdb.base/call-return-struct.c: new file.
25489 * gdb.base/call-strings.c: new file.
25490 * gdb.base/callfuncs2.c: new file.
25491 * gdb.base/condbreak.c: new file.
25492 * gdb.base/constvars.c: new file.
25493 * gdb.base/display.c: new file.
25494 * gdb.base/int-type.c: new file.
25495 * gdb.base/jump.c: new file.
25496 * gdb.base/miscexprs.c: new file.
25497 * gdb.base/pointers.c: new file.
25498 * gdb.base/pointers2.c: new file.
25499 * gdb.base/shmain.c: new file.
25500 * gdb.base/shr1.c: new file.
25501 * gdb.base/shr2.c: new file.
25502 * gdb.base/solib.c: new file.
25503 * gdb.base/solib1.c: new file.
25504 * gdb.base/solib2.c: new file.
25505 * gdb.base/varargs.c: new file.
25506 * gdb.c++/derivation.cc: new file.
25507 * gdb.c++/overload.cc: new file.
25508 * gdb.c++/ovldbreak.cc: new file.
25509 * gdb.hp/attach.c: new file.
25510 * gdb.hp/attach2.c: new file.
25511 * gdb.hp/average.c: new file.
25512 * gdb.hp/compiler.c: new file.
25513 * gdb.hp/compiler.cc: new file.
25514 * gdb.hp/execd-program.c: new file.
25515 * gdb.hp/follow-exec.c: new file.
25516 * gdb.hp/follow-fork.c: new file.
25517 * gdb.hp/follow-vfork-and-exec.c: new file.
25518 * gdb.hp/misc-hp.cc: new file.
25519 * gdb.hp/more-steps.c: new file.
25520 * gdb.hp/optimize.c: new file.
25521 * gdb.hp/quicksort.c: new file.
25522 * gdb.hp/run-hp.c: new file.
25523 * gdb.hp/start-stop.c: new file.
25524 * gdb.hp/sum.c: new file.
25525 * gdb.hp/templates-hp.cc: new file.
25526 * gdb.hp/thread-local-in-lib.c: new file.
25527 * gdb.hp/thread-local-in-lib.h: new file.
25528 * gdb.hp/thread-local-in-lib.lib.c: new file.
25529 * gdb.hp/vforked-program.c: new file.
25530 * gdb.hp/virtfunc-hp.cc: new file.
25531 * gdb.hp/watchpoint-hp.c: new file.
25532 * gdb.hp/xdb.c: new file.
25533 * gdb.hp/xdb0.c: new file.
25534 * gdb.hp/xdb0.h: new file.
25535 * gdb.hp/xdb1.c: new file.
25536
25537Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
25538
25539 The following change was made by Edith Epstein
889bf7c5
PA
25540 <eepstein@cygnus.com> as part of a project to merge in changes
25541 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
25542
25543 * gdb.c++/demangle.exp: changed the expected output for some
25544 ARM-style mangling -- removed second reference to datatype.
889bf7c5 25545 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 25546 T1<char>::~T1<char>(void)
c906108c 25547 becomes,
a9c64011
AS
25548 maint demangle __dt__11T1__pt__2_cFv
25549 T1<char>::~T1(void)
c906108c 25550
889bf7c5 25551 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 25552
c906108c
SS
25553Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
25554
25555 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
25556 * gdb.trace/backtrace.exp: Likewise.
25557 * gdb.trace/circ.exp: Likewise.
25558 * gdb.trace/collection.exp: Likewise.
25559 * gdb.trace/deltrace.exp: Likewise.
25560 * gdb.trace/infotrace.exp: Likewise.
25561 * gdb.trace/limits.exp: Likewise.
25562 * gdb.trace/packetlen.exp: Likewise.
25563 * gdb.trace/passc-dyn.exp: Likewise.
25564 * gdb.trace/passcount.exp: Likewise.
25565 * gdb.trace/report.exp: Likewise.
25566 * gdb.trace/save-trace.exp: Likewise.
25567 * gdb.trace/tfind.exp: Likewise.
25568 * gdb.trace/tracecmd.exp: Likewise.
25569 * gdb.trace/while-dyn.exp: Likewise.
25570 * gdb.trace/while-stepping.exp: Likewise.
25571
255721998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
25573
25574 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
25575
25576Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
25577
25578 From Brendan Kehoe:
25579 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
25580 int return types.
25581
25582Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
25583
25584 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 25585 remote dos host testing right.
c906108c
SS
25586
25587Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
25588
25589 * gdb.base/corefile.exp: remove some xfails.
25590
25591Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
25592
25593 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 25594 have different timestamps.
c906108c
SS
25595
25596Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
25597
25598 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 25599 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
25600
25601Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
25602
25603 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 25604 delta.
c906108c
SS
25605
25606Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
25607
25608 * gdb.base/default.exp: Add brace missing from previous delta.
25609
25610Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
25611
25612 * gdb.base/default.exp: Support test for info float for all
25613 varieties of arm toolchain.
25614
dc96c6c7 25615Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25616
25617 * gdb.trace/*.exp: remove "remote_download" command.
25618
dc96c6c7 25619Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25620
25621 * gdb.trace/*.exp: remove -gdwarf from compile.
25622
25623Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
25624
25625 * gdb.trace/configure.in(AC_INIT): typo
25626 * gdb.trace/configure: regenerated
25627
dc96c6c7 25628Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25629
25630 * config/m68k-emc.exp: New file.
25631 * lib/<emc-support.exp trace-support.exp}: New files.
25632 * configure.in: add new test directory gdb.trace.
25633 * gdb.trace/{configure configure.in Makefile.in}: New files.
25634 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
25635 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
25636 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
25637 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
25638 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
25639 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
25640 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 25641
dc96c6c7 25642Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25643
25644 * gdb.c++/classes.exp: Change all regular expressions to match
25645 arbitrary combinations of newline/carriage-return, so that they
25646 will work equally well on Unix and Windows.
25647 * gdb.c++/inherit.exp: ditto.
25648 * gdb.c++/virtfunc.exp: ditto.
25649
256501998-08-11 Dawn Perchik <dawn@cygnus.com>
25651
25652 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
25653
c2d11a7d
JM
25654Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
25655
25656 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
25657 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
25658 to use a0-a3/d0-d3 as needed.
25659
25660Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
25661
25662 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
25663 * gdb.disasm/am33.exp: Corresponding changes.
25664
c906108c
SS
256651998-07-11 Felix Lee <flee@cygnus.com>
25666
25667 * gdb.base/callfuncs.exp: add cmp10 test.
25668 * gdb.base/callfuncs.c (cmp10): new function.
25669
25670Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
25671
d63a86f8 25672 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
25673 into two parts to get around a synchronization problem in expect.
25674
3fc11d3e
JM
25675Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
25676
25677 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
25678
25679 * configure.in: Add options for gdbtk testsuite.
25680
25681 * configure: Regenerate.
25682
25683 * gdb.gdbtk: New directory to hold gdbtk tests.
25684
c906108c
SS
25685Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25686
25687 * gdb.fortran/types.exp: Escape brackets in expect patterns
25688 for test_float_literal_types_accepted tests.
25689 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
25690 before run test.
25691
c2d11a7d
JM
25692Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
25693
25694 * am33.exp: Just compile, do not link the testcase.
25695 * am33.s: Add ".am33" pseudoop to force am33 mode.
25696
c906108c
SS
256971998-06-25 Felix Lee <flee@cygnus.com>
25698
25699 * gdb.base/setshow.exp: make sure $pc is sane.
25700
25701 * gdb.stabs/weird.exp: split expect patterns properly.
25702
c2d11a7d
JM
25703Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
25704
25705 * gdb.disasm/am33.s: New disassembler testfile for the am33.
25706 * gdb.disasm/am33.exp: Run it.
25707
dc96c6c7 25708Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25709
25710 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
25711 match processing (and eliminate spurious timeouts when running).
25712
dc96c6c7 25713Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25714
25715 * gdb.base/signals.exp (test_handle_all_print): put back Mach
25716 exception test, but conditionalize it on target [mach | gnu].
25717
dc96c6c7 25718Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25719
25720 * gdb.base/overlays.exp: fixup compile line for linker script.
25721
25722Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
25723
25724 * gdb.fortran/types.exp: don't guess at float size.
25725
25726Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
25727
25728 * gdb.base/exprs.exp: delete test that depends on int size.
25729
25730Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
25731
25732 * config/sim.exp: Removed checks for target triplets.
25733 (gdb_target_sim): Use gdb,target_sim_options.
25734
25735Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
25736
25737 * gdb.base/reread.exp: New file.
25738 * gdb.base/reread1.c: New file.
25739 * gdb.base/reread2.c: New file.
25740
25741Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
25742
25743 * config/sim.exp: Use 'target sim -sparclite' when running
25744 SPARClite programs.
25745
25746Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
25747
25748 * gdb.base/structs2.exp: New file.
25749 * gdb.base/structs2.c: New file.
25750
25751Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
25752
25753 * gdb.asm/common.inc: New file.
25754 * gdb.asm/d10v.inc: New file.
25755 * asm-source.exp: Pass -I's to gas to find .inc files.
25756 Update line numbers in expected output.
25757 * asmsrc1.s: Rewrite.
25758 * asmsrc2.s: Rewrite.
25759 * configure.in: Create arch.inc symlink.
25760 * configure: Regenerate.
25761 * Makefile.in (distclean): Delete arch.inc.
25762
25763Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
25764
25765 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
25766 (t_enum_value2): ditto
25767 (t_enum_value3): ditto
25768 (main): ditto
c906108c
SS
25769Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25770
25771 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
25772 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
25773 change.
25774 Use gdb_test instead of send_gdb/gdb_expect sequences.
25775
25776Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
25777
25778 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
25779 not void.
25780
25781Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
25782
25783 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
25784 subroutines. Used to test gdbs ability to single step through PC
25785 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
25786
25787Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
25788
25789 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
25790 more rigorous EGCS C++ error checking.
25791
25792Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25793
a9c64011
AS
25794 * gdb.base/help.exp: Clean up `help set args' and `help show args'
25795 tests.
25796 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
25797 function when asleep.
25798 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
25799 for i*86 Linux and SVR4 signal handling problems.
25800 Remove linux xfail for `next to handler in signals_tests_1', fixed
25801 by recent infrun.c change.
25802 Limit backtrace to 10 frames to avoid timeout problems with infinite
25803 stack backtraces.
25804 Adjust expect pattern in `handle all print' test to match Apr 28 1997
25805 target.[ch] change.
c906108c
SS
25806
25807Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
25808
25809 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
25810 for a newline from gdb before continuing.
25811 (default_gdb_exit): Just look for y or n.
25812 (gdb_test): Detect abnormal exit from GDB running on DOS; if
25813 it does, fail the rests of the tests in the file.
25814
25815Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
25816
25817 * config/cygmon.exp: New file.
25818
25819Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
25820
25821 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 25822 main" test on remote targets.
c906108c
SS
25823
25824 * gdb.base/scope.exp: Fix problem with filelocal_bss before
25825 run test on remote targets.
25826
25827Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
25828
25829 * gdb.asm: New directory.
25830 * configure.in: Configure it.
25831 * configure: Regenerate.
25832 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
25833 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
25834
25835Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
25836
25837 * config/mn10300-eval.exp: New file to support MN10300 eval board.
25838
dc96c6c7 25839Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 25840
a9c64011
AS
25841 * gdb.base/overlays (several files): Merge the two overlay
25842 managers into one. Change variables (foox, barx, bazx, grbxx)
25843 back into ints but force them to load in their proper sections.
c906108c
SS
25844
25845Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
25846
25847 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 25848 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
25849 (D10VCopy): Handle memory regions crossing 16k boundaries.
25850 (D10VCopy): Transfer data in 32 bit chunks.
25851
25852Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
25853
25854 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 25855 correct.
c906108c
SS
25856
25857 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 25858 map. Include space for printf in .text segment.
c906108c
SS
25859
25860 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 25861 updated d10v memory VMA/LMA map.
c906108c 25862 (D10VCopy): Call D10VTranslate.
d63a86f8 25863
c906108c
SS
25864Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
25865
25866 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
25867
25868 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
25869 that it won't be put into the .sdata - small data -
25870 section. Update reference.
c906108c
SS
25871 * gdb.base/baz.c (bazx, baz): Ditto.
25872 * gdb.base/foo.c (foox, foo): Ditto.
25873 * gdb.base/grbx.c (grbxx, grbx): Ditto.
25874
25875 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 25876 to be arrays.
d63a86f8 25877
dc96c6c7 25878Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 25879
a9c64011
AS
25880 * gdb.base/overlays.exp: fix up and get working again.
25881 Add tests for backtraces from an overlay function.
d63a86f8 25882
c906108c
SS
25883Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
25884
25885 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
25886 "calling function with watchpoint enabled".
25887
25888Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
25889
25890 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 25891 gdb_suppress_tests for d10v-*-*.
c906108c
SS
25892 * lib/gdb.exp (gdb_suppress_tests): Disable this function
25893 pending review of whether it is useful or not.
25894
25895Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
25896
25897 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
25898
25899Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
25900
25901 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
25902 * config/dve.exp: New file to support Densan boards.
25903
25904Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
25905
25906 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 25907 reads and BSD.
c906108c
SS
25908
25909Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
25910
25911 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
25912 response.
25913
25914 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
25915
25916Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
25917
25918 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 25919 test.
c906108c
SS
25920
25921 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 25922 target_sizeof_long and target_bigendian_p.
c906108c 25923 (structs_by_value, structs_by_reference): Check values according
889bf7c5 25924 to targets word size and endianess.
d63a86f8 25925
c906108c
SS
25926Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
25927
25928 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 25929 output.
c906108c
SS
25930
25931Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
25932
25933 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 25934 Update test of set args help to match source change.
c906108c
SS
25935
25936Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
25937
25938 * gdb.base/default.exp: Expect help system output to be in
25939 alphabetical order.
25940 * gdb.base/help.exp: Ditto.
25941
25942Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
25943
25944 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
25945 "i*86-pc-linux-gnu*".
25946 * gdb.base/interrupt.exp: Ditto.
25947 * gdb.base/corefile.exp: Ditto.
25948
25949 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 25950 define vxworks when building the testcase.
c906108c
SS
25951
25952 * gdb.base/ptype.exp: Fix testnames to be unique.
25953 * gdb.base/radix.exp: Ditto.
25954 * gdb.base/term.exp: Ditto.
25955 * gdb.base/whatis.exp: Ditto.
25956 * gdb.c++/classes.exp: Ditto.
25957
25958Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
25959
25960 * gdb.base/callfuncs.exp: Fix indentation.
25961
25962 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
25963 suppress_flag has been set.
25964 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
25965 target feature.
25966
25967Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
25968
25969 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
25970 the testcase.
25971
25972 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 25973 set_debug_traps() and breakpoint().
c906108c
SS
25974 * gdb.c++/misc.cc (main): Ditto.
25975 * gdb.c++/templates.cc (main): Ditto.
25976 * gdb.c++/virtfunc.cc (main): Ditto.
25977
25978Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
25979
25980 * lib/gdb.exp(gdb_step_for_stub): New function.
25981 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
25982 exists, reload the executable and do a "continue" instead of
25983 doing a jump.
25984 (runto_main): Use gdb_step_for_stub.
d63a86f8 25985
c906108c 25986 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 25987 tests to have unique names.
c906108c
SS
25988 * gdb.base/callfuncs.exp: Ditto.
25989 * gdb.base/commands.exp: Ditto.
25990 * gdb.base/default.exp: Ditto.
25991 * gdb.base/help.exp: Ditto.
25992 * gdb.base/list.exp: Ditto.
25993 * gdb.base/opaque.exp: Ditto.
25994 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
25995 similar tests.
d63a86f8 25996
c906108c
SS
25997 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
25998 * gdb.c++/cplusfuncs.cc: Ditto.
25999 * gdb.c++/virtfunc.cc: Ditto.
26000
26001 * config/monitor.exp: Keep track of the last file we saw, rather
26002 than trying to get the info from gdb.
26003
26004 * gdb.fortran/types.exp: Move comment to previous line.
26005
26006Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
26007
26008 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 26009 target mode.
c906108c
SS
26010
26011Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
26012
26013 From Bob Manson:
26014 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 26015 string from GDB when it connects.
c906108c
SS
26016
26017 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
26018
26019Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
26020
26021 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
26022 if we can't get a debug format from GDB (we may be testing an
26023 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
26024
26025 * gdb.stabs/weird.exp: Fix quoting.
26026
26027 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
26028
26029Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
26030
26031 * config/arm-ice.exp: New file.
26032
26033Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
26034
26035 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 26036 until it has been modified to work with the new testsuite.
c906108c 26037
99707966 26038 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
26039 testcase won't compile, cause all of the testcases in the file to
26040 fail instead.
c906108c
SS
26041
26042 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
26043 (gdb_clear_suppressed): New procedure.
26044 (gdb_stop_suppressing_tests): Only clear suppress_flag if
26045 it contains a positive value.
26046
26047Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
26048
26049 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
26050
26051 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
26052
26053Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
26054
26055 * lib/gdb.exp (setup_xfail_format): New function.
26056 (get_debug_format): New function to get debug format.
26057 (debug_format): New global variable to hold last value set
26058 by get_debug_format.
26059 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 26060 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
26061 * gdb.c++/ptype.exp: Ditto.
26062 * gdb.c++/classes.exp: Ditto.
26063 * gdb.c++/cplusfuncs.exp: Ditto.
26064 * gdb.c++/inherit.exp: Ditto.
26065 * gdb.c++/templates.exp: Ditto.
26066 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 26067
c906108c
SS
26068Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
26069
26070 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
26071 host doesn't have a currently-open connection.
26072
26073 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
26074 any gdb stub target. Handle cases where gdb doesn't respond when
26075 interrupted in a sane fashion.
c906108c
SS
26076
26077 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 26078 same thing in a totally different way.
c906108c
SS
26079
26080 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 26081 setting "timeout".
c906108c 26082 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 26083 default_gdb_init now.
c906108c
SS
26084
26085Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
26086
26087 * gdb.base/printcmds.exp: Fix "check for floating addition"
26088 regexp to accept results within approx +/- .01 of exact value.
26089 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
26090
26091Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
26092
26093 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 26094 properly.
c906108c
SS
26095 (gdb_expect): Add optional timeout parameter, and add timeout
26096 value to various calls.
26097 (gdb_suppress_tests): Only give one warning message per group.
26098
26099Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
26100
26101 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
26102 global variables. Handle getting a value for $timeout more
26103 gracefully.
c906108c
SS
26104
26105Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26106
26107 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 26108 initialize.
c906108c 26109 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 26110 by a target configuration file.
c906108c
SS
26111 (gdb_expect): Pass the timeout to remote_expect.
26112
26113 * config/monitor.exp(gdb_load): Fix typo in regexp.
26114
26115Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
26116
26117 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
26118
26119Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
26120
26121 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
26122 here. Call gdb_target_exec before rebooting the target, to make
26123 sure the connection to the target is closed.
c906108c
SS
26124 (gdb_load): Pass the name of the executable to gdb_target_monitor.
26125 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
26126 Also detect "Timeout reading from remote" error.
26127
26128 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
26129 gdb_target_monitor. Don't call gdb_file_cmd here; let
26130 gdb_target_monitor do it.
c906108c
SS
26131
26132 * gdb.disasm/hppa.exp: Don't use exec_output.
26133
26134Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
26135
26136 * gdb.base/list.exp: If we're debugging a non-native target,
26137 try to set the pc register to point to the start of the
26138 program before doing the first list command.
26139
26140 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 26141 test_calls after restarting.
c906108c
SS
26142
26143 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 26144 reloading.
c906108c
SS
26145
26146 * gdb.base/watchpoint.exp: Fix typo.
26147
26148 * gdb.base/setshow.exp: Check for use_gdb_stub.
26149
26150 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 26151 stub case.
c906108c
SS
26152 * gdb.base/langs.exp: Ditto.
26153
26154 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
26155 gdb_load_offset. If we weren't given a file to load, figure out
26156 what the current file is and use it.
c906108c
SS
26157
26158 * config/i386-bozo.exp: New file.
26159
26160Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
26161
26162 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
26163 feature.
26164
26165 * config/proelf.exp: New entry.
26166
26167Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
26168
26169 * lib/gdb.exp: Remove spurious .* patterns at the beginning
26170 of regexps.
26171
26172 * gdb.base/watchpoint.exp: Don't run the test_stepping
26173 tests if gdb can't call functions on the target.
26174
26175 * gdb.base/setshow.exp: Don't run the set prompt tests if
26176 the board has gdb_prompt set.
26177
26178Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
26179
26180 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
26181 * gdb.base/commands.exp: Likewise.
26182 * gdb.base/setshow.exp: Likewise.
26183
26184Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
26185
26186 * config/monitor.exp(gdb_start): Look for gdb_prompt target
26187 feature.
26188
26189 * config/i960.exp: New file.
26190
26191Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
26192
26193 * gdb.base/funcargs.exp: Check for gdb,short_int target
26194 feature instead of looking for explicit target triplets.
26195
dc96c6c7 26196Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 26197
d63a86f8 26198 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
26199 "p 123DEADBEEF", to check parse_number.
26200 * top.c: change "to enable to enable" to "to enable" in a couple
26201 of help strings.
26202
26203Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
26204
26205 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
26206 on the mn10300.
d63a86f8 26207
c906108c
SS
26208Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
26209
26210 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
26211 where the test executable is run with explicit args.
26212 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
26213
26214Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
26215
26216 * gdb.base/run.c: Use FAKEARGV to build test executable that
26217 does not require a command line arg, since most simulators
26218 don't currently support passing such an arg into the simulated
26219 program.
26220 * gdb.base/commands.exp: Change tests to insert the proper
26221 value as the arg to the first recursive factorial call. Change
26222 compilation line to define FAKEARGV at compile time.
26223
26224Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
26225
26226 * gdb.base/recurse.exp: Enable these tests for the mn10300.
26227 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
26228 function with watchpoint enabled" test.
26229
26230Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
26231
26232 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 26233 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
26234
26235 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 26236 "Tests restarted" messages.
c906108c
SS
26237
26238Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
26239
26240 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
26241
dc96c6c7 26242Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26243
26244 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
26245 for INFO SYMBOL; add help tests for OVERLAY commands.
26246 * gdb.base/default.exp: add tests for INFO SYMBOL command;
26247 add tests for OVERLAY commands
26248 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
26249 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
26250 * gdb.base/sigall.c: add usestubs code frag
26251 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 26252
c906108c
SS
26253Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
26254
26255 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
26256 failures.
26257 (gdb_stop_suppressing_tests): Note that tests have restarted.
26258
26259Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
26260
26261 * config/h8300.exp: New file.
26262
26263Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
26264
26265 * gdb.base/setshow.exp: Check for the existence of a
26266 feature, not its value.
26267
26268Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
26269
26270 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
26271
26272 * gdb.base/scope.exp: It's now init0(), not init().
26273
26274 * gdb.base/scope0.c: For now, change init() to be init0().
26275
26276 * config/monitor.exp: Use gdb_serial in preference to serial
26277 or netport.
26278
26279 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 26280 and it's not already set.
c906108c
SS
26281
26282Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
26283
26284 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 26285 isn't using a stub and if it supports argument passing.
c906108c
SS
26286
26287Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
26288
26289 * config/udi.exp(gdb_start): Make sure UDICONF is set
26290 properly before starting gdb.
26291
26292Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
26293
26294 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
26295 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
26296 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
26297
26298Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
26299
26300 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 26301 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
26302
26303 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
26304
26305 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
26306
26307 * config/monitor.exp: Make sure we disconnect from the target.
26308 Also, try a reboot/reload cycle instead of failing if the
26309 load fails.
26310
26311Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
26312
26313 * gdb.base/default.exp: Don't set match_max.
26314 * gdb.base/help.exp: Ditto.
26315 * gdb.base/list.exp: Ditto.
26316 * gdb.base/signals.exp: Ditto.
26317
26318 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
26319 set, use remote_ld to download the testcase instead of
26320 the GDB loader.
26321
26322Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
26323
26324 * config/vr5000.exp: New file.
26325
26326 * config/monitor.exp(gdb_target_monitor): Add pattern for
26327 "Ending remote" to detect errors in connecting.
26328
26329 * gdb.base/setshow.exp: Add .* within auto language test.
26330
26331 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
26332 target feature.
26333
26334 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 26335 and reboot the board if necessary.
c906108c
SS
26336
26337 * gdb.base/setvar.exp(test_set): Handle multiple prints within
26338 a set of tests. Remove print.* from the patterns being checked.
26339
26340Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
26341
26342 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
26343 refer to gdb_spawn_id.
26344
26345 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
26346 longer used.
26347 * config/sparclet.exp: Ditto.
26348 * config/sparclet-old.exp: Ditto.
26349 * config/slite.exp: Ditto.
26350 * config/sim.exp: Ditto.
26351 * gdb.base/funcargs.exp: Ditto.
26352
26353 * lib/gdb.exp:Remove references to gdb_spawn_id.
26354 (gdb_expect): Move to remote.exp.
26355
26356Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
26357
26358 * config/monitor.exp: Detect the "Couldn't establish connection"
26359 message from GDB.
26360
26361Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
26362
26363 * gdb.base/bitfields.exp: Use runto instead of explicit
26364 gdb_run_cmd/gdb_expect sequences.
26365
26366 * gdb.base/break.exp(text_next_with_recursion): Add match for
26367 gdb_expect call.
26368
26369 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
26370 We also need to handle the "A program is being debugged already"
26371 prompt from gdb. Use gdb_test to set the baud rate.
26372
26373 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
26374 to 20000. Really. I mean it.
26375
26376Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26377
26378 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
26379 fails. If suppress_flag is set, skip perror message about not
26380 being able to send to GDB.
c906108c 26381 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 26382 GDB.
c906108c
SS
26383 (gdb_expect): If suppress_flag is set, always fail immediately.
26384 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
26385 (gdb_init): Call gdb_stop_suppressing_tests.
26386 (default_gdb_exit): Ditto.
26387 (default_gdb_start): Ditto.
26388
26389 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 26390 gdb_stop_suppressing_tests as appropriate.
c906108c 26391 * gdb.base/break.exp: Ditto.
889bf7c5 26392 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
26393 * gdb.base/commands.exp: Ditto.
26394 * gdb.base/exprs.exp: Ditto.
889bf7c5 26395 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
26396 * gdb.base/list.exp: Ditto.
26397 * gdb.base/recurse.exp: Ditto.
889bf7c5 26398 * gdb.base/scope.exp: Ditto.
c906108c
SS
26399 * gdb.base/structs.exp: Ditto.
26400 * gdb.c++/inherit.exp: Ditto.
26401
26402Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
26403
26404 * config/vr4300.exp: New file.
26405
99707966 26406 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 26407
99707966 26408 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
26409
26410Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
26411
26412 * lib/gdb.exp(gdb_init): New function.
26413
26414 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 26415 for each individual variable set.
c906108c
SS
26416
26417 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
26418 name.
26419
26420 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
26421
26422 * gdb.base/scope.exp: Use gdb_test.
26423
26424 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
26425 aborting; the testsuite driver will do that for us (see
26426 gdb_finish). Also, use gdb_test in a few more places.
26427
26428Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
26429
26430 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
26431
26432Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
26433
26434 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
26435 and "add_tests" are not at the same address.
26436
26437Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
26438
26439 * gdb.base/ptype.exp: Use gdb_test.
26440
26441Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
26442
26443 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
26444 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
26445 left in. No longer expect them to fail.
26446
26447 * gdb.stabs/*.mt; Deleted, no longer used.
26448 * gdb.stabs/configure.in: Remove references to target makefile
26449 frags.
26450 * gdb.stabs/configure: Rebuilt.
26451
26452 * gdb.disasm/*.mt: Deleted, no longer used.
26453 * gdb.disasm/configure.in: Remove references to target makefile
26454 frags. Use "sh3.s" as the unique filename for this directory.
26455 * gdb.disasm/configure: Rebuilt.
26456
26457 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
26458 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
26459 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
26460
26461Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
26462
26463 * config/udi.exp: Use mondfe,name instead of remote_host.
26464
26465Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
26466
26467 * gdb.base/watchpoint.exp: Don't expect a failure when calling
26468 a function with a watchpoint enabled on the mn10200.
26469
26470 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
26471 before trying to create it!
26472
26473Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
26474
26475 * config/vx.exp: Use hostname instead of netport.
26476
26477 * config/vxworks.exp: New file.
26478
26479 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
26480
26481 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 26482 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
26483 occurs.
26484
26485 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
26486 $gdb_spawn_id directly.
26487 (gdb_run_cmd): Try _start as well as start. Use the target feature
26488 gdb,start_symbol as the symbol to start from when jumping.
26489
26490Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
26491
26492 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
26493 redundant) test.
26494
26495 * gdb.base/recurse.exp: Relax final value test for 'b' so that
26496 it doesn't lose for 16bit integer systems.
26497
26498Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
26499
26500 * gdb.fortran/types.exp: If the target doesn't support "double"
26501 data types, then expect "real" types to only be 4 bytes.
26502
26503 * gdb.c++/virtfunc.exp: Expect failure for virtual function
26504 call tests if the target doesn't support inferior function calls.
26505
26506 * gdb.base/printcmds.exp: Allow minor deviation in FP values
26507 in printf tests.
26508
26509Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
26510
26511 * gdb.base/help.exp: Disable "help set", "help show", and
26512 "help support". Simplify regexp for "help stack".
26513
26514 * gdb.base/default.exp: Set match_max to 5000 and the timeout
26515 to 60 seconds. Temporarily set match_max to 15000 around the
26516 "info copying" test.
26517
26518 * gdb.base/nodebug.exp: Don't try to do an inferior function
26519 call if the target doesn't support them.
26520 * gdb.base/printcmds.exp: Likewise.
26521 * gdb.base/setvar.exp: Likewise.
26522 * gdb.base/structs.exp: Likewise.
26523 * gdb.c++/templates.exp: Likewise.
26524 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
26525
26526 * gdb.base/recurse.exp: Enable for the mn10200.
26527
26528 * configure.in: Do configure gdb.stabs directory for *-*-elf
26529 targets.
26530 * configure: Rebuilt.
26531
26532 * gdb.base/break.exp: Check for gdb,noresults before testing
26533 exit status and/or results from the target.
26534 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
26535 * lib/gdb.exp: Remove old (now bogus) initialization of
26536 noinferior, noargs, noresults and nosignals.
26537
26538Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
26539
26540 * config/sh.exp: New file.
26541
26542 * config/slite.exp: Try to connect multiple times to the board
26543 before rebooting. Only send a "monitor run" if need_monitor_run
26544 is set.
26545
26546 * gdb.base/break.exp: Don't do the "stub continue" test if
26547 the target has gdb_stub set.
26548
26549 * gdb.base/callfuncs.exp: Increase the timeout.
26550
26551 * gdb.base/interrupt.exp: Don't even try to compile the testcase
26552 if the target has gdb,noinferiorio set.
26553
26554 * gdb.base/list.exp: Increase match_max to 10000 characters.
26555
26556 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
26557
26558 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
26559 target.
26560
26561 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
26562
26563Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
26564
26565 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
26566 trying to delete the copy of gdb. Catch the file delete so we
26567 don't die if the delete fails; also, the file should be copied to
26568 the host, not to the build.
c906108c
SS
26569
26570Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
26571
26572 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 26573 parenthesis in case it contains multiple regexps separated
c906108c
SS
26574 with |.
26575
26576 * gdb.base/watchpoint.exp: Use gdb_test.
26577 * gdb.base/default.exp: Ditto.
26578
26579Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
26580
99707966 26581 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 26582
c906108c
SS
26583 * gdb.base/scope.exp: Use gdb_test.
26584 * gdb.c++/classes.exp: Ditto.
26585 * gdb.c++/inherit.exp: Ditto.
26586
26587Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
26588
26589 * gdb.base/crossload.exp: Don't use execute_anywhere, use
26590 remote_exec instead.
26591 * gdb.base/corefile.exp: Don't be ridiculous.
26592 * gdb.base/*.c: Add missing stub invocations.
26593
26594Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
26595
26596 * config/slite.exp: Miscellaneous fixes.
26597
26598 * lib/gdb.exp: Fix runto.
26599
26600 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
26601 the target.
26602
26603 * gdb.base/watchpoint.exp: Fix regexp.
26604
26605 * lib/gdb.exp(default_gdb_exit): Add a catch to the
26606 close and wait commands, as the descriptor may now be
26607 invalid. Always call "remote_close host".
26608
26609Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
26610
26611 Major rewrite for testsuite revision.
d63a86f8 26612
c906108c
SS
26613 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
26614 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
26615 instead of relying on spawn_id to always contain a valid
26616 spawn id.
26617 (get_compiler_info): New procedure to build the ${binfile}.ci
26618 file, instead of replicating this in N different places.
26619 (gdb_compile): New procedure.
d63a86f8 26620
c906108c 26621 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
26622 appropriate arguments) instead of compile. Use gdb_test in a lot
26623 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
26624 at the start of a testcase, as this is no longer done magically.
26625
26626 config/*-gdb.exp: Rename without the -gdb suffix.
26627
26628 config/mips.exp: Use remote_close instead of exit_remote_shell.
26629 config/monitor.exp: Use target_info instead of looking at
26630 baud, timeout, etc.
26631 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
26632
26633Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26634
26635 * gdb.c++/templates.exp (test_ptype_of_templates),
26636 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
26637 Update expect patterns for destructors and assignment operators
26638 to match corresponding c-typeprint.c changes.
26639 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
26640 to destructor breakpoint test, GDB should be able to set the
26641 destructor breakpoint without specifying arguments.
26642
26643Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
26644
26645 * gdb.threads/pthreads.exp: Change result for failure to compile due
26646 to lack of pthreads runtime support from an error to simply an
26647 unsupported test, per dejagnu standards.
26648
26649Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26650
26651 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
26652 where GDB exits to reduce pattern match time.
26653 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
26654
26655 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
26656
dc96c6c7 26657Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26658
26659 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
26660 * gdb.base/default.exp: ditto.
26661 * gdb.base/nodebug.exp: ditto.
26662 * gdb.base/printcmds.exp: ditto.
26663 * gdb.base/ptype.exp: ditto.
26664 * gdb.base/setvar.exp: ditto.
26665 * gdb.base/structs.exp: ditto.
26666 * gdb.base/setshow.c: Guard against uninitialized values of argc.
26667
26668Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
26669
26670 * configure, */configure: Rebuild with autoconf 2.12.
26671
26672Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
26673
26674 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
26675 use new i*86-pc-linux*-gnu quads.
26676 * gdb.base/corefile.exp: Ditto.
26677 * gdb.base/signals.exp: Ditto.
26678 * gdb.base/sigall.exp: Ditto.
26679 * gdb.base/interrupt.exp: Ditto.
26680
26681 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
26682 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
26683 RedHat 4.0.
d63a86f8 26684
c906108c 26685 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
26686 linux. This allows the test case to at least compile on latest
26687 linux, but still not run due to missing the threads runtime library.
c906108c
SS
26688
26689Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26690
26691 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
26692 directory to search gdb directory. Accept and step over conditional
26693 stack alignment code. Consume $prompt in failure cases.
26694 Reset timeout to $oldtimeout instead of some arbitrary value.
26695 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
26696 timeout problems with infinite stack backtraces.
26697 * gdb.base/ptype.exp (ptype struct link, union tu_link):
26698 Accept function parameters for linkfunc member.
26699
26700Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
26701
26702 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
26703 (CXXFLAGS): Remove, unreferenced.
26704 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
26705 previous -B options and also add -B option to pick up cross compiled
26706 runtime.
c906108c
SS
26707 (TARGET_INCLUDES): Add for -I options and add code to initialize when
26708 doing cross compiles.
26709 (target_alias): Declare global.
26710 (xgcc): Set variable to full path of gcc in build tree. Use findfile
26711 to verify that gcc exists in build tree, and if so set CC to that
26712 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 26713
c906108c
SS
26714Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
26715
26716 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
26717 ptype test for anonymous union. Fixup testcase to match
26718 current gcc debug output.
26719
26720Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
26721
26722 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
26723 force argument to an unsigned long type.
26724
26725Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
26726
26727 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 26728 tests and anonymous union print/ptype tests.
c906108c
SS
26729 * gdb.base/list.exp (test_forward-search): Increase timeout by
26730 5 minutes for the "search extremely long line" case.
26731 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
26732 completely optional and that the pass/fail messages use the command as
26733 the message if that third arg is a null string.
26734 (gdb_test_exact): Arrange that a null string pattern means match a
26735 null string output rather than any output, which might include random
889bf7c5 26736 errors.
c906108c
SS
26737 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
26738 backtrace test.
26739 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
26740 always failing and failure is now exposed by gdb.exp changes.
26741
26742Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
26743
26744 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
26745 weren't being noted.
26746
26747Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26748
26749 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
26750 * gdb.stabs/weird.exp: Remove v_comb xfails.
26751
dc96c6c7 26752Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26753
26754 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 26755 list.exp scope.exp watchpoint.exp]
c906108c 26756 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 26757
dc96c6c7 26758Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26759
26760 * config/monitor.exp: Increase download timeout to 1000 seconds.
26761
dc96c6c7 26762Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26763
26764 * config/m32r.exp: Increase timeout to 120 seconds.
26765
26766Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
26767
26768 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
26769 and accept older ordering as obsolescent gcc or gdb.
26770 * gdb.c++/templates.exp: Ditto.
26771 * gdb.c++/virtfunc.exp: Ditto.
26772
26773Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
26774
26775 * gdb.base/coremaker.c: Add code to mmap some data so we
26776 can check that it ends up in the core file.
26777 * gdb.base/corefile.exp: Add test to read mmapped data
26778 from core file.
26779
dc96c6c7 26780Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26781
26782 * config/m32r.exp: New file.
26783
26784Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
26785
26786 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
26787 that cflags can contains -gstabs, and work correctly for other tests.
26788
dc96c6c7 26789Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26790
26791 * gdb.base/setshow.exp: New file, tests show and set.
26792 * gdb.base/setshow.c: New file, tests show and set.
26793 * gdb.base/help.exp: Add test for help set|show annotate.
26794 * gdb.base/default.exp: Add test for set|show annotate.
26795
26796Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
26797
26798 * testsuite/gdb.base/break.exp: Make backtrace from factorial
26799 errors unique.
26800 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
26801 explicitly.
26802
26803Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
26804
26805 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
26806 and width commands. This is done elsewhere.
26807 * (gdb_start): Don't call gdb_start_sim here. That's already
26808 done in gdb_load. This fixes lots of failures in default.exp.
26809
26810Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
26811
26812 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
26813 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
26814 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
26815 in the same we we treat other failures (since it may be an expected
889bf7c5 26816 condition), rather than as an error.
c906108c
SS
26817 * gdb.base/signals.exp (test_handle_all_print): Revert back to
26818 old test format.
26819
26820Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
26821
26822 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
26823 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 26824 twice. Nuke the duplicates.
c906108c 26825 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 26826 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
26827 Remove config.h along with other config files.
26828
26829Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
26830
26831 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
26832 "p func1 ()" and note that rests of tests are skipped.
26833 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 26834 setup_xfails for "print func2::coremaker_local".
c906108c
SS
26835 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
26836 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
26837 affected by the previous run test.
26838 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
26839 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
26840 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
26841 "pass int powerset tuple" and "pass modeless int powerset tuple".
26842 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
26843 "real write 4" and "real write 8".
26844 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 26845 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
26846 "print \$i after tuple assign 2", and
26847 "print vs2 after tuple assign 2".
26848 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
26849 meaningful error message and return -1 so the caller can
26850 suppress further tests and avoid a cascade of errors.
d63a86f8 26851
c906108c
SS
26852Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
26853
26854 * gdb.base/a1-selftest.exp: Tweak tests to account for new
26855 format for printing version.
26856 * gdb.base/default.exp: Ditto.
26857 * gdb.base/interrupt.exp: Fix problem with cascade of
26858 errors if child process dies while calling a function.
d63a86f8 26859
c906108c
SS
26860Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
26861
26862 * Makefile.in (VPATH): Add
26863 * Makefile.in (Makefile, config.status): Fix rules so things get
26864 remade when necessary.
26865
26866Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
26867
26868 * Makefile.in (just-check): Add path to sibling expect dir
26869 to environment variable specified by RPATH_ENVVAR.
26870
26871Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
26872
26873 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
26874 (just-check): Add shared library paths for libstdc++, tk,
26875 tcl, bfd, and opcodes to the environment variable specified
26876 in RPATH_ENVVAR.
26877 * configure.in: Add support to recognize --enable-shared flag
26878 and generate correct value for RPATH_ENVVAR.
26879 * configure: Regenerated with autoconf.
26880
26881Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
26882
26883 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 26884 include all osf versions.
c906108c
SS
26885 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
26886 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
26887 when target is linux. When failing to build pthreads test
26888 executable, give more meaningful message.
26889 * gdb.threads/pthreads.c: Hpux also uses old definition of second
26890 arg for pthread_create.
d63a86f8 26891
c906108c
SS
26892Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
26893
26894 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 26895 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 26896 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 26897 and -lpthreads (everybody else).
c906108c
SS
26898 (test_startup): Fail gracefully if threads are not supported.
26899 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
26900 "p/c array_index("abcdef",2)" when not gcc compiled.
26901 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
26902 "print func2::coremaker_local" when not gcc compiled.
26903 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
26904 "ptype on opaque struct tagname (statically)",
26905 "ptype on opaque struct tagname (dynamically) 1", and
26906 "ptype on opaque struct tagname (dynamically) 2"
26907 for not compiled with gcc.
26908 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
26909 backtrace when compiled with gcc.
d63a86f8 26910 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
26911 than always return success.
26912
26913Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
26914
26915 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
26916
26917Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
26918
26919 * gdb.base/structs.exp: Undo last change.
26920
26921Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
26922
26923 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
26924 encapsulate all the steps/nexts done during self test, starting
26925 at main, and makes them less sensitive to optimization issues.
26926 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
26927 signal handler" test.
26928 * gdb.threads/pthreads.exp: Only run this for native configs.
26929 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
26930 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
26931 tests.
26932 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
26933 for "runto test_calls(void)" test.
d63a86f8 26934
c906108c
SS
26935Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
26936
26937 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
26938 and don't expect address info in breakpoint confirmations.
26939
26940Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
26941
26942 * gdb.base/list.exp (test_forward_search): Increase timeout
26943 temporarily by 60 seconds for searching extremely long line,
889bf7c5 26944 and then reset to old value when done. Increase expect input
c906108c
SS
26945 buffer to 10000.
26946
26947Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
26948
26949 * gdb.base/list.exp (test_forward_search): Fix to handle very
26950 long source line without overflowing expect's input buffer.
26951
26952Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
26953
26954 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
26955 "buffer_full".
26956
26957 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
26958 "buffer_full".
26959
26960 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
26961 "buffer_full".
26962
26963 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
26964 "buffer_full".
26965
26966Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
26967
26968 * configure.in (configdirs): Add gdb.threads.
26969 * configure: Regenerated with autoconf.
26970 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
26971 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
26972 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 26973
c906108c
SS
26974Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
26975
26976 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
26977
26978Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
26979
26980 * gdb.base/signals.exp (test_handle_all_print): Test separately for
26981 each signal's status in the output of "handle all print".
26982 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
26983 the \r\n sequence that immediately precedes the gdb prompt.
26984 * gdb.base/a1-selftest.exp: Save original timeout and restore
26985 after test.
26986
26987Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
26988
26989 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
26990 symbol.
26991
26992Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
26993
26994 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
26995
26996Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
26997
26998 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
26999 timeout by 60 seconds.
27000
27001Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
27002
27003 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
27004 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
27005 error return.
27006
27007Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
27008
27009 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
27010 gdb initialization, also report how long dejagnu waited. Restore
27011 old timeout before doing error return. Temporarily increase timeout
889bf7c5 27012 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
27013
27014Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
27015
27016 * lib/gdb.exp: Report timeout value for verbosity level 2.
27017 * config/gdbserver.exp: Ditto.
27018 * config/hppro.exp: Ditto.
27019 * config/mips-gdb.exp: Ditto.
27020 * config/monitor.exp: Ditto.
27021 * config/netware.exp: Ditto.
27022 * config/sim-gdb.exp: Ditto.
27023 * config/slite-gdb.exp: Ditto.
27024 * config/udi-gdb.exp: Ditto.
27025 * config/unix-gdb.exp: Ditto.
27026 * config/vx-gdb.exp: Ditto.
27027 * gdb.base/a1-selftest.exp: Ditto.
27028 * gdb.base/a2-run.exp: Ditto.
27029 * gdb.base/break.exp: Ditto.
27030 * gdb.base/corefile.exp: Ditto.
27031 * gdb.base/list.exp: Ditto.
27032 * gdb.base/recurse.exp: Ditto.
27033 * gdb.base/scope.exp: Ditto.
27034 * gdb.base/signals.exp: Ditto.
27035
27036Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27037
27038 * gdb.threads/Makefile.in (docdir): Removed.
27039
27040Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27041
27042 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 27043 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 27044 @srcdir@.
d63a86f8 27045 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
27046 autoconf 2.5 or higher.
27047 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
27048
27049Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
27050
27051 * configure: Regenerated.
27052 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
27053 avoid name clashes with SunOS headers.
27054
27055Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
27056
27057 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
27058
27059Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
27060
27061 * gdb.base/callfuncs.exp: Finish last change -- make sure the
27062 prototype information ends up in the compiler info file.
27063
27064Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
27065
27066 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
27067 attempting to regenerate it. Eliminate use of a temporary file
27068 and just generate the info file directly. Source it immediately,
27069 for consistency of use.
27070 * gdb.base/corefile.exp: Ditto
27071 * gdb.base/exprs.exp: Ditto.
27072 * gdb.base/funcargs.exp: Ditto.
27073 * gdb.base/langs.exp: Ditto.
27074 * gdb.base/list.exp: Ditto.
27075 * gdb.base/mips_pro.exp: Ditto.
27076 * gdb.base/nodebug.exp: Ditto.
27077 * gdb.base/opaque.exp: Ditto.
27078 * gdb.base/ptype.exp: Ditto.
27079 * gdb.base/scope.exp: Ditto.
27080 * gdb.base/setvar.exp: Ditto.
27081 * gdb.base/signals.exp: Ditto.
27082 * gdb.base/whatis.exp: Ditto.
27083 * gdb.c++/templates.exp: Ditto.
27084 * gdb.c++/virtfunc.exp: Ditto.
27085 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 27086 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
27087
27088Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27089
27090 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
27091 it got fixed by the recent lookup_minimal_symbol_by_pc change.
27092 Increase timeout, a lot of single stepping might be needed if the
27093 target has no hardware watchpoints.
27094
27095Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
27096
27097 * gdb.base/break.exp: Ignore compiler warnings when compiling
27098 break.c.
27099 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
27100 * gdb.base/default.exp: Add h8300 xfails. Handle messages
27101 from remote-sim.
27102 * gdb.base/exprs.exp: Add h8300 xfails.
27103 * gdb.base/funcargs.exp: Likewise.
27104 * gdb.base/nodebug.exp: Likewise.
27105 * gdb.base/printcmds.exp: Likewise.
27106 * gdb.base/ptype.exp: Likewise.
27107 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
27108 h8300 xfails.
d63a86f8 27109 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
27110 on the h8300.
27111 * gdb.base/funcargs.c: Explicitly make last constant argument to
27112 call_after_alloca_subr an unsigned long type.
27113 * gdb.base/return.c: Include stdio.h.
27114
27115Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
27116
27117 * config/abug.exp: New file for the older Motorola Bug monitor
27118 that runs on the mvme13x series VME boards.
27119 * config/monitor.exp: Use the new config array for target settings
27120 if they exist.
27121
27122Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
27123
27124 * sim-gdb.exp: Make the SH simulator allocate less space when
27125 it is targeted.
27126
27127Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
27128
27129 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
27130 test.
27131
27132Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
27133
27134 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
27135 "rs6000-*-*" for "list function in include file" when gcc compiled.
27136 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
27137 for "p ctable1[120]".
27138 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
27139 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
27140 Remove setup_xfail for "rs6000-*-*" for
27141 "print 'scope0.c'::filelocal before run".
27142 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
27143 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
27144 since some compilers don't allow both options to be given
27145 on the same command line. Create object file and move it.
d63a86f8 27146
c906108c
SS
27147Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
27148
27149 * gdb.base/corefile.exp: Always regenerate the core file, since
27150 we always regenerate the coremaker program. Detect special case
27151 where registers cannot be read from core file.
d63a86f8 27152
c906108c
SS
27153Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
27154
27155 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
27156 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
27157 * gdb.c++/templates.exp: Only match on basename of file since
27158 some formats like xcoff don't encode directory information.
27159 * gdb.stabs/weird.exp: Use the right sed script for powerpc
27160 and rs6000 AIX xcoff targets.
27161 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
27162 * configure: Regenerate.
27163 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
27164 here, rather than in distclean.
d63a86f8 27165
c906108c
SS
27166Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
27167
27168 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
27169 defined, and use it to compile the test case with -O2. The
27170 native compilation still uses no optimization.
27171 * gdb.base/mips_pro.c: Remove inline assembly code since
27172 it is compiled PIC by default, which results in assembler
27173 warnings that make the testsuite think the compilation
27174 was unsuccessful.
27175
27176Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
27177
27178 * gdb.c++/misc.exp: Add note to message for
27179 "print s.a for foo struct" that this is a known gcc 2.7.2
27180 and earlier bug.
27181
27182Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
27183
27184 * gdb.base/break.exp: Fix pattern for matching "Delete all
27185 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
27186 setup_xfail for deleting all breakpoints test. Fix various
27187 timeout messages to include "(timeout)".
27188 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
27189 for "p t_float_values2(3.14159,float_val2)".
27190 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
27191 for "continue to call2g" when gcc compiled.
27192 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
27193 "up to foo in langs.exp", "show language at foo in langs.exp",
27194 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
27195 and "show language at fsub in langs.exp".
27196 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
27197 "list line 1 in include file", "list message for lines past EOF",
27198 "list function in include file", "list list0.h:foo", and
27199 "list filename:function; nonexistant function".
27200 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
27201 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
27202 and "ptype t_char_array" to be for native cc only.
d63a86f8 27203
c906108c
SS
27204Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
27205
d63a86f8 27206 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 27207 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 27208 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
27209
27210Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
27211
27212 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
27213 "bt in signals.exp". This problem only appears when running
27214 the testsuite, and then only intermittently.
27215
27216Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
27217
27218 * gdb.base/return.exp (return_tests): Differentiate between
27219 two tests of continuing.
27220
27221Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
27222
27223 * */Makefile.in (maintainer-clean): Remove config.log.
27224 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
27225 * gdb.c++/Makefile.in (PROGS): Add inherit.
27226 (clean): Remove *.ci.
27227
27228Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
27229
27230 * gdb.c++/misc.cc: Add test code from Mike Stump.
27231 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
27232
27233Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
27234
27235 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
27236 to "alpha-*-osf2*" and add comment.
27237 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
27238 setup_xfail for "step over execarg initialization" and
27239 "step over corearg initialization".
c906108c
SS
27240 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
27241 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
27242 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 27243 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
27244 "print func2::coremaker_local", and "backtrace in corefile.exp".
27245 * gdb.base/signals.exp: Build and source signals.ci.
27246 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
27247 to be for gcc only.
27248 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 27249
c906108c
SS
27250Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27251
27252 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
27253 Feb 3 procfs.c change.
27254
27255Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
27256
27257 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
27258
27259Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
27260
27261 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
27262 from dejagnu's apparent default of 10 seconds, which gives random
27263 results when running the tests over NFS on moderately loaded systems.
27264 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
27265
27266Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
27267
27268 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
27269 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 27270 result reports.
c906108c
SS
27271
27272Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
27273
27274 * configure.in (CY_AC_PATH_TCLH): Remove.
27275 * configure: Regenerate.
27276
27277Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
27278
27279 * gdb.c++/Makefile.in (clean): Add missing '{'.
27280
27281Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
27282
27283 * lib/gdb.exp: Provide a default value for noinferior.
27284
27285 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
27286 Load libgloss.exp.
27287
27288Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
27289
27290 * gdb.disasm/hppa.exp: Compile directly into an executable, use
27291 the executable, not the .o to run the tests from.
27292
27293Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
27294
27295 * gdb.base/break.exp: Don't test for program exit or exit status
27296 if $noresults if nonzero.
27297 * gdb.base/langs.exp: Likewise.
27298 * gdb.base/watchpoint.exp: Likewise.
27299
27300 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
27301 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
27302 trying to compile the testcase.
27303
27304Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
27305
27306 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
27307 * gdb.base/signals.exp (continue to handler): Likewise.
27308
27309Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
27310
27311 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
27312
27313 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
27314
27315Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
27316
27317 * gdb.base/corefile.exp: Recognize "not found" as failure
27318 when trying to determine if a core file was generated.
27319 If no core file was generate the first time, try again without
27320 the ulimit -c to work around braindamaged shells.
27321
27322Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
27323
27324 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
27325 [] tests with "test" and enclose string in quotes.
27326 * gdb.stabs/configure: Rebuild
d63a86f8 27327
c906108c
SS
27328Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
27329
27330 Changes in sync with expect:
27331 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
27332 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
27333 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
27334 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
27335 argument to AC_REQUIRE.
27336 * configure: Regenerated.
27337
27338Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
27339
27340 * gdb.base/corefile.exp: When generating a core, discard any
27341 error messages about ulimit not found and the "core dumped"
27342 message from the shell that runs the coredumper.
27343
27344Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
27345
27346 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
27347
27348 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
27349 which sed script to run. Expect failure for v_comb test
27350 on PA targets too.
d63a86f8 27351
c906108c
SS
27352Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
27353
27354 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 27355 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
27356
27357Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
27358
27359 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
27360 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 27361 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
27362 * lib/gdb.exp (default_gdb_start): Fix typo.
27363 * gdb.base/corefile.exp: Allow "Core was generated by ..."
27364 messages to not include the full program name that caused
27365 the core dump since some systems (such as solaris) apparently
27366 truncate this path to about 80 characters.
27367 When generating a core file first try increasing the core file
27368 size limit to unlimited since some systems may default it to
27369 zero, and it is harmless to try it. Move the test for failing
27370 to generate a core file to where it will actually get executed.
27371 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
27372 new gdb result from g++ debug info improvements and make old
27373 pattern obsolescent. Also account for size_t differences
27374 (may be int or long).
27375 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
27376 initialization before function call is placed in the delay slot
27377 and thus appears to be skipped over by commands such as "next".
27378
27379Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
27380
27381 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
27382
27383Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
27384
27385 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
27386 input source file; fix code to compile test to deal with this
27387 convention.
27388 * gdb.c++/*.exp: Likewise.
27389
27390Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
27391
27392 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
27393 "bt in signals.exp".
27394
27395Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
27396
27397 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
27398 "step over execarg initialization" and
889bf7c5 27399 "step over corearg initialization".
c906108c
SS
27400
27401Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
27402
27403 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
27404 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
27405
27406Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
27407
27408 From Rob Savoye (rob@poseidon.cygnus.com)
27409 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
27410 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
27411 configure.in}, gdb.disasm/{Makefile.in, configure.in},
27412 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
27413 configure.in}: Major reworking for autoconfig.
c906108c
SS
27414 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
27415 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 27416 New files.
c906108c
SS
27417 * config/unix-gdb.exp: Make GDB global.
27418 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
27419 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
27420 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
27421 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
27422 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
27423 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 27424 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
27425 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
27426 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
27427 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
27428 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 27429 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
27430 to returns as necessary, arrange for test to compile own testcase
27431 executable.
c906108c 27432 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 27433
c906108c
SS
27434Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
27435
27436 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 27437 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
27438 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
27439 "backtrace through signal handler".
27440
27441Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27442
27443 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
27444 continuing from a job control stop signal.
27445 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
27446
27447Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
27448
27449 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
27450 * gdb.base/corefile.exp: Likewise.
27451 * gdb.base/funcargs.exp: Likewise.
27452
27453Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
27454
27455 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
27456 * config/monitor.exp: Add support for setting baud rate.
27457
27458Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
27459
27460 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
27461 i*86-*-linux* xfails for "backtrace through signal handler".
27462 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
27463 "print func2::coremaker_local".
27464 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 27465 alpha-dec-osf2* xfail for
c906108c
SS
27466 "delete all breakpoints when none".
27467
27468Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
27469
27470 * gdb.base/break.exp: Change test that deletes all breakpoints
27471 when no user breakpoints are installed. A post 4.15 change
27472 causes gdb to no longer prompt in this case.
27473
27474Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
27475
27476 * gdb.base/return.exp (return_tests): Change xfail for test
27477 "correct value returned double test" to stop xfailing at
27478 Solaris 2.5. Apparently the bug has been fixed.
27479
27480Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
27481
27482 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
27483 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
27484
27485Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
27486
27487 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
27488 * gdb.disasm/hppa.s: Corresponding changes.
27489
27490Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
27491
27492 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
27493 makefile fragment.
27494 * config/mt-hpux: Deleted.
27495
27496Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
27497
d63a86f8 27498 * Many files: When warning about suppressed tests due to a
c906108c
SS
27499 nonexistant test binary, avoid incrementing the warning count.
27500
27501Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
27502
27503 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 27504
c906108c
SS
27505Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27506
27507 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
27508 "sparc-*-solaris2*".
27509
27510Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27511
27512 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
27513 Add global and local variables and initialize them.
27514 * gdb.base/corefile.exp: Test correct mapping of corefile sections
27515 by printing variables. Remove rs6000 and powerpc xfails, BFD now
27516 extracts the file name and terminating signal from the core file.
27517 * TODO: Remove note about tests for correct mapping of corefile.
27518 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
27519 from optimizing it away.
27520 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
27521 handles common blocks.
27522
27523Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
27524
27525 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
27526 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
27527
27528Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
27529
27530 * Makefile.in (maintainer-clean): New target, synonym for
27531 realclean.
27532 * gdb.base/Makefile.in (maintainer-clean): Likewise.
27533 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
27534 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
27535 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
27536 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
27537 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
27538
27539Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
27540
27541 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
27542 xfails when not gcc compiled for "print foo::funclocal".
27543 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
27544 "print foo::funclocal at foo",
27545 "print 'scope1.c'::foo::funclocal at foo",
27546 "print foo::funclocal_bss at foo",
27547 "print 'scope1.c'::foo::funclocal_bss at foo",
27548 "print foo::funclocal_ro at foo",
27549 "print 'scope1.c'::foo::funclocal_ro at foo",
27550 "print bar::funclocal at foo" and
27551 "print 'scope1.c'::bar::funclocal at foo".
27552 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
27553 gcc compiled for "print foo::funclocal at bar".
27554 Expand all messages to ensure that they identify that
27555 the test is at bar().
27556 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
27557 gcc compiled for:
27558 "ptype on opaque struct pointer (statically)",
27559 "ptype on opaque struct tagname (statically)",
27560 "ptype on opaque struct pointer (dynamically) 1",
27561 "ptype on opaque struct tagname (dynamically) 1",
27562 "ptype on opaque struct pointer (dynamically) 2" and
27563 "ptype on opaque struct tagname (dynamically) 2
27564 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
27565 gcc compiled for:
27566 "p datalocal"
27567 "whatis datalocal",
27568 "ptype datalocal",
27569 "p bsslocal",
27570 "whatis bsslocal", and
27571 "ptype bsslocal".
27572 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
27573 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
27574 when not gcc compiled.
27575 * gdb.base/funcargs.exp (float_and_integral_args): Add
27576 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
27577 compiled.
27578 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
27579 "backtrace from call6a" when not gcc compiled.
27580 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
27581 "backtrace from call7a" when not gcc compiled.
27582 * gdb.base/callfuncs.exp (do_function_calls):
27583 Add "hppa*-*-hpux*" xfail when not gcc compiled for
27584 "p t_char_array_values(char_array_val2,char_array_val1)",
27585 "p t_char_array_values(char_array_val1,char_array_val2)",
27586 "p t_char_array_values("carray 1","carray 2")",
27587 "p t_char_array_values("carray 1",char_array_val2)",
27588 "p t_char_array_values(char_array_val1,"carray 2")",
27589 "p sum_args(1,{2})",
27590 "p sum_args(2,{2,3})",
27591 "p sum_args(3,{2,3,4})",
27592 "p sum_args(4,{2,3,4,5})"
27593 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
27594 "backtrace in corefile.exp" when not gcc compiled.
27595
27596Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27597
27598 * gdb.base/signals.exp: Rewrite `handle all print' test as
27599 a procedure. Accept blanks or TABs as whitespace, increase
27600 timeout and expect input buffer size for the large output
27601 from the command. Remove "i*86-*-bsdi2.0" xfail.
27602
27603Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27604
27605 * gdb.base/setvar.exp: Add new testcases for truncation when
27606 assigning invalid values to bitfields.
27607
27608Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
27609
d63a86f8 27610 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
27611 mips-sgi-irix* xfail for
27612 "call inferior func with struct - returns char *"
27613 and fix test so that an optional (unsigned char *) cast is
889bf7c5 27614 accepted in the result.
c906108c
SS
27615
27616Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
27617
27618 * gdb.base/funcargs.exp (float_and_integral_args): Remove
27619 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
27620 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
27621 * gdb.base/signals.exp: Remove duplicate "handle all print" test
27622 that accidentally got checked in.
27623
27624Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
27625
d63a86f8 27626 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
27627 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
27628 compiled test.
27629 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
27630 Add mips-sgi-irix5* xfail for not gcc compiled.
27631 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
27632 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
27633 compiled for "p top", "whatis top", "p middle", and "whatis
27634 middle".
c906108c
SS
27635 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
27636 "whatis signed char" for not gcc compiled.
27637 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
27638 "set variable signed char=-1 (-1)" and
27639 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
27640 * gdb.base/funcargs.exp (float_and_integral_args):
27641 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
27642 Add mips-sgi-irix* xfail when not gcc compiled for
27643 "continue to call2b".
27644 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
27645 "continue to call2g".
6fdff2c5
PA
27646 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
27647 compiled for "backtrace from call6a"
27648 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
27649 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
27650 when not gcc compiled for "backtrace from call7a".
c906108c
SS
27651 (localvars_after_alloca): Fix gdb_test cmds for
27652 "print * after runto ...".
27653 Remove rs6000-*-* xfails for
27654 "print i after runto localvars_after_alloca" and
27655 "print l after runto localvars_after_alloca"
27656 for all compilers.
27657 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 27658 when not compiled with gcc, for:
c906108c
SS
27659 "print signed char == (minus)",
27660 "print signed char != (minus)",
27661 "print signed char < (minus)",
27662 "print signed char > (minus)".
27663 * gdb.base/callfuncs.exp (do_function_calls):
27664 Add mips-sgi-irix* xfail, when compiled with native compiler, for
27665 "call inferior func with struct - returns char *".
d63a86f8 27666 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
27667 "correct value returned double test" to include Solaris 2.4.
27668 * gdb.base/funcargs.exp (float_and_integral_args):
27669 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 27670
c906108c
SS
27671Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27672
27673 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
27674 enumeration bitfields if compiling with GNU C.
27675 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
27676 to empty' prompt.
27677
27678Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
27679
27680 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
27681 test for PRO targets.
27682
27683 * gdb.base/funcargs.exp: Avoid ever setting more than 8
27684 breakpoints in the inferior at any given time by making
27685 two groups of breakpoints for call2*, call6* and call7*
27686 tests.
27687
27688Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27689
27690 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
27691 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
27692 from optimizing it away.
27693 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
27694 "call inferior func with struct".
27695
27696Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
27697
27698 * configure.in: Only configure gdb.chill for particular targets.
27699
27700Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
27701
27702 * gdb.base/Makefile.in: Add action to .c.o transformation
27703 rule that generates a .ci file for each .o file and remove
27704 explicit .c.o rules except for callfuncs.o.
27705 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
27706 generates a .ci file for each .o file and remove explicit
27707 .cc.o rules.
27708 (clean): Remove *.tmp *.ci files.
27709 (EXECUTABLES): Remove templ-info.exp.
27710 * gdb.base/compiler.c: New file.
27711 * gdb.c++/compiler.cc: New file
27712 * gdb.base/scope.exp: Source gdb.base/scope.ci.
27713 Change rs6000-*-* xfail for
27714 "print 'scope0.c'::filelocal_ro" and
27715 "print 'scope1.c'::filelocal" and
27716 "print 'scope1.c'::filelocal_bss" and
27717 "print 'scope1.c'::filelocal_ro" and
27718 "print 'scope1.c'::foo::funclocal" and
27719 "print 'scope1.c'::foo::funclocal_ro" and
27720 "print 'scope1.c'::bar::funclocal" and
27721 "print 'scope0.c'::filelocal_ro" and
27722 "print 'scope1.c'::filelocal at foo" and
27723 "print 'scope1.c'::filelocal_bss at foo" and
27724 "print 'scope1.c'::filelocal_ro at foo" and
27725 "print 'scope1.c'::foo::funclocal at foo" and
27726 "print 'scope1.c'::foo::funclocal_bss at foo" and
27727 "print 'scope1.c'::foo::funclocal_ro at foo" and
27728 "print 'scope1.c'::bar::funclocal at foo" and
27729 "print 'scope0.c'::filelocal_ro" and
27730 "print 'scope1.c'::filelocal" and
27731 "print 'scope1.c'::filelocal_bss" and
27732 "print 'scope1.c'::filelocal_ro" and
27733 "print 'scope1.c'::foo::funclocal" and
27734 "print 'scope1.c'::foo::funclocal_bss" and
27735 "print 'scope1.c'::foo::funclocal_ro" and
27736 "print 'scope1.c'::bar::funclocal" and
27737 "print 'scope1.c'::bar::funclocal_bss"
27738 to only be xfail'd when not compiled with gcc.
d63a86f8 27739 Add rs6000-*-* xfail for
c906108c
SS
27740 "print 'scope0.c'::filelocal_bss before run"
27741 when compiled with gcc.
27742 (test_at_main): Add rs6000-*-* xfail for
27743 "print filelocal_ro in test_at_main"
27744 when compiled with gcc.
27745 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 27746 Add rs6000-*-aix* xfail for
c906108c
SS
27747 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
27748 "ptype t_char_array", not compiled with gcc.
27749 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
27750 xfail for "list foo (in include file)" when gcc compiled.
27751 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 27752 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
27753 "run to call0a" if not compiled with gcc.
27754 (unsigned_integral_args): Add rs6000-*-* xfail for
27755 "run to call1a" if not compiled with gcc.
27756 (float_and_integral_args): Add rs6000-*-* xfail for
27757 "run to call2a" if not compiled with gcc and for
27758 "continue to call2b" for any compiler.
27759 Add rs6000-*-* xfail to
27760 "print f1 after run to call2a" for gcc compiled.
27761 (discard_and_shuffle): Add rs6000-*-* xfail for
27762 "run to call6a".
27763 (shuffle_round_robin): Add rs6000-*-* xfail for
27764 "backtrace from call7a" if not compiled with gcc.
27765 Add rs6000-*-* xfail for
27766 "backtrace from call7b" if compiled with gcc.
27767 (call_after_alloca): Add rs6000-*-* xfail for
27768 "print c in call_after_alloca" and
27769 "print s in call_after_alloca" and
27770 "backtrace from call_after_alloca_subr"
27771 if not compiled with gcc.
27772 (localvars_in_indirect_call): Add rs6000-*-* xfail for
27773 "print c in localvars_in_indirect_call" and
27774 "print c in localvars_in_indirect_call" and
27775 "backtrace in indirectly called function" and
27776 "stepping into indirectly called function"
27777 if not compiled with gcc.
27778 (localvars_after_alloca): Add rs6000-*-* xfail for
27779 "print c after runto localvars_after_alloca" and
27780 "print s after runto localvars_after_alloca" and
27781 "print i after runto localvars_after_alloca" and
27782 "print l after runto localvars_after_alloca"
27783 for all compilers.
27784 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
27785 than whatis-info.exp.
27786 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
27787 than opaque-info.exp.
27788 Setup rs6000-*-* xfail for
d63a86f8 27789 "ptype on opaque struct pointer (statically)" and
c906108c
SS
27790 "ptype on opaque struct pointer (dynamically)" when
27791 not compiled with gcc.
27792 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
27793 rather than callf-info.exp.
27794 (do_function_calls): Add clear_xfail for rs6000-*-* for
27795 "p t_float_values2(3.14159,float_val2)". Seems to work
27796 fine there, both with xlc and gcc. Need to find out what
27797 it is doing right and fix other platforms.
27798 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
27799 "call inferior func with struct - returns int",
27800 "call inferior func with struct - returns long",
27801 "call inferior func with struct - returns float",
27802 "call inferior func with struct - returns double",
27803 "call inferior func with struct - returns char *",
27804 but only if not gcc compiled (presumes xlc compiled).
27805 Change rs6000-*-* xfails for
27806 "call inferior func with struct - returns char" and
27807 " call inferior func with struct - returns short" to only
27808 xfail if not using gcc.
27809 (clean mostlyclean): Remove *.ci and *.tmp files.
27810 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
27811 than templ-info.exp.
27812 * gdb.base/langs.exp: Source gdb.base/langs.ci.
27813 Add rs6000-*-* xfail for "up to foo in langs.exp"
27814 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 27815 when not gcc compiled.
d63a86f8 27816
c906108c
SS
27817Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27818
27819 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
27820 * gdb.base/corefile.exp: Likewise.
27821 * gdb.base/list.exp: Likewise.
27822 * gdb.base/scope.exp: Likewise.
27823 * gdb.base/siganls.exp: Likewise.
27824
27825 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
27826 compiler output.
27827 * gdb.base/whatis.exp: Likewise.
27828
27829Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
27830
27831 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
27832 failure (opcode table has been fixed to match reality).
27833
27834Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
27835
27836 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
27837 "call inferior func with struct - returns char",
27838 "call inferior func with struct - returns short"
27839
27840 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
27841 "print 'scope0.c'::filelocal at main",
27842 "print 'scope0.c'::filelocal_bss in test_at_main",
27843 "print 'scope0.c'::filelocal at foo",
27844 "print 'scope0.c'::filelocal_bss in test_at_foo",
27845 "print 'scope0.c'::filelocal at bar",
27846 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 27847
c906108c
SS
27848 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
27849 in source file 1". This bug seems to have been fixed with both
27850 gcc and native cc (was native assembler bug?).
27851
27852Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
27853
27854 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
27855 "backtrace through signal handler" to "i*86-*-sysv4*".
27856 * gdb.base/signals.exp: Add xfail for "'next' behaved as
27857 continue" case. Add "known SVR4 bug" to fail message.
27858 Add "i*86-*-bsdi2.0" xfail for "handle all print".
27859 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
27860 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
27861 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
27862 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
27863 "up to foo in langs.exp", "show language at foo in
27864 langs.exp", "up to cppsub_ in langs.exp", "show
27865 language at cppsub_ in langs.exp", "up to fsub in
27866 langs.exp", and "show language at fsub in langs.exp".
27867 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
27868 "bactrace in corefile.exp".
27869 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
27870 "call inferior function with struct - returns float" and
27871 "call inferior function with struct - returns double".
d63a86f8 27872
c906108c
SS
27873Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
27874
27875 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
27876 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
27877 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
27878 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
27879
27880Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
27881
27882 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
27883 (or overriden) "CHILL" macro rather then bare "gcc".
27884 Also look for ../../gcc/xgcc since that is what we will
27885 actually need, not "Makefile". Remove following assignment
27886 of CHILL to CHILL_FOR_TARGET because that results in
27887 recursive definition.
27888
27889Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
27890
27891 * gdb.base/corefile.exp: Change xfail for backtrace in
27892 corefile.exp from linuxaout to all linux.
27893 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
27894 cases where we miss the breakpoint at the signal handler
27895 for some reason. Setup xfail for linuxoldld/linuxaout and
27896 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
27897 hitting SIGURG breakpoint.
27898 * gdb.base/signals.exp: Setup xfail for "next" acting like
27899 continue to add linuxoldld. Setup xfail for all linux for
27900 "next to handler in signals_tests_1", "backtrace in
27901 signals_tests_1", "continue to func1", "pass SIGUSR1",
27902 and continue to handler".
27903
27904Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
27905
27906 * Update all FSF addresses except those in COPYING* files.
27907
27908Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
27909
27910 * gdb.base/a2-run.exp: Change messages to be more explicit about
27911 the status of args, and quote binfile in results.
27912
27913Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
27914
27915 * gdb.base/callfuncs.exp: Add tests for passing structs to
27916 inferior functions and return various types.
27917 * gdb.base/callfuncs.c: Add functions to receive a struct
27918 and return a member of the struct, in various types.
27919
27920Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27921
27922 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
27923
27924Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
27925
27926 * config/vxworks29k.exp: New file, sources vxworks.exp.
27927
27928Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27929
27930 * config/gdbremote.exp: New file. Testing framework using
27931 gdbserver.
27932
27933Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
27934
27935 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
27936 "call function when asleep" and "send end of file".
27937 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
27938 for "backtrace in corefile.exp".
27939 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
27940 for "backtrace through signal handler".
27941 * gdb.base/corefile.exp: Make sure we actually generate a core file
27942 before trying the core tests. Some systems allow the user to suppress
27943 generation of core files and default to that (linux for example).
27944 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
27945 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
27946
27947Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27948
27949 * gdb.threads: New directory with some crude multi-threaded
27950 gdb tests (step.exp and step2.exp).
27951 * config/mt-lynx (STEP_EXECUTABLE): Define.
27952 (THREADFLAGS): Define.
27953
27954Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
27955
27956 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
27957
27958 * gdb.base/signals.exp: Disable whole file for lynx until
27959 further notice.
27960
27961 * gdb.base/signals.exp: xfail test where "next" acts like
27962 "continue" for lynx.
27963
27964 * gdb.base/interrupt.exp: xfail test for calling function while
27965 inferior is asleep for lynx.
27966
27967 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
27968 than one cr-lf after each command.
27969
27970Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27971
27972 * configure.in: Reinstate setting of stabsdirs variable, fix
27973 typo in setting up configdirs for native builds.
27974
27975 * gdb.base/return.exp: Fix typo in return double test.
27976 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
27977 compiler from optimizing them away.
27978
27979Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
27980
27981 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
27982 sequences to be echo'd by gdb when using gdb_test.
27983 * gdb.chill/chexp.exp: Likewise.
27984 * gdb.fortran/exprs.exp: Likewise
27985
27986Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27987
27988 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
27989 after the inferior gdb has started.
27990
27991 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
27992 after each command.
27993 * gdb.base/funcargs.exp: Likewise.
27994 * gdb.base/gdbvars.exp: Likewise.
27995 * gdb.base/interrupt.exp: Likewise.
27996 * gdb.base/list.exp: Likewise.
27997 * gdb.base/watchpoint.exp: Likewise.
27998 * gdb.c++/demangle.exp: Likewise.
27999 * gdb.c++/inherit.exp: Likewise.
28000 * gdb.chill/chexp.exp: Likewise.
28001 * gdb.fortran/exprs.exp: Likewise.
28002
28003 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
28004 test if we can't handle IO to/from the inferior.
28005
28006 * gdb.c++/misc.exp: Always check for a program already being
28007 started after sending a "run" command to gdb.
28008
28009 * gdb.base/twice.exp: Start with a fresh gdb.
28010
28011 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
28012 only depend on gdb's expression code, not the chill runtime.
28013
28014 * gdb.base/return.c: Put return values into variables so we
28015 can have gdb print them rather than depending on the program
28016 to print them.
28017 * gdb.base/return.exp: Corresponding changes.
28018
28019 * lib/gdb.exp: Provide default value for noinferiorio.
28020 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
28021 the inferior.
28022
28023 * gdb.base/break.exp: Always check for a program already being
28024 started after sending a "run" command to gdb.
28025 (text_next_with_recursion): Don't check the output from the
28026 program's printf statement. Instead just make sure the program
28027 exited.
28028
28029 * gdb.base/commands.exp: Protect tests which need arguments with
28030 $noargs conditionals.
28031
28032Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28033
28034 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
28035 of structure member arrays to match gdb/valops.c:value_addr change.
28036
28037Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
28038
28039 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
28040 cases.
28041
28042Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
28043
28044 * configure.in (configdirs): Remove gdb.chill from default list
28045 of subdirs and then add it back in only if doing a native build.
28046 The current chill compiler does not yet work in any cross build.
28047 * Revert all signal changes from Jul 6.
28048 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
28049 for sh-hms targets, allowing these tests to link, with no other
28050 changes. Testing is suppressed by setting "nosignals" in site.exp.
28051
28052Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
28053
28054 * configure.in (signaldirs): Define and add to configdirs for all
28055 targets except some specific ones that are known to not support signals.
28056 Also clean up formatting.
28057 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
28058 (signals, sigall): Remove rules to build.
28059 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
28060 Moved to new gdb.signals directory.
28061 * gdb.signals: New test directory.
28062 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
28063 signals.c signals.exp}: New or moved files.
28064
28065Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
28066
28067 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
28068
28069Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
28070
28071 * gdb.base/return.exp: Xfail `return double' test failure
28072 on at least Solaris 2.3 and handle future/past versions on
28073 a case by case basis as appropriate. Also update message
28074 to include i*86 failures.
28075
28076Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28077
28078 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
28079
28080 * lib/gdb.exp: Fix comment which erroneously identified
28081 gdb_file_cmd as gdb_load (the 19 May change was in fact to
28082 gdb_file_cmd not gdb_load).
28083 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
28084
28085 * gdb.base/setvar.exp: Make test names consistent between pass and
28086 fail cases. Use gdb_test more.
28087
28088Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28089
28090 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
28091
28092Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28093
28094 * gdb.base/help.exp: Fix expected help string for `show commands'.
28095
28096Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
28097
28098 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
28099
28100 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
28101 of a text section.
28102
28103Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
28104
28105 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
28106 that loop eventually terminates. Fix Connection refused logic so
28107 that testsuite will expire nicely.
28108
28109Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
28110
28111 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
28112 config/rom68k.exp: New tcl glue for the appropriate monitors.
28113 These all just end up calling monitor.exp.
28114 * config/monitor.exp (gdb_target_monitor): Handle `Connection
28115 refused' by retrying. Cleanup some timeout issues.
28116 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
28117 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
28118 callers don't have to set/restore global timeout variable.
28119
28120 * The following set of changes centralizes management of the global
28121 timeout variable. This way, it can be set in one target dependent
28122 place instead of dozens of places scattered throughout the test suite.
28123 If you need to lengthen a timeout, then you should either set timeout
28124 in one of the config/{target}.exp files, or multiply it by a factor.
28125 Setting it to an absolute value is always going to lose for some
28126 targets.
28127 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
28128 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
28129 * gdb.base/funcargs.exp: Don't set timeout.
28130 * gdb.base/list.exp (test_forward_search): Only use local timeout.
28131 * gdb.base/printcmds.exp (test_print_string_constants
28132 test_print_array_constants): Don't set timeout.
28133 * gdb.base/ptype.exp: Don't set timeout.
28134 * gdb.base/recurse.exp: Don't set timeout.
28135 * gdb.base/return.exp: Don't set timeout.
28136 * gdb.base/watchpoint.exp: Don't set timeout.
28137 * gdb.c++/classes.exp (do_tests): Don't set timeout.
28138 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
28139
28140Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
28141
28142 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
28143
28144Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28145
28146 * lib/gdb.exp: Disable chill tests for irix5.
28147
28148Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28149
28150 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
28151 each test pass or fail.
28152
28153Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28154
28155 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
28156 xlc not gcc.
28157
28158Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
28159
28160 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
28161
28162Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
28163
28164 * config/est.exp: Fix copyright and comments. Remove dead code.
28165 Use targetname, serialport and baud variables instead of fixed
28166 constants.
28167 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
28168 * config/cpu32bug.exp: New file to support cpu32bug monitors.
28169
28170Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28171
28172 * gdb.base/watchpoint.exp: Don't run
28173 test_watchpoint_triggered_in_syscall for sunos.
28174
28175Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28176
28177 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
28178 they don't seem to exist. Do include stdio.h.
28179
28180Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28181
28182 * gdb.base/a1-selftest.exp: Add alpha xfail.
28183
28184Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28185
28186 * gdb.base/watchpoint.c (main): Prompt before calling read().
28187 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
28188 Revise accordingly. Remove cruft about sending "123" several
28189 times, until it gets noticed. Clean up the "print buf[0]" stuff
28190 so that it passes or fails, and waits for prompts in the usual way.
28191
28192Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28193
28194 * gdb.base/recurse.exp: Fix comment.
28195
28196 * TODO: Remove item about printing variables in nodebug.exp. Add
28197 item about enabling tests which are only run on some targets.
28198
28199 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
28200 fail, make test names unique, use new gdb_test convention
28201 regarding pattern, use gdb_test more, etc.).
28202
28203 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
28204 fail, make test names unique, etc.).
28205
28206Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28207
28208 * gdb.base/nodebug.c: Change return type of top and middle to
28209 short.
28210 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
28211 are fixed by the recent mdebugread.c changes. Allow `short ()'
28212 as type for top and middle.
28213
28214Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28215
28216 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
28217 nearly as I can tell, the whole thing was an accident in Stu's
28218 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
28219 to replace a send/expect pair with gdb_test, but ended up only
28220 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
28221 of 30 Mar 1995 took care of it, but left this vestigial comment
28222 which I am now nuking.
28223
28224Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28225
28226 * gdb.base/break.exp: Look for different line number for
28227 breakpoint at main depending on usestubs.
28228
28229Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28230
28231 * gdb.base/list.exp: Adjust some alternate expect patterns to
28232 match recent list0.c change. Add alternate expect pattern for
28233 output from `list default lines around main' for optimizing
28234 compilers.
28235
28236Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28237
28238 * lib/gdb.exp: If nosignals is not set, set it to 0.
28239
28240Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
28241
28242 * config/slite-gdb.exp: Responds to load symbol table prompt.
28243 * gdb.base/break.exp: Adjust line number, fix rerun.
28244 * gdb.base/langs0.c: Add #ifdef usestubs.
28245
28246Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
28247
28248 * gdb.base/list.exp: Adjust line contents after adding new lines in
28249 list0.c. Also fix a syntax error.
28250
28251 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
28252 * gdb.base/break.exp: ditto.
28253 * gdb.base/list.exp: ditto.
28254 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
28255 * gdb.base/run.c: ditto.
28256 * gdb.base/list0.c: ditto.
28257 * gdb.base/funcargs.c: ditto.
28258
28259Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
28260
28261 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
28262 $targetname, $serialport and $baud instead of hardwired variables.
28263 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
28264 target doesn't support signals.
28265
28266Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
28267
28268 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
28269
28270Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28271
28272 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
28273 Don't rely on the value of an auto variable before it has been
28274 initialized. Use gdb_test more.
28275
28276Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28277
28278 * lib/gdb.exp (default_gdb_version): A version number must start
28279 with a digit, but other than that contains all characters up to
28280 the first whitespace character.
28281
28282Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28283
28284 * gdb.base/commands.exp (breakpoint_command_test): New tests.
28285
28286Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28287
28288 * gdb.c++/*.exp: Warn if executable does not exist. The original
28289 reason for skipping the warning was that configure.in sometimes
28290 intentionally skipped building the executables but the tcl code
28291 had no way of knowing. That (a) was always bogus with respect to
28292 error handling, (b) is no longer true (right now there is no way
28293 to skip C++ tests).
28294
28295 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
28296
28297Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28298
28299 * gdb.base/list.exp: Add expect patterns for output from
28300 SunPRO compiled executables.
28301 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
28302 types.
28303
28304Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28305
28306 * gdb.base/break.exp (test_next_with_recursion): Accept any line
28307 number (we are already testing that the correct source line text
28308 gets printed).
28309
28310 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
28311 that is what is intended, but something needed to be done to get
28312 sunos4 native working again.
28313
28314 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
28315
28316 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
28317 apparently went with a (very) old xfail.
28318
28319Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
28320
28321 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
28322 runto_main is a proc in gdb.exp that will do 'step' for target use
28323 stubs.
28324 * gdb.base/exprs.exp: ditto.
28325 * gdb.base/interrupt.exp: ditto.
28326 * gdb.base/opaque.exp: ditto.
28327 * gdb.base/printcmds.exp: ditto.
28328 * gdb.base/ptype.exp: ditto.
28329 * gdb.base/scope.exp: ditto.
28330 * gdb.base/setvar.exp: ditto.
28331 * gdb.base/signals.exp: ditto.
28332 * gdb.base/twice.exp: ditto.
28333 * gdb.c++/classes.exp: ditto.
28334 * gdb.c++/inherit.exp: ditto.
28335 * gdb.c++/templates.exp: ditto.
28336 * gdb.base/break.exp: no run and hit main for stubs. Change line
28337 numbers for breakpoints and info breakpoint.
28338 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
28339 breakpoint().
28340 * gdb.base/callfuncs.c: ditto.
28341 * gdb.base/exprs: ditto.
28342 * gdb.base/interrupt.c: ditto.
28343 * gdb.base/opaque0.c: ditto.
28344 * gdb.base/printcmds.c: ditto.
28345 * gdb.base/ptype.c: ditto.
28346 * gdb.base/scope0.c: ditto.
28347 * gdb.base/setvar.c: ditto.
28348 * gdb.base/signals.c: ditto.
28349 * gdb.base/twice.c: ditto.
28350 * gdb.c++/misc.cc: ditto.
28351 * gdb.c++/templates.cc: ditto.
28352
28353Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28354
28355 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
28356
28357 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
28358 somewhere between `read' and `main.c'. I'm pretty sure the
28359 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
28360 and it isn't particularly useful.
28361
28362 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
28363
28364Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28365
28366 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
28367
28368Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
28369
28370 * config/mt-slite: add LIBS and -nostdlib.
28371 * config/slite-gdb.exp: add this new file to support sparclite target.
28372
28373Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
28374
28375 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
28376
28377 * gdb.base/a2-run.exp: Change argument to istarget from
28378 "*-*-vxworks" to "*-*-vxworks*".
28379 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
28380
28381Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
28382
28383 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
28384 will not runto main but do a 'step' to step out of breakpoint().
28385 * config/mt-slite: add -Dusestubs.
28386
28387Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28388
28389 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
28390 instead of just @.
28391
28392 * gdb.base/signals.exp: Add test for "handle all print".
28393 * TODO: Remove "handle all print". Also remove item about
28394 checking copyright date (I don't like the idea of a spurious FAIL
28395 based on when we run the tests).
28396
28397 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
28398 for SunOS4 (reason for failure not investigated). Remove
28399 redundant test for $binfile.
28400
28401 * gdb.base/nodebug.c (array_index): Call malloc.
28402
28403 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
28404
28405Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
28406
28407 * gdb.base/recurse.exp: Update gdb_test invocation to use new
28408 conventions and slightly simplify the matching regexp.
28409
28410Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28411
28412 * gdb.base/break.exp: Update gdb_test invocation to use new
28413 convention.
28414
28415 * lib/gdb.exp: If noargs is not set, set it to 0.
28416
28417 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
28418 tests unique.
28419
28420 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
28421
28422Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28423
28424 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
28425 one argument of type "<non-float parameter>".
28426
28427Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
28428
28429 * config/rom68k.exp: New file to support Motorola IDP board.
28430 * gdb.base/a2-run.exp: Skip this file if noargs is set.
28431 * gdb.base/break.c: Change things around so that this program
28432 doesn't depend upon args. This is necessary to make remote
28433 targets work (in general, they can't take args).
28434 * gdb.base/break.exp: Don't try to send args to program. Don't
28435 expect output. Also, replace lots of code with gdb_test.
28436
28437Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28438
28439 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
28440 printing of '\'' (which is what the comment says we are testing,
28441 even though we were not), not '''.
28442 (test_integer_literals_rejected): Test that printing ''' is an error.
28443
28444 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28445 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
28446 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
28447 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
28448 Use gdb_test not test_print_accept.
28449 * lib/gdb.exp: Remove test_print_accept.
28450
28451 * gdb.base/signals.exp (signal_tests_1): Make pass message
28452 consistent with fail message.
28453
28454 * gdb.base/whatis.exp: Remove xfails for printing char vs.
28455 unsigned char; the bug (PR 1821) is fixed.
28456
28457 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
28458
28459 * gdb.base/scope.exp (test_at_localscopes): Call pass for
28460 successful tests--makes xfailing them work right.
28461
28462Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28463
28464 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
28465 only \r\n, not .*. The test can pass .* as the last thing in
28466 $pattern if that is what it wants. In addition to providing this
28467 flexibility, this change should speed up pattern matching in cases
28468 where the pattern already ended with .* (there were a number of
28469 them). This change also helps catch bad patterns--in the old
28470 scheme the typo "char \*" instead of "char \\*" would pass. Now
28471 it is caught.
28472 * Many .exp files: Update callers.
28473
28474 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
28475 clearer and does not spuriously match multiple ('s. Likewise for
28476 ) and *.
28477
28478 * gdb.base/nodebug.exp: Test ability to call a function and pass
28479 it a string (even with no debugging info).
28480
28481 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
28482 "p '\'", which is the same as "p ''" once tcl gets done with
28483 quoting, to "p '\\'", which I suspect is what is intended (one
28484 backslash gets sent to GDB).
28485
28486 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
28487
28488Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28489
28490 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
28491 1817) was fixed literally years ago.
28492
28493Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28494
28495 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
28496 test, it causes stepping out of call_after_alloca_subr with
28497 optimizing compilers.
28498 (localvars_in_indirect_call): Consume GDB prompt if `finish'
28499 fails.
28500
28501 * gdb.c++/templates.exp: Source templ-info.exp only if
28502 the templates executable exists.
28503
28504 * gdb.c++/misc.cc (class Contains_static_instance,
28505 class Contains_nested_static_instance),
28506 gdb.c++/classes.exp (test_static_members): Test printing of
28507 a class that contains a static instance of the class.
28508
28509Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28510
28511 * gdb.base/langs2.c (cppsub_): Don't prototype.
28512 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
28513 only, I believe).
28514
28515Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28516
28517 * lib/gdb.exp (skip_chill_tests): New procedure.
28518
28519 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
28520
28521Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
28522
28523 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
28524 each expect pattern. Cuts runtime from 12 to about 4 seconds.
28525
28526Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28527
28528 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
28529
28530 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
28531 disassemble 8, not 16, instructions for part 4.
28532
28533 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
28534 support the latter anymore.
28535
28536 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
28537 -DNO_PROTOTYPES.
28538 * gdb.base/callfuncs.c: Control use of prototypes based on
28539 NO_PROTOTYPES, not __STDC__.
28540 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
28541 t_float_values2 tests if prototypes in use.
28542
28543 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
28544 t_double_values): When checking differences against DELTA, check
28545 that difference is within the range (-DELTA,DELTA), not just
28546 (-infinity,DELTA).
28547
28548Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
28549
28550 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
28551 'file' command firts, then 'target', then 'load', this is due to gdb
28552 target set up.
28553 * config/mips-gdb.exp: Fix a couple regular exp bugs.
28554
28555Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
28556
28557 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
28558 FP load/store variants.
28559 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
28560
28561Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28562
28563 * gdb.base/term.exp: Do not give a warning if not native, it is
28564 not an abnormal condition.
28565
28566Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
28567
28568 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
28569 t_char_array".
28570
28571Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28572
28573 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
28574 are getting the version number.
28575
28576 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
28577 if not native, it is not an abnormal condition.
28578
28579Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28580
28581 * lib/gdb.exp: Just use "file exists", rather than undocumented
28582 dejagnu procedure "findfile".
28583
28584Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28585
28586 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
28587 (LDFLAGS): Set to -Xlinker -Ur.
28588
28589 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
28590 Removed, these values are set by lib/gdb.exp.
28591
28592 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
28593
28594Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28595
28596 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
28597 of replicating gdb startup code.
28598
28599 * config/mt-vxworks (LDFLAGS): Set to -r.
28600 (CFLAGS_FOR_TARGET): Removed.
28601
28602 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
28603 (gdb) and gdb for vxworks uses (vxgdb).
28604
28605 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
28606 executable is not in the tree and host != target, use sed and
28607 program_transform_name to determine the gdb name used by the
28608 target.
28609
28610 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
28611 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
28612
28613Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28614
28615 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
28616 floats, chars, and shorts where there are ANSI-style function
28617 definitions.
28618
28619 * gdb.base/langs.exp, gdb.base/langs*: New test.
28620 * gdb.base/Makefile.in: Build it.
28621 * TODO: Remove item about checking that C names don't get C++
28622 demangling applied; this test tests it.
28623
28624Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28625
28626 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
28627 went with the const70 xfail. The xfail went away a year ago.
28628
28629 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
28630
28631 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
28632 for hp300.
28633
28634 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
28635
28636 * gdb.base/a1-selftest.exp: Don't run on hp300.
28637
28638Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28639
28640 * Makefile.in (site.exp): Set host_alias and target_alias as well
28641 as host_triplet and target_triplet.
28642
28643Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28644
28645 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
28646
28647 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
28648 places as other ecoff systems).
28649
28650 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
28651 ultrix.
28652
28653Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28654
28655 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
28656 remove them.
28657 * gdb.base/nodebug.exp: Accept "function" in addition to "text
28658 variable and "variable" in addition to "data variable".
28659 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
28660
28661 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
28662 2.
28663 * gdb.base/list1.c (long_line): Add additional statement at start
28664 of function.
28665 * gdb.base/list.exp (test_forward_search): Update line number to
28666 reflect new statement.
28667
28668Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28669
28670 * gdb.base/signals.exp: Reinitialize searched source directories
28671 after gdb_start call.
28672
28673Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
28674
28675 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
28676 * gdb.stabs/Makefile.in: Likewise.
28677
28678 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
28679 change. Instead split the tests into smaller pieces.
28680 * gdb.disasm/hppa.s: Corresponding changes.
28681
28682Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28683
28684 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28685 Quote ^C when passing it to stty. For some shells ^ is a pipe.
28686
28687 * gdb.base/funcargs.exp: Modify many tests so that every test
28688 either passes or fails. Make some test names unique.
28689
28690Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28691
28692 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28693 Call stty to set interrupt character.
28694
28695 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
28696 for HP assembler versus GNU assembler based on actual behavior of
28697 $(CC), rather than assuming that $(AS) is always the GNU assembler.
28698
28699 * TODO: Suggest a few more stepping tests.
28700
28701Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
28702
28703 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
28704 restart GDB for h8300 after a continue.
28705 (return): Add pattern to match a29k-udi behavior.
28706 * gdb.base/nodebug.exp: Remove obsolete comment.
28707 * gdb.base/regs.exp: New file, testing of register displays.
28708 * gdb.base/return.exp: Fix typo in reference to $objdir.
28709 * gdb.base/whatis.exp: Always start with a fresh GDB.
28710
28711Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28712
28713 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
28714 higher, these tests generate a lot of output.
28715
28716Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28717
28718 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
28719 code following the catch silently ignored some errors; without the
28720 catch they should be thrown like any other tcl error. Also, the
28721 catch used "" instead of {} which meant all the callers who wanted
28722 to include one of the characters "[]$ had to quote it an extra time.
28723 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
28724 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
28725 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
28726 Remove extra quoting.
28727
28728Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
28729
28730 * gdb.base/commands.exp: Make test names unique; every test either
28731 passes or fails. Update some comments.
28732
28733 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
28734
28735Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28736
28737 The following fixes a FAIL caused by the fact that the alpha stabs
28738 configuration didn't use the ".if alpha" code in weird.def.
28739 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
28740 bit pointer, so the 32 bit version works even on the alpha.
28741 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
28742 Remove the stuff which allowed us to have separate versions for
28743 alpha and everything else.
28744
28745 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
28746 regexp which "info func operator\[\](" is supposed to match. Fix
28747 string to send to GDB. Note that GDB still doesn't work right. Add a
28748 new test for "info func .perator\[\](" which GDB does handle correctly.
28749
28750 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
28751
28752Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28753
28754 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
28755 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
28756 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
28757 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
28758 it makes the tests harder to understand and confuses test-o-matic.
28759 The preferred style is that each test provides a PASS or a FAIL,
28760 and has a unique message (e.g. "continue #54" not just "continue")
28761 which is the same for the pass and the fail.
28762 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28763 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
28764 to lib/gdb.exp.
28765 * gdb.base/printcmds.exp: Use test_print_accept. Remove
28766 prt_accept which was basically the same thing. Likewise for
28767 test_print_reject and prt_reject.
28768 * lib/gdb.exp (test_print_reject): Add some more error message
28769 patterns to match from the former printcmds.exp (prt_reject).
28770 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
28771 One defect of the passcount stuff is that some of it failed to
28772 report XPASS where appropriate.
28773 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
28774 stuff before and after arg in expected pattern.
28775 (test_paddr_operator_functions): Re-do test without print_addr_of;
28776 this is the only test which seems to want extra stuff there.
28777
28778Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28779
28780 * gdb.base/nodebug.exp: Update new tests to reflect improved
28781 wording of gdb output.
28782
28783 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
28784 and "ptype" work on variables in files compiled without -g.
28785 Replaces commented out "maint print msymbol" tests.
28786
28787Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28788
28789 * gdb.base/setvar.c (dummy): Call malloc.
28790
28791 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
28792 losing with the irix4 sed.
28793
28794 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
28795 ALRM" on irix4.
28796
28797Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28798
28799 * TODO: Remove items about corefile.exp testing new exec-file and
28800 backtrace; both are now done. Add items about printing enums.
28801
28802Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28803
28804 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
28805 "get signal $thissig" test fails.
28806
28807 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
28808
28809Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28810
28811 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
28812 compiler warning with dec alpha compiler.
28813
28814 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
28815 extra \n from gdb_test call (this explains why the prompt test
28816 that I removed yesterday was there).
28817 (user_defined_command_test): Remove extra \n and prompt test.
28818
28819 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
28820 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
28821 doesn't exist.
28822 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
28823 Also remove alpha workaround, which turns out to be because
28824 SIGABRT == SIGLOST.
28825
28826 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
28827
28828 * gdb.base/help.exp: Don't test "help show".
28829
28830Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28831
28832 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
28833 "set print address" is on.
28834 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
28835 pass prompt to gdb_test; gdb_test already looks for the prompt.
28836
28837 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
28838
28839 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
28840 was a vestige of the manual TESTSTRATEGY, and the purpose of it
28841 was to make sure that gdb can read a core file. But (a) the "read
28842 the corefile" part didn't make it to a1-selftest.exp, we just
28843 delete the corefile after creating it, and (b) we test reading
28844 corefiles in corefile.exp anyway. Also, this test left around a
28845 xgdb process on Solaris.
28846
28847 * gdb.base/corefile.exp: Also test backtrace.
28848
28849Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
28850
28851 * gdb.base/commands.exp: Test a simple user defined command with
28852 arguments and if/while statements; verify the full user command is
28853 printed by "show user".
28854
28855 * gdb.base/commands.exp: Test if/while commands as part of a
28856 breakpoint command list; verify they appear in breakpoint
28857 information.
28858
28859Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28860
28861 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
28862 than by dividing by zero.
28863
28864Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
28865
28866 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
28867 performing an inferior call with watchpoints enabled.
28868 * gdb.base/watchpoint.c (main): Delete second unnecessary read
28869 call.
28870
28871Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28872
28873 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
28874 of "file" command.
28875
28876 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
28877 Add additional pattern for when "int operator int(void);" appears
28878 in a different order.
28879
28880Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28881
28882 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
28883
28884 * gdb.base/help.exp: Replace most of docstrings for "info signals"
28885 and "signal" with ".*".
28886
28887Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28888
28889 * TODO: Add note about "handle all nostop".
28890
28891 * gdb.base/{sigall.c, sigall.exp}: New test.
28892 * gdb.base/Makefile.in: Add it.
28893
28894Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
28895
28896 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
28897 when invoking GDB, suppresses any windowing interface.
28898
28899Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
28900
28901 * config/sim-gdb: New file, simulator testing support.
28902
28903Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
28904
28905 * gdb.base/interrupt.exp: Test calling func1 twice.
28906
28907Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
28908
28909 * gdb.base/list.exp (test_forward_search): Set timeout higher
28910 when we'll be getting lots of output from gdb.
28911
28912 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
28913 "init_malloc" to after the expect statement. Run it if that
28914 regexp is taken, but also for two others which happen if source
28915 cannot be found.
28916
28917Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28918
28919 * gdb.base/printcmds.exp: New test, for printing register before
28920 program is running.
28921
28922Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28923
28924 * gdb.base/list.exp: Correct some alternate expect patterns
28925 to reflect changes in list1.c.
28926
28927Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28928
28929 * TODO: Add item regarding large frames.
28930
28931 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
28932
28933 * TODO: Remove item about enabling return.exp; it
28934 is enabled. Suggest a few more "return" tests.
28935
28936Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28937
28938 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
28939 anonymous unions.
28940
28941Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28942
28943 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
28944 and pr-5646.o, so "make" is the same as "make all", not "make
28945 pr-4975.o".
28946
28947Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
28948
28949 * gdb.base/list.exp: Adjust expectations to reflect changes in
28950 list1.c.
28951 (test_forward_search): New test proc.
28952 * gdb.base/list1.c (long_line): New function, has long source line.
28953
28954Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
28955
28956 * gdb.base/a1-selftest.exp: Change initial stepping to know about
28957 additional line of code that was added.
28958
28959Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
28960
28961 * gdb.disasm/hppa.s: Break the large branching tests into smaller
28962 tests so as not to overflow expect's input buffers.
28963 * gdb.disasm/hppa.exp: Corresponding changes.
28964
28965Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28966
28967 Beginnings of template debugging tests.
28968 * gdb.c++/templ-info.cc: New file to test for template
28969 debugging capability of the compiler.
28970 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
28971 templ-info.cc.
28972 * gdb.c++/templates.cc: Add explicit template instantiations
28973 to enable compiling with -fno-implicit-templates. Add destructor
28974 and 'value' method to T5 class for template tests.
28975 * gdb.c++/templates.exp: Add testcases for printing of template
28976 types, setting breakpoints on template methods and calling a
d63a86f8 28977 template method.
c906108c
SS
28978
28979Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
28980
28981 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
28982 branch target since some assemblers (gas-2.5) may emit a
28983 relocation for the branch instead of resolving it in the
28984 assembler.
28985
28986Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28987
28988 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
28989 through signal handler.
28990
28991Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28992
28993 * configure.in (*-*-netware): Use config/mt-netware.
28994
28995 * config/mt-netware: New file.
28996 * config/mt-i386-netware: Removed, separate configs for different
28997 netware architectures are no longer needed now that we have
28998 --with-headers.
28999
29000Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29001
29002 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
29003 by the recent changes to use ANSI C arithmetic conversions.
29004
29005Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29006
29007 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
29008 bug involving using inferior_pid to figure out whether to select a
29009 frame.
29010
29011Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
29012
29013 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
29014 match the current disassembler output.
29015
29016Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
29017
29018 * gdb.fortran/exprs.exp: Expect VOID instead of void.
29019 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
29020 types, expect "int" as type of integer values (for now).
29021
29022Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
29023
29024 * gdb.base/commands.exp: New tests for if/while commands.
29025
29026Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
29027
29028 * lib/gdb.exp (runto): Replace sub-pattern for hex value
29029 by .*, since hex values have different syntax in Chill mode.
29030
29031Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29032
29033 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
29034 linefeed from expect pattern for repeated types with indices > 9.
29035
29036Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
29037
29038 First part of Fortran test suite.
29039 * gdb.fortran: New directory.
29040 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
29041
29042Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29043
29044 * gdb.base/default.exp: Update expect pattern for load command
29045 without arguments.
29046
29047Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
29048
29049 * configure.in: Change i386 to i[345]86.
29050 * gdb.base/configure.in: Likewise.
29051 * gdb.c++/configure.in: Likewise.
29052 * gdb.chill/configure.in: Likewise.
29053
29054Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
29055
29056 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
29057 patterns, since that is not a valid context for comments.
29058
29059Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
29060
29061 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
29062 repeated types and repeated types with indices > 9.
29063
29064Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
29065
29066 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
29067 2417; old bug has been fixed.
29068
29069Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
29070
29071 * gdb.base/interrupt.exp: When trying to wake up the inferior,
29072 send the newline ourselves instead of assuming gdb_test will do
29073 so when passed an empty input string.
29074
29075 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
29076 stabs testcode.
29077
29078Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29079
29080 * lib/gdb.exp (gdb_test): Don't send anything if the first
29081 argument is an empty string. This makes cases where we want to
29082 match output that is already in expect's buffers (for example,
29083 matching a breakpoint after gdb_run_cmd has been called) work
29084 reliably.
29085
29086Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29087
29088 * config/netware.exp: New file.
29089
29090Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29091
29092 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
29093 the -B and -L prefixes so we can find the debugging stub.
29094
29095 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
29096 there and we are using the gcc from the tree.
29097
29098 * gdb.base/types.c: Removed.
29099
29100 * gdb.base/configure.in: Look for makefile fragments in ../config.
29101 Recognize i386-*-netware.
29102 * gdb.c++/configure.in: Likewise.
29103
29104Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29105
29106 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
29107 the correct TCL syntax.
29108
29109Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29110
29111 * gdb.base/opaque.exp: use runto instead of messing around with
29112 breakpoints. Simplify by using gdb_test.
29113
29114 * gdb.base/bitfields.exp: restart between tests on netware targets
29115 because breakpoints aren't relocated after target death. Run
29116 processes to completion.
29117
29118 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
29119
29120Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
29121
29122 * Makefile.in: Remove extra tabs that confuse some versions
29123 of "make". Use the newly built gdb to test with by default,
29124 rather than the first one in the tester's search path.
29125
29126Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
29127
29128 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
29129
29130 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
29131 condition help.
29132
29133Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29134
29135 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
29136
29137 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
29138 running.
29139 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
29140 * gdb.base/funcargs.exp: Likewise.
29141
29142 * gdb.base/bitfields.exp: Simplify by using gdb_test.
29143 * gdb.base/funcargs.exp: Likewise.
29144
29145 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
29146 message is "".
29147
29148Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29149
29150 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
29151 return,signals,twice}.exp: Handle non-existant binaries
29152 consistantly.
29153
29154 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
29155 * gdb.base/Makefile.in: Don't try to generate a core dump, we
29156 might testing a cross development system.
29157
29158Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29159
29160 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
29161 runtest script is relative to ${srcdir}, not ${rootdir}.
29162
29163Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
29164
29165 * gdb.base/signals.exp: Allow for optionality of breakpoint
29166 address.
29167
29168Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29169
29170 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
29171
29172Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29173
29174 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
29175 for size_t definition.
29176 * gdb.c++/templates.cc: Likewise
29177
29178 * config/mt-i386-netware: New file.
29179
29180 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
29181 defined.
29182
29183 * gdb.base/Makefile.in: Added support for systems that name core
29184 files by appending "core" to the program name.
29185 * gdb.base/a1-selftest.exp: Likewise.
29186
29187Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29188
29189 * gdb.base/return.exp: Add comment and message for `return double'
29190 test failure on Sparc Solaris.
29191
29192Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
29193
29194 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
29195
29196Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29197
29198 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
29199 from optimizing them away.
29200 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
29201 patterns to include default constructors and assignment operators,
29202 to match gcc versions beyond 2.5.8. Accept any cplus demangling
29203 character in the output of the virtual base pointer.
29204
29205Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29206
29207 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
29208 expression match in print_addr_of to avoid unintented matches.
29209 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
29210 versions up to 2.5.8.
29211
29212Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29213
29214 * gdb.base/list.exp: Tweak alternate pattern for listing of an
29215 included file to run under newer versions of expect.
29216 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
29217 consecutive >'s in templates to accomodate recent cplus-dem.c change.
29218 Remove xfail for the virtual table of BDDHookV.
29219
29220Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
29221
29222 * lib/gdb.exp (string_to_regexp): Set a default result.
29223 (default_gdb_start): Fix misleading message.
29224
29225Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
29226
29227 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
29228 Remove all CC, etc definitions.
29229 * config/mt-hpux: New file.
29230 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
29231 (CFLAGS, LDFLAGS): Define.
29232 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
29233
29234 * Makefile.in (site.exp): Don't insert host_os, etc.
29235 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
29236 (distclean): Check existence of subdir.
29237 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
29238 * gdb.base/Makefile.in: General cleanup and simplification.
29239 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29240 to build executables. Use default rule to build .o files.
29241 (EXPECT, RUNTEST, CC): Fix relative pathname.
29242 (site.exp): Don't insert host_os, etc.
29243 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
29244 and/or SIGUSR1 defined.
29245 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
29246 * gdb.c++/Makefile.in: General cleanup and simplification.
29247 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29248 (CFLAGS): Remove.
29249 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
29250
29251Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
29252
29253 * gdb.base/recurse.exp: Misc changes to get tests running again
29254 after Kung's changes to the watchpoint code.
29255 * gdb.base/watchpoint.exp: Likewise.
29256
29257Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
29258
29259 * lib/gdb.exp (string_to_regexp): Convert {\} also.
29260
29261Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
29262
29263 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
29264 * lib/gdb.exp (default_gdb_start): Define.
29265 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
29266 gdb.base/funcargs.exp, gdb.base/opaque.exp,
29267 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
29268 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
29269 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
29270 Don't call gdb_target_udi in between tests.
29271
29272Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29273
29274 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
29275 (which was basically just a local version of the same thing). In
29276 addition to avoiding duplication, gdb_test_exact is faster.
29277 * lib/gdb.exp (gdb_test_exact): Fix typo.
29278
29279 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
29280 don't give an error.
29281
29282 * gdb.base/term.exp: Call delete_breakpoints before starting.
29283
29284 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
29285 (t10): Add comment.
29286
29287Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29288
29289 Reorganization of the GDB Test Suite.
29290
29291 * gdb.base: New directory, contains all the basic tests.
29292 * gdb.c++: New directory, tests specific to C++.
29293 * gdb.chill: New directory, tests specific to Chill.
29294 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
29295 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
29296 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
29297 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
29298 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
29299 t30-31 to chill).
29300 * */gdbme.*: Rename to match appropriate expect scripts.
29301 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
29302 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
29303 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
29304 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
29305 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
29306 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
29307 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
29308 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
29309 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
29310 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
29311 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
29312 gdb.c++/virtfunc.cc: New names of C++ files.
29313 * gdb.chill/chillvars.ch: New name of Chill file.
29314 * gdb.base/configure.in, gdb.c++/configure.in,
29315 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
29316 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
29317 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
29318 * configure.in (configdirs): Update to reflect directory changes.
29319 (target_abbrev): No longer define for any configuration.
29320 * Makefile.in: Cosmetic improvements to header comments.
29321
29322Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
29323
29324 Various changes to gdb.t31:
29325
29326 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
29327 * gdbme.ch: Make all key-words and predefineds be upper-case.
29328 * chillvars.exp: Expect key-words and predefinds in upper-case.
29329
29330 * chillvars.exp: Use gdb_test_exact many places.
29331 Change expected output for arrays (which now includes index labels).
29332
29333 * pr-5020.exp, gdme.ch (module PR_5020):
29334 New test, for PR-5020.
29335
29336Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
29337
29338 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
29339 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
29340
29341Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
29342
29343 * Makefile.in: Fix bit-rot in definitions of CHILL,
29344 CHILL_FOR_TARGET and Chill_LIB.
29345 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
29346 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
29347 CHILL, and CHILL_LIB.
29348
29349Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
29350
29351 * Revert the previous changes. Please see Rob's directory
29352 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
29353
29354Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
29355
29356 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
29357 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
29358 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
29359 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
29360 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
29361 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
29362 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
29363 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
29364 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
29365 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
29366 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
29367 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
29368 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
29369 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
29370 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
29371 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
29372 changes from 94Q1.
29373
29374Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
29375
29376 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
29377 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
29378 Rob's new testing fragments.
29379
29380Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
29381
29382 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 29383 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
29384
29385Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29386
29387 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
29388 version also, match on casted version strings, and match on
29389 gdb startup case where the line numbers might be messed up.
29390
29391Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
29392
29393 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 29394 (CFLAGS): Delete it from here.
c906108c
SS
29395
29396Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
29397
29398 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
29399
29400Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
29401
29402 * Makefile.in (RUNTEST): Default to just "runtest".
29403
29404Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29405
29406 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
29407 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
29408 the code has been restructured.
29409
29410Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29411
29412 * gdb.t00/default.exp (set write): Allow any number of \r and/or
29413 \n, not just one of each.
29414
29415 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
29416 /bin/cc gives a warning if you do.
29417
29418Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
29419
d63a86f8 29420 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
29421 __t10ListS_link1ZUiRCUiPT0
29422
29423Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29424
29425 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
29426 on local variables in recursive functions.
29427
29428 * gdb.t07/Makefile.in: Build the new test.
29429
29430Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29431
29432 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
29433 directly. Instead compare the return values from actual calls.
29434
29435Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
29436
29437 * Makefile.in (check): Set TCL_LIBRARY for runtest.
29438
29439Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29440
29441 * From Peter Schauer with minor modifications.
a9c64011
AS
29442 * gdb.t15/return.exp (return_tests): Handle targets where "return"
29443 stops in mid-line in the caller. Add xfail for returning a float
29444 value on X86 targets.
c906108c
SS
29445
29446Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29447
29448 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
29449 to avoid expect lossage.
29450 (fmem_LRbug_tests): Likewise.
29451 * gdb.disasm/hppa.s: Corresponding changes.
29452
29453 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
29454 conditions to work with latest dejagnu/expect.
29455
29456 * gdb.t15/funcargs.exp (finish from indirect call): No longer
29457 expected to fail on the PA.
29458 (backtrace in call with trampolines): Explicitly require main
29459 to be frame #1 (no trampolines should show up in backtrace).
29460
29461 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
29462 "continue -expect".
29463 * gdb.t06/break.exp: Likewise.
29464 * gdb.t07/watchpoint.exp: Likewise.
29465 * gdb.t13/bitfields.exp: Likewise.
29466 * gdb.t15/{funcargs,return}.exp: Likewise.
29467 * gdb.stabs/weird.exp: Likewise.
29468 * config/{mips,udi}-gdb.exp: Likewise.
29469
29470 * hppa.sed: Enclose comments within a sed command to avoid
29471 losing with the old OSF1 sed.
29472
29473Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29474
29475 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
29476 sequent dynix.
29477 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
29478 * gdb.t15/funcargs.exp: Conditionally step again to really
29479 finish from marker_call_with_trampolines. Handle the case where
29480 the first step from within call_with_trampolines already steps
29481 us back to main.
29482 * gdb.t15/gdbme.c: Add comment to closing brace of
29483 call_with_trampolines for funcargs.exp.
29484
29485Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29486
d63a86f8 29487 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
29488 Fix typo(s).
29489
29490Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29491
29492 * gdb.t07/gdbme.c: More code for watchpoint testing.
29493
29494 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
29495 "Hardware watchpoint" throughout file.
29496 (test_watchpoint_triggered_in_syscall): New test.
29497 (test_complex_watchpoint): New test.
29498
29499Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29500
29501 * gdbme.c (call_with_trampolines): New function to try and step
29502 into. Tests trampoline problems on the PA.
29503
29504 * funcargs.exp (localvars_in_indirect_call): No longer expect
29505 stepping into indirect call to fail on PAs.
29506 (test_stepping_over_trampolines): New test.
29507
29508Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29509
29510 * TODO: Add suggestions for static member function tests, and
29511 completion tests.
29512
29513Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29514
29515 * TODO: Add suggestions for "p/a" tests.
29516
29517 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
29518 (default_gdb_exit): Replace all the hair with sending "quit" to
29519 the process with a simple close.
29520
29521Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29522
29523 * TODO: Add suggestions for shared library tests.
29524
29525Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29526
29527 * TODO: Add suggestions for x/s tests.
29528
29529Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29530
29531 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
29532 "enable once", and "enable breakpoints once" with ".*".
29533
29534Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29535
29536 * TODO: Add suggestions about structure passing tests.
29537
29538Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29539
29540 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
29541 the primary1 test, use work around if __GNUC__ < 2.
29542 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
29543 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
29544 Test for bad output rather than waiting for timeout. Issue
29545 second continue only if first continue failed.
29546
29547Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29548
29549 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
29550 operator[] test with gdb_test because the old code didn't seem to
29551 be getting the quoting right with the new dejagnu.
29552
29553Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
29554
29555 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
29556 one from the path.
29557 * Makefile.in: Use a fresh expect if there is one, use runtest
29558 from the src tree if there is one.
d63a86f8 29559
c906108c
SS
29560Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29561
29562 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
29563 next over recursive call. Revise the tests from that point on
29564 (which had been skipped) to match GDB's actual (correct) output.
29565
29566 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
29567 with next over a breakpoint whose condition is false.
29568
29569 * gdb.t00/help.exp: Comment out "help set print" tests just like
29570 (and for same reason as) "help set" test.
29571
29572Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29573
29574 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
29575 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
29576
29577Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29578
29579 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
29580 necessary gdb_target_udi.
29581
29582 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
29583
29584 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
29585 1838 and 2417; they are fixed.
29586
29587 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
29588 gdb.t03/ptype.exp (ptype structure, ptype union):
29589 Remove xfails; the test is looser than when the xfails were added.
29590
29591 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
29592 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
29593
29594 * gdb.t01/run.exp: Only run shell test if isnative.
29595
29596 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
29597 since "run" automatically loads if necessary. Call gdb_target_udi
29598 after the "file" since "file" kills any execution target.
29599
29600 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
29601 GDB. GDB doesn't work that way (not anymore at least) on UDI.
29602 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
29603 argument for UDI.
29604
29605Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29606
29607 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
29608
29609 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
29610
29611Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29612
29613 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
29614 properly quoting regexps. This makes the second argument to
29615 demangle a fixed string, which matches the callers, instead of a
29616 shell-style pattern which is what the previous implementation
29617 used. Update some of the callers.
29618
29619Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29620
29621 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
29622 (comib_nullified_tests): Fix typo.
29623 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
29624 strings. No longer expected to fail.
29625
29626 * gdb.disasm/hppa.s (addib_tests): Fix typo.
29627 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
29628 strings. No longer expected to fail.
29629
29630 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
29631 string. No longer expected to fail.
29632
29633Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29634
29635 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
29636 No longer expected to fail.
29637
29638 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
29639 string. No longer expected to fail.
29640
29641Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29642
29643 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
29644 only in the names (I probably got most of them). I was even
29645 generous with some which differed in underscores in names, and
29646 probably missed a few, and I *still* was able to remove almost a
29647 third of the file with almost no impact on testsuite coverage.
29648
29649Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29650
29651 * gdb.t00/default.exp: Match udi_attach error message as well as
29652 the one from child_attach.
29653
29654 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
29655
29656 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
29657
29658 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
29659 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
29660
29661 * Move test with enums and partial symbols back to
29662 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
29663 Reverts the change of 26 May 93. Per today's change to
29664 stabs.texinfo, the behavior that weird.exp was expecting was
29665 unreasonable; what is important is that the compiler+gdb get
29666 things right, which happens with a recent gcc. Also fix the test
29667 to deal with native compilers which put out the stab gdb can't
29668 deal with.
29669
29670Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29671
29672 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
29673 in the names. The main thing these accomplish is to slow things down.
29674 Many more such duplicates surely remain.
29675
29676 * gdb.t00/help.exp: Comment out "help support" test just like
29677 (and for same reason as) "help set" test.
29678
29679Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
29680
29681 * gdb.t06/break.exp: Remove setup_xfails for
29682 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
29683 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
29684 about known bug in gcc to include up through 2.5.8.
29685 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
29686 well as "_vb$".
29687 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
29688 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
29689 with latest gcc and gdb.
29690 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
29691 well as "_vb$".
29692
29693Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29694
29695 * configure.in (hppa*-*-*): Also configure and build stabs-only
29696 tests.
29697
29698Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29699
29700 * gdb.t10/hppa.mt: A makefile fragment for the PA.
29701 * gdb.t10/configure.in (hppa*-*-*): Use it.
29702
29703Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29704
29705 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
29706
29707Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29708
29709 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
29710 versions prior to 1.13.5.
29711
29712Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29713
29714 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
29715 the prompt is at the start of a line.
29716
29717Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29718
29719 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
29720 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
29721 in the copr tests now.
29722 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
29723 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
29724 expected to fail.
29725
29726Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
29727
29728 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
29729 gdb.t31/chillvars.exp, lib/gdb.exp:
29730 Tweak to run under either version of expect.
29731 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
29732 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
29733 * gdb.t11/list.exp: Remove extraneous whitespace.
29734
29735Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29736
29737 * gdb.t16/printcmds.exp (test_print_strings): Accept
29738 "(unsigned char *) " before the string.
29739
29740 * TODO: Add notes about printing of fancy types and GDB expressions.
29741
29742Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
29743
29744 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
29745 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 29746 if doing mips-idt-ecoff.
c906108c
SS
29747
29748Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
29749
29750 * Most .exp files: Tweak to run under either version of expect.
29751
29752Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29753
29754 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
29755 xfails; I'm not sure why they are failing, but not because of PR 1806.
29756
29757Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
29758
29759 * config/unix-gdb.exp: Remove gdb_unload cause it's already
29760 defined in lib/gdb.exp.
29761
29762Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29763
29764 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
29765 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
29766 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
29767 have to be typeless.
29768
29769Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29770
29771 * TODO: Add suggestion for copyright year test.
29772
29773Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
29774
29775 * configure.in (*-*-lynxos*): Add stabs tests.
29776
29777Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29778
29779 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
29780 so insert a tab before any assembler directive in column zero.
29781
29782 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
29783 stores.
29784 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
29785 stores.
29786 (fpu_short_memory_tests): Likewise.
29787
29788Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29789
29790 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
29791 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
29792 .stabs directives in comments.
29793
29794Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29795
29796 * TODO: New file, describing tests we could write.
29797 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
29798
29799Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29800
29801 * gdb.t06/signals.exp: Add kludge to force re-sync.
29802
29803 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
29804 to xgdb instead of gdb, get out of gdb.
29805
29806Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
29807
29808 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
29809 for info.
29810
29811Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29812
29813 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
29814 * gdb.stabs/configure.in (hppa*-*-*): Use it.
29815 * gdb.stabs/hppa.sed: New sed script for the PA.
29816
29817Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29818
29819 * gdb.stabs: Re-write weird.def and configuration to use sed
29820 instead of cpp. sed is portable and POSIX; cpp is neither.
29821
29822Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29823
29824 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
29825
29826Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29827
29828 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
29829
29830Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29831
29832 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
29833 "_vb$".
29834 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
29835 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
29836
29837Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29838
29839 * lib/gdb.exp: Comment out code which depends on non-existent
29840 `transform' procedure.
29841
29842Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
29843
29844 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
29845 * lib/gdb.exp: Transform tool name.
29846 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
29847 1.1's new error handling system.
29848
29849Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29850
29851 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
29852
29853Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29854
29855 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
29856 They made pattern matching so slow that timeouts happened on
29857 heavily loaded systems. Now any output from "show print" which
29858 gets us back to the GDB prompt is a PASS.
29859
29860Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
29861
29862 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
29863
29864Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29865
29866 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
29867
29868 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
29869 It is not from PR 3220.
29870
29871Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29872
29873 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
29874 just started failing because they depended on the order the
29875 subcommands are presented, or exact docstring text. This kind of
29876 test is a pain and has minimal benefit.
29877
29878Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29879
29880 * gdb.t09/corefile.exp: At end of test, use "core" command with
29881 no arguments.
29882
29883Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
29884
29885 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
29886 17}/Makefile.in: Make it possible to run the testsuite with Sun
29887 make and CC = cross gcc by adding explicit build rules for .o
29888 files.
29889
29890Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29891
29892 * gdb.t15/funcargs.exp: Don't put comments on same line as
29893 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 29894
c906108c
SS
29895Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29896
29897 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
29898
29899Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
29900
29901 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
29902 * gdb.t20/inherit.exp: remove three dumplicate entries.
29903
29904Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29905
29906 * gdb.t06/break.exp: For "next over recursive call", fail on any
29907 incorrect output, not just on "factorial (value=2)".
29908
29909Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29910
29911 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
29912 working now. Add an xfail if accesing a bss variable causes
29913 a memory error if the target is not yet run.
29914
29915Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29916
29917 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
29918 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
29919 name of __st* demangling (2 strings). Did Kung really get the
29920 more than 95 others right without testing them?
29921
29922Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
29923
29924 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
29925
29926Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
29927
29928 * configure.in (configdirs): Add gdb.disasm
29929 * gdb.disasm: New directory for GDB disassembler tests.
29930 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
29931
29932Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29933
29934 * gdb.t00/help.exp: Don't test "help set".
29935
29936 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
29937 from within expect statements. None of these happen anymore and
29938 they cause regressions to be silently unnoticed.
29939
29940 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
29941 messages) about known failures with gcc cygnus-2.4.5-930417.
29942
29943 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
29944 comp-info.exp so it gets built if it doesn't exist.
29945
29946 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
29947 it is no longer used.
29948 * gdb.t13/comp-info.c: Removed.
29949
29950Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
29951
29952 * gdb.t06/signals.exp: Add xfail for sun3.
29953
29954Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29955
29956 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
29957 relevant because ^C doesn't get sent but failure can be reproduced
29958 interactively).
29959
29960Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29961
29962 * gdb.stabs/alpha.mt: New configuration file for alpha.
29963 * gdb.stabs/configure.in: Use it.
29964 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
29965 sharing with alpha.mt, redefine long to word via preprocessor.
29966 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
29967 for alpha.
29968 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
29969 native cc.
29970 * gdb.t00/teststrategy.exp: Change expect string so that we
29971 consume the `(xgdb)' from the command echo and from the gdb prompt.
29972 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
29973 gdb currently compares all values as long, so this failure probably
29974 applies to any configuration where LONGEST is bigger than a target int.
29975 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
29976 with gcc.
29977 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
29978 to handle opaque pointers, gcc is.
29979 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
29980 as first argument. Include <sys/types.h> and change all operator
29981 new definitions to use size_t.
29982 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
29983 now that we use size_t.
29984
29985Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29986
a9c64011 29987 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 29988 a long or float array cast all array members to the same type.
a9c64011 29989 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 29990 with 64 bit longs.
a9c64011 29991 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 29992 on alpha.
a9c64011 29993 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
29994
29995Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29996
29997 * gdb.t24 (demangle.exp): Constructors of templates have names like
29998 vector<int>::vector(int) not vector<int>::vector<int>(int). See
29999 section 14.6 of the ARM.
30000
30001 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
30002 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
30003 accomplish little and slow down the testsuite.
30004
30005 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
30006 Accept spaces various places.
30007
30008Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30009
30010 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
30011 with watchpoint enabled.
30012
30013 * Makefile.in: Remove definition of CC and remove the second
30014 definition of CXX (the "CXX = gcc" one remains). These definitions
30015 were causing backquotes to be expanded within backquotes, which
30016 doesn't work.
30017
30018Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
30019
30020 * gdb.t17/callfuncs.exp: Add "return 0" to end.
30021
30022Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30023
a9c64011
AS
30024 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
30025 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
30026 by mips cc and contains no stabs entries.
30027
30028Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
30029
30030 * config/vx-gdb.exp: Use fake device to load files rather than
30031 NFS.
30032 * lib/gdb.exp: New proc to do "file" command.
30033 * config/unix-gdb.exp: Use new "file" proc.
30034
30035Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
30036
30037 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
30038 Rework board rebooting slightly.
30039 (gdb_exit): Don't exit from the remote shell; there isn't one.
30040 * gdb.stabs/weird.exp: If a program is being debugged already,
30041 kill it.
30042 * gdb.t04/setvar.exp: Stop and restart gdb.
30043 * gdb.t05/expr.exp: Likewise.
30044 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
30045 restart gdb and reload the program.
30046 * gdb.t08/opaque.exp: Likewise.
30047 * gdb.t12/scope.exp: Likewise.
30048 * gdb.t13/bitfields.exp: Likewise.
30049 * gdb.t15/funcargs.exp: Likewise.
30050 * gdb.t20/classes.exp: Likewise.
30051 * gdb.t03/ptype.exp: Increase timeout.
30052 * gdb.t16/printcmds.exp (test_print_string_constants,
30053 test_print_array_constants): Likewise.
30054 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
30055 * gdb.t20/classes.exp (do_tests): Likewise.
30056 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
30057
30058Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
30059
30060 * gdb.stabs: Renamed *wierd* to *weird*.
30061
30062Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30063
30064 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
30065 for timeout. Add "known gcc 2.4.5 bug" to failure message.
30066
30067Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30068
30069 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
30070 (do_tests): Remove xfail for whatis on one_var and two_var.
30071
30072Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
30073
30074 * Makefile.in: Made cross building work better by adding
30075 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
30076
30077Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30078
30079 * gdb.t15/{return.c,return.exp,Makefile.in}:
30080 New test, currently commented out.
30081
30082Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
30083
30084 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
30085 still running and removes the leftover named socket so GDb can do
30086 clean restarts.
30087
30088Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
30089
30090 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
30091 console, not GDB.
30092 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
30093 cross testing works better with "make check"
30094 * config/unix-gdb: Use default procedures for exit and version.
30095 * config/vx-gdb.exp: Cleaned up and massaged back to working order
30096 with the newest VxWorks.
30097
30098Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30099
30100 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
30101 old form.
30102
30103 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
30104 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
30105
30106 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
30107
30108 * config/unix-gdb.exp: Remove this version of gdb_exit
30109 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
30110 Rob says he'll look at it when he gets back to testing boards.
30111
30112Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
30113
30114 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
30115 an expected fail for certain ptype commands.
30116
30117 * gdb.t20/classes.exp: Update expected results of "ptype class
30118 Base1" to account for the constructor that now appears in the type.
30119
30120Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
30121
30122 * configure.in (configdirs): Restore gdb.t04, which mysteriously
30123 disappeared from list.
30124 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
30125 "alldone" proc with call to cleanup and exit.
30126 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
30127 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
30128 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
30129 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
30130 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
30131 "alldone" proc with simple returns that suppress remaining
30132 tests. The alldone proc went away many months ago.
30133
30134Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30135
30136 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
30137
30138 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
30139
30140Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30141
30142 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
30143 as vax gdb will display them.
30144
30145Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30146
30147 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
30148 optimizers.
30149
30150 * scope.exp: Change "bad value for localval" messages so each one
30151 is unique.
30152
30153 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
30154 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
30155
30156 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
30157
30158Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30159
30160 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
30161 doesn't exist (due to optimization).
30162
30163Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30164
30165 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
30166 contains \r because the filename is long.
30167
30168 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
30169 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
30170
30171Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30172
30173 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
30174 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
30175 Ultrix.
30176 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
30177 int tests.
30178 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
30179
30180Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
30181
30182 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
30183
30184 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 30185 to match does not match the passing case but still matches the
c906108c
SS
30186 failing case.
30187
30188Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30189
30190 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
30191
30192Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
30193
30194 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
30195 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
30196 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
30197 Remove various versions of gdb_exit.
30198 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
30199 gdb_exit.
30200 * config/unix-gdb.exp: gdb_exit remains here, and should override
30201 the generic version, since it's doing a lot of wierd stuff that
30202 the other versions aren't. FIXME, fold it in, or abandon this
30203 version.
30204
30205Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30206
30207 * gdb.t24/demangle.exp: Add tests for PR 3220.
30208
30209Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30210
30211 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
30212
30213Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
30214
30215 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
30216 "i386-*-*". Works for i486 as well.
30217
30218 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
30219 bug, and expand domain of xfail to all SVR4 systems, since the
30220 actual problem is likely to be in generic SVR4 /proc support.
30221
30222Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30223
30224 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
30225
30226Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
30227
30228 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
30229 xfails for other systems. Match a missing 'Continuing.' as an
30230 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
30231
30232 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
30233 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
30234 Only issue warning for missing executables if -all option is used.
30235
30236 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
30237 file if -all option is used. It's like an unpredictable XFAIL.
30238
30239Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30240
30241 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
30242 for dynamically linked binaries.
30243
30244 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
30245
30246Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30247
30248 * gdb.t20/inherit.exp: Change message for "print tagless struct"
30249 to state that this is a known bug in old versions of g++.
30250
30251Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30252
30253 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
30254 while waiting for `Continuing'.
30255
30256Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
30257
30258 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
30259 in text, data, and bss.
30260 * gdb.t10/nodebug.c: Add local and global test variables for
30261 initialized and uninitialized data.
30262
30263Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30264
30265 * config/unix-gdb.exp (gdb_exit): Add "wait".
30266
30267Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30268
30269 * gdb.t06/signals.exp: xfail the continue from the handler for all
30270 targets.
30271
30272 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
30273 function with watchpoints enabled, the i386 call dummy starts with
30274 a call.
30275
30276 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
30277 386 bsd names its corefiles.
30278
30279Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
30280
30281 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
30282 compilers don't grok it.
30283 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
30284 with small octal ints rather than character constants, which
30285 are signed and might not fit if first promoted to int.
30286
30287Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
30288
30289 * gdb.t09/Makefile.in (clean): Remove corefile.
30290
30291Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30292
30293 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
30294
30295Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30296 and Jim Kingdon (kingdon@cygnus.com)
30297
30298 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
30299 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
30300 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
30301
30302Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30303
30304 * gdb.t17/interrupt.exp: Add xfail for hppa.
30305
30306Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30307
30308 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
30309 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
30310 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
30311 to determine signed-ness of bitfields and use the result to setup
30312 the xfail.
30313 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
30314 * gdb.t15/funcargs.exp: Use them to step until the second indirect
30315 call line is reached if necessary.
30316
30317Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30318
30319 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
30320
30321Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30322
30323 * gdb.t06/break.exp: Also test `clear' command.
30324
30325Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30326
30327 * gdb.t00/teststrategy.exp: Remove extra quote.
30328
30329 * gdb.t07/watchpoint.exp: Change xfail for calling function with
30330 watchpoint enabled to be for all non-68k machines.
30331
30332 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
30333
30334Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30335
30336 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
30337 targets use aout.mt instead of ecoff.mt as gas understands
30338 standard aout format.
30339
30340Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30341
30342 * lib/gdb.exp (runto): Don't insist that function we are running to
30343 was compiled with -g.
30344
30345 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
30346
30347 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
30348 to get back into the read system call.
30349 Accept leading newline in case where we woke it up.
30350
30351Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30352
30353 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
30354 to make the stabs test work on ecoff systems using gcc and -with-stabs.
30355 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
30356 enable ecoff configuration.
30357
30358Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30359
30360 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
30361
30362Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30363
30364 * gdb.t16/printcmds.exp: Add another printf test.
30365
30366Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
30367
30368 * configure.in: If configured -with-stabs on any target, add
30369 stabsdirs to configdirs.
30370
30371Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30372
30373 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
30374 fun" so pattern does not match the command itself.
30375
30376Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30377
30378 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
30379
30380Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30381
30382 * gdb.t17/interrupt.exp: Test for more things.
30383
30384Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30385
30386 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
30387 compiler arranges the code and line numbers.
30388
30389 * gdb.t17/interrupt.exp: Don't send \n after ^C.
30390
30391Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30392
30393 * gdb.t00/help.exp: Increase expect input buffer size.
30394
30395Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30396
30397 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
30398
30399 * gdb.t07/watchpoint.exp: Add xfail for hppa.
30400
30401 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
30402
30403 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
30404 [0-9]*, not just [0-9].
30405
30406Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30407
30408 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
30409
30410 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
30411
30412Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30413
30414 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
30415
30416Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30417
30418 * gdb.t06/signals.c: Add xfails for sun3.
30419
30420 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
30421
30422 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
30423 test_stepping tests.
30424
30425Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30426
30427 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
30428
30429 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
30430
30431 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
30432 rather than actually putting it through cpp twice.
30433
30434 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
30435
30436Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
30437
30438 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
30439 no longer needed.
30440
30441Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30442
30443 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
30444
30445 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
30446 C++ features prints as "struct", make it a pass, not an xfail.
30447
30448Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30449
30450 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
30451 Don't require VA to print as "class" rather than "struct".
30452
30453Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
30454
30455 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
30456
30457Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30458
30459 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
30460
30461Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30462
30463 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
30464 order.
30465
30466Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30467
30468 * gdb.t16/printcmds.exp: Add printf tests.
30469
30470 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
30471
30472 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
30473
30474Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
30475
30476 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
30477 pass counts, to counteract any existing or future setup_xfails.
30478
30479Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30480
30481 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
30482 {BEGIN,END}_COMMON for common block instead of STAB.
30483 * gdb.stabs/wierd.exp: Add xfail for rs6000.
30484
30485 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
30486 intp_var should be N_GSYM not N_LSYM.
30487 wierd-aout.S: Use a label for the value of the N_SO.
30488 wierd.def: Remove all backslashes.
30489 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
30490
30491Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30492
30493 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
30494 get the expected next to inheritance3.
30495
30496Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30497
30498 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
30499 now that gcc-2.4 gets it right.
30500
30501Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30502
30503 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
30504
30505 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
30506 generating comp-info.exp which works for cross-compilation.
30507
30508Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
30509
30510 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
30511 "*-*-sysv4.*".
30512
30513Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
30514
30515 * gdb.t01/run.exp: Start with a fresh gdb.
30516 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
30517 SVR4.x.
30518
30519Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
30520
30521 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
30522 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
30523 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
30524 Makefile.in (distclean, realclean): Remove gdbme.c from list of
30525 things to remove.
30526
30527Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
30528
30529 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
30530 test cases from bug reports.
30531
30532Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
30533
30534 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
30535 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
30536 avoid spurious xfails.
30537 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
30538 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
30539 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
30540
30541Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
30542
30543 * gdb.t00/teststrategy.exp: Rework to provide more useful
30544 description of each test, fix problem with systems that define
30545 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
30546 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
30547 results for "next over recursive call" so timeouts aren't taken
30548 by error.
30549
30550Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
30551
30552 * gdb.t12/scope.exp: Test printing of variables before run.
30553
30554 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
30555 printed in wrong order due to sorting.
30556
30557Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
30558
30559 * gdb.t00/teststrategy.exp: Fix expected results for printing
30560 user entered string constant. Is array of char, prints with no
30561 address.
30562
30563 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
30564 commands.
30565 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
30566 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
30567 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
30568 of struct of char arrays.
30569 * gdb.t00/radix.exp: New tests for radix commands.
30570
30571Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
30572
30573 * gdb.t16/printcmd.exp: Print a variable before running program
30574 (with xfail for AIX).
30575
30576Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
30577
30578 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
30579
30580 * gdb.t16/printcmd.exp: Don't print variables before running program.
30581
30582 * gdb.t06/break.exp: Don't require envp argument to main.
30583
30584 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
30585
30586 * gdb.t02/whatis.exp, gdb.t11/list.exp:
30587 Add xfails for rs6000.
30588
30589 * gdb.t02/whatis.exp: Change other tests not to re-test something
30590 we already tested.
30591
30592 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
30593 each type used has a variable of that type.
30594
30595Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
30596
30597 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
30598
30599Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
30600
30601 * configure.in: change srctrigger to be a file, not a directory
30602
30603Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
30604
30605 * configure.in (mips-idt-ecoff*): Added trailing '*'.
30606
30607 * gdb.t11/list.exp: Fixed a couple of typos.
30608
30609Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
30610
30611 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
30612 is fixed and PR is closed.
30613 * gdb.t16 (gdbme.c): Add simple test string variable.
30614 * gdb.t16 (printcmds.exp): Add tests with simple test string
30615 variable, primarily for boundaries on "set print elements".
30616
30617Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
30618
30619 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
30620 Make leading 0's optional and don't expect a tab in the middle
30621 of the number.
30622
30623 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
30624
30625 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
30626 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
30627 don't end command passed to gdb_test with newline.
30628
30629 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
30630 signed keyword away, don't expect signed bitfields to be signed.
30631
30632 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
30633 printing with only as many 1's as are in the field as well as printing
30634 with 32 1's (see comment).
30635
30636Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
30637
30638 * gdb.t00/default.exp: Start with a fresh gdb.
30639 * configure.in (configdirs): Remove gdb.t31 until the chill
30640 compiler works again. It no longer is able to find chillrt0
30641 since it isn't in libchill.a anymore.
30642 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
30643 wierd.o, make more modular.
30644 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
30645 spurious newlines that caused problems.
30646
30647Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30648
30649 * Move test with enums and partial symbols from gdb.t03/ptype.exp
30650 to gdb.stabs/wierd.exp since GCC has worked around the bug.
30651 gdb.stabs/wierd.{exp,def}: Many new tests.
30652
30653 * gdb.t00/default.exp: update info line for new message.
30654
30655 * gdb.t02/{whatis.exp,gdbme.c}:
30656 Test that "char *" doesn't print as "caddr_t".
30657
30658Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30659
30660 * gdb.t00/help.exp: Use .* in place of some help messages which
30661 just changed.
30662 gdb.t00/default.exp: Update "info frame" test for new message.
30663 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
30664 Remove some xfails
30665
30666Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30667
30668 * gdb.t03/{gdbme.c,ptype.exp}:
30669 Add tests for typedef'd struct and union without tags.
30670 Also check "whatis" on a variable of a typedef'd enum without a tag.
30671
30672 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
30673 PRMS 1823; the bug still exists but isn't reproduced by this test
30674 anymore), and remove rs6000 XFAIL (the bug is fixed).
30675
30676 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
30677 duplicated from whatis.exp. For those that are left, accept
30678 "long", "long int", or "int" for long variables (whatis.exp already
30679 has an XFAIL for "int", so no need to fail it here).
30680
30681 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
30682 Deal with GCC's names for types now that GDB uses the compiler's names.
30683
30684 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
30685 setup_xfail's for sunos4. If we #defined the signed keyword away,
30686 don't expect GDB to know that char it is signed.
30687
30688 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
30689
30690Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
30691
30692 * configure.in (configdirs): Add gdb.t24 for C++ tests that
30693 should work on any system, regardless of debugging format.
30694 * gdb.t21/demangle.exp: Move to gdb.t24.
30695 * gdb.t24/demangle.exp: Move from gdb.t21.
30696 * gdb.t24/{Makefile.in, configure.in}: New files.
30697
30698Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30699
30700 * configure.in: Do gdb.stabs and C++ tests only for stabs.
30701 * gdb.stabs: New directory.
30702
30703Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30704
30705 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
30706 not just "Quit anyway?".
30707
30708Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
30709
30710 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
30711 that all setup_xfails are immediately followed by clear_xfails.
30712
30713Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
30714
30715 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
30716 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
30717 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
30718 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
30719 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
30720 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30721 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30722 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
30723 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
30724 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
30725 gdb.t31/chillvars.exp, lib/gdb.exp:
30726 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
30727 bug-gdb@prep.ai.mit.edu.
30728
30729Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
30730
30731 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
30732 with 0.0, not integer 0.
30733
30734Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
30735
30736 * gdb.t06/break.exp: Update for "Kill the program" message change.
30737
30738Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
30739
30740 * Makefile.in (GDBFLAGS): Set to -nx.
30741 * Makefile.in (site.exp): Use GDBFLAGS.
30742
30743Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30744
30745 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
30746 Makefiles.
30747 (check): depend on just-check.
30748 (just-check): added so that tests can be run without a noop
30749 build pass.
30750
30751Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30752
30753 Switch to using configure's configdirs.
30754 * Makefile.in (Makefile): add configure.in dependency.
30755 (SUBDIRS): removed redundant assignment.
30756 * configure.in: switch subdirs assignment to configdirs.
30757 * gdb.t*/configure.in: new files.
30758
30759Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
30760
30761 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
30762 works.
30763
30764Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
30765
30766 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
30767 in explicit rules. Apparently this is not supported by some makes.
30768
30769Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
30770
30771 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
30772
30773Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30774
30775 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
30776 disappeared.
30777
30778Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
30779
30780 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
30781
30782Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
30783
30784 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
30785 watchpoint problem that is now fixed.
30786 * gdb.t30/chexp.exp: Remove setup_xfail for printing
30787 uninitialized convenience variables.
30788 * gdb.t31/chillvars.exp: Fix expected patterns for printing
30789 structures.
30790
30791Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30792
30793 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
30794 which causes expect to get out of sync with gdb on long output
30795 from help set.
30796 * gdb.t09/corefile.exp: Make expected pattern for core file
30797 failing signal and frame output format less sun specific.
30798
30799Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
30800
30801 * gdb.t31/chillvars.exp: Add and remove initial dummy
30802 breakpoint, so that symbol table is forced in.
30803 (Needed at least on Sunos4, though it seems not SVR4.)
30804 * gdb.t31/chillvars.exp: Update for changed output format.
30805
30806Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
30807
a9c64011 30808 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
30809
30810Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
30811
30812 * Makefile.in: Added --srcdir when invoking runtest, removed the
30813 need for a local config file. (optional now)
30814
30815Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
30816
30817 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
30818 failure count used to force early termination. Add some more
30819 expected failures for gnu style demangling.
30820
30821Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30822
30823 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
30824 pmi variable from gdb.t20/gdbme to get optimized away.
30825 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
30826 Check for written corefile upon timeout _and_ eof.
30827
30828Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30829
30830 * config/unix-gdb.exp: Add missing return 0.
30831
30832Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30833
30834 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
30835 test termination.
30836
30837Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
30838
30839 * configure.in (subdirs): Put back gdb.t17 which mysteriously
30840 disappeared.
30841
30842Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
30843
30844 * gdb.t10/crossload.exp: Disable the i860-elf test until such
30845 time as i860 support works.
30846
d63a86f8 30847 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
30848 "backtrace 100\r" rather than just "backtrace\r", to match last
30849 change.
30850
30851Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
30852
30853 * config/udi-gdb.exp (gdb_exit): Remove close command.
30854 (gdb_target_udi): New procedure to set the UDI target.
30855 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
30856 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
30857 Added waits for prompts after several question responses. Added
30858 some more responses used by a29k-amd-udi-gdb.
30859 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
30860 pass different arguments, restart UDI connection after program
30861 completion.
30862 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
30863 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30864 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
30865 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
30866 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
30867 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
30868 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30869 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
30870 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
30871 after program completion.
30872 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
30873 compiled with a SELECT_VECS setting.
30874 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
30875 infinite recursion.
30876
30877 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
30878 Added checks for COFF results, and made them expected failures for
30879 all targets. It would be better to make them expected failures
30880 for COFF targets only.
30881
30882Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
30883
30884 * Makefile.in: add null dvi target, don't bother to recurse
30885 through test directories for info and install-info; rename
30886 $(datadir) to be dejagnu instead of deja-gnu
30887
30888Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
30889
30890 * gdb.t31/gdbme.ch: Re-enable code that previously caused
30891 compiler to coredump.
30892 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
30893 code.
30894
30895Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
30896
30897 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
30898 coredump.
30899 * gdb.t31/chillvars.exp: Comment out tests that depend on that
30900 code.
30901
30902Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
30903
30904 * gdb.t03/ptype.exp: tests for return code from gdb_test.
30905 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
30906 which in a shell. Deletes xgdb when done.
30907 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
30908 Tests the return from the "set height" or "set width" commands.
30909 Added a few return codes where needed.
30910
30911Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
30912
30913 * Makefile.in (SUBDIRS): Add gdb.t17.
30914 * configure.in (subdirs): Add gdb.t17.
30915 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
30916 files to test gdb's calling of functions in the inferior with
30917 the correct arguments and gdb's ability to retrieve any
30918 result returned.
30919
30920Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
30921
30922 * config/unix-gdb.exp (gdb_exit): Remove close commands that
30923 may be called after gdb goes away. Previous versions of expect
30924 needed these to avoid file descriptor leaks, but they cause
30925 errors with the current revision of expect.
30926 * gdb.t00/gdbvars.exp: Use -re on expected output after
30927 setting sevenbit-strings.
30928 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
30929 to set sevenbit-strings consistent across tests.
30930 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
30931 set sevenbit-strings consistent across tests.
30932
30933Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
30934
30935 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
30936 expected output to match current "expect" expectations.
30937
30938Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
30939
30940 * gdb.t00/default.exp: Change expected output for default "source"
30941 command, to match new gdb behavior which requires a filename to
30942 source.
30943
30944Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
30945
30946 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
30947 expected fail for i486-*-* that misses the marker2 function.
30948 * gdb.t10/crossload.exp (bfddefault): Allow successful
30949 recognition of a format to pass even if no symbols are found.
30950 Explicitly catch failures where the format is not recognized
30951 or is ambiguous, and add the reason to the fail message.
30952 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
30953 the cause is and invalid target and add reason to failure message.
30954 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
30955 elf32-i386, elf32-sparc, and elf32-i860.
30956 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
30957 Set up expected failure for 'filename'::variable scope resolution,
30958 which is now apparently broken on all targets.
30959 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
30960 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
30961 gdb.t23/templates.exp: Change failure for missing binfile into
30962 just a warning.
30963 gdb.t21/demangle.exp: Change all cfront references to 'arm'
30964 references.
30965
30966Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
30967
30968 * gdb.t00/default.exp: Add expected output for default "source"
30969 command, to match new gdb behavior.
30970 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
30971
30972Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
30973
30974 * config/*-gdb.exp: returns an error, rather than exiting on
30975 internal errors.
30976
30977Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
30978
30979 * gdb.t03/gdbme.c: Add pointer to struct variable.
30980 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
30981 referencing struct members.
30982
30983Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
30984
30985 * configure.in (mips-idt-ecoff): New target.
30986 * config/mips-gdb.exp: New file for remote board using MIPS remote
30987 debugging protocol.
30988
30989 * Redid configuration scheme. Removed gdb.t*/configure.in.
30990 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
30991 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
30992 distclean targets. Built executables via .o files. Adjusted
30993 tests to account for source files in $(srcdir) rather than
30994 $(objdir).
30995 * lib/gdb.exp (runto): Don't expect () after the function name,
30996 because it may have arguments.
30997
30998Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
30999
31000 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
31001 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
31002 expected failures for mips-idt-* and mips-sgi-*.
31003 * gdb.t00/default.exp (attach): Kill process if requested.
31004 * gdb.t00/help.exp (help target core, help target): Accept a gdb
31005 that does not read core files.
31006 * gdb.t01/run.exp: Removed checks for exit status code.
31007 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
31008 it is linked in.
31009 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
31010 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
31011 appropriate, rather than doing it by hand.
31012 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
31013 execution.
31014 * gdb.t10/crossload.exp: Kill existing program if needed.
31015 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
31016 appropriate, rather than doing it by hand. Always increase
31017 timeout for this test, not just for VxWorks.
31018
31019Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
31020
31021 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
31022 of Chill STRUCT types and STRUCT values.
31023 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
31024 than "char".
31025 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 31026 struct2): New struct definitions and initializations to test
c906108c
SS
31027 simple Chill STRUCT types.
31028
31029Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
31030
31031 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
31032 the null byte at the end of strings.
31033 * gdb.t00/default.exp: Make show version insensitive to copyright
31034 date.
31035 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
31036 to avoid dependencies on target char signedness.
31037 * gdb.t16/printcmds.exp: Update expected results for explicitly
31038 unsigned char.
31039 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
31040 now work.
31041 * gdb.t21/demangle.exp: Add many more patterns for template
31042 demangling, most of them being expected failures.
31043 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
31044 string we are matching for, to match on the whole string.
31045 * gdb.t21/demangle.exp: Add many new test strings to demangle,
31046 and fix a whole bunch that had incorrect expected output but were
31047 passing anyway because of the bug in "proc demangle".
31048 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
31049 type.
31050 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
31051
31052Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
31053
a9c64011
AS
31054 * gdb/testsuite: made modifications to testcases, etc., to allow
31055 them to work properly given the reorganization of deja-gnu and the
31056 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
31057
31058Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
31059
31060 * gdb/testsuite: Initial creation of gdb/testsuite.
31061 Migrated dejagnu testcases and support files for testing nm to
31062 gdb/testsuite from deja-gnu. These files were moved "as is"
31063 with no modifications. This migration is part of a major overhaul
31064 of dejagnu. The modifications to these testcases, etc., which
31065 will allow them to work with the new version of dejagnu will be
31066 made in a future update.
48efe704 31067
8d8cb839 31068 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 31069\f
8d8cb839
EZ
31070;; Local Variables:
31071;; mode: change-log
31072;; left-margin: 8
31073;; fill-column: 74
31074;; version-control: never
31075;; End:
902f2ccb 31076
28e7fd62 31077 Copyright 1993-2013 Free Software Foundation, Inc.
902f2ccb
MC
31078 Copying and distribution of this file, with or without modification,
31079 are permitted provided the copyright notice and this notice are preserved.
This page took 3.132427 seconds and 4 git commands to generate.