]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb/testsuite/
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f3786771
YQ
12013-04-10 Yao Qi <yao@codesourcery.com>
2
3 * gdb.trace/report.exp: Use standard_output_file for saved
4 trace file.
5
5c2b4418
HZ
62013-04-10 Hui Zhu <hui@codesourcery.com>
7
8 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
9 (MISCELLANEOUS): Add dprintf-pendshr.sl.
10 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
11
f7543f0a
JK
122013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13
14 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
15 response.
16
f6de8ec2
PA
172013-04-08 Pedro Alves <palves@redhat.com>
18
19 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
20 the location.
21
b8abfd58
SL
222013-04-04 Sandra Loosemore <sandra@codesourcery.com>
23
24 * gdb.cp/cplabel.exp: Allow empty directory in file reported
25 for breakpoint location.
26
156bffd0
SL
272013-04-04 Sandra Loosemore <sandra@codesourcery.com>
28
29 * gdb.linespec/linespec.exp: Make dir/file:line tests
30 conditional for non-remote hosts only.
31
c9a6ce02
PA
322013-04-04 Stan Shebs <stan@codesourcery.com>
33 Pedro Alves <palves@redhat.com>
34
35 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
36 * gdb.trace/actions-changed.c: New file.
37 * gdb.trace/actions-changed.exp: New file.
38 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
39 (gdb_trace_setactions_command): ... this. Add "actions_command"
40 parameter, and handle it.
41 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
42
4bd05f24
YQ
432013-04-04 Yao Qi <yao@codesourcery.com>
44
45 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
46 'step'.
47
3758b5ce
YQ
482013-04-03 Yao Qi <yao@codesourcery.com>
49
50 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
51 "tfile-basic.tf".
52 (test_tfind_tfile): Likewise.
53
1dcaed0d
YQ
542013-04-03 Yao Qi <yao@codesourcery.com>
55
56 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
57 "tfile-basic.tf" instead of "basic.tf".
58 (write_error_trace_file): Pass argument "tfile-error.tf"
59 instead of "error.tf".
60 * gdb.trace/tfile.exp: Update tfile names to
61 "tfile-basic.tf" and "tfile-error.tf".
62
0e7a53fc
SL
632013-04-02 Sandra Loosemore <sandra@codesourcery.com>
64
65 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
66 empty directory in file for breakpoint hit.
67
9852c492
YQ
682013-03-29 Yao Qi <yao@codesourcery.com>
69
70 * gdb.base/completion.exp: Test completion of commands
71 "target core", "target tfile" and "target exec".
72 * gdb.trace/tfile.exp: Test completion of command
73 "target tfile".
74
af312be7
JB
752013-03-28 Joel Brobecker <brobecker@adacore.com>
76
77 * gdb.ada/win_fu_syms: New testcase.
78
e4a48d9d
DE
792013-03-28 Doug Evans <dje@google.com>
80
81 * gdb.base/maint.exp (maint print statistics): Update expected output.
82
7f7cc265
PA
832013-03-28 Pedro Alves <palves@redhat.com>
84
85 PR gdb/15294
86
87 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
88 mean unlimited instead of $arg < 0.
89 (test_listsize): Remove "listsize of 0 suppresses output" test.
90 Test that "set listsize 0" ends up with an unlimited listsize.
91
fc0da894
PA
922013-03-28 Pedro Alves <palves@redhat.com>
93
94 * gdb.base/list.exp (last_line): New global.
95 (last_line_re): New global.
96 (test_listsize, test_list_function, test_list_forward)
97 (test_repeat_list_command, test_list_range)
98 (test_list_filename_and_function): Use them.
99 * gdb.base/list0.c: Comment the last line of the file with "last
100 line".
101
abe7b711
PA
1022013-03-28 Pedro Alves <palves@redhat.com>
103
104 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
105 list the whole file.
106
15b3979c
PA
1072013-03-28 Pedro Alves <palves@redhat.com>
108
109 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
110 "set listsize".
111
96811e3b
KS
1122013-03-26 Keith Seitz <keiths@redhat.com>
113
114 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
115 from passing.
116
4043f22b
PA
1172013-03-26 Pedro Alves <palves@redhat.com>
118
119 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
120 until after GDB has run.
121
14a1aa17
YQ
1222013-03-26 Yao Qi <yao@codesourcery.com>
123
124 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
125 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
126
99c819ee
MM
1272013-03-26 Markus Metzger <markus.t.metzger@intel.com>
128
129 * gdb.btrace/enable.exp: Add regression test.
130
24955f63
TT
1312013-03-25 Tom Tromey <tromey@redhat.com>
132
133 * gdb.cp/m-static.exp: Add destructor-printing tests.
134
fce632b6
TT
1352013-03-25 Tom Tromey <tromey@redhat.com>
136
137 * gdb.cp/m-static.exp: Add constructor ptype tests.
138 * gdb.cp/m-static.cc (single_constructor): New class.
139 (main): Make instance of single_constructor.
140
598d3636
JK
1412013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
142 Pedro Alves <palves@redhat.com>
143
144 * gdb.server/server-kill.c: New file.
145 * gdb.server/server-kill.exp: New file.
146
c12440c9
PA
1472013-03-21 Pedro Alves <palves@redhat.com>
148
149 * gdb.trace/trace-buffer-size.exp (get default buffer size):
150 Expect $gdb_prompt in gdb_test_multiple.
151
bd712aed
DE
1522013-03-21 Doug Evans <dje@google.com>
153
154 * gdb.base/maint.exp: Update tests for per-command stats.
155
b2f83c08
TT
1562013-03-21 Tom Tromey <tromey@redhat.com>
157
158 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
159 * gdb.cp/misc.exp: Add test for FILENAME:: case.
160
ef0026f0
PA
1612013-03-20 Pedro Alves <palves@redhat.com>
162
163 PR gdb/15289
164
165 * gdb.base/remote.exp: Test
166 "set remote hardware-watchpoint-limit -1",
167 "set remote hardware-breakpoint-limit -1",
168 "set remote hardware-watchpoint-limit 2147483647" and
169 "set remote hardware-breakpoint-limit 2147483647".
170
3f1175a9
PA
1712013-03-20 Pedro Alves <palves@redhat.com>
172 Yao Qi <yao@codesourcery.com>
173
174 * gdb.trace/tfile.c: Add comments.
175 (nonconstglob): New global.
176 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
177 global that is not covered by the trace frame. Test
178 disassembling.
179
a09ae1c1
JK
1802013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
181
182 * gdb.base/valgrind-infcall.exp
183 (continue #$continue_count) <remote connection closed>
184 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
185 $valgrind_pid.
186
9ce98649
TT
1872013-03-15 Tom Tromey <tromey@redhat.com>
188
189 * gdb.cp/overload.cc (intintfunc): New.
190 * gdb.cp/overload.exp: Add regression test.
191
0a251e08
YQ
1922013-03-15 Yao Qi <yao@codesourcery.com>
193
194 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
195 using with_test_prefix.
196 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
197 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
198 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
199 * gdb.threads/watchpoint-fork.exp (test): Likewise.
200 * gdb.base/break-interp.exp (test_core): Likewise.
201 (test_attach_gdb): Likewise.
202 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
203 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
204 Likewise.
205 * gdb.base/jit-so.exp (one_jit_test): Likewise.
206 * gdb.base/jit.exp (one_jit_test): Likewise.
207 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
208 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
209 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
210 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
211 Likewise.
212 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
213 Likewise.
214 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
215 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
216 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
217 (tracepoint_change_loc_2): Likewise.
218 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
219 Likewise.
220 (disconnected_tfind): Likewise.
221 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
222 Likewise.
223 (test_tfind_remote): Likewise.
224 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
225 Likewise.
226 (test_pending_resolved): Likewise.
227 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
228 Likewise.
229 (test_upload_tsv): Likewise.
230 * gdb.trace/pending.exp (pending_tracepoint_resolved):
231 Likewise.
232 (pending_tracepoint_works): Likewise.
233 * gdb.trace/report.exp (use_collected_data): Likewise.
234 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
235 Likewise.
236 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
237 * gdb.trace/strace.exp (strace_info_marker): Likewise.
238 (strace_trace_on_same_addr): Likewise.
239 (strace_trace_on_diff_addr): Likewise.
240 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
241 (gdb_collect_locals_test): Likewise.
242 (gdb_unavailable_registers_test): Likewise.
243 (gdb_collect_globals_test): Likewise.
244
2c415c0f
YQ
2452013-03-15 Yao Qi <yao@codesourcery.com>
246
247 * gdb.base/condbreak.exp: Add semicolon back which was removed
248 by my previous commit.
249
ae59b1da
YQ
2502013-03-14 Yao Qi <yao@codesourcery.com>
251
252 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
253 'return'.
254 (gdb_target_monitor, gdb_load): Likewise.
255 * config/sid.exp (gdb_load): Likewise.
256 * config/slite.exp (gdb_load): Likewise.
257 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
258 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
259 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
260 (single_step_until): Likewise.
261 * gdb.arch/powerpc-d128-regs.exp: Likewise.
262 * gdb.arch/system-gcore.exp: Likewise.
263 * gdb.base/bigcore.exp (extract_heap): Likewise.
264 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
265 * gdb.base/call-ar-st.exp: Likewise.
266 * gdb.base/call-rt-st.exp: Likewise.
267 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
268 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
269 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
270 * gdb.base/corefile.exp: Likewise.
271 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
272 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
273 * gdb.base/fixsection.exp: Likewise.
274 * gdb.base/funcargs.exp: Likewise.
275 * gdb.base/gcore-buffer-overflow.exp: Likewise.
276 * gdb.base/gcore-relro.exp: Likewise.
277 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
278 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
279 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
280 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
281 * gdb.base/list.exp: Likewise.
282 (set_listsize): Likewise.
283 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
284 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
285 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
286 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
287 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
288 * gdb.base/setvar.exp: Likewise.
289 (test_set): Likewise.
290 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
291 * gdb.base/solib-overlap.exp: Likewise.
292 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
293 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
294 * gdb.base/watchpoint.exp (initialize): Likewise.
295 (test_simple_watchpoint): Likewise.
296 (test_disabling_watchpoints): Likewise.
297 (test_watchpoint_triggered_in_syscall): Likewise.
298 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
299 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
300 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
301 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
302 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
303 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
304 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
305 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
306 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
307 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
308 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
309 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
310 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
311 * gdb.mi/gdb792.exp: Likewise.
312 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
313 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
314 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
315 * gdb.threads/gcore-thread.exp: Likewise.
316 (load_core): Likewise.
317 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
318 (test_startup, check_control_c): Likewise.
319 * gdb.threads/sigstep-threads.exp: Likewise.
320 * gdb.threads/thread_check.exp: Likewise.
321 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
322 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
323 (set_a_tracepoint, trace_buffer_normal): Likewise.
324 (gdb_trace_circular_tests): Likewise.
325 * gdb.trace/collection.exp: Likewise.
326 * gdb.trace/disconnected-tracing.exp: Likewise.
327 * gdb.trace/infotrace.exp: Likewise.
328 * gdb.trace/mi-traceframe-changed.exp: Likewise.
329 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
330 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
331 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
332 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
333 * gdb.trace/stap-trace.exp: Likewise.
334 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
335 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
336 * gdb.trace/trace-buffer-size.exp: Likewise.
337 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
338 * gdb.trace/unavailable.exp: Likewise.
339 * gdb.trace/while-dyn.exp: Likewise.
340 * lib/fortran.exp (set_lang_fortran): Likewise.
341 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
342 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
343 (default_gdb_start, get_compiler_info): Likewise.
344 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
345 (get_debug_format, setup_xfail_format): Likewise.
346 (rerun_to_main, gdb_skip_float_test): Likewise.
347 (build_id_debug_filename_get, get_remotetimeout): Likewise.
348 * lib/java.exp (set_lang_java): Likewise.
349 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
350 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
351 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
352 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
353 * lib/objc.exp (set_lang_objc): Likewise.
354 * lib/pascal.exp (set_lang_pascal): Likewise.
355 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
356 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
357 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
358
bb869963
SDJ
3592013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
360
361 PR c++/15203
362 PR c++/15210
363 * gdb.cp/m-static.cc (keepalive_int): New function.
364 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
365 * gdb.cp/m-static.exp: New test for `sintvar'.
366
e2be70a0
YQ
3672013-03-14 Yao Qi <yao@codesourcery.com>
368
369 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
370 of 'tstatus' into tstatus_output.
371 (top level): Save the trace data to tfile. Read trace file in
372 tfile target. Check the trace status.
373
8ddb1965
YQ
3742013-03-13 Yao Qi <yao@codesourcery.com>
375
376 * gdb.trace/tsv.exp (check_tsv): New.
377 (top level): Save a tfile on current trace session. Call
378 check_tsv on live target. Load the tfile with target tfile
379 and call check_tsv again.
380
045dd51f
YQ
3812013-03-13 Yao Qi <yao@codesourcery.com>
382
383 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
384 Replace some "gdb_test" with "gdb_test_no_output".
385
82d049ab
PH
3862013-03-12 Paul Hilfinger <hilfingr@adacore.com>
387
388 * gdb.ada/expr_delims.exp: New file.
389 * gdb.ada/expr_delims/foo.adb: New file.
390 * gdb.ada/expr_delims/pck.ads: New file.
391 * gdb.ada/expr_delims/pck.adb: New file.
392
cb8ea32b
KS
3932013-03-11 Keith Seitz <keiths@redhat.com>
394
395 * watchpoint.exp (test_no_hw_watchpoints): Add test using
396 both condition and thread. Then delete the watchpoint.
397
2f1d9bdd
MM
3982013-03-11 Christian Himpel <christian.himpel@intel.com>
399
400 * Makefile.in: Add btrace testsuite.
401 * configure: Regenerated.
402 * configure.ac: Add btrace testsuite.
403 * gdb.btrace/Makefile.in: New file.
404 * gdb.btrace/enable.c: New file.
405 * gdb.btrace/enable.exp: New file.
406 * gdb.btrace/function_call_history.c: New file.
407 * gdb.btrace/function_call_history.exp: New file.
408 * gdb.btrace/instruction_history.c: New file.
409 * gdb.btrace/instruction_history.exp: New file.
410 * gdb.btrace/instruction_history.S: New file.
411 * lib/gdb.exp: Add btrace skip proc.
412
05c56a9d
JK
4132013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
414
415 Fix entry-values if the callee called a noreturn function.
416 * gdb.arch/amd64-tailcall-noret.S: New file.
417 * gdb.arch/amd64-tailcall-noret.c: New file.
418 * gdb.arch/amd64-tailcall-noret.exp: New file.
419
9112db09
JK
4202013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
421
422 Fix entry-values in C++ across CUs.
423 * gdb.arch/amd64-tailcall-cxx.exp: New file.
424 * gdb.arch/amd64-tailcall-cxx1.S: New file.
425 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
426 * gdb.arch/amd64-tailcall-cxx2.S: New file.
427 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
428
be9a119c 4292013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
430 Hafiz Abid Qadeer <abidh@codesourcery.com>
431
432 gdb/testsuite/
433 * gdb.trace/trace-buffer-size.exp: New file.
434 * gdb.trace/trace-buffer-size.c: New file.
435
049109b0
PA
4362013-03-06 Pedro Alves <palves@redhat.com>
437
438 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
439 doesn't support the tested optional feature, call "unsupported"
440 with the same test message as the "pass" case, instead of calling
441 "pass" with a different message. Use the same text for the "fail"
442 cases too.
443
4aa54120
YQ
4442013-03-06 Yao Qi <yao@codesourcery.com>
445
446 * gdb.trace/tstatus.exp: Remove the invocation of
447 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
448 (test_tracepoints): Don't set fast tracepoint.
449 (top level): Don't check agent library is loaded or not.
450
b8b71e63
YQ
4512013-03-06 Yao Qi <yao@codesourcery.com>
452
453 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
454 parentheses by "\\".
455
33f448b1
JK
4562013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
457
458 * gdb.linespec/base/one/thefile.cc (twodup): New.
459 (m): Call it.
460 * gdb.linespec/base/two/thefile.cc (dupname): New.
461 (n): Call it.
462 * gdb.linespec/break-ask.exp: New file.
463 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
464
1c942fb9
YQ
4652013-02-28 Yao Qi <yao@codesourcery.com>
466
467 * gdb.trace/report.exp: Move some code to ...
468 (use_collected_data): New.
469 (top level): Call use_collected_data once on the live target.
470 Save at file of the current trace session, load it with target
471 tfile, and call use_collected_data again.
472
5b967901
JK
4732013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
474
475 * gdb.threads/fork-thread-pending.c (main): Add alarm.
476
6447023f
JK
4772013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
478
479 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
480 Add final kill of ${valgrind_pid}.
481
9f44fbc0
SCR
4822013-02-20 Siva Chandra Reddy <sivachandra@google.com>
483
484 * gdb.python/py-arch.c: New test case
485 * gdb.python/py-arch.exp: New tests to test
486 gdb.Architecture.disassemble
487 * gdb.python/Makefile.in: Add py-arch to the list of
488 EXECUTABLES.
489
4c9ad8c2
TT
4902013-02-18 Tom Tromey <tromey@redhat.com>
491
492 * gdb.dwarf2/subrange.exp: New file.
493
f5911ea1
HAQ
4942013-02-15 Pedro Alves <pedro@codesourcery.com>
495 Hafiz Abid Qadeer <abidh@codesourcery.com>
496
497 * gdb.trace/tfile.exp: Add test for -trace-status command.
498
420f4384
JK
4992013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
500
501 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
502 nanosleep by sleep.
503
4819b3f8
PA
5042013-02-14 Pedro Alves <palves@redhat.com>
505
506 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
507
1773c82c
HAQ
5082013-02-14 Pedro Alves <pedro@codesourcery.com>
509 Hafiz Abid Qadeer <abidh@codesourcery.com>
510
511 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
512
e234dfaf
TT
5132013-02-12 Tom Tromey <tromey@redhat.com>
514
515 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
516 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
517
6c01dd94
PA
5182013-02-12 Pedro Alves <palves@redhat.com>
519
520 * gdb.base/catch-signal.c: Update copyright years.
521 * gdb.base/catch-signal.exp: Update copyright years.
522 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
523 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
524 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
525 * gdb.dwarf2/dw2-error.S: Update copyright years.
526 * gdb.dwarf2/dw2-error.c: Update copyright years.
527 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
528 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
529 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
530
595fc67f
PA
5312013-02-12 Pedro Alves <palves@redhat.com>
532
533 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
534 message.
535 * gdb.base/sigaltstack.exp: Ditto.
536 * gdb.base/siginfo.exp: Ditto.
537 * gdb.base/sizeof.exp: Ditto.
538
17282693
PA
5392013-02-12 Pedro Alves <palves@redhat.com>
540
541 * gdb.mi/mi-basics.exp: Tweak intro comment.
542 * gdb.mi/mi-break.exp: Tweak intro comment.
543 * gdb.mi/mi-console.exp: Tweak intro comment.
544 * gdb.mi/mi-file.exp: Tweak intro comment.
545 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
546 * gdb.mi/mi-return.exp: Tweak intro comment.
547 * gdb.mi/mi-stepi.exp: Tweak intro comment.
548 * gdb.mi/mi-until.exp: Tweak intro comment.
549 * gdb.mi/mi-watch.exp: Tweak intro comment.
550
8a4ac37e
PA
5512013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
552
553 * gdb.server/no-thread-db.exp: New file.
554 * gdb.server/no-thread-db.c: New file.
555 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
556
c2792f5a
DE
5572013-02-11 Doug Evans <dje@google.com>
558
559 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
560 two decfloats.
561
d9e98382
SDJ
5622013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
563
564 * gdb.base/bitfields.c (struct internalvartest): New declaration.
565 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
566
a321661a
JK
5672013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
568
569 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
570
134a2066
YQ
5712013-02-06 Yao Qi <yao@codesourcery.com>
572
573 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
574 to ...
575 (test_create_delete_modify_tsv): ... here. New test on modifying
576 the initial value of a tsv.
577
5a2dc60a
JK
5782013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
579
580 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
581 (cd .../rdir): ... here.
582
233d95b5
JK
5832013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
584
585 * gdb.linespec/base/one/header.h: New file.
586 * gdb.linespec/base/two/header.h: New file.
587 * gdb.linespec/macro-relative.c: New file.
588 * gdb.linespec/macro-relative.exp: New file.
589
fbd9ab74
JK
5902013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
591
592 * gdb.base/fullpath-expand-func.c: New file.
593 * gdb.base/fullpath-expand.c: New file.
594 * gdb.base/fullpath-expand.exp: New file.
595 * gdb.base/realname-expand-real.c: New file.
596 * gdb.base/realname-expand.c: New file.
597 * gdb.base/realname-expand.exp: New file.
598
1b56eb55
JK
5992013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
600
601 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
602 * gdb.dwarf2/dw2-dir-file-name.c: New file.
603
af529f8f
JK
6042013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
605
606 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
607 (compare_filenames_for_search does not match)
608 (compare_filenames_for_search does match): New tests.
609
f5b95b50
JK
6102013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
611
612 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
613
d47921b9
JK
6142013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
615
616 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
617
8a92335b
JK
6182013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
619
620 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
621 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
622 ${binfile}.mini_debuginfo-debuglink and
623 ${binfile}.mini_debuginfo-debuglink.xz.
624
17f2157d
TT
6252013-02-01 Tom Tromey <tromey@redhat.com>
626
627 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
628 attributes.
629
d65f0a9c
TT
6302013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
631 Tom Tromey <tromey@redhat.com>
632
633 * gdb.dwarf2/method-ptr.exp: Link with c++.
634 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
635
f25c0135
TT
6362013-01-31 Tom Tromey <tromey@redhat.com>
637
638 * gdb.base/jit.exp (compile_jit_test): New proc.
639 Add PIE tests.
640
7078baeb
TT
6412013-01-31 Tom Tromey <tromey@redhat.com>
642
643 * gdb.dwarf2/method-ptr.cc: New file.
644 * gdb.dwarf2/method-ptr.exp: New file.
645
1d24041a
TT
6462013-01-31 Tom Tromey <tromey@redhat.com>
647
648 * lib/dwarf.exp (namespace Dwarf): New.
649
8d9878a4
TT
6502013-01-29 Tom Tromey <tromey@redhat.com>
651
652 * gdb.dwarf2/fission-reread.exp: Add unload test.
653
bed911e5
DE
6542013-01-28 Doug Evans <dje@google.com>
655
656 * gdb.dwarf2/fission-loclists.exp: New file.
657 * gdb.dwarf2/fission-loclists.S: New file.
658
e229648e
JK
6592013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
660
661 Code cleanup.
662 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
663 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
664 and prepare_for_testing.
665 * gdb.base/store.exp: Likewise.
666
86700f00
TT
6672013-01-25 Tom Tromey <tromey@redhat.com>
668
669 * gdb.python/py-explore.exp: Expect the gdb prompt.
670
8954db33
AB
6712013-01-25 Andrew Burgess <aburgess@broadcom.com>
672
673 * gdb.base/gnu_vector.c: New variable for use in tests.
674 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
675 changes in scalar to vector casting and widening.
676 * gdb.python/py-type.c: New variables for use in tests.
677 * gdb.python/py-type.exp: Update vector related tests to reflect
678 changes in scalar to vector casting and widening.
679
2077afdd
TD
6802013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
681
682 * gdb.base/prologue-include.c: New file.
683 * gdb.base/prologue-include.exp: New file.
684 * gdb.base/prologue-include.h: New file.
685
d7499464
HAQ
6862013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
687
688 PR gdb/13443
689 * gdb.mi/mi-var-block.exp: Make test messages unique.
690
e2a3e0f1
TT
6912013-01-23 Tom Tromey <tromey@redhat.com>
692
693 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
694
152fcc9c
TT
6952013-01-23 Tom Tromey <tromey@redhat.com>
696
697 * gdb.cp/converts.cc (main): Initialize 'a'.
698
bea883fd
SCR
6992013-01-23 Siva Chandra Reddy <sivachandra@google.com>
700
701 * testsuite/gdb.python/frame.exp: Add a test for
702 gdb.Frame.architecture() method.
703
0928e93d
PA
7042013-01-22 Pedro Alves <palves@redhat.com>
705
706 * gdb.base/annota1.exp (signal sent): No longer expect
707 breakpoints-invalid.
708 * gdb.cp/annota2.exp (continue until exit)
709 (watch triggered on a.x): Ditto.
710
9c97429f
PA
7112013-01-22 Pedro Alves <palves@redhat.com>
712
713 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
714 Adjust tests to breakpoints-invalid changes.
715 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
716 variables.
717 Adjust tests to breakpoints-invalid changes.
718
187d10dd
PA
7192013-01-22 Pedro Alves <palves@redhat.com>
720
721 * gdb.base/annota1.exp (annotate ignore count change): Add
722 expected output for failure case.
723
ea3aedcb
TT
7242013-01-22 Tom Tromey <tromey@redhat.com>
725
726 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
727 call.
728
998580f1
MK
7292013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
730
731 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 732 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
733 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
734 Also handle 'thread' field.
735 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
736 * gdb.mi/mi-watch.exp: Ditto.
737 * lib/mi-support.exp: Ditto.
738
8f1d5693
MK
7392013-01-21 Siva Chandra Reddy <sivachandra@google.com>
740
741 * gdb.python/py-explore.exp: Improve a test
742
2d8c5d7c
DB
7432013-01-18  David Blaikie  <dblaikie@gmail.com>
744
745 * gdb.base/label.c (main): Correct the type of the second
746 parameter.
747
46f35228
TT
7482013-01-18 Tom Tromey <tromey@redhat.com>
749
750 * gdb.dwarf2/trace-crash.s: New file.
751 * gdb.dwarf2/trace-crash.exp: New file.
752
5965d69d
HAQ
7532013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
754
43aaf8b6
PA
755 PR gdb/13443
756 * gdb.base/checkpoint.exp: Update test messages to make them
757 unique.
5965d69d 758
5ae4861a
YQ
7592013-01-18 Yao Qi <yao@codesourcery.com>
760
761 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
762 output of 'info tracepoints'.
763 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
764 Likewise.
765 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
766 * gdb.trace/disconnected-tracing.c (struct foo): New.
767
d84fca2c
JK
7682013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
769
770 * gdb.dwarf2/dw2-dos-drive.S: New file.
771 * gdb.dwarf2/dw2-dos-drive.exp: New file.
772
aebb1cc9
DE
7732013-01-17 Doug Evans <dje@google.com>
774
2782d512
DE
775 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
776 CXX_FOR_TARGET.
777
aebb1cc9
DE
778 * boards/cc-with-tweaks.exp: New file.
779
db2b2972
TT
7802013-01-17 Tom Tromey <tromey@redhat.com>
781
782 * gdb.base/completion.exp: Add "set cp-abi" completion test.
783
96343774
PA
7842013-01-17 Pedro Alves <palves@redhat.com>
785
786 Merge dg-extract-results.sh from upstream (svn 195224).
787
788 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 789 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
790
791 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 792 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
793
794 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 795 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
796
797 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
798 * dg-extract-results.sh: Redirect grep output to /dev/null instead
799 of grep -q.
800
675921c0
SD
8012012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
802
803 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
804 interface.
805 * gdb.base/jithost.c: New file.
806 * gdb.base/jithost.h: New file.
807 * gdb.base/jitreader.c : New file.
808 * gdb.base/jit-protocol.h: New file.
809
ab04a2af
TT
8102013-01-16 Tom Tromey <tromey@redhat.com>
811
812 * gdb.base/catch-signal.c: New file.
813 * gdb.base/catch-signal.exp: New file.
814
8ac3646f
TT
8152013-01-16 Tom Tromey <tromey@redhat.com>
816
817 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
818
22fc223e
JK
8192013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
820
821 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
822
44478ab3
TT
8232013-01-14 Tom Tromey <tromey@redhat.com>
824
825 * gdb.base/completion.exp: Add "set gnutarget" test.
826
06d66ee9
TT
8272013-01-14 Tom Tromey <tromey@redhat.com>
828
829 * gdb.dwarf2/dw2-restrict.S: New file.
830 * gdb.dwarf2/dw2-restrict.c: New file.
831 * gdb.dwarf2/dw2-restrict.exp: New file.
832
c9bf0622
TT
8332013-01-14 Tom Tromey <tromey@redhat.com>
834
835 * gdb.dwarf2/dw2-error.exp: New file.
836 * gdb.dwarf2/dw2-error.c: New file.
837 * gdb.dwarf2/dw2-error.S: New file.
838
5b12a61c
JK
8392013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
840
841 * gdb.cp/parse-lang.cc: New file.
842 * gdb.cp/parse-lang.exp: New file.
843
f0a4b570
JK
8442013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
845
846 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
847 (set substitute-path): New test.
848 (fullname present): Remove content.
849 (substituted fullname): New test.
850
f751cc97
JB
8512013-01-13 Joel Brobecker <brobecker@adacore.com>
852
853 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
854 check. Move $gdb_py_is_py24 value check right after.
855
04164e8e
JK
8562013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
857
858 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
859 targets.
860
5bf480a5
YQ
8612013-01-11 Yao Qi <yao@codesourcery.com>
862
863 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
864 for dprintf.
865 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
866 Check the fields in "=breakpoint-created" for dprintf.
867
f35a17b5
JK
8682012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
869
870 * gdb.mi/mi-fullname-deleted.exp: New file.
871
85817405
JK
8722012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
873
874 * gdb.base/skip-solib.exp (info skip with pending file): Update the
875 expected output.
876 (info skip with pending file): Remove.
877 (ignoring function in solib, info skip for function multiply): Update
878 the expected output.
879 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
880 (info skip (delete 1), info skip after disabling all)
881 (info skip after enabling all, info skip after disabling 4 2-3)
882 (info skip after enabling 2-3, info skip 2-3)
883 (info skip after deleting 2 3): Update the expected output.
884 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
885 statement to its initialization and return.
886 * gdb.linespec/skip-two.exp: New file.
887
27210e12
DE
8882012-12-19 Doug Evans <dje@google.com>
889
890 * gdb.base/maint.exp: Handle testing with .gdb_index.
891
bb627a12
JB
8922012-12-19 Joel Brobecker <brobecker@adacore.com>
893
894 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
895 Cavium to FSF.
896
7785b880
JB
8972012-12-19 Joel Brobecker <brobecker@adacore.com>
898
899 * dg-extract-results.sh: Update contact info in copyright notice.
900 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
901 GPL v3 or later. Update contact info.
902 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
903 gdb.threads/watchpoint-fork-mt.c,
904 gdb.threads/watchpoint-fork-parent.c,
905 gdb.threads/watchpoint-fork-st.c,
906 gdb.threads/watchpoint-fork.h: Likewise.
907
f2a8bc8a
YQ
9082012-12-15 Yao Qi <yao@codesourcery.com>
909
910 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
911 'installed' field in '=breakpoint-modified'.
912 (test_reconnect): Check 'installed' field in
913 '=breakpoint-modified' and '=breakpoint-created'.
914
915 * gdb.trace/actions.exp: Update test for 'installed' field.
916 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
917 (tracepoint_change_loc_2): Likewise.
918 Check 'info tracepoint' display nothing else.
919 * gdb.trace/deltrace.exp: Likewise.
920 * gdb.trace/infotrace.exp: Likewise.
921 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
922 Likewise.
923 * gdb.trace/passcount.exp: Likewise.
924 * gdb.trace/tracecmd.exp: Likewise.
925 * gdb.trace/while-stepping.exp: Likewise.
926
6592e36f
TT
9272012-12-14 Tom Tromey <tromey@redhat.com>
928
929 * gdb.cp/member-name.exp: New file.
930 * gdb.cp/member-name.cc: New file.
931
7d27a96d
TT
9322012-12-14 Tom Tromey <tromey@redhat.com>
933
934 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
935
f8c05d0d
DE
9362012-12-14 Doug Evans <dje@google.com>
937
938 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
939 DW_OP_GNU_implicit_pointer is section-relative.
940
451b7c33
TT
9412012-12-14 Tom Tromey <tromey@redhat.com>
942
43aaf8b6 943 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 944
10e339df
PA
9452012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
946
6fdff2c5 947 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 948
e780d813
DE
9492012-12-13 Doug Evans <dje@google.com>
950
951 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
952 * gdb.multi/multi-arch.exp: Ditto.
953
ca3dbcc8 9542012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 955
ca3dbcc8
MG
956 * gdb.mi/mi-catch-load-so.c: New. Clone of the
957 catch load test library source file.
958 * gdb.mi/mi-catch-load.c: New. Clone of the catch
959 load test source file.
960 * gdb.mi/mi-catch-load.exp: New. Test file for
961 basic MI -catch-load and -catch-unload tests.
962
2960a434
PK
9632012-12-11 Paul Koning <paul_koning@dell.com>
964
965 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
966 exception.
967 (_iterator_except): New function.
968 (ArrayPrinter): Use _iterator function instead of local _iterator
969 class for Python 3 compatibility.
970 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 971 _iterator.
2960a434
PK
972 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
973 execfile for Python 3 compatibility.
974 * gdb.python/python.exp: Handle Python 2.4 exception traceback
975 format in error_prompt test.
6fdff2c5 976
9325cb04
PK
9772012-12-10 Paul Koning <paul_koning@dell.com>
978
979 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 980 compatibility.
9325cb04
PK
981 * gdb.python/py-block.exp: Ditto.
982 * gdb.python/py-breakpoint.exp: Ditto.
983 * gdb.python/py-cmd.exp: Ditto.
984 * gdb.python/py-events.py: Ditto.
985 * gdb.python/py-finish-breakpoint.py: Ditto.
986 * gdb.python/py-finish-breakpoint2.exp: Ditto.
987 * gdb.python/py-finish-breakpoint2.py: Ditto.
988 * gdb.python/py-frame-inline.exp: Ditto.
989 * gdb.python/py-frame.exp: Ditto.
990 * gdb.python/py-infthread.exp: Ditto.
991 * gdb.python/py-objfile.exp: Ditto.
992 * gdb.python/py-parameter.exp: Ditto.
993 * gdb.python/py-progspace.exp: Ditto.
994 * gdb.python/py-prompt.exp: Ditto.
995 * gdb.python/py-symbol.exp: Ditto.
996 * gdb.python/py-symtab.exp: Ditto.
997 * gdb.python/py-template.exp: Ditto.
998 * gdb.python/py-value-cc.exp: Ditto.
999 * gdb.python/python.exp: Ditto.
1000 * gdb.python/source2.py: Ditto.
1001 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 1002 compatibility.
9325cb04
PK
1003 Use sorted() function rather than sort() method.
1004 Accept either int or long values for enum values.
1005 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
1006 execfile for Python 3 compatibility.
1007 * gdb.python/py-evsignal.exp: Ditto.
1008 * gdb.python/py-evthreads.exp: Ditto.
1009 * gdb.python/py-mi.exp: Ditto.
1010 * gdb.python/py-pp-maint.exp: Ditto.
1011 * gdb.python/py-prettyprint.exp: Ditto.
1012 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 1013 Python 3 compatibility.
9325cb04
PK
1014 Skip tests for Python 2.4.
1015 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 1016 Python 3 compatibility.
9325cb04
PK
1017 Use byte string rather than character string in memory write test
1018 if Python 3.
1019 * gdb.python/py-pp-maint.py: Change class declarations to "new
1020 class" syntax.
1021 * gdb.python/py-prettyprint.py: Change iterator class to generator
1022 function for Python 3 compatibility.
1023 Make all classes "new style".
1024 Fix indentation issue and stray semicolon.
1025 * gdb.python/py-shared.expChange print syntax for Python 3
1026 compatibility.
1027 Define "long" if Python 3.
1028 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 1029 compatibility.
9325cb04
PK
1030 Accept either int or long values for enum values.
1031 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 1032 compatibility.
9325cb04
PK
1033 Skip "long" and "unicode" tests if Python 3.
1034 Accept either "type" or "class" in type checks.
1035 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
1036 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
1037
8b9737bf
TT
10382012-12-10 Tom Tromey <tromey@redhat.com>
1039
1040 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
1041 (test): Add "two_cu" argument.
1042 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
1043 for types; allow two CUs.
1044
1b80a9fa
JK
10452012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1046
1047 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
1048 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
1049
f0b6d50a
YQ
10502012-12-08 Yao Qi <yao@codesourcery.com>
1051 Pedro Alves <palves@redhat.com>
1052
1053 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
1054 '=breakpoint-created' when GDB merges the tracepoints of both
1055 sides.
1056
2f68a895
TT
10572012-12-07 Tom Tromey <tromey@redhat.com>
1058
1059 * gdb.base/break1.c (enum some_enum, union some_union): New.
1060 (some_enum_global, some_union_global, some_value): New globals.
1061 * gdb.base/completion.exp: Add tag completion tests.
1062
4fc5d43e
TT
10632012-12-07 Tom Tromey <tromey@redhat.com>
1064
1065 * gdb.base/completion.exp: Add tests for ptype and whatis
1066 completion.
1067
6559e013
JB
10682012-12-07 Joel Brobecker <brobecker@adacore.com>
1069
1070 * gdb.base/stale-infcall.exp: Fix copyright line.
1071
ae2b630d
JB
10722012-12-07 Joel Brobecker <brobecker@adacore.com>
1073
1074 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
1075
0ba2eb0f
TT
10762012-12-06 Pedro Alves <palves@redhat.com>
1077 Tom Tromey <tromey@redhat.com>
1078
1079 * gdb.base/exprs.exp: Add tests for cast to void.
1080
731145cb
TT
10812012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
1082
1083 * gdb.python/py-mi.exp: Correct expected results for attribute
1084 "dynamic" returned by -var-update.
1085 Add test case for correct handling of "diplayhint" for children
1086 of dynamic varobjs.
1087 * gdb.python/py-prettyprint.c (set_itme): New function.
1088 (bug_14741) New function.
1089 (main) Add call to bug_14741().
1090 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
1091
e58fcc15
UW
10922012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
1093
1094 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
1095 ${binfile}.funcsyms list.
1096
e9eb0d14
YQ
10972012-12-04 Yao Qi <yao@codesourcery.com>
1098
1099 PR gdb/13443
1100 * gdb.trace/actions.exp: Make test messages unique.
1101
4983028c
TT
11022012-11-29 Tom Tromey <tromey@redhat.com>
1103
1104 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
1105
ea5e6b0e
UW
11062012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
1107
1108 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
1109 * gdb.opencl/datatypes.exp: Likewise.
1110 * gdb.opencl/operators.exp: Likewise.
1111 * gdb.opencl/vec_comps.exp: Likewise.
1112
cdde3dfb
JG
11132012-11-29 Jerome Guitton <guitton@adacore.com>
1114
1115 * gdb.ada/iwide: New testcase.
1116
b50d69b5
JG
11172012-11-29 Jerome Guitton <guitton@adacore.com>
1118
1119 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
1120 ptype test.
1121
c2d3fccf
JG
11222012-11-29 Jerome Guitton <guitton@adacore.com>
1123
1124 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
1125 form {VARIANT_TYPE}ADDRESS.
1126
5edf51fe
YQ
11272012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
1128
1129 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
1130 (func): New function.
1131 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
1132 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
1133 pointers to members with pointer-to-function type.
1134
608e2dbb
TT
11352012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1136 Tom Tromey <tromey@redhat.com>
1137
1138 * gdb.base/gnu-debugdata.exp: New file.
1139 * gdb.base/gnu-debugdata.c: New file.
1140 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
1141 (gdb_unload): Return 0 on success.
1142
4648e588
JK
11432012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1144
1145 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
1146
17d6efc4
JB
11472012-11-26 Joel Brobecker <brobecker@adacore.com>
1148
1149 * gdb.base/empty_exe.exp: New testcase.
1150
ace21957
MF
11512012-11-20 Mike Frysinger <vapier@gentoo.org>
1152
1153 * gdb.base/completion.exp: Add test for help aliases completion.
1154
5c401a0a
YQ
11552012-11-20 Yao Qi <yao@codesourcery.com>
1156
1157 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1158 Don't test 'maint set show-debug-regs'.
1159 Use command 'set remotecache' instead of
1160 'set circular-trace-buffer'.
1161
8dea366b
KS
11622012-11-16 Keith Seitz <keiths@redhat.com>
1163
1164 PR c++/13615
1165 * gdb.cp/baseenum.cc: New file.
1166 * gdb.cp/baseenum.exp: New file.
1167 * gdb.cp/derivation.cc (A): Add copyright.
1168 Add a typedef.
1169 (B): Use A::value_type instead of int. Change all references.
1170 (D): Use value_type instead of int. Change all references.
1171 (E): Likewise.
1172 (F); Likewise.
1173 (Z): New class.
1174 (ZZ): New class.
6fdff2c5 1175 (N, Base, Derived): New namespace and classes.
8dea366b
KS
1176 (main): Add instances of Z and ZZ.
1177 Make sure all symbols from N are kept.
1178 * gdb.cp/derivation.exp: Update typedef changes in tests.
1179 Add tests for class typedefs both before and after starting
1180 the inferior.
1181 Add tests for searching for a typedef while stopped in a
1182 method.
1183
5e34c6c3
LM
11842012-11-14 Luis Machado <lgustavo@codesourcery.com>
1185
1186 * gdb.mi/mi-var-create-rtti.c: New file.
1187 * gdb.mi/mi-var-create-rtti.exp: New file.
1188
5e487a5f
LM
11892012-11-14 Luis Machado <lgustavo@codesourcery.com>
1190
1191 * gdb.base/structs3.exp: Run to main before doing any tests.
1192
6d67b990
AB
11932012-11-14 Andrew Burgess <aburgess@broadcom.com>
1194
1195 * gdb.python/py-type.exp: Uniquify test names.
1196
e5d98164
YQ
11972012-11-14 Yao Qi <yao@codesourcery.com>
1198
1199 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
1200 (thread_function) [DEBUG]: Call 'printf'.
1201 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
1202 command line if 'DEBUG=1' is passed to test.
1203 Remove a pattern to match inferior's output.
1204
62747a60
TT
12052012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
1206
1207 * gdb.mi/mi-fill-memory.exp: New test.
1208
18a9fc12
TT
12092012-11-12 Tom Tromey <tromey@redhat.com>
1210
1211 * gdb.base/completion.exp: Update for "info type-printers".
1212 * gdb.python/py-typeprint.cc: New file.
1213 * gdb.python/py-typeprint.exp: New file.
1214 * gdb.python/py-typeprint.py: New file.
1215
bd69fc68
TT
12162012-11-12 Tom Tromey <tromey@redhat.com>
1217
1218 * gdb.base/call-sc.exp: Use "ptype/r".
1219 * gdb.base/volatile.exp: Don't expect "int".
1220 * gdb.cp/ptype-flags.cc: New file.
1221 * gdb.cp/ptype-flags.exp: New file.
1222 * gdb.cp/templates.exp: Use ptype/r.
1223 (test_ptype_of_templates, test_template_typedef): Likewise.
1224 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
1225 argument. Handle template names and template parameters.
1226 * gdb.mi/mi-var-cmd.exp: Accept "long".
1227 * gdb.mi/mi-var-child.exp: Accept "long".
1228 * gdb.mi/mi-var-display.exp: Accept "long".
1229 * gdb.mi/mi2-var-child.exp: Accept "long".
1230
b3720c3a
TT
12312012-11-12 Tom Tromey <tromey@redhat.com>
1232
1233 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
1234 "ptype" from calls to cp_test_ptype_class.
1235 (test_enums): Likewise.
1236 * gdb.cp/derivation.exp: Remove "ptype" from calls to
1237 cp_test_ptype_class.
1238 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
1239 calls to cp_test_ptype_class.
1240 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
1241 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
1242 from calls to cp_test_ptype_class.
1243 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
1244 command here. Change "in_command" argument to "in_exp".
1245
0d63ecda
KS
12462012-11-10 Keith Seitz <keiths@redhat.com>
1247
1248 PR gdb/14288
1249 * gdb.base/printcmds.c: Add invalid_XXX globals
1250 for repeated byte tests.
1251 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
1252 * gdb.base/wchar.c (main): Add and construct a wchar_t
1253 array with repeated characters.
1254 * gdb.base/wchar.exp: Add repeated character tests.
1255
ed8a1c2d
AB
12562012-11-09 Andrew Burgess <aburgess@broadcom.com>
1257
1258 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
1259 disassembly output.
1260
9107fc8d
PA
12612012-11-09 Pedro Alves <palves@redhat.com>
1262
1263 PR gdb/14306
1264
1265 * gdb.multi/multi-arch-exec.c: New file.
1266 * gdb.multi/multi-arch-exec.exp: New file.
1267
558a9d82
YQ
12682012-11-09 Yao Qi <yao@codesourcery.com>
1269
1270 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
1271 (top level): Call it.
1272
e714f336
YQ
12732012-11-09 Yao Qi <yao@codesourcery.com>
1274
1275 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
1276 typo.
1277
6ecd4729
PA
12782012-11-09 Pedro Alves <palves@redhat.com>
1279
1280 * gdb.multi/multi-arch.exp: New.
1281
9015683b
TT
12822012-11-08 Tom Tromey <tromey@redhat.com>
1283
1284 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
1285 core files, if possible.
1286 * gdb.base/siginfo-thread.c: New file
1287 * gdb.base/siginfo-thread.exp: New file
1288
ea9f10bb
TT
12892012-11-08 Tom Tromey <tromey@redhat.com>
1290
1291 * gdb.base/comprdebug.exp: New file.
1292
f6592439
PA
12932012-11-06 Pedro Alves <palves@redhat.com>
1294
1295 PR gdb/14810
1296
1297 * gdb.base/disabled-location.c: New file.
1298 * gdb.base/disabled-location.exp: New file.
1299
2d338fa9
TT
13002012-11-06 Tom Tromey <tromey@redhat.com>
1301
1302 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
1303 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
1304 gdb_gcore_cmd.
1305 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
1306 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
1307 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
1308 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
1309 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
1310 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
1311 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
1312 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
1313 * lib/gdb.exp (gdb_gcore_cmd): New proc.
1314
68c9da30
PA
13152012-11-05 Pedro Alves <palves@redhat.com>
1316
1317 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
1318 procedure.
1319 (do_vfork_and_follow_child_tests_exec)
1320 (do_vfork_and_follow_child_tests_exit): Call it.
1321
a7c8c931
PA
13222012-11-05 Pedro Alves <palves@redhat.com>
1323
1324 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
1325 fails.
1326
6f6484cd
YQ
13272012-11-03 Yao Qi <yao@codesourcery.com>
1328
1329 Fix PR gdb/14617.
1330 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1331 Remove setup_kfail, and update test.
1332
b45627a0
TT
13332012-11-02 Tom Tromey <tromey@redhat.com>
1334
1335 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
1336 test.
1337
f50f4e56
PA
13382012-11-02 Pedro Alves <palves@redhat.com>
1339
1340 PR gdb/14766
1341
1342 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
1343 setup_kfail.
1344 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
1345 get registers".
1346
71ce889d
PA
13472012-11-02 Pedro Alves <palves@redhat.com>
1348
1349 * gdb.base/foll-vfork-exit.c: New file.
1350 * gdb.base/foll-vfork.exp (top level): New file-describing
1351 comment.
1352 (vfork_child_follow_to_exit): New procedure.
1353 (tcatch_vfork_then_child_follow): Rename as ...
1354 (tcatch_vfork_then_child_follow_exec): ... this.
1355 (tcatch_vfork_then_child_follow_exit): New procedure.
1356 (do_vfork_and_follow_parent_tests): New procedure, factored out
1357 from do_vfork_and_exec_tests.
1358 (do_vfork_and_follow_child_tests_exec): Ditto.
1359 (do_vfork_and_exec_tests): Delete.
1360 (do_vfork_and_follow_child_tests_exit): New procedure.
1361 (top level): Run tests with both the program that has the vfork
1362 child execing, and the program has the vfork child exiting.
1363
1e35b1a9
PA
13642012-11-02 Pedro Alves <palves@redhat.com>
1365
1366 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
1367 (check_vfork_catchpoints, vfork_parent_follow_through_step)
1368 (vfork_parent_follow_to_bp): Call it.
1369 (kill_child): Delete.
1370 (vfork_and_exec_child_follow_to_main_bp)
1371 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
1372 longer call kill_child.
1373 (tcatch_vfork_then_parent_follow): Call setup_gdb.
1374 (do_vfork_and_exec_tests): Don't runto_main before calling each
1375 test procedure.
1376 (top level): Don't clean restart and set verbose before running
1377 each test procedure.
1378
13792012-11-02 Pedro Alves <palves@redhat.com>
1380
1381 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
1382 (vfork_parent_follow_to_bp)
1383 (vfork_and_exec_child_follow_to_main_bp)
1384 (vfork_and_exec_child_follow_through_step)
1385 (tcatch_vfork_then_parent_follow)
1386 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1387 Use with_test_prefix.
1388
13892012-11-02 Pedro Alves <palves@redhat.com>
1390
1391 * gdb.base/foll-vfork.c: Add copyright header.
1392 * gdb.base/vforked-prog.c: Add copyright header.
1393
13942012-11-02 Pedro Alves <palves@redhat.com>
1395
1396 * gdb.base/foll-vfork.exp
1397 (vfork_and_exec_child_follow_through_step): Don't skip on
1398 non-HP/UX targets. Expect the next to only step one line on
1399 non-HP/UX targets, rather than stopping only after the exec.
1400
14012012-11-02 Pedro Alves <palves@redhat.com>
1402
1403 Don't hard code line numbers.
1404
1405 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
1406 Expect text from the sources instead of a line number.
1407 (vfork_parent_follow_to_bp)
1408 (vfork_and_exec_child_follow_to_main_bp)
1409 (vfork_and_exec_child_follow_through_step)
1410 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1411 Use gdb_get_line_number.
1412
14132012-11-02 Pedro Alves <palves@redhat.com>
1414
1415 Modernize.
1416
1417 * gdb.base/foll-vfork.exp: Use standard_testfile and
1418 build_executable. Pass descriptive string to untested.
1419 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
1420 (vfork_and_exec_child_follow_to_main_bp)
1421 (vfork_and_exec_child_follow_through_step)
1422 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
1423 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
1424 of send_gdb/gdb_expect.
1425
1426 (kill_child): New procedure.
1427 (vfork_and_exec_child_follow_to_main_bp)
1428 (vfork_and_exec_child_follow_through_step): Use it.
1429
f0559fff
YQ
14302012-11-02 Yao Qi <yao@codesourcery.com>
1431
1432 * gdb.base/setvar.exp: Test setting nested struct.
1433 * gdb.base/setvar.c (v_struct3): New.
1434
c207c6da
DE
14352012-11-01 Doug Evans <dje@google.com>
1436
1437 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
1438 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
1439 use them.
1440
2f27adfe
AB
14412012-10-31 Andrew Burgess <aburgess@broadcom.com>
1442
1443 PR cli/14772
1444 * gdb.base/gnu_vector.c (union_with_vector_1)
1445 (struct_with_vector_1): Add new struct and union for testing
1446 ptype.
1447 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
1448 structs / unions containing vectors.
1449
bb662ca6
YQ
14502012-10-25 Yao Qi <yao@codesourcery.com>
1451
1452 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
1453 'setup_kfail' instead of 'setup_kfail_for_target'.
1454 * gdb.base/varargs.exp: Likewise.
1455 * lib/gdb.exp (setup_kfail_for_target): Remove.
1456
635d23ff
MK
14572012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
1458
1459 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
1460
afdb064f
MK
14612012-10-25 Mark Kettenis <kettenis@gnu.org>
1462
1463 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
1464
d99dcf51
JB
14652012-10-24 Joel Brobecker <brobecker@adacore.com>
1466
1467 * gdb.ada/set_wstr: New testcase.
1468
32560274
JB
14692012-10-24 Joel Brobecker <brobecker@adacore.com>
1470
1471 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
1472
5ded5331
JB
14732012-10-24 Joel Brobecker <brobecker@adacore.com>
1474
1475 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
1476
d8d84291
MK
14772012-10-24 Mark Kettenis <kettenis@gnu.org>
1478
1479 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
1480
6e933c51
JK
14812012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1482
1483 * gdb.base/callfuncs.exp (do_function_calls): Fix
1484 setup_kfail_for_target for -m32 mode.
1485
274bd000
MK
14862012-10-23 Mark Kettenis <kettenis@gnu.org>
1487
1488 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
1489 are now fixed.
1490
545f743d
YQ
14912012-10-23 Yao Qi <yao@codesourcery.com>
1492
1493 * gdb.base/info-os.exp: Resume the inferior until it exits.
1494
48b56b6a 14952012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
1496
99c7d5a8 1497 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
1498 * gdb.base/print-file-var.exp: Likewise.
1499 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 1500
8de0566d
YQ
15012012-10-17 Yao Qi <yao@codesourcery.com>
1502
1503 * gdb.mi/mi-memory-changed.exp: New.
1504
44883546
YQ
15052012-10-16 Yao Qi <yao@codesourcery.com>
1506
1507 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
1508 returns true.
1509 Call gdb_load_shlibs.
1510 * gdb.reverse/solib-reverse.exp: Likewise.
1511
345f514a
KS
15122012-10-15 Keith Seitz <keiths@redhat.com>
1513
1514 * lib/cp-support.exp (cp_test_ptype_class): Add support
1515 for class typedefs.
1516
1517 * gdb.cp/derivation.exp: Add tests for g_instance.
1518
9e3a7d65
JK
15192012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1520
1521 Fix entry values resolving in inlined frames.
1522 * gdb.arch/amd64-entry-value-inline.S: New file.
1523 * gdb.arch/amd64-entry-value-inline.c: New file.
1524 * gdb.arch/amd64-entry-value-inline.exp: New file.
1525
21a7b089
JK
15262012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1527 Doug Evans <dje@google.com>
1528
1529 Fix recent gdb_breakpoint regression.
1530 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
1531 braces from the parameter.
1532 * gdb.java/jprint.exp: Likewise.
1533
2c47921e
DE
15342012-10-15 Doug Evans <dje@google.com>
1535
1536 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
1537
89398707
JB
15382012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
1539
1540 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
1541
801e4185
TT
15422012-10-15 Tom Tromey <tromey@redhat.com>
1543
1544 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
1545
74f910c8
TT
15462012-10-15 Tom Tromey <tromey@redhat.com>
1547
1548 * gdb.python/py-symbol.exp: Test symbol destructor.
1549
91567807
YQ
15502012-10-14 Yao Qi <yao@codesourcery.com>
1551
1552 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
1553 * gdb.mi/mi-cli.exp: New.
1554
1555 * gdb.mi/mi2-basics.exp: Remove.
1556 * gdb.mi/mi2-break.exp: Remove.
1557 * gdb.mi/mi2-console.exp: Remove.
1558 * gdb.mi/mi2-disassemble.exp: Remove.
1559 * gdb.mi/mi2-eval.exp: Remove.
1560 * gdb.mi/mi2-file.exp: Remove.
1561 * gdb.mi/mi2-hack-cli.exp: Remove.
1562 * gdb.mi/mi2-pthreads.exp: Remove.
1563 * gdb.mi/mi2-read-memory.exp: Remove.
1564 * gdb.mi/mi2-regs.exp: Remove.
1565 * gdb.mi/mi2-return.exp: Remove.
1566 * gdb.mi/mi2-simplerun.exp: Remove.
1567 * gdb.mi/mi2-stack.exp: Remove.
1568 * gdb.mi/mi2-stepi.exp: Remove.
1569 * gdb.mi/mi2-syn-frame.exp: Remove.
1570 * gdb.mi/mi2-until.exp: Remove.
1571 * gdb.mi/mi2-watch.exp: Remove.
1572 * gdb.mi/mi2-var-block.exp: Remove.
1573 * gdb.mi/mi2-var-cmd.exp: Remove.
1574 * gdb.mi/mi2-var-display.exp: Remove.
1575
87332029
YQ
15762012-10-12 Yao Qi <yao@codesourcery.com>
1577
1578 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
1579 trail '.*' on matching patterns.
1580
11fc9057
L
15812012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1582
1583 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
1584 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
1585 * gdb.arch/i386-disp-step.exp: Likewise.
1586 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1587 * gdb.arch/i386-prologue.exp: Likewise.
1588 * gdb.arch/i386-size-overlap.exp: Likewise.
1589 * gdb.arch/i386-size.exp: Likewise.
1590 * gdb.arch/i386-unwind.exp: Likewise.
1591
7d46bcdc
L
15922012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1593
1594 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
1595 * gdb.arch/i386-word.exp: Likewise.
1596
31224d9d
L
15972012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1598
1599 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
1600 is_ilp32_target to set nr_regs.
1601 * gdb.arch/i386-sse.exp: Likewise.
1602
5b7d0050
DE
16032012-10-11 Doug Evans <dje@google.com>
1604
7c09e5a0
DE
1605 PR breakpoints/14643.
1606 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
1607 * gdb.linespec/thread.c: New file.
1608 * gdb.linespec/thread.exp: New file.
1609
5b7d0050
DE
1610 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
1611 Recognize "message" -> print pass and fail. Add eof case.
1612 (runto): Recognize message, no-message. Print pass/fail if requested,
1613 with same treatment as gdb_breakpoint.
1614 (runto_main): Pass no-message to runto.
1615 (gdb_internal_error_resync): Add log message.
1616 (gdb_file_cmd): Tweak internal error fail text for consistency.
1617
2e24f4aa
JK
16182012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1619
1620 Fix crash during stepping on ppc32.
1621 * gdb.base/step-symless.c: New file.
1622 * gdb.base/step-symless.exp: New file.
1623
aa14df25
DE
16242012-10-03 Doug Evans <dje@google.com>
1625
1626 PR symtab/14601
1627 * gdb.cp/using-crash.exp: New file.
1628 * gdb.cp/using-crash.cc: New file.
1629
975531db
DE
16302012-10-02 Doug Evans <dje@google.com>
1631
1632 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
1633 more consistent.
1634 (runto,gdb_debug_format): Ditto.
1635 (gdb_file_cmd): Watch for eof in nested gdb_expect.
1636 Clean up logging and error messages.
1637
b3dc46ff
AB
16382012-10-01 Andrew Burgess <aburgess@broadcom.com>
1639
1640 Test find command on unmapped memory.
1641 * gdb.base/find-unmapped.c: New file.
1642 * gdb.base/find-unmapped.exp: New file.
1643
45814d45
YQ
16442012-09-29 Yao Qi <yao@codesourcery.com>
1645
1646 * gdb.trace/mi-tracepoint-changed.exp: New.
1647 * gdb.mi/mi-breakpoint-changed.exp: New.
1648 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
1649 * gdb.mi/pendshr2.c: New.
1650
4c2786ba
YQ
16512012-09-28 Yao Qi <yao@codesourcery.com>
1652
1653 * gdb.mi/pr11022.exp: New.
1654 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
1655
7977e5d2
TT
16562012-09-27 Tom Tromey <tromey@redhat.com>
1657
1658 * gdb.cp/derivation.exp: Add regression test.
1659 * gdb.cp/derivation.cc (class V_base, class V_inter, class
1660 V_derived): New.
1661 (vderived): New global.
1662
0971de02
TT
16632012-09-26 Tom Tromey <tromey@redhat.com>
1664
1665 * gdb.dwarf2/dw2-common-block.S: New file.
1666 * gdb.dwarf2/dw2-common-block.exp: New file.
1667
4357ac6c
TT
16682012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1669
1670 * gdb.fortran/common-block.exp: New file.
1671 * gdb.fortran/common-block.f90: New file.
1672
6f380991
AB
16732012-09-26 Andrew Burgess <aburgess@broadcom.com>
1674
1675 * gdb.base/duplicate-bp.c: New file.
1676 * gdb.base/duplicate-bp.exp: New file.
1677
8ae551cf
YQ
16782012-09-26 Yao Qi <yao@codesourcery.com>
1679
1680 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
1681
1682 Revert:
1683 2012-09-21 Yao Qi <yao@codesourcery.com>
1684
1685 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1686
318102b9
SP
16872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1688
1689 * gdb.base/longest-types.c: New test case.
1690 * gdb.base/longest-types.exp: New test case.
1691
a1e5fd69
YQ
16922012-09-25 Yao Qi <yao@codesourcery.com>
1693
1694 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
1695
04e7407c
JK
16962012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1697
1698 Fix internal error on canonicalization of clang types.
1699 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
1700 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
1701 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
1702
9bf4bce9
JK
17032012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1704
1705 Fix disassemble without parameters in tailcall frame.
1706 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
1707
2603f7ee
AB
17082012-09-21 Andrew Burgess <aburgess@broadcom.com>
1709
1710 * gdb.dwarf2/dw2-op-out-param.S: New file.
1711 * gdb.dwarf2/dw2-op-out-param.exp: New file.
1712
a3569abd
YQ
17132012-09-21 Yao Qi <yao@codesourcery.com>
1714
1715 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1716
a065d7af
YQ
17172012-09-21 Yao Qi <yao@codesourcery.com>
1718
1719 * gdb.mi/mi-cli.exp: Remove.
1720 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
1721
15544bd9
YQ
17222012-09-21 Yao Qi <yao@codesourcery.com>
1723
1724 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
1725 "=record-started" notification.
1726
82a90ccf
YQ
17272012-09-21 Yao Qi <yao@codesourcery.com>
1728
1729 * gdb.mi/mi-record-changed.exp: New.
1730 * gdb.mi/mi-reverse.exp: Adjust expected output.
1731
d7de8e3c
TT
17322012-09-20 Tom Tromey <tromey@redhat.com>
1733
1734 * gdb.python/python.exp: Test atexit.register.
1735
1aa99537
DE
17362012-09-20 Doug Evans <dje@google.com>
1737
05eade73
DE
1738 * boards/dwarf4-gdb-index.exp: New file.
1739
1aa99537
DE
1740 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
1741 while running the tests.
1742
4ae24af0
JB
17432012-09-18 Joel Brobecker <brobecker@adacore.com>
1744
1745 * gdb.ada/bp_reset: New testcase.
1746
bb25a15c
YQ
17472012-09-18 Yao Qi <yao@codesourcery.com>
1748
1749 * gdb.trace/mi-tsv-changed.exp: New.
1750
201b4506
YQ
17512012-09-18 Yao Qi <yao@codesourcery.com>
1752
1753 * gdb.trace/mi-traceframe-changed.exp: New.
1754
6fc1c773
YQ
17552012-09-17 Yao Qi <yao@codesourcery.com>
1756
1757 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
1758 when it is less than 0.
1759
1ab3b62c
JK
17602012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1761
1762 PR 14119
1763 * gdb.arch/amd64-tailcall-ret.S: New file.
1764 * gdb.arch/amd64-tailcall-ret.c: New file.
1765 * gdb.arch/amd64-tailcall-ret.exp: New file.
1766 * gdb.reverse/amd64-tailcall-reverse.S: New file.
1767 * gdb.reverse/amd64-tailcall-reverse.c: New file.
1768 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
1769
acf9414f
JK
17702012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1771
1772 PR 14548
1773 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
1774 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
1775 * gdb.reverse/singlejmp-reverse.S: New file.
1776 * gdb.reverse/singlejmp-reverse.c: New file.
1777 * gdb.reverse/singlejmp-reverse.exp: New file.
1778
666b578b
JK
17792012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1780
1781 Fix compatibility with old GCC (~4.1).
1782 * gdb.cp/converts.cc (my_enum_var): New variable.
1783
42056501
AB
17842012-09-14 Andrew Burgess <aburgess@broadcom.com>
1785
1786 * gdb.xml/tdesc-regs.exp: Update expected output for new
1787 vector_size syntax of vector types.
1788
b9516fa1
YPK
17892012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
1790
1791 Refactor Python "gdb" module into a proper Python package, by
1792 introducing a new "_gdb" module for code implemented in C, and
1793 using reload/__import__ instead of exec.
1794 * gdb.python/python.exp (Test stderr location): Update module
1795 location of GDB-specific sys.stderr.
1796 (Test stdout location): Ditto for sys.stdout.
1797
18dc9ad8
JK
17982012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1799
1800 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
1801
ea3a9873
KS
18022012-09-12 Keith Seitz <keiths@redhat.com>
1803
1804 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
1805 conversion statement.
1806
5941debb
DE
18072012-09-12 Doug Evans <dje@google.com>
1808
1809 * gdb.base/help.exp: Remove testing of individual command help text,
1810 too much of a maintenance burden. Instead, test the functionality
1811 of "help" itself.
1812
cfc35e02
DE
18132012-09-11 Doug Evans <dje@google.com>
1814
3a0ed5d7
DE
1815 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
1816 breakpoint.
1817
cfc35e02
DE
1818 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
1819 * gdb.dwarf2/fission-reread.S: Ditto.
1820 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
1821 * gdb.dwarf2/fission-reread.exp: Ditto.
1822
350b1b26
AB
18232012-09-11 Andrew Burgess <aburgess@broadcom.com>
1824
1825 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
1826
2fa15f23
JB
18272012-09-10 Joel Brobecker <brobecker@adacore.com>
1828
1829 * gdb.ada/optim_drec: New testcase.
1830
09be558e
DE
18312012-09-10 Doug Evans <dje@google.com>
1832
1833 * boards/fission.exp: Explicitly mark "board" as not remote.
1834
5b4f6e25
KS
18352012-09-10 Keith Seitz <keiths@redhat.com>
1836
1837 PR gdb/13483
1838 * gdb.cp/converts.cc (A::A): Add ctor.
1839 (A::member_): Add member.
1840 (enum my_enum): New enumeration.
1841 (main): Add calls to foo1_7 with various
1842 permitted arguments.
1843 * gdb.cp/converts.exp: Add tests for boolean
1844 conversions permitted by the standard.
1845
b4ca5ed9
YPK
18462012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
1847
1848 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
1849 avoid spurious results due to ~/.gdbinit.
1850 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
1851 $INTERNAL_GDBFLAGS in run command.
1852 * gdb.gdb/observer.exp (setup_test): Ditto.
1853 * gdb.gdb/selftest.exp (test_with_self): Ditto.
1854 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
1855
d54b30bb
DE
18562012-09-06 Doug Evans <dje@google.com>
1857
14910956
DE
1858 * boards/fission.exp: New file.
1859
d54b30bb
DE
1860 * gdb.python/py-value.exp: Use clean_restart.
1861
91b253e1
DE
18622012-09-05 Doug Evans <dje@google.com>
1863
1864 * gdb.base/info-macros.c: Fix whitespace.
1865
1292279a
PA
18662012-08-28 Pedro Alves <palves@redhat.com>
1867
1868 PR gdb/14428
1869
1870 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
1871
1c8cdcb1
JK
18722012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1873
1874 * gdb.base/break-caller-line.c: New file.
1875 * gdb.base/break-caller-line.exp: New file.
1876
1e8e8b51
JK
18772012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1878
1879 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
1880 * gdb.arch/i386-cfi-notcurrent.S: New file.
1881 * gdb.arch/i386-cfi-notcurrent.exp: New file.
1882
1591a1e8
PA
18832012-08-27 Wei-cheng Wang <cole945@gmail.com>
1884 Yao Qi <yao@codesourcery.com>
1885 Pedro Alves <palves@redhat.com>
1886
1887 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
1888 New procedures.
1889 (top level): Add overlap checking tests.
1890
4442ada7
TT
18912012-08-24 Tom Tromey <tromey@redhat.com>
1892
1893 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
1894 gdb_test_multiple fails for other reasons.
1895
e7d50cc9
YQ
18962012-08-24 Yao Qi <yao@codesourcery.com>
1897
1898 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
1899
dfbd5e7b
PA
19002012-08-23 Pedro Alves <palves@redhat.com>
1901
1902 * gdb.base/help.exp: Adjust to "handle" help text change.
1903
8d735b87
YQ
19042012-08-23 Yao Qi <yao@codesourcery.com>
1905
1906 * gdb.trace/disconnected-tracing.c (start, end): New.
1907 (main): Call start and end.
1908 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
1909 existing tests into this proc.
1910 (disconnected_tfind): New.
1911
61b1d759
YQ
19122012-08-23 Yao Qi <yao@codesourcery.com>
1913
1914 * boards/native-gdbserver.exp (${board}_upload): New.
1915 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
1916 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
1917 Execute tfile on remote target.
1918 Copy trace file from target to host.
1919
6ca1b147
JM
19202012-08-22 Joseph Myers <joseph@codesourcery.com>
1921
1922 * gdb.arch/thumb-bx-pc.S: New file.
1923 * gdb.arch/thumb-bx-pc.exp: New file.
1924
706e3705
TT
19252012-08-22 Tom Tromey <tromey@redhat.com>
1926
1927 * gdb.base/maint.exp: Update.
1928
b4893d48
TT
19292012-08-22 Tom Tromey <tromey@redhat.com>
1930
1931 * lib/gdb.exp (skip_unwinder_tests): New proc.
1932 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
1933 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
1934
45b7da81
TT
19352012-08-21 Tom Tromey <tromey@redhat.com>
1936
1937 * gdb.hp/gdb.aCC/exception.exp: Remove.
1938
f94363d7
AP
1939012-08-19 Andrew Pinski <apinski@cavium.com>
1940
1941 * gdb.arch/mips-octeon-bbit.c: New file.
1942 * gdb.arch/mips-octeon-bbit.exp: New Test.
1943
e5afdbd7
KS
1944012-08-19 Keith Seitz <keiths@redhat.com>
1945
1946 PR c++/14365
1947 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
1948 * gdb.dwarf2/dw2-anon-mptr.S: New file.
1949
c29e8b64
JK
19502012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1951
1952 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
1953 verbose -log by more specific untested call.
1954
15a7e7bc
YQ
19552012-08-18 Yao Qi <yao@codesourcery.com>
1956
1957 * gdb.trace/tfind.exp: Move tests on various command help before
1958 checking target supports trace.
1959 Fix the expected output of 'help tfind end'.
1960
a451cb65
KS
19612012-08-17 Keith Seitz <keiths@redhat.com>
1962
1963 PR c++/13356
1964 * gdb.base/default.exp: Update all "check type" tests.
1965 * gdb.base/help.exp: Likewise.
1966 * gdb.base/setshow.exp: Likewise.
1967 * gdb.cp/converts.cc (foo1_type_check): New function.
1968 (foo2_type_check): New function.
1969 (foo3_type_check): New function.
1970 (main): Call new functions.
1971 * converts.exp: Add tests for integer-to-pointer conversions
1972 with/without strict type-checking.
1973
dbf6a605
MF
19742012-08-16 Mike Frysinger <vapier@gentoo.org>
1975
1976 * gdb.base/help.exp: Update expected output.
1977
0c92d8c1
JB
19782012-08-16 Joel Brobecker <brobecker@adacore.com>
1979
1980 * gdb.ada/rdv_wait: New testcase.
1981
e56f7f42
JK
19822012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1983
1984 * gdb.base/attach-twice.exp: Remove excessive ps exec.
1985
f47f77df
DE
19862012-08-13 Doug Evans <dje@google.com>
1987
e202d6e8 1988 * gdb.base/help.exp: Update expected output.
f47f77df
DE
1989 * gdb.base/default.exp: Update expected output of "show convenience".
1990
a72c3253
DE
19912012-08-10 Doug Evans <dje@google.com>
1992
1993 * gdb.python/py-strfns.c: New file.
1994 * gdb.python/py-strfns.exp: New file.
1995 * gdb.python/py-type.exp (test_fields): Add vector tests.
1996
de0bea00
MF
19972012-08-10 Mike Frysinger <vapier@gentoo.org>
1998
1999 PR cli/10436:
2000 * gdb.base/completion.exp: Add tests for handle completion.
2001
5b9afe8a
YQ
20022012-08-09 Yao Qi <yao@codesourcery.com>
2003
2004 * gdb.mi/mi-cmd-param-changed.exp: New.
2005 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
2006 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
2007 * gdb.mi/mi2-prompt.exp: Likewise.
2008
4f485ebc
DE
20092012-08-08 Doug Evans <dje@google.com>
2010
2011 * gdb.base/debug-expr.c: New file.
2012 * gdb.base/debug-expr.exp: New file.
2013 * gdb.base/exprs.exp: Test {type} casts.
2014 * gdb.cp/debug-expr.exp: New file.
2015
5888842d
JK
20162012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2017
2018 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
2019 global variable loop, not a 'break'. Add loop count limit to 100.
2020 Add new fail case for terminated vgdb.
2021
4f69f4c2
JK
20222012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2023 Jean-Marc Saffroy <saffroy@gmail.com>
2024
2025 PR 11804
2026 * gdb.base/gcore-relro.exp: New file.
2027 * gdb.base/gcore-relro-main.c: New file.
2028 * gdb.base/gcore-relro-lib.c: New file.
2029
e2de5390
JK
20302012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2031
2032 Do not false FAIL with old GCCs.
2033 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
2034 GCC < 4.5 in $no_hw mode.
2035
606603c5
JK
20362012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2037
2038 * gdb.base/default.exp (cd): Accept new directory with no arguments.
2039
777f26c2
JK
20402012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2041
2042 * gdb.base/list.exp (test_only_end): New function.
2043 Call it.
2044
2c12abee
TT
20452012-08-06 Tom Tromey <tromey@redhat.com>
2046
2047 * gdb.python/py-mi.exp: Add test for printer whose children
2048 are a list.
2049 * gdb.python/py-prettyprint.c (struct children_as_list): New.
2050 (main): New variable children_as_list.
2051 * gdb.python/py-prettyprint.py (class pp_children_as_list):
2052 New.
2053 (register_pretty_printers): Register new printer.
2054
0eae2cf4
EBM
20552012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
2056
2057 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
2058 symbols. Abort if vgdb remote connection is closed.
2059
09e0881d
DE
20602012-08-02 Doug Evans <dje@google.com>
2061
2062 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
2063
b40f514f
SDJ
20642012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
2065
2066 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
2067 s390x, PowerPC 64 and m68k-linux.
2068
11315ae0
UW
20692012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
2070
2071 * gdb.base/annota1.exp: Accept no frames-invalid notification
2072 when starting up the program.
2073 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
2074 show a symbolic value as well.
2075 * gdb.server/server-exec-info.exp: Skip test when skipping
2076 gdbserver test and/or when skipping shared library tests.
2077 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
2078 avoid name conflicts with other tests.
2079
0547eeed
UW
20802012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
2081
2082 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
2083 Fix wrong output on big-endian systems.
2084 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
2085 4-byte pointer types on 64-bit s390x.
2086
bdddb4de
UW
20872012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
2088
2089 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
2090 marker comment at the beginning (after intialization).
2091 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
2092 breakpoint on marker comment instead of function begin.
2093 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
2094 PowerPC.
2095 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
2096 or 64-bit PowerPC.
2097 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
2098 gdb,no_hardware_watchpoints flag is set.
2099 (initialize): Remove now redundant can-use-hw-watchpoints change.
2100
5d206025
YQ
21012012-08-02 Yao Qi <yao@codesourcery.com>
2102 Pedro Alves <palves@redhat.com>
2103
2104 * boards/local-remote-host.exp: New.
2105
4f665099
UW
21062012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2107
2108 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
2109 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
2110 * gdb.base/print-file-var.exp: Likewise.
2111 * gdb.server/solib-list.exp: Skip on remote targets.
2112
b62e2b27
UW
21132012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2114
2115 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
2116 watchpoints on ARM. When expecting software watchpoints, tolerate
2117 (remote) targets that report unsupported hardware watchpoint only
2118 at continue time.
2119 (test_wide_location_2): Likewise.
2120
a967a851
JK
21212012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2122
2123 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
2124 valgrind versions.
2125
75d9f9ff 21262012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
2127
2128 * gdb.base/valgrind-infcall.c: New file.
2129 * gdb.base/valgrind-infcall.exp: New file.
2130
75d9f9ff
JK
2131 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
2132
1c9f2ed2
KS
21332012-07-30 Keith Seitz <keiths@redhat.com>
2134
2135 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
2136 linespecs.
2137
7f9b2034
DE
21382012-07-30 Doug Evans <dje@google.com>
2139
85220e01
DE
2140 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
2141 * gdb.dwarf2/pr13961.S: Ditto.
2142
7f9b2034
DE
2143 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
2144
4e969b4f
AB
21452012-07-30 Andrew Burgess <aburgess@broadcom.com>
2146
2147 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
2148 change its format immediately after reloading the binary.
2149
e7de8362
JK
21502012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2151
2152 Fix testsuite regression after --use-deprecated-index-sections removal.
2153 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
2154 string.
2155 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
2156
7255706c
YQ
21572012-07-27 Yao Qi <yao@codesourcery.com>
2158
2159 KFAIL for PR remote/14161.
2160 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
2161 Cleanup socket files.
2162 (strace_info_marker): Detach inferior.
2163
f2e8016f
TT
21642012-07-26 Tom Tromey <tromey@redhat.com>
2165
6fdff2c5 2166 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 2167
f66713d2
JK
21682012-07-26 Markus Metzger <markus.t.metzger@intel.com>
2169
2170 * gdb.python/py-inferior.c (thread): New function.
2171 (check_threads): New function.
2172 (test_threads): New function.
2173 * gdb.python/py-inferior.exp: Added test.
2174 Replaced runto with continue to breakpoint.
2175
8223e12c
TT
21762012-07-26 Tom Tromey <tromey@redhat.com>
2177
2178 * lib/ada.exp (standard_ada_testfile): New proc.
2179 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
2180 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
2181 * gdb.ada/array_return.exp: Use standard_ada_testfile.
2182 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
2183 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
2184 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
2185 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
2186 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
2187 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
2188 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
2189 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
2190 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
2191 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
2192 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
2193 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
2194 * gdb.ada/char_param.exp: Use standard_ada_testfile.
2195 * gdb.ada/complete.exp: Use standard_ada_testfile.
2196 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
2197 standard_output_file.
2198 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
2199 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
2200 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
2201 standard_output_file.
2202 * gdb.ada/exprs.exp: Use standard_ada_testfile.
2203 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
2204 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
2205 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
2206 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
2207 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
2208 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
2209 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
2210 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
2211 * gdb.ada/homonym.exp: Use standard_ada_testfile.
2212 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
2213 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
2214 * gdb.ada/interface.exp: Use standard_ada_testfile.
2215 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
2216 standard_output_file
2217 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
2218 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
2219 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
2220 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
2221 * gdb.ada/nested.exp: Use standard_ada_testfile.
2222 * gdb.ada/null_array.exp: Use standard_ada_testfile.
2223 * gdb.ada/null_record.exp: Use standard_ada_testfile.
2224 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
2225 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
2226 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
2227 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
2228 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
2229 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
2230 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
2231 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
2232 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
2233 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
2234 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
2235 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
2236 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
2237 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
2238 * gdb.ada/start.exp: Use standard_ada_testfile.
2239 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
2240 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
2241 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
2242 * gdb.ada/tagged.exp: Use standard_ada_testfile.
2243 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
2244 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
2245 * gdb.ada/tasks.exp: Use standard_ada_testfile.
2246 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
2247 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
2248 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
2249 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
2250 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
2251 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
2252 * gdb.ada/widewide.exp: Use standard_ada_testfile.
2253
bbec57e4
JK
22542012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2255
2256 Fix testsuite regression after --use-deprecated-index-sections removal.
2257 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
2258
9cc8e32c
JK
22592012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2260
2261 Fix compatibility with Tcl before 7.5.
2262 * lib/future.exp (lreverse): New function if it does not exist.
2263
ea5ca7b5
MK
22642012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
2265
2266 * gdb.mi/mi-pending.c: New method to set a second pending
2267 breakpoint.
2268 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
2269 condition.
2270
64776a0b
PA
22712012-07-20 Pedro Alves <palves@redhat.com>
2272
2273 PR threads/11692
2274 PR gdb/12203
2275
2276 * gdb.threads/create-fail.c: New file.
2277 * gdb.threads/create-fail.exp: New file.
2278
13e4e967
PA
22792012-07-19 Pedro Alves <palves@redhat.com>
2280
2281 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
2282 * config/vx.exp (gdb_start): Likewise.
2283 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
2284 * gdb.base/setvar.exp (test_set): Likewise.
2285 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
2286 * gdb.reverse/sigall-precsave.exp: Likewise.
2287 * gdb.reverse/sigall-reverse.exp: Likewise.
2288
b7aefa4d
PA
22892012-07-19 Pedro Alves <palves@redhat.com>
2290
2291 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
2292 handler before recording.
2293
608b4967
TT
22942012-07-19 Tom Tromey <tromey@redhat.com>
2295
2296 * gdb.cp/casts.exp: Add tests for typeof and decltype.
2297 * gdb.cp/casts.cc (decltype): New function.
2298 (main): Use it.
2299
b1e0c0fa
PA
23002012-07-19 Pedro Alves <palves@redhat.com>
2301
2302 * gdb.base/sigall.exp (signals): New list.
2303 <top level>: Loop over signals in the $signals list instead of
2304 calling a test function once per signal.
2305 * gdb.reverse/sigall-precsave.exp (signals): New list.
2306 <top level>: Loop over signals in the $signals list instead of
2307 calling a test function once per signal.
2308 * gdb.reverse/sigall-reverse.exp (signals): New list.
2309 <top level>: Loop over signals in the $signals list instead of
2310 calling a test function once per signal.
2311
6ace3df1
YQ
23122012-07-19 Yao Qi <yao@codesourcery.com>
2313
2314 * gdb.base/setshow.exp: Test 'set args ~'.
2315
263a0f8c
JK
23162012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2317
2318 * gdb.base/store.exp (check_set): Import gdb_prompt.
2319 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
2320 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
2321
8f043999
JK
23222012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2323
2324 PR 11914
2325 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
2326 (main): Call eval_sub.
2327 * gdb.python/py-prettyprint.exp:
2328 (python execfile ('py-prettyprint.py')): Move it earlier.
2329 New breakpoint for eval-break.
2330 (continue to breakpoint: eval-break, info locals): New test.
2331 (python execfile ('py-prettyprint.py')): Move it from here.
2332 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
2333 (register_pretty_printers): Register pp_eval_type.
2334
725c7b66
JK
23352012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2336
2337 Fix a testcase regression by me.
2338 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
2339 DW_FORM_data4.
2340
4359dff1
JK
23412012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2342 Doug Evans <dje@google.com>
2343
2344 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
2345 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
2346
61e44cfa
JK
23472012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2348
2349 Fix gdbserver run regression.
2350 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
2351
93c0ef37
TT
23522012-07-12 Tom Tromey <tromey@redhat.com>
2353
2354 * lib/gdb.exp (standard_testfile): Don't declare objdir.
2355 (clean_restart): Likewise.
2356 (core_find): Use standard_output_file.
2357
76027ef5
TT
23582012-07-12 Tom Tromey <tromey@redhat.com>
2359
2360 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
2361 * gdb.dwarf2/dw2-anonymous-func.exp: Use
2362 prepare_for_testing_full.
2363 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
2364 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
2365 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
2366 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
2367 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
2368 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
2369 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
2370 prepare_for_testing_full.
2371 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
2372 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
2373 prepare_for_testing_full.
2374 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
2375 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
2376 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
2377
85b4440a
TT
23782012-07-12 Tom Tromey <tromey@redhat.com>
2379
2380 * lib/gdb.exp (build_executable_from_specs): New proc, from
2381 build_executable.
2382 (build_executable): Use it.
2383 (prepare_for_testing_full): New proc.
2384
55baab26
TT
23852012-07-11 Tom Tromey <tromey@redhat.com>
2386
2387 * gdb.reverse/break-precsave.exp: Use standard_output_file.
2388 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
2389 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
2390 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
2391 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
2392 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
2393 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
2394 * gdb.reverse/step-precsave.exp: Use standard_output_file.
2395 * gdb.reverse/until-precsave.exp: Use standard_output_file.
2396 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
2397
298a9cf0
TT
23982012-07-10 Tom Tromey <tromey@redhat.com>
2399
2400 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
2401 standard_output_file.
2402 * gdb.mi/gdb2549.exp: Use standard_testfile.
2403 * gdb.mi/gdb669.exp: Use standard_testfile.
2404 * gdb.mi/gdb701.exp: Use standard_testfile.
2405 * gdb.mi/gdb792.exp: Use standard_testfile.
2406 * gdb.mi/mi-async.exp: Use standard_testfile.
2407 * gdb.mi/mi-basics.exp: Use standard_testfile.
2408 * gdb.mi/mi-break.exp: Use standard_testfile.
2409 * gdb.mi/mi-cli.exp: Use standard_testfile.
2410 * gdb.mi/mi-console.exp: Use standard_testfile.
2411 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
2412 * gdb.mi/mi-eval.exp: Use standard_testfile.
2413 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
2414 * gdb.mi/mi-file.exp: Use standard_testfile.
2415 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
2416 * gdb.mi/mi-logging.exp: Use standard_testfile.
2417 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
2418 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
2419 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
2420 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
2421 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
2422 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
2423 * gdb.mi/mi-pending.exp: Use standard_testfile,
2424 standard_output_file.
2425 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
2426 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
2427 * gdb.mi/mi-regs.exp: Use standard_testfile.
2428 * gdb.mi/mi-return.exp: Use standard_testfile.
2429 * gdb.mi/mi-reverse.exp: Use standard_testfile.
2430 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
2431 * gdb.mi/mi-solib.exp: Use standard_testfile,
2432 standard_output_file.
2433 * gdb.mi/mi-stack.exp: Use standard_testfile.
2434 * gdb.mi/mi-stepi.exp: Use standard_testfile.
2435 * gdb.mi/mi-stepn.exp: Use standard_testfile.
2436 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
2437 * gdb.mi/mi-until.exp: Use standard_testfile.
2438 * gdb.mi/mi-var-block.exp: Use standard_testfile.
2439 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
2440 * gdb.mi/mi-var-child.exp: Use standard_testfile.
2441 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
2442 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
2443 * gdb.mi/mi-var-display.exp: Use standard_testfile.
2444 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
2445 standard_output_file.
2446 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
2447 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
2448 * gdb.mi/mi-watch.exp: Use standard_testfile.
2449 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
2450 * gdb.mi/mi2-basics.exp: Use standard_testfile.
2451 * gdb.mi/mi2-break.exp: Use standard_testfile.
2452 * gdb.mi/mi2-cli.exp: Use standard_testfile.
2453 * gdb.mi/mi2-console.exp: Use standard_testfile.
2454 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
2455 * gdb.mi/mi2-eval.exp: Use standard_testfile.
2456 * gdb.mi/mi2-file.exp: Use standard_testfile.
2457 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
2458 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
2459 * gdb.mi/mi2-regs.exp: Use standard_testfile.
2460 * gdb.mi/mi2-return.exp: Use standard_testfile.
2461 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
2462 * gdb.mi/mi2-stack.exp: Use standard_testfile.
2463 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
2464 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
2465 * gdb.mi/mi2-until.exp: Use standard_testfile.
2466 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
2467 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
2468 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
2469 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
2470 * gdb.mi/mi2-watch.exp: Use standard_testfile.
2471
f5f3a911
TT
24722012-07-10 Tom Tromey <tromey@redhat.com>
2473
2474 * gdb.cp/abstract-origin.exp: Use standard_testfile.
2475 * gdb.cp/ambiguous.exp: Use standard_testfile,
2476 prepare_for_testing.
2477 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
2478 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
2479 * gdb.cp/anon-ns.exp: Use standard_testfile.
2480 * gdb.cp/anon-struct.exp: Use standard_testfile.
2481 * gdb.cp/anon-union.exp: Use standard_testfile,
2482 prepare_for_testing.
2483 * gdb.cp/arg-reference.exp: Use standard_testfile,
2484 prepare_for_testing.
2485 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
2486 * gdb.cp/breakpoint.exp: Use standard_testfile,
2487 prepare_for_testing.
2488 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
2489 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
2490 standard_output_file.
2491 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
2492 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
2493 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
2494 (test_static_members): Update.
2495 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
2496 * gdb.cp/converts.exp: Use standard_testfile.
2497 * gdb.cp/cp-relocate.exp: Use standard_testfile.
2498 * gdb.cp/cpcompletion.exp: Use standard_testfile,
2499 prepare_for_testing.
2500 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
2501 * gdb.cp/cplabel.exp: Use standard_testfile.
2502 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
2503 prepare_for_testing.
2504 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
2505 * gdb.cp/derivation.exp: Use standard_testfile,
2506 prepare_for_testing.
2507 * gdb.cp/destrprint.exp: Use standard_testfile.
2508 * gdb.cp/dispcxx.exp: Use standard_testfile.
2509 * gdb.cp/exception.exp: Use standard_testfile,
2510 prepare_for_testing.
2511 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
2512 * gdb.cp/extern-c.exp: Use standard_testfile,
2513 prepare_for_testing.
2514 * gdb.cp/formatted-ref.exp: Use standard_testfile,
2515 prepare_for_testing.
2516 * gdb.cp/fpointer.exp: Use standard_testfile.
2517 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
2518 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
2519 standard_output_file.
2520 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
2521 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
2522 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
2523 standard_output_file.
2524 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
2525 (do_tests): Update.
2526 * gdb.cp/koenig.exp: Use standard_testfile.
2527 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
2528 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
2529 * gdb.cp/m-static.exp: Use standard_testfile,
2530 prepare_for_testing.
2531 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
2532 * gdb.cp/mb-inline.exp: Use standard_testfile,
2533 prepare_for_testing.
2534 * gdb.cp/mb-templates.exp: Use standard_testfile,
2535 prepare_for_testing.
2536 * gdb.cp/member-ptr.exp: Use standard_testfile,
2537 prepare_for_testing.
2538 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
2539 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
2540 * gdb.cp/method2.exp: Use standard_testfile.
2541 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
2542 standard_output_file.
2543 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
2544 (do_tests): Update.
2545 * gdb.cp/namespace-enum.exp: Use standard_testfile,
2546 prepare_for_testing.
2547 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
2548 prepare_for_testing.
2549 * gdb.cp/namespace.exp: Use standard_testfile,
2550 prepare_for_testing.
2551 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
2552 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
2553 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
2554 * gdb.cp/nsimport.exp: Use standard_testfile,
2555 prepare_for_testing.
2556 * gdb.cp/nsnested.exp: Use standard_testfile.
2557 * gdb.cp/nsnoimports.exp: Use standard_testfile.
2558 * gdb.cp/nsrecurs.exp: Use standard_testfile,
2559 prepare_for_testing.
2560 * gdb.cp/nsstress.exp: Use standard_testfile,
2561 prepare_for_testing.
2562 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
2563 * gdb.cp/operator.exp: Use standard_testfile.
2564 * gdb.cp/oranking.exp: Use standard_testfile.
2565 * gdb.cp/overload-const.exp: Use standard_testfile.
2566 * gdb.cp/overload.exp: Use standard_testfile,
2567 prepare_for_testing.
2568 * gdb.cp/ovldbreak.exp: Use standard_testfile.
2569 * gdb.cp/ovsrch.exp: Use standard_testfile.
2570 * gdb.cp/paren-type.exp: Use standard_testfile.
2571 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
2572 prepare_for_testing.
2573 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
2574 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
2575 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
2576 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
2577 * gdb.cp/pr10728.exp: Use standard_testfile,
2578 standard_output_file.
2579 * gdb.cp/pr12028.exp: Use standard_testfile.
2580 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
2581 * gdb.cp/pr9167.exp: Use standard_testfile.
2582 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
2583 * gdb.cp/printmethod.exp: Use standard_testfile,
2584 prepare_for_testing.
2585 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
2586 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
2587 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
2588 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
2589 standard_output_file.
2590 * gdb.cp/readnow-language.exp: Use standard_testfile.
2591 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
2592 (gdb_start_again): Use clean_restart.
2593 * gdb.cp/ref-types.exp: Use standard_testfile,
2594 prepare_for_testing.
2595 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
2596 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
2597 * gdb.cp/smartp.exp: Use standard_testfile.
2598 * gdb.cp/static-method.exp: Use standard_testfile.
2599 * gdb.cp/static-print-quit.exp: Use standard_testfile.
2600 * gdb.cp/temargs.exp: Use standard_testfile.
2601 * gdb.cp/templates.exp: Use standard_testfile,
2602 prepare_for_testing.
2603 (do_tests): Update.
2604 * gdb.cp/try_catch.exp: Use standard_testfile,
2605 prepare_for_testing.
2606 * gdb.cp/typedef-operator.exp: Use standard_testfile.
2607 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
2608 * gdb.cp/virtbase.exp: Use standard_testfile,
2609 prepare_for_testing.
2610 * gdb.cp/virtfunc.exp: Use standard_testfile,
2611 prepare_for_testing.
2612 (do_tests): Update.
2613 * gdb.cp/virtfunc2.exp: Use standard_testfile,
2614 prepare_for_testing.
2615
686f09d0
TT
26162012-07-10 Tom Tromey <tromey@redhat.com>
2617
2618 * lib/gdb.exp (standard_testfile): Unset output variables from
2619 earlier invocations.
2620
9357e021
YQ
26212012-07-10 Yao Qi <yao@codesourcery.com>
2622
2623 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
2624 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
2625 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
2626 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
2627 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
2628 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
2629 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
2630 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
2631 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
2632 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
2633 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
2634 * gdb.mi/mi-var-display.exp: Likewise.
2635 * gdb.mi/mi-var-invalidate.exp: Likewise.
2636 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
2637 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
2638 * gdb.mi/mi2-console.exp: Likewise.
2639 * gdb.mi/mi2-disassemble.exp: Likewise.
2640 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
2641 * gdb.mi/mi2-read-memory.exp: Likewise.
2642 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
2643 * gdb.mi/mi2-simplerun.exp: Likewise.
2644 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
2645 * gdb.mi/mi2-syn-frame.exp: Likewise.
2646 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
2647 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
2648 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
2649
e314d629
TT
26502012-07-09 Tom Tromey <tromey@redhat.com>
2651
2652 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
2653 * gdb.base/callfuncs.exp: Add cast-based test.
2654 * gdb.base/callfuncs.c (voidfunc): New function.
2655
06928b3f
DE
26562012-07-08 Doug Evans <dje@google.com>
2657
2658 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
2659
32f11bad
JK
26602012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2661
2662 Fix XFAIL compatibility with old i386 systems.
2663 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
2664 Check also 'Cannot insert breakpoint 0'.
2665
76b83c51
JK
26662012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2667
2668 PR 14321
2669 * gdb.base/find.exp
2670 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
2671
a6fb9c08
TT
26722012-07-06 Tom Tromey <tromey@redhat.com>
2673
2674 * gdb.base/whatis.exp: Add test.
2675
71918a86
TT
26762012-07-06 Tom Tromey <tromey@redhat.com>
2677
2678 * gdb.base/whatis.exp: Add regression test.
2679
fcde5961
TT
26802012-07-06 Tom Tromey <tromey@redhat.com>
2681
2682 * gdb.base/whatis.exp: Add tests.
2683
f9cf0f4a
JK
26842012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2685
2686 PR 12649
2687 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
2688 gdb_test_multiple $gdb_prompt terminator.
2689
979ade8b
PA
26902012-07-04 Pedro Alves <palves@redhat.com>
2691
2692 * gdb.mi/mi-reverse.exp: Use supports_reverse and
2693 supports_process_record.
2694
8a980b44
PA
26952012-07-04 Pedro Alves <palves@redhat.com>
2696
2697 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
2698 endings.
2699 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
2700
855ba978
SS
27012012-07-03 Stan Shebs <stan@codesourcery.com>
2702
2703 * gdb.base/info-os.c (main): Retry resource acquisition until an
2704 available one is found.
2705 * gdb.base/info-os.exp: Collect resource keys from the program
2706 and use them in matching.
2707
fcb44371
JK
27082012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2709
2710 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
2711 Wrap the test into loop for corefile and core0file.
2712
08a67be6
JK
27132012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2714
2715 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
2716 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
2717 .note.GNU-stack.
2718
0f3c2347
JK
2719 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
2720
ff4a4500
SDJ
27212012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
2722
2723 * gdb.base/help.exp (help b, help br, help bre, help brea, help
2724 break): Include help message for the new `-probe' and `-probe-stap'
2725 options.
2726
d3ce09f5
SS
27272012-07-02 Stan Shebs <stan@codesourcery.com>
2728
2729 * gdb.base/dprintf.exp: Add agent style tests.
2730
a1624241
JK
27312012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2732
2733 * gdb.base/stale-infcall.c (infcall): New label test-next.
2734 (main): New labels test-pass and test-fail.
2735 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
2736 $test_fail_bpnum to test-fail.
2737 (test system longjmp tracking support): New test.
2738 Delete $test_fail_bpnum.
2739 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
2740 breakpoint.
2741
42e7ad6c
DE
27422012-06-30 Doug Evans <dje@google.com>
2743
2744 * gdb.dwarf2/fission-reread.S: New file.
2745 * gdb.dwarf2/fission-reread.exp: New file.
2746
37ce89eb
SS
27472012-06-28 Stan Shebs <stan@codesourcery.com>
2748
2749 * gdb.mi/mi-logging.exp: New file.
2750
e5ef252a
PA
27512012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2752 Pedro Alves <palves@redhat.com>
2753
2754 * gdb.threads/siginfo-threads.exp: New file.
2755 * gdb.threads/siginfo-threads.c: New file.
2756 * gdb.threads/sigstep-threads.exp: New file.
2757 * gdb.threads/sigstep-threads.c: New file.
2758
22f1fbae
TT
27592012-06-28 Tom Tromey <tromey@redhat.com>
2760
2761 * gdb.go/package.exp: Partially revert earlier patch; use
2762 gdb_compile again. Use standard_output_file.
2763
2e3cf129
DE
27642012-06-27 Doug Evans <dje@google.com>
2765
2766 * gdb.dwarf2/fission-base.c: New file.
2767 * gdb.dwarf2/fission-base.S: New file.
2768 * gdb.dwarf2/fission-base.exp: New file.
2769
785fd303
JK
27702012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2771
2772 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
2773
1bb9788d
TT
27742012-06-27 Tom Tromey <tromey@redhat.com>
2775
2776 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
2777 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
2778
c83ee902
TT
27792012-06-27 Tom Tromey <tromey@redhat.com>
2780
2781 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
2782 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
2783 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
2784 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
2785 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
2786 prepare_for_testing.
2787 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
2788 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
2789 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
2790 standard_testfile.
2791 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
2792 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
2793 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
2794 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
2795 prepare_for_testing.
2796 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
2797 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
2798 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
2799 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
2800 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
2801 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
2802 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
2803 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
2804 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
2805 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
2806 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
2807 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
2808 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
2809 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
2810 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
2811 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
2812 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
2813 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
2814 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
2815 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
2816 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
2817 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
2818 standard_output_file.
2819 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
2820 standard_output_file.
2821 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
2822 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
2823 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
2824 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
2825 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
2826 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
2827 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
2828 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
2829 * gdb.dwarf2/implptr.exp: Use standard_testfile.
2830 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
2831 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
2832 * gdb.dwarf2/pieces.exp: Use standard_testfile.
2833 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
2834 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
2835 * gdb.dwarf2/valop.exp: Use standard_testfile,
2836 prepare_for_testing.
2837
5204774b
TT
28382012-06-27 Tom Tromey <tromey@redhat.com>
2839
2840 * gdb.python/python.exp: Fix regexps in pagination tests.
2841
ee0bf529
SCR
28422012-06-26 Siva Chandra Reddy <sivachandra@google.com>
2843
2844 * gdb.python/py-symtab.exp: Add tests to test the new attribute
2845 'last' of gdb.Symtab_and_line.
2846 * gdb.python/py-symbol.c: Move break point comment to enable
2847 testing of gdb.Symtab_and_line.last.
2848
14fcc022
TT
28492012-06-26 Tom Tromey <tromey@redhat.com>
2850
2851 * gdb.threads/step.c: Remove.
2852 * gdb.threads/step.exp: Remove.
2853 * gdb.threads/step2.exp: Remove.
2854
0efbbabc
TT
28552012-06-26 Tom Tromey <tromey@redhat.com>
2856
2857 * gdb.threads/watchpoint-fork.exp (test): Use
2858 standard_output_file. Don't declare objdir.
2859 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
2860 standard_output_file.
2861 * gdb.threads/attach-stopped.exp: Use standard_testfile.
2862 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
2863 clean_restart. Remove incdir.
2864 * gdb.threads/corethreads.exp: Use standard_testfile.
2865 * gdb.threads/execl.exp: Use standard_testfile,
2866 standard_output_file, clean_restart.
2867 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
2868 clean_restart.
2869 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
2870 clean_restart.
2871 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
2872 incdir.
2873 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
2874 clean_restart. Remove incdir.
2875 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
2876 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
2877 clean_restart. Remove incdir.
2878 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
2879 Remove incdir.
2880 * gdb.threads/leader-exit.exp: Use standard_testfile.
2881 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
2882 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
2883 clean_restart.
2884 * gdb.threads/manythreads.exp: Use standard_testfile,
2885 clean_restart. Remove incdir.
2886 * gdb.threads/multi-create.exp: Use standard_testfile,
2887 clean_restart.
2888 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
2889 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
2890 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
2891 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
2892 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
2893 * gdb.threads/pending-step.exp: Use standard_testfile,
2894 clean_restart. Remove incdir.
2895 * gdb.threads/print-threads.exp: Use standard_testfile,
2896 clean_restart. Remove incdir.
2897 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
2898 clean_restart. Remove incdir.
2899 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
2900 Remove incdir.
2901 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
2902 incdir.
2903 * gdb.threads/sigthread.exp: Use standard_testfile,
2904 clean_restart.
2905 * gdb.threads/staticthreads.exp: Use standard_testfile,
2906 clean_restart. Remove incdir.
2907 * gdb.threads/switch-threads.exp: Use standard_testfile,
2908 clean_restart. Remove incdir.
2909 * gdb.threads/thread-execl.exp: Use standard_testfile,
2910 clean_restart. Remove incdir.
2911 * gdb.threads/thread-find.exp: Use standard_testfile,
2912 clean_restart.
2913 * gdb.threads/thread-specific.exp: Use standard_testfile,
2914 clean_restart. Remove incdir.
2915 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
2916 clean_restart. Remove incdir.
2917 * gdb.threads/thread_check.exp: Use standard_testfile,
2918 clean_restart. Remove incdir.
2919 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
2920 incdir.
2921 * gdb.threads/threadapply.exp: Use standard_testfile,
2922 clean_restart. Remove incdir.
2923 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
2924 clean_restart. Remove incdir.
2925 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
2926 clean_restart.
2927 * gdb.threads/tls-shared.exp: Use standard_testfile,
2928 clean_restart, standard_output_file.
2929 * gdb.threads/tls-var.exp: Use standard_testfile,
2930 standard_output_file.
2931 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
2932 Remove incdir.
2933 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
2934 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
2935 incdir.
2936 * gdb.threads/watchthreads2.exp: Use standard_testfile,
2937 clean_restart. Remove incdir.
2938
497a5eb0
TT
29392012-06-26 Tom Tromey <tromey@redhat.com>
2940
2941 * gdb.trace/actions.exp: Use standard_testfile.
2942 * gdb.trace/ax.exp: Use standard_testfile.
2943 * gdb.trace/backtrace.exp: Use standard_testfile.
2944 * gdb.trace/change-loc.exp: Use standard_testfile.
2945 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
2946 * gdb.trace/collection.exp: Use standard_testfile,
2947 prepare_for_testing.
2948 * gdb.trace/deltrace.exp: Use standard_testfile.
2949 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
2950 * gdb.trace/ftrace.exp: Use standard_testfile.
2951 * gdb.trace/infotrace.exp: Use standard_testfile.
2952 * gdb.trace/packetlen.exp: Use standard_testfile.
2953 * gdb.trace/passc-dyn.exp: Use standard_testfile.
2954 * gdb.trace/passcount.exp: Use standard_testfile.
2955 * gdb.trace/pending.exp: Use standard_testfile.
2956 * gdb.trace/report.exp: Use standard_testfile.
2957 * gdb.trace/save-trace.exp: Use standard_testfile.
2958 * gdb.trace/stap-trace.exp: Use standard_testfile.
2959 * gdb.trace/status-stop.exp: Use standard_testfile.
2960 * gdb.trace/strace.exp: Use standard_testfile.
2961 * gdb.trace/tfile.exp: Use standard_testfile.
2962 * gdb.trace/tfind.exp: Use standard_testfile.
2963 * gdb.trace/trace-break.exp: Use standard_testfile.
2964 * gdb.trace/trace-mt.exp: Use standard_testfile.
2965 * gdb.trace/tracecmd.exp: Use standard_testfile.
2966 * gdb.trace/tspeed.exp: Use standard_testfile.
2967 * gdb.trace/tstatus.exp: Use standard_testfile.
2968 * gdb.trace/tsv.exp: Use standard_testfile.
2969 * gdb.trace/unavailable.exp: Use standard_testfile,
2970 prepare_for_testing.
2971 * gdb.trace/while-dyn.exp: Use standard_testfile.
2972 * gdb.trace/while-stepping.exp: Use standard_testfile.
2973
7686c074
TT
29742012-06-26 Tom Tromey <tromey@redhat.com>
2975
2976 * gdb.reverse/break-precsave.exp: Use standard_testfile.
2977 * gdb.reverse/break-reverse.exp: Use standard_testfile.
2978 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
2979 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
2980 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
2981 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
2982 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
2983 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
2984 prepare_for_testing.
2985 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
2986 prepare_for_testing.
2987 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
2988 prepare_for_testing.
2989 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
2990 prepare_for_testing.
2991 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
2992 prepare_for_testing
2993 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
2994 * gdb.reverse/machinestate.exp: Use standard_testfile.
2995 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
2996 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
2997 build_executable.
2998 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
2999 build_executable.
3000 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
3001 standard_output_file.
3002 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
3003 standard_output_file.
3004 * gdb.reverse/step-precsave.exp: Use standard_testfile.
3005 * gdb.reverse/step-reverse.exp: Use standard_testfile.
3006 * gdb.reverse/until-precsave.exp: Use standard_testfile.
3007 * gdb.reverse/until-reverse.exp: Use standard_testfile.
3008 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
3009 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
3010
481fc100
TT
30112012-06-26 Tom Tromey <tromey@redhat.com>
3012
3013 * gdb.stabs/weird.exp: Remove directory-checking code. Use
3014 standard_output_file.
3015 * gdb.stabs/exclfwd.exp: Use standard_testfile,
3016 prepare_for_testing. Remove directory-checking code.
3017
7bb18ae2
TT
30182012-06-25 Tom Tromey <tromey@redhat.com>
3019
3020 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
3021 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
3022 build_executable, not prepare_for_testing.
3023 * gdb.multi/base.exp: Use standard_output_file. Use
3024 build_executable, not prepare_for_testing.
3025
cf09b3e4
TT
30262012-06-25 Tom Tromey <tromey@redhat.com>
3027
3028 * gdb.fortran/subarray.exp: Use standard_testfile,
3029 prepare_for_testing.
3030 * gdb.fortran/multi-dim.exp: Use standard_testfile.
3031 * gdb.fortran/module.exp: Use standard_testfile.
3032 * gdb.fortran/logical.exp: Use standard_testfile.
3033 * gdb.fortran/library-module.exp: Use standard_testfile,
3034 standard_output_file.
3035 * gdb.fortran/derived-type.exp: Use standard_testfile,
3036 prepare_for_testing.
3037 * gdb.fortran/complex.exp: Use standard_testfile,
3038 prepare_for_testing.
3039 * gdb.fortran/charset.exp: Use standard_testfile.
3040 * gdb.fortran/array-element.exp: Use standard_testfile,
3041 prepare_for_testing.
3042
18b5ff1b
KS
30432012-06-25 Keith Seitz <keiths@redhat.com>
3044
3045 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
3046 Change rbreak-related tests to KFAIL and add bugzilla numbers.
3047
17b77626
TT
30482012-06-25 Tom Tromey <tromey@redhat.com>
3049
3050 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
3051 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
3052 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
3053 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
3054
f91e3dc1
TT
30552012-06-25 Tom Tromey <tromey@redhat.com>
3056
3057 * gdb.linespec/ls-errs.exp: Use standard_testfile.
3058 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
3059 * gdb.linespec/linespec.exp: Use standard_testfile.
3060
a884434d
TT
30612012-06-25 Tom Tromey <tromey@redhat.com>
3062
3063 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
3064 prepare_for_testing.
3065
efc9d70a
TT
30662012-06-25 Tom Tromey <tromey@redhat.com>
3067
3068 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
3069 prepare_for_testing.
3070 * gdb.opt/inline-break.exp: Use standard_testfile,
3071 prepare_for_testing.
3072 * gdb.opt/inline-bt.exp: Use standard_testfile,
3073 prepare_for_testing.
3074 * gdb.opt/inline-cmds.exp: Use standard_testfile,
3075 prepare_for_testing.
3076 * gdb.opt/inline-locals.exp: Use standard_testfile,
3077 prepare_for_testing.
3078
e2fc92c6
TT
30792012-06-25 Tom Tromey <tromey@redhat.com>
3080
3081 * gdb.asm/asm-source.exp: Use standard_output_file,
3082 standard_testfile. Construct .o files in proper subdir.
3083
b0963d73
TT
30842012-06-25 Tom Tromey <tromey@redhat.com>
3085
3086 * gdb.server/ext-attach.exp: Use standard_testfile,
3087 prepare_for_testing.
3088 * gdb.server/ext-run.exp: Use standard_testfile,
3089 build_executable.
3090 * gdb.server/file-transfer.exp: Use standard_testfile,
3091 prepare_for_testing.
3092 * gdb.server/server-exec-info.exp: Use standard_testfile.
3093 * gdb.server/server-mon.exp: Use standard_testfile,
3094 prepare_for_testing.
3095 * gdb.server/server-run.exp: Use standard_testfile,
3096 build_executable.
3097 * gdb.server/solib-list.exp: Use standard_testfile,
3098 standard_output_file.
3099
8a3e1f8d
TT
31002012-06-25 Tom Tromey <tromey@redhat.com>
3101
3102 * lib/gdb.exp (standard_output_file): Use "file join".
3103 * gdb.go/chan.exp: Use standard_testfile.
3104 * gdb.go/handcall.exp: Use standard_testfile.
3105 * gdb.go/hello.exp: Use standard_testfile.
3106 * gdb.integers/chan.exp: Use standard_testfile.
3107 * gdb.go/methods.exp: Use standard_testfile.
3108 * gdb.go/package.exp: Use standard_testfile.
3109 * gdb.go/strings.exp: Use standard_testfile.
3110 * gdb.go/types.exp: Use standard_testfile.
3111 * gdb.go/unsafe.exp: Use standard_testfile.
3112
944a9061
MGD
31132012-06-25 Greta Yorsh <greta.yorsh@arm.com>
3114
3115 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
3116
1c06bd58
JK
31172012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3118
3119 Fix regression by the previous commit.
3120 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
3121
b4a58790
TT
31222012-06-22 Tom Tromey <tromey@redhat.com>
3123
3124 * gdb.python/lib-types.exp: Use standard_testfile,
3125 prepare_for_testing.
3126 * gdb.python/py-block.exp: Use standard_testfile.
3127 * gdb.python/py-breakpoint.exp: Use standard_testfile.
3128 * gdb.python/py-events.exp: Use standard_testfile,
3129 standard_output_file.
3130 * gdb.python/py-evsignal.exp: Use standard_testfile.
3131 * gdb.python/py-evethreads.exp: Use standard_testfile.
3132 * gdb.python/py-explore-cc.exp: Use standard_testfile.
3133 * gdb.python/py-explore.exp: Use standard_testfile.
3134 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
3135 standard_output_file.
3136 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
3137 prepare_for_testing.
3138 * gdb.python/py-frame-inline.exp: Use standard_testfile.
3139 * gdb.python/py-frame.exp: Use standard_testfile.
3140 * gdb.python/py-inferior.exp: Use standard_testfile.
3141 * gdb.python/py-infthread.exp: Use standard_testfile.
3142 * gdb.python/py-mi.exp: Use standard_testfile.
3143 * gdb.python/py-objfile-script.exp: Use standard_testfile,
3144 build_executable.
3145 * gdb.python/py-objfile.exp: Use standard_testfile.
3146 * gdb.python/py-pp-maint.exp: Use standard_testfile,
3147 prepare_for_testing.
3148 * gdb.python/py-prettyprint.exp: Use standard_testfile.
3149 * gdb.python/py-progspace.exp: Use standard_testfile,
3150 build_executable.
3151 * gdb.python/py-prompt.exp: Use standard_testfile,
3152 build_executable.
3153 * gdb.python/py-section-script.exp: Use standard_testfile,
3154 build_executable.
3155 * gdb.python/py-shared.exp: Use standard_testfile,
3156 standard_output_file, clean_restart.
3157 * gdb.python/py-symbol.exp: Use standard_output_file,
3158 prepare_for_testing.
3159 * gdb.python/py-symtab.exp: Use standard_output_file,
3160 prepare_for_testing
3161 * gdb.python/py-template.exp: Use standard_testfile.
3162 * gdb.python/py-type.exp: Use standard_testfile.
3163 * gdb.python/py-value-cc.exp: Use standard_testfile.
3164 * gdb.python/py-value.exp: Use standard_testfile.
3165 * gdb.python/python.exp: Use standard_testfile, build_executable.
3166
2c44deac
TT
31672012-06-22 Tom Tromey <tromey@redhat.com>
3168
3169 * gdb.objc/basicclass.exp: Use standard_testfile.
3170 (do_objc_tests): Don't declare objdir.
3171 * gdb.objc/nondebug.exp: Use standard_testfile.
3172 (do_objc_tests): Don't declare objdir.
3173 * gdb.objc/objcdecode.exp: Use standard_testfile.
3174 (do_objc_tests): Don't declare objdir.
3175
c24ccbce
TT
31762012-06-22 Tom Tromey <tromey@redhat.com>
3177
3178 * gdb.java/jmain.exp: Use standard_testfile.
3179 * gdb.java/jmisc.exp: Use standard_testfile.
3180 * gdb.java/jnpe.exp: Use standard_testfile.
3181 * gdb.java/jprint.exp: Use standard_testfile.
3182
0a6d0306
TT
31832012-06-22 Tom Tromey <tromey@redhat.com>
3184
3185 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
3186 (standard_output_file, standard_testfile): New procs.
3187 (build_executable, clean_restart): Use standard_output_file.
3188
6ea815ef
YQ
31892012-06-22 Yao Qi <yao@codesourcery.com>
3190
3191 * boards/native-gdbserver.exp: New proc ${board}_exec.
3192 * boards/native-stdio-gdbserver.exp: Likewise.
3193
4c93b1db
TT
31942012-06-21 Tom Tromey <tromey@redhat.com>
3195
3196 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
3197 (build_executable): Update.
3198 (get_compiler_info): Remove 'binfile' argument.
3199 * gdb.ada/arrayidx.exp: Update.
3200 * gdb.ada/null_array.exp: Update.
3201 * gdb.arch/altivec-abi.exp: Update.
3202 * gdb.arch/altivec-regs.exp: Update.
3203 * gdb.arch/amd64-byte.exp: Update.
3204 * gdb.arch/amd64-dword.exp: Update.
3205 * gdb.arch/amd64-word.exp: Update.
3206 * gdb.arch/i386-avx.exp: Update.
3207 * gdb.arch/i386-byte.exp: Update.
3208 * gdb.arch/i386-sse.exp: Update.
3209 * gdb.arch/i386-word.exp: Update.
3210 * gdb.arch/ppc-dfp.exp: Update.
3211 * gdb.arch/ppc-fp.exp: Update.
3212 * gdb.arch/vsx-regs.exp: Update.
3213 * gdb.base/all-bin.exp: Update.
3214 * gdb.base/annota1.exp: Update.
3215 * gdb.base/async.exp: Update.
3216 * gdb.base/attach.exp: Update.
3217 * gdb.base/break-interp.exp: Update.
3218 * gdb.base/call-ar-st.exp: Update.
3219 * gdb.base/call-rt-st.exp: Update.
3220 * gdb.base/call-sc.exp: Update.
3221 * gdb.base/callfuncs.exp: Update.
3222 * gdb.base/catch-load.exp: Update.
3223 * gdb.base/completion.exp: Update.
3224 * gdb.base/complex.exp: Update.
3225 * gdb.base/condbreak.exp: Update.
3226 * gdb.base/consecutive.exp: Update.
3227 * gdb.base/constvars.exp: Update.
3228 * gdb.base/corefile.exp: Update.
3229 * gdb.base/eval-skip.exp: Update.
3230 * gdb.base/expand-psymtabs.exp: Update.
3231 * gdb.base/exprs.exp: Update.
3232 * gdb.base/fileio.exp: Update.
3233 * gdb.base/fixsection.exp: Update.
3234 * gdb.base/funcargs.exp: Update.
3235 * gdb.base/gdb11530.exp: Update.
3236 * gdb.base/gdb1555.exp: Update.
3237 * gdb.base/gnu-ifunc.exp: Update.
3238 * gdb.base/gnu_vector.exp: Update.
3239 * gdb.base/info-macros.exp: Update.
3240 * gdb.base/jit-simple.exp: Update.
3241 * gdb.base/jit-so.exp: Update.
3242 * gdb.base/jit.exp: Update.
3243 * gdb.base/langs.exp: Update.
3244 * gdb.base/list.exp: Update.
3245 * gdb.base/logical.exp: Update.
3246 * gdb.base/long_long.exp: Update.
3247 * gdb.base/longjmp.exp: Update.
3248 * gdb.base/macscp.exp: Update.
3249 * gdb.base/mips_pro.exp: Update.
3250 * gdb.base/miscexprs.exp: Update.
3251 * gdb.base/morestack.exp: Update.
3252 * gdb.base/nodebug.exp: Update.
3253 * gdb.base/opaque.exp: Update.
3254 * gdb.base/pc-fp.exp: Update.
3255 * gdb.base/pending.exp: Update.
3256 * gdb.base/permissions.exp: Update.
3257 * gdb.base/pointers.exp: Update.
3258 * gdb.base/prelink.exp: Update.
3259 * gdb.base/printcmds.exp: Update.
3260 * gdb.base/psymtab.exp: Update.
3261 * gdb.base/ptype.exp: Update.
3262 * gdb.base/relational.exp: Update.
3263 * gdb.base/scope.exp: Update.
3264 * gdb.base/setvar.exp: Update.
3265 * gdb.base/shlib-call.exp: Update.
3266 * gdb.base/shreloc.exp: Update.
3267 * gdb.base/signals.exp: Update.
3268 * gdb.base/sizeof.exp: Update.
3269 * gdb.base/so-impl-ld.exp: Update.
3270 * gdb.base/so-indr-cl.exp: Update.
3271 * gdb.base/solib-disc.exp: Update.
3272 * gdb.base/solib-display.exp: Update.
3273 * gdb.base/solib-nodir.exp: Update.
3274 * gdb.base/solib-overlap.exp: Update.
3275 * gdb.base/solib-symbol.exp: Update.
3276 * gdb.base/solib-weak.exp: Update.
3277 * gdb.base/solib.exp: Update.
3278 * gdb.base/store.exp: Update.
3279 * gdb.base/structs.exp: Update.
3280 * gdb.base/structs2.exp: Update.
3281 * gdb.base/type-opaque.exp: Update.
3282 * gdb.base/unload.exp: Update.
3283 * gdb.base/varargs.exp: Update.
3284 * gdb.base/volatile.exp: Update.
3285 * gdb.base/watch_thread_num.exp: Update.
3286 * gdb.base/watchpoint-solib.exp: Update.
3287 * gdb.base/watchpoint.exp: Update.
3288 * gdb.base/watchpoints.exp: Update.
3289 * gdb.base/whatis.exp: Update.
3290 * gdb.cell/arch.exp: Update.
3291 * gdb.cell/break.exp: Update.
3292 * gdb.cell/bt.exp: Update.
3293 * gdb.cell/core.exp: Update.
3294 * gdb.cell/data.exp: Update.
3295 * gdb.cell/ea-cache.exp: Update.
3296 * gdb.cell/f-regs.exp: Update.
3297 * gdb.cell/fork.exp: Update.
3298 * gdb.cell/gcore.exp: Update.
3299 * gdb.cell/mem-access.exp: Update.
3300 * gdb.cell/ptype.exp: Update.
3301 * gdb.cell/registers.exp: Update.
3302 * gdb.cell/sizeof.exp: Update.
3303 * gdb.cell/solib-symbol.exp: Update.
3304 * gdb.cell/solib.exp: Update.
3305 * gdb.cp/ambiguous.exp: Update.
3306 * gdb.cp/breakpoint.exp: Update.
3307 * gdb.cp/bs15503.exp: Update.
3308 * gdb.cp/casts.exp: Update.
3309 * gdb.cp/class2.exp: Update.
3310 * gdb.cp/cpexprs.exp: Update.
3311 * gdb.cp/cplusfuncs.exp: Update.
3312 * gdb.cp/ctti.exp: Update.
3313 * gdb.cp/dispcxx.exp: Update.
3314 * gdb.cp/gdb1355.exp: Update.
3315 * gdb.cp/gdb2384.exp: Update.
3316 * gdb.cp/gdb2495.exp: Update.
3317 * gdb.cp/infcall-dlopen.exp: Update.
3318 * gdb.cp/local.exp: Update.
3319 * gdb.cp/m-data.exp: Update.
3320 * gdb.cp/m-static.exp: Update.
3321 * gdb.cp/mb-ctor.exp: Update.
3322 * gdb.cp/mb-inline.exp: Update.
3323 * gdb.cp/mb-templates.exp: Update.
3324 * gdb.cp/member-ptr.exp: Update.
3325 * gdb.cp/method.exp: Update.
3326 * gdb.cp/namespace.exp: Update.
3327 * gdb.cp/nextoverthrow.exp: Update.
3328 * gdb.cp/nsdecl.exp: Update.
3329 * gdb.cp/nsrecurs.exp: Update.
3330 * gdb.cp/nsstress.exp: Update.
3331 * gdb.cp/nsusing.exp: Update.
3332 * gdb.cp/pr-1023.exp: Update.
3333 * gdb.cp/pr-1210.exp: Update.
3334 * gdb.cp/pr-574.exp: Update.
3335 * gdb.cp/pr9631.exp: Update.
3336 * gdb.cp/printmethod.exp: Update.
3337 * gdb.cp/psmang.exp: Update.
3338 * gdb.cp/re-set-overloaded.exp: Update.
3339 * gdb.cp/rtti.exp: Update.
3340 * gdb.cp/shadow.exp: Update.
3341 * gdb.cp/templates.exp: Update.
3342 * gdb.cp/try_catch.exp: Update.
3343 * gdb.dwarf2/dw2-ranges.exp: Update.
3344 * gdb.dwarf2/pr10770.exp: Update.
3345 * gdb.fortran/library-module.exp: Update.
3346 * gdb.hp/gdb.aCC/optimize.exp: Update.
3347 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
3348 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
3349 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
3350 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
3351 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
3352 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
3353 * gdb.hp/gdb.compat/xdb1.exp: Update.
3354 * gdb.hp/gdb.compat/xdb2.exp: Update.
3355 * gdb.hp/gdb.compat/xdb3.exp: Update.
3356 * gdb.hp/gdb.defects/bs14602.exp: Update.
3357 * gdb.hp/gdb.defects/solib-d.exp: Update.
3358 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
3359 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
3360 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
3361 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
3362 * gdb.mi/gdb792.exp: Update.
3363 * gdb.mi/mi-pending.exp: Update.
3364 * gdb.mi/mi-solib.exp: Update.
3365 * gdb.mi/mi-var-cp.exp: Update.
3366 * gdb.opt/clobbered-registers-O2.exp: Update.
3367 * gdb.opt/inline-bt.exp: Update.
3368 * gdb.opt/inline-cmds.exp: Update.
3369 * gdb.opt/inline-locals.exp: Update.
3370 * gdb.python/py-events.exp: Update.
3371 * gdb.python/py-finish-breakpoint.exp: Update.
3372 * gdb.python/py-type.exp: Update.
3373 * gdb.reverse/solib-precsave.exp: Update.
3374 * gdb.reverse/solib-reverse.exp: Update.
3375 * gdb.server/solib-list.exp: Update.
3376 * gdb.stabs/weird.exp: Update.
3377 * gdb.threads/attach-into-signal.exp: Update.
3378 * gdb.threads/attach-stopped.exp: Update.
3379 * gdb.threads/tls-shared.exp: Update.
3380 * gdb.trace/change-loc.exp: Update.
3381 * gdb.trace/strace.exp: Update.
3382
95c391b6
TT
33832012-06-19 Tom Tromey <tromey@redhat.com>
3384
3385 * gdb.base/whatis.exp: Add tests.
3386
e910f0b6
TT
33872012-06-19 Tom Tromey <tromey@redhat.com>
3388
3389 * gdb.cp/m-static.cc (keepalive): New function.
3390 (gnu_obj_1::method): Use it.
3391
422d65e7
DE
33922012-06-18 Doug Evans <dje@google.com>
3393
3394 * gdb.base/info-fun.exp: New file.
3395 * gdb.base/info-fun.c: New file.
3396 * gdb.base/info-fun-solib.c: New file.
3397
e2e4d78b
JK
33982012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3399
3400 Remove stale dummy frames.
3401 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
3402 (maintenance info breakpoints): New tests.
3403 * gdb.base/stale-infcall.c: New file.
3404 * gdb.base/stale-infcall.exp: New file.
3405
1788b2d3
JK
34062012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3407
3408 * gdb.arch/amd64-entry-value-param.S: New file.
3409 * gdb.arch/amd64-entry-value-param.c: New file.
3410 * gdb.arch/amd64-entry-value-param.exp: New file.
3411
663b969e
TT
34122012-06-15 Tom Tromey <tromey@redhat.com>
3413
3414 * gdb.cp/namespace.exp: Add "show lang" test.
3415
8e09ad05
IS
34162012-06-15 Iain Sandoe <iain@codesourcery.com>
3417
3418 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
3419 case. (top level): Use gdb_file_cmd instead of gdb_load.
3420
f85e18ee
JK
34212012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3422
3423 PR tdep/14222
3424 * gdb.arch/i386-sse-stack-align.S: New file.
3425 * gdb.arch/i386-sse-stack-align.c: New file.
3426 * gdb.arch/i386-sse-stack-align.exp: New file.
3427
f3b5e280
KS
34282012-06-13 Keith Seitz <keiths@redhat.com>
3429
3430 PR breakpoints/13798 and mi/11541
3431 * gdb.linespec/ls-errs.exp: Add a few more tests for
3432 filenames with spaces and colons.
3433
50af5481
JK
34342012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3435
3436 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
3437 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
3438 (test_function): Call CV_f.
3439 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
3440 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
3441 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
3442 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
3443 (p CV_f(CV::i)): New tests.
3444
d55637df
TT
34452012-06-13 Tom Tromey <tromey@redhat.com>
3446
3447 * gdb.base/condbreak.exp: Add tests for "condition" completion.
3448
cc80f267
JK
34492012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3450
3451 Fix regression by the "ambiguous linespec" series.
3452 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
3453 tests.
3454
bb2af9cc
JK
34552012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3456
3457 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
3458 missing.
3459
e81a37f7
TT
34602012-06-11 Tom Tromey <tromey@redhat.com>
3461
3462 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
3463 location...
3464 (main): ...here.
3465
8efd7788
YQ
34662012-06-07 Yao Qi <yao@codesourcery.com>
3467
3468 * gdb.trace/strace.exp: Shorten some too-long lines.
3469
359f5fe6
PA
34702012-06-06 Pedro Alves <palves@redhat.com>
3471
3472 * gdb.threads/clone-new-thread-event.c: New file.
3473 * gdb.threads/clone-new-thread-event.exp: New file.
3474
7b2fe205
YQ
34752012-06-06 Yao Qi <yao@codesourcery.com>
3476
3477 * gdb.base/dprintf.c (main): Add extra parameter when calling
3478 printf and fprintf.
3479 (bar): New function. It is a dead function, but to ensure
3480 'malloc' is linked explicitly.
3481
3eca55e8
YQ
34822012-06-06 Yao Qi <yao@codesourcery.com>
3483
3484 * gdb.base/info-proc.exp: Return if target doesn't support
3485 'info proc'.
3486
91cc9324
JK
34872012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3488
3489 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
3490 (run program with breakpoint commands): XFAIl if it is not.
3491
c56e7c43
JB
34922012-06-05 Joel Brobecker <brobecker@adacore.com>
3493
3494 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
3495 and add comment.
3496 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
3497 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
3498 "STOP" marker. Adjust testing strategy to make it work on
3499 all targets.
3500
3501 * gdb.base/print-file-var-main.c (main): Rewrite using local
3502 variables and adjust get_version_2's return value check.
3503 Add small comment.
3504 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
3505 marker. Adjust testing strategy to make it work on all targets.
3506
ccab2054
JB
35072012-06-05 Joel Brobecker <brobecker@adacore.com>
3508
3509 * gdb.ada/bad-task-bp-keyword: New testcase.
3510
d0d86158
JK
35112012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3512
3513 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
3514 Simplify it to ...
3515 (symbol-file ${testfile1}): ... here.
3516 (test eliminated var my_global_symbol)
3517 (test eliminated var my_static_symbol)
3518 (test eliminated var my_global_func, get address of main): Wrap them to
3519 'single psymtabs' and 'single symtabs'
3520 (get address of my_global_symbol, get address of my_static_symbol)
3521 (get address of my_global_func, get address of main): Wrap them to
3522 'order1' and 'order2'.
3523
952cf74c
JK
3524 * gdb.base/code_elim.exp
3525 (add-symbol-file ${testfile1} 0x100000)
3526 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
3527 'order2'.
3528 (order1: add-symbol-file ${testfile1} 0x100000)
3529 (order1: add-symbol-file ${testfile2} 0x200000)
3530 (order2: add-symbol-file ${testfile2} 0x200000)
3531 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
3532 .bss as appropriate.
3533
0c5bf5a9
JK
35342012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3535
3536 * gdb.server/solib-list-lib.c: New file.
3537 * gdb.server/solib-list-main.c: New file.
3538 * gdb.server/solib-list.exp: New file.
3539
4196f325
MR
35402012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
3541
3542 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
3543 for 'set print symbol' change.
3544
bfb05775
JK
35452012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3546
3547 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
3548 .debug_abbrev_seg3.
3549
685b1105
JK
35502012-05-24 John Steele Scott <toojays@toojays.net>
3551
3552 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
3553 * gdb.dwarf2/dw2-icc-opaque.S: New file.
3554 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
3555
f3e0e960
SS
35562012-05-23 Stan Shebs <stan@codesourcery.com>
3557
3558 * gdb.mi/mi-info-os.exp: New file.
3559
11eb1b4d
KS
35602012-05-23 Keith Seitz <keiths@redhat.com>
3561
3562 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
3563 return -1 to suppress the rest of the tests.
3564 (compile_stap_bin): Return boolean success value.
3565
b1af9e97
TT
35662012-05-21 Tom Tromey <tromey@redhat.com>
3567
3568 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
3569 Remove kfails.
3570 (test_print_mi_member_types): Likewise.
3571
248537e3
TT
35722012-05-21 Tom Tromey <tromey@redhat.com>
3573
3574 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
3575 print symbol' change.
3576
d791e155
TJB
35772012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
3578
3579 * gdb.python/py-prompt.exp: Quit if the target is remote.
3580
e77afa2e
JK
35812012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3582
3583 Fix ERROR: internal buffer is full.
3584 * gdb.base/info-os.exp (expect_multiline): New function.
3585 (get process list, get process groups, get threads)
3586 (get file descriptors, get internet-domain sockets)
3587 (get shared-memory regions, get semaphores, get message queues): Use
3588 it for these tests.
3589
9cb709b6
TT
35902012-05-18 Tom Tromey <tromey@redhat.com>
3591
3592 * gdb.mi/mi-var-cmd.exp: Update.
3593 * gdb.objc/basicclass.exp (do_objc_tests): Update.
3594 * gdb.cp/virtbase.exp: Update.
3595 * gdb.cp/classes.exp (test_static_members): Update.
3596 * gdb.cp/casts.exp: Update.
3597 * gdb.base/pointers.exp: Update.
3598 * gdb.base/funcargs.exp (pointer_args): Update.
3599 (structs_by_reference): Update.
3600 * gdb.base/find.exp: Update.
3601 * gdb.base/call-strs.exp: Send "set print symbol off".
3602 * gdb.base/call-ar-st.exp: Update.
3603 * gdb.ada/fun_addr.exp: Update.
3604 * gdb.base/printcmds.exp (test_print_symbol): New proc.
3605 Call it.
3606 (test_print_repeats_10, test_print_strings)
3607 (test_print_char_arrays): Update.
3608
b012acdd
TT
36092012-05-18 Tom Tromey <tromey@redhat.com>
3610
3611 * gdb.base/charset.exp (string_display): Update.
3612
1d51a733
TT
36132012-05-18 Tom Tromey <tromey@redhat.com>
3614
3615 * gdb.mi/mi2-var-display.exp: Update.
3616 * gdb.mi/mi-var-display.exp: Update.
3617 * gdb.mi/mi-var-child.exp: Update.
3618 * gdb.cp/expand-psymtabs-cxx.exp: Update.
3619 * gdb.cp/cp-relocate.exp (get_func_address): Update.
3620
957df313
DE
36212012-05-17 Doug Evans <dje@google.com>
3622
682c7f7b
DE
3623 * info-macros.exp: Pass "debug" to prepare_for_testing.
3624
957df313
DE
3625 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
3626 * gdb.ada/Makefile.in (clean): Ditto.
3627 * gdb.arch/Makefile.in (clean): Ditto.
3628 * gdb.asm/Makefile.in (clean): Ditto.
3629 * gdb.base/Makefile.in (clean): Ditto.
3630 * gdb.cell/Makefile.in (clean): Ditto.
3631 * gdb.cp/Makefile.in (clean): Ditto.
3632 * gdb.disasm/Makefile.in (clean): Ditto.
3633 * gdb.dwarf2/Makefile.in (clean): Ditto.
3634 * gdb.fortran/Makefile.in (clean): Ditto.
3635 * gdb.go/Makefile.in (clean): Ditto.
3636 * gdb.hp/Makefile.in (clean): Ditto.
3637 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
3638 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
3639 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
3640 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
3641 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
3642 * gdb.java/Makefile.in (clean): Ditto.
3643 * gdb.linespec/Makefile.in (clean): Ditto.
3644 * gdb.mi/Makefile.in (clean): Ditto.
3645 * gdb.modula2/Makefile.in (clean): Ditto.
3646 * gdb.multi/Makefile.in (clean): Ditto.
3647 * gdb.objc/Makefile.in (clean): Ditto.
3648 * gdb.opencl/Makefile.in (clean): Ditto.
3649 * gdb.opt/Makefile.in (clean): Ditto.
3650 * gdb.pascal/Makefile.in (clean): Ditto.
3651 * gdb.python/Makefile.in (clean): Ditto.
3652 * gdb.reverse/Makefile.in (clean): Ditto.
3653 * gdb.server/Makefile.in (clean): Ditto.
3654 * gdb.stabs/Makefile.in (clean): Ditto.
3655 * gdb.threads/Makefile.in (clean): Ditto.
3656 * gdb.trace/Makefile.in (clean): Ditto.
3657 * gdb.xml/Makefile.in (clean): Ditto.
3658
abc9d0dc
TT
36592012-05-16 Tom Tromey <tromey@redhat.com>
3660
3661 * gdb.base/macscp1.c (macscp_expr): Add comment.
3662 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
3663
6a3a010b
MR
36642012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3665
3666 * gdb.base/return-nodebug.exp: Also test float and double types.
3667
01429c8e
JK
36682012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3669
3670 PR testsuite/12649
3671 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
3672
54115cd4
JK
3673 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
3674
0c5f383f
SDJ
36752012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
3676
3677 * gdb.base/stap-probe.exp (stap_test): Remove calls to
3678 `rerun_to_main'.
3679 (stap_test_no_debuginfo): Likewise.
3680
e7e0cddf
SS
36812012-05-14 Stan Shebs <stan@codesourcery.com>
3682
3683 * gdb.base/dprintf.c: New file.
3684 * gdb.base/dprintf.exp: New file.
3685
c772f8e7
HZ
36862012-05-14 Hui Zhu <hui_zhu@mentor.com>
3687
3688 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
3689 * gdb.trace/disconnected-tracing.c: New file.
3690 * gdb.trace/disconnected-tracing.exp: New file.
3691
7efc75aa
SCR
36922012-05-13 Siva Chandra Reddy <sivachandra@google.com>
3693
3694 * gdb.python/python.c: Add a new breakpoint comment.
3695 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
3696
85d4a676
SS
36972011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
3698
3699 * gdb.base/info-os.exp: New file.
3700 * gdb.base/info-os.c: New file.
3701
64ea88dc
JB
37022012-05-10 Joel Brobecker <brobecker@adacore.com>
3703
4647ab1b
JB
3704 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
3705 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
3706 New files.
64ea88dc 3707
afba63f1
JB
37082012-05-10 Joel Brobecker <brobecker@adacore.com>
3709
3710 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
3711 gdb.base/ctxobj.exp: New files.
3712
9d198b1e
TT
37132012-05-09 Tom Tromey <tromey@redhat.com>
3714
3715 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
3716
9bfee719
MR
37172012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
3718
3719 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
3720
3a7341d8
MR
37212012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
3722
3723 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
3724 before using it.
3725
52b3699b
TG
37262012-05-04 Tristan Gingold <gingold@adacore.com>
3727
3728 * gdb.base/set-noassign.exp: New test.
3729
a20ee7a4
SCR
37302012-05-03 Siva Chandra Reddy <sivachandra@google.com>
3731
3732 * gdb.python/py-symbol.exp: Add tests to test the new methods
3733 gdb.Symtab.global_block() and gdb.Symtab.static_block().
3734 * gdb.python/py-symbol.c: Add new struct to help test
3735 gdb.Symtab.static_block().
3736
bf2f0858
DE
37372012-05-03 Doug Evans <dje@google.com>
3738
3739 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
3740 commented out.
3741
2d4e0376
YQ
37422012-05-03 Yao Qi <yao@codesourcery.com>
3743
3744 * gdb.base/catch-syscall.exp: Skip it before compilation if target
3745 doesn't support.
3746 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
3747 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
3748
6d0bb9f3
YQ
37492012-05-03 Yao Qi <yao@codesourcery.com>
3750
3751 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
3752
fd820528
DE
37532012-04-30 Doug Evans <dje@google.com>
3754
3755 PR testsuite/13961
3756 * gdb.dwarf2/pr13961.S: New file.
3757 * gdb.dwarf2/pr13961.exp: New file.
3758
b9e219b9
YQ
37592012-04-29 Yao Qi <yao@codesourcery.com>
3760
3761 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
3762
3019eac3
DE
37632012-04-28 Doug Evans <dje@google.com>
3764
3765 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
3766 .Ltype_int_in_cu2. Use name "int2" instead of "int".
3767 All uses updated.
3768 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
3769 "ptype func_cu1" to expand cu2 before cu1.
3770
62e5f89c
SDJ
37712012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
3772 Tom Tromey <tromey@redhat.com>
3773
3774 * gdb.base/default.exp: Add `$_probe_arg*' convenience
3775 variables.
3776 * gdb.base/stap-probe.c: New file.
3777 * gdb.base/stap-probe.exp: New file.
3778 * gdb.trace/stap-trace.c: New file.
3779 * gdb.trace/stap-trace.exp: New file.
3780 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
3781 libgcc's unwinder.
3782
14132e89
MR
37832012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
3784
3785 * gdb.arch/mips16-thunks-inmain.c: New file.
3786 * gdb.arch/mips16-thunks-main.c: New file.
3787 * gdb.arch/mips16-thunks-sin.c: New file.
3788 * gdb.arch/mips16-thunks-sinfrob.c: New file.
3789 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
3790 * gdb.arch/mips16-thunks-sinmain.c: New file.
3791 * gdb.arch/mips16-thunks-sinmips16.c: New file.
3792 * gdb.arch/mips16-thunks.exp: New file.
3793
a766d390
DE
37942012-04-25 Doug Evans <dje@google.com>
3795
3796 * configure.ac: Create gdb.go/Makefile.
3797 * configure: Regenerate.
3798 * gdb.base/default.exp: Add "go" to "set language" testing.
3799 * gdb.go/Makefile.in: New file.
3800 * gdb.go/basic-types.exp: New file.
3801 * gdb.go/chan.exp: New file.
3802 * gdb.go/chan.go: New file.
3803 * gdb.go/handcall.exp: New file.
3804 * gdb.go/handcall.go: New file.
3805 * gdb.go/hello.exp: New file.
3806 * gdb.go/hello.go: New file.
3807 * gdb.go/integers.exp: New file.
3808 * gdb.go/integers.go: New file.
3809 * gdb.go/methods.exp: New file.
3810 * gdb.go/methods.go: New file.
3811 * gdb.go/package.exp: New file.
3812 * gdb.go/package1.go: New file.
3813 * gdb.go/package2.go: New file.
3814 * gdb.go/print.exp: New file.
3815 * gdb.go/strings.exp: New file.
3816 * gdb.go/strings.go: New file.
3817 * gdb.go/types.exp: New file.
3818 * gdb.go/types.go: New file.
3819 * gdb.go/unsafe.exp: New file.
3820 * gdb.go/unsafe.go: New file.
3821 * lib/future.exp: Add Go support.
3822 (gdb_find_go, gdb_find_go_linker): New procs.
3823 (gdb_default_target_compile): Add Go support.
3824 * lib/gdb.exp (skip_go_tests): New proc.
3825 * lib/go.exp: New file.
3826
e65f9ffb
TT
38272012-04-25 Tom Tromey <tromey@redhat.com>
3828
3829 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
3830
14e75d8e
JK
38312012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3832 Jan Kratochvil <jan.kratochvil@redhat.com>
3833
3834 PR symtab/7259:
3835 * gdb.base/enumval.c: New test case.
3836 * gdb.base/enumval.exp: New test case.
3837 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
3838 field.bitpos.
3839
f3525b70
PA
38402012-04-17 Pedro Alves <palves@redhat.com>
3841
3842 * Makefile.in (site.exp): Make site.exp source
3843 $srcdir/lib/append_gdb_boards_dir.exp.
3844 * lib/append_gdb_boards_dir.exp: New file.
3845
bccbefd2
JK
38462012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3847
3848 New option "set auto-load safe-path".
3849 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
3850 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
3851
bf88dd68
JK
38522012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3853
3854 auto-load: Implementation.
3855 * gdb.base/help.exp (test set height): Increase the height.
3856 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
3857 to ...
3858 (info auto-load python-scripts): ... here.
3859 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
3860 to ...
3861 (info auto-load python-scripts *): ... here.
3862
c0d4d1c0
YQ
38632012-04-16 Yao Qi <yao@codesourcery.com>
3864
3865 * lib/trace-support.exp (get_in_proc_agent): New.
3866 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
3867 of in process trace agent.
3868 * gdb.trace/ftrace.exp: Likewise.
3869 * gdb.trace/pending.exp: Likewise.
3870 * gdb.trace/trace-break.exp: Likewise.
3871 * gdb.trace/trace-mt.exp
3872 * gdb.trace/tspeed.exp: Likewise.
3873 * gdb.trace/tstatus.exp
3874 * gdb.trace/strace.exp: Likewise.
3875
cbf68a60
TS
38762012-04-16 Thomas Schwinge <thomas@codesourcery.com>
3877
dd6d3b70
TS
3878 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
3879 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
3880
cbf68a60
TS
3881 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
3882
8264ba82
AG
38832012-04-14 Anton Gorenkov <xgsa@yandex.ru>
3884
3885 PR mi/13393
3886 * gdb.mi/mi-var-rtti.cc: New file.
3887 * gdb.mi/mi-var-rtti.exp: New file.
3888 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
3889 function.
3890 (mi_varobj_update_with_type_change): updated to avoid code duplication.
3891
de0919f8 38922012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
3893
3894 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
3895 EXECUTABLES.
3896 * gdb.python/py-explore.c: C program used for testing the new
3897 'explore' command on C constructs.
3898 * gdb.python/py-explore.cc: C++ program used for testing the new
3899 'explore' command on C++ constructs.
3900 * gdb-python/py-explore.exp: Tests for the new 'explore'
3901 command on C constructs.
3902 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
3903 command on C++ constructs.
3904
a82da7dd
MK
39052012-04-07 Mark Kettenis <kettenis@gnu.org>
3906
3907 * gdb.base/funcargs.exp (complex_args): Fix typo.
3908
e127cba8
JK
39092012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3910
3911 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
3912 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
3913
40e084e1
KS
39142012-04-05 Keith Seitz <keiths@redhat.com>
3915
3916 * gdb.base/advance.exp: Update error message for
3917 "advance malformed" test.
3918 * gdb.base/break.exp: Likewise for "breakpoint with
3919 trailing garbage" test.
3920 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
3921 with trailing garbage" test.
3922 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
3923 trailng garbage" test.
3924 * gdb.base/until.exp: Likewise for "malformed until" test.
3925 * gdb.cp/ovldbreak.exp: Create the breakpoint table
3926 for "breakpoint info (after setting on all)".
3927 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
3928 tests.
3929 * gdb.cp/cplabel.cc: New file.
3930 * gdb.cp/cplabel.exp: New test.
3931 * gdb.linespec/ls-errs.c: New file.
3932 * gdb.linespec/ls-errs.exp: New test.
3933
a72c8f6a
JK
39342012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3935
3936 * gdb.trace/unavailable.exp
3937 (collect globals: print object on: print derived_partial)
3938 (collect globals: print object on: print derived_whole)
3939 (collect globals: print object off: print derived_partial)
3940 (collect globals: print object off: print derived_whole): Update
3941 expected output.
3942
f87a3023
KS
39432012-03-30 Keith Seitz <keiths@redhat.com>
3944
3945 * gdb.python: Add test for linespecs with commas.
3946
e2171b3c
KS
39472012-03-28 Keith Seitz <keiths@redhat.com>
3948
3949 * gdb.linespec/ls-dollar.cc: New file.
3950 * gdb.linespec/ls-dollar.exp: New test.
3951
39522012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
3953
3954 * gdb.cp/namespace.exp: Add breakpoint tests for functions
3955 starting with the global namespace.
3956
2f4e0a80
DE
39572012-03-23 Doug Evans <dje@google.com>
3958
3959 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
3960
7b282c5a
SCR
39612012-03-22 Siva Chandra Reddy <sivachandra@google.com>
3962
3963 * gdb.python/py-value.cc: Add test case for testing the
3964 methodology exposing C++ values to Python.
3965 * gdb.python/py-value-cc.exp: Add tests testing the methodology
3966 exposing C++ values to Python.
3967 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
3968
2e98ca53
JK
39692012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3970 Siddhesh Poyarekar <siddhesh@redhat.com>
3971
3972 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
3973 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
3974 (generate native core dump): Make the test unsupported if core cannot
3975 be generated.
3976
8320cc4f
JK
39772012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3978
3979 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
3980 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
3981 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
3982
3a69ffb2
JK
39832012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3984
3985 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
3986
8fabffee
DE
39872012-03-17 Doug Evans <dje@google.com>
3988
3989 * dg-extract-results.sh: Handle KFAILs.
3990
ab260dad
JK
39912012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3992
3993 PR symtab/13777
3994 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
3995
53ba8333
JB
39962012-03-16 Joel Brobecker <brobecker@adacore.com>
3997
3998 * gdb.ada/set_pckd_arr_elt: New testcase.
3999
481860b3
GB
40002012-03-16 Gary Benson <gbenson@redhat.com>
4001
4002 PR breakpoints/10738
4003 * gdb.opt/inline-break.exp: New file.
4004 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
4005 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
4006 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
4007 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
4008 * gdb.base/async-shell.exp: Likewise.
4009 * lib/mi-support.exp (library_loaded_re): Likewise.
4010
410528f0
TT
40112012-03-15 Tom Tromey <tromey@redhat.com>
4012
4013 * gdb.cp/virtfunc2.exp: Update expected output.
4014 * gdb.cp/pr9631.exp: Update expected output.
4015 * gdb.cp/member-ptr.exp: Update expected output.
4016 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
4017 output.
4018 * gdb.cp/casts.exp: Update expected output.
4019
c4aeac85
TT
40202012-03-15 Tom Tromey <tromey@redhat.com>
4021
4022 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
4023 (test_info_vtbl): Likewise.
4024 (do_tests): Call test_info_vtbl.
4025 * gdb.cp/virtfunc.cc (va): New global.
4026
856d06f9
TS
40272012-03-15 Thomas Schwinge <thomas@codesourcery.com>
4028
4029 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
4030 describing DWARF data structures.
4031 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
4032 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
4033 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
4034 * gdb.dwarf2/dw2-entry-value.S: Likewise.
4035 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
4036 * gdb.dwarf2/dw2-param-error.S: Likewise.
4037 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
4038 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
4039 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
4040 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
4041 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
4042 * gdb.dwarf2/pr11465.S: Likewise.
4043
e837f12a
JK
40442012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4045
4046 * gdb.mi/mi2-prompt.exp: New file.
4047
ccbb4f28
JB
40482012-03-13 Joel Brobecker <brobecker@adacore.com>
4049
4050 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
4051
32039130
JB
40522012-03-13 Joel Brobecker <brobecker@adacore.com>
4053
4054 * gdb.ada/bp_range_type: New testcase.
4055
16899756
DE
40562012-03-13 Doug Evans <dje@google.com>
4057
4058 * gdb.base/default.exp: Delete tests for symbol-reloading.
4059 * gdb.base/help.exp: Ditto.
4060 * gdb.base/setshow.exp: Ditto.
4061 * gdb.base/gdb_history: Delete references to symbol-reloading.
4062
87b0bb13
JK
40632012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4064
4065 * gdb.base/attach-twice.c: New files.
4066 * gdb.base/attach-twice.exp: New files.
4067
0d7941a9
KS
40682012-03-08 Keith Seitz <keiths@redhat.com>
4069
4070 * lib/gdb.exp (gdb_get_line_number): Throw an
4071 error instead of returning -1.
4072 * gdb.base/break.exp: Remove unused variable
4073 bp_location5.
4074 * gdb.base/hbreak2.exp: Likewise.
4075 * gdb.base/sepdebug.exp: Likewise.
4076
f4647387
YQ
40772012-03-08 Yao Qi <yao@codesourcery.com>
4078 Pedro Alves <palves@redhat.com>
4079
4080 Fix PR server/13392.
4081 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
4082 (tracepoint_change_loc_2): Remove kfail. Return if failed to
4083 download tracepoints.
4084 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
4085 (pending_tracepoint_resolved_during_trace): Likewise.
4086 (pending_tracepoint_installed_during_trace): Likewise.
4087 (pending_tracepoint_with_action_resolved): Likewise.
4088
83c532cb
KS
40892012-03-08 Keith Seitz <keiths@redhat.com>
4090
4091 * gdb.ada/array_bounds.exp: Get breakpoint for line
4092 with "START", not "STOP".
4093 * gdb.python/py-infthread.exp: Do not continue to
4094 line marked "Break here.", which is undefined.
4095
d6b6bbb7
LM
40962012-03-08 Luis Machado <lgustavo@codesourcery.com>
4097
4098 Revert:
4099
4100 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4101
4102 Implement testsuite workaround for PR breakpoints/13781.
4103 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
4104 (set breakpoint condition-evaluation host): New conditional command.
4105
7fe25d9b
JK
41062012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4107
4108 Fix CU relative vs. absolute DIE offsets.
4109 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
4110 one.
4111
51898c15
JK
41122012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4113
4114 Fix false FAIL on distros with relro linkage as default.
4115 * gdb.reverse/solib-precsave.exp: Try to compile the test using
4116 -Wl,-z,norelro first.
4117
8131799e
JB
41182012-03-06 Joel Brobecker <brobecker@adacore.com>
4119
4120 * gdb.ada/bp_on_var: New testcase.
4121
ba241969
JB
41222012-03-06 Joel Brobecker <brobecker@adacore.com>
4123
4124 * gdb.ada/bp_enum_homonym: New testcase.
4125
abe49676
YQ
41262012-03-06 Yao Qi <yao@codesourcery.com>
4127
4128 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
4129 x86_64-*-* and i?86-*-*.
4130 Set up KFAIL for gdb/13808.
4131
d8df103b
TT
41322012-03-05 Tom Tromey <tromey@redhat.com>
4133
4134 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
4135 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
4136
b7b189f3
TT
41372012-03-05 Tom Tromey <tromey@redhat.com>
4138
4139 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
4140
69dc1c4d
YQ
41412012-03-04 Yao Qi <yao@codesourcery.com>
4142
4143 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
4144 messages for KFAIL.
4145
3f20c47f
JK
41462012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4147
4148 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
4149 (print one_two_three, indexes off, print few_reps, indexes off)
4150 (print many_reps, indexes off, print empty, indexes off)
4151 (print one_two_three, print few_reps, print many_reps, print empty):
4152 Call setup_xfail if $gcc_old.
4153
abf1152a
JK
41542012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4155
4156 Implement testsuite workaround for PR breakpoints/13781.
4157 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
4158 (set breakpoint condition-evaluation host): New conditional command.
4159
a06715f8
JK
41602012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4161
4162 Code cleanup.
4163 * gdb.cp/mb-templates.exp: New variables executable. Use it for
4164 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
4165 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
4166 number 1 by $bpnum. Four times.
4167
5808517f
YQ
41682012-03-03 Yao Qi <yao@codesourcery.com>
4169
4170 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
4171
dfe2ac14
JK
41722012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4173
4174 Setup KFAIL for PR server/13796.
4175 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
4176
8bbc467a
JB
41772012-03-02 Joel Brobecker <brobecker@adacore.com>
4178
4179 * gdb.ada/operator_bp: New testcase.
4180
c0eac87f
JB
41812012-03-02 Joel Brobecker <brobecker@adacore.com>
4182
4183 * gdb.ada/info_locals_renaming: New testcase.
4184
4f42c881
TT
41852012-03-02 Tom Tromey <tromey@redhat.com>
4186
4187 * gdb.base/nextoverexit.c: New file.
4188 * gdb.base/nextoverexit.exp: New file.
4189
7380c0c9
EBM
41902012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
4191
4192 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
4193 parameter.
4194
1faeff08
MR
41952012-03-01 Maciej W. Rozycki <macro@mips.com>
4196
4197 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
4198 core registers.
4199
320b6f49 42002012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
4201 Maciej W. Rozycki <macro@codesourcery.com>
4202 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
4203
4204 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
4205
ad5f7d6e
PA
42062012-03-01 Pedro Alves <palves@redhat.com>
4207
4208 PR gdb/13767
4209
4210 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
4211 (gdb_collect_globals_test): Call it.
4212
d3dc44a6
KS
42132012-03-01 Keith Seitz <keiths@redhat.com>
4214
4215 * gdb.cp/method2.exp: Output of overload menu is now
4216 alphabetized. Update tests for "break A::method".
4217 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
4218 of hard-coding them.
4219 Overload menu is alphabetized: rewrite to accommodate.
4220 Unset variables LINE and TYPES which are used in other tests.
4221 Compute the output of "info break".
4222 Update the breakpoint table after all breakpoints are deleted.
4223 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
4224 compute ACTUALS and the method body based on parameters.
4225 Update expected output accordingly.
4226 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
4227 unique comments to allow the use of gdb_get_line_number.
4228
42292012-03-01 Keith Seitz <keiths@redhat.com>
4230
4231 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
4232 some Tcl syntax.
4233 * gdb.cp/ovldbreak.exp: Likewise.
4234
7949c2a0
KS
42352012-03-01 Keith Seitz <keiths@redhat.com>
4236
4237 * gdb.base/help.exp (help show user): Update expected result
4238 for new doc string changes (add "non-python").
4239
7d74f244
DE
42402012-03-01 Scott J. Goldman <scottjg@vmware.com>
4241
4242 * gdb.python/py-cmd.exp: Add test to verify that python commands can
4243 be put in the user-defined category and that the commands appear in
4244 "help user-defined".
4245
1b611343
JB
42462012-02-29 Joel Brobecker <brobecker@adacore.com>
4247
4248 * gdb.ada/tagged_not_init: New testcase.
4249
99b1c762
JB
42502012-02-29 Joel Brobecker <brobecker@adacore.com>
4251
4252 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
4253 * gdb.ada/enum_idx_packed: New testcase.
4254
2d4a02ee
JB
42552012-02-29 Joel Brobecker <brobecker@adacore.com>
4256
4257 * gdb.ada/aliased_array: New testcase.
4258
2e6fda7d
JB
42592012-02-29 Joel Brobecker <brobecker@adacore.com>
4260
4261 * gdb.ada/whatis_array_val: New testcase.
4262
9a7f938f
JK
42632012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4264
4265 Fix disp-step-syscall.exp: fork: single step over fork.
4266 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
4267 whitespaces.
4268 (single step over $syscall): Remove its check.
4269 (single step over $syscall final pc): New check.
4270
8703a944
JK
42712012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4272
4273 Support processors without SSSE3.
4274 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
4275 pabsd into ...
4276 (ssse3_test): ... a new function.
4277 (main): Call ssse3_test.
4278 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
4279 Update expected values everywhere.
4280 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
4281 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
4282 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
4283 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
4284 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
4285 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
4286 Move these tests lower.
4287 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
4288 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
4289 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
4290 New tests.
4291
c03e6ccc
YQ
42922012-02-29 Yao Qi <yao@codesourcery.com>
4293 Pedro Alves <palves@redhat.com>
4294
4295 * gdb.trace/trace-mt.c: New.
4296 * gdb.trace/trace-mt.exp: New.
4297
7964b62a
TS
42982012-02-28 Thomas Schwinge <thomas@codesourcery.com>
4299
2c8910ba
TS
4300 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
4301 numbers instead of hardcoding them.
4302 * gdb.base/annota1.c: Provide suitable markers.
4303 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
4304 numbers instead of hardcoding them.
4305 * gdb.base/annota3.c: Provide suitable markers.
4306
4307 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
4308 * gdb.base/annota3.c: Likewise.
4309 * gdb.base/sigall.c: Likewise.
4310 * gdb.base/signals.c: Likewise.
4311 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 4312
5a41c0b7
MR
43132012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
4314
4315 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
4316 failure return path.
4317
ebbbe5c5
LM
43182012-02-27 Luis Machado <lgustavo@codesourcery.com>
4319
4320 * gdb.base/save-bp.exp: Account for new condition evaluator output.
4321
8d126d8a
LM
43222012-02-24 Luis Machado <lgustavo@codesourcery.com>
4323
4324 * gdb.base/cond-eval-mode.exp: New file.
4325
11337c2f
PA
43262012-02-24 Pedro Alves <palves@redhat.com>
4327
4328 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
4329 (top level): Use with_test_prefix.
4330
13fc3e3c
PA
43312012-02-24 Pedro Alves <palves@redhat.com>
4332
4333 * gdb.threads/attach-into-signal.exp (corefunc): Use
4334 with_test_prefix.
4335
07c1b626
JK
43362012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4337
4338 Fix false FAILs on old CPUs without SSE.
4339 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
4340 Return untested for Illegal instruction.
4341
596ba138
JK
43422012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4343
4344 Fix false FAILs with glibc debug infos installed.
4345 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
4346 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
4347
aeaa2474
SA
43482012-02-22 Sterling Augustine <saugustine@google.com>
4349
4350 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
4351 constant with cast.
4352
aed555c9
PA
43532012-02-21 Pedro Alves <palves@redhat.com>
4354
4355 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
4356
78afebb4
PA
43572012-02-21 Pedro Alves <palves@redhat.com>
4358
4359 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
4360
fdcfef12
PA
43612012-02-21 Pedro Alves <palves@redhat.com>
4362
4363 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
4364 with_test_prefix.
4365
0f4d39d5
PA
43662012-02-21 Pedro Alves <palves@redhat.com>
4367
4368 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
4369 with_test_prefix here.
4370 (top level): Do it here instead. Remove `:' from the
4371 with_test_prefix string.
4372 * gdb.base/attach-pie-misread.exp: Remove the leading space the
4373 the suffix `:' from the with_test_prefix prefix string.
4374 * gdb.base/break-interp.exp: Ditto.
4375 * gdb.base/catch-load.exp: Ditto.
4376 * gdb.base/disp-step-syscall.exp: Ditto.
4377 * gdb.base/jit-so.exp: Ditto.
4378 * gdb.base/jit.exp: Ditto.
4379 * gdb.base/sepdebug.exp: Ditto.
4380 * gdb.base/solib-display.exp: Ditto.
4381 * gdb.base/solib-overlap.exp: Ditto.
4382 * gdb.base/watch-cond-infcall.exp: Ditto.
4383 * gdb.base/watchpoint.exp: Ditto.
4384 * gdb.dwarf2/dw2-noloc.exp: Ditto.
4385 * gdb.mi/mi-watch.exp: Ditto.
4386 * gdb.mi/mi2-watch.exp: Ditto.
4387 * gdb.threads/non-ldr-exc-1.exp: Ditto.
4388 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4389 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4390 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4391 * gdb.threads/watchpoint-fork.exp: Ditto.
4392 * gdb.threads/watchthreads-reorder.exp: Ditto.
4393 * gdb.trace/change-loc.exp: Ditto.
4394 * gdb.trace/pending.exp: Ditto.
4395 * gdb.trace/status-stop.exp: Ditto.
4396 * gdb.trace/strace.exp: Ditto.
4397 * gdb.trace/trace-break.exp: Ditto.
4398 * gdb.trace/unavailable.exp: Ditto.
4399 * lib/gdb.exp (with_test_prefix): Always prefix with space and
4400 suffix with colon. Adjust leading comments.
4401
6a5870ce
PA
44022012-02-21 Pedro Alves <palves@redhat.com>
4403 Tom Tromey <tromey@redhat.com>
4404
4405 * lib/gdb.exp: Add description of test prefixes.
4406 (with_test_prefix): New procedure.
4407 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
4408 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
4409 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
4410 instead of lappend to append to pf_prefix.
4411 * gdb.base/catch-load.exp: Use with_test_prefix.
4412 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
4413 * gdb.base/jit-so.exp: Use with_test_prefix.
4414 * gdb.base/jit.exp: Use with_test_prefix.
4415 * gdb.base/return-nodebug.exp (do_test): Use append instead of
4416 lappend to append to pf_prefix.
4417 * gdb.base/sepdebug.exp: Use with_test_prefix.
4418 * gdb.base/solib-display.exp: Use with_test_prefix.
4419 * gdb.base/solib-overlap.exp: Use with_test_prefix.
4420 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
4421 * gdb.base/watchpoint.exp: Use with_test_prefix.
4422 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
4423 * gdb.mi/mi-watch.exp: Use with_test_prefix.
4424 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
4425 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
4426 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
4427 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
4428 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
4429 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
4430 append instead of lappend to append to pf_prefix.
4431 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
4432 * gdb.trace/change-loc.exp: Use with_test_prefix.
4433 * gdb.trace/pending.exp: Use with_test_prefix.
4434 * gdb.trace/status-stop.exp: Use with_test_prefix.
4435 * gdb.trace/strace.exp: Use with_test_prefix.
4436 * gdb.trace/trace-break.exp: Use with_test_prefix.
4437 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
4438 instead of lappend to append to pf_prefix.
4439
35dc4a6b
JK
44402012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4441
4442 Fix racy FAILs.
4443 * gdb.base/inferior-died.c (main): Add return of 0.
4444 * gdb.base/inferior-died.exp (continue): Fix expectation of
4445 asynchronous events.
4446 (p 1): New test.
4447
c5a006e6
PA
44482012-02-20 Pedro Alves <palves@redhat.com>
4449
4450 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
4451 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
4452 gdb's internal debug output. For the non-threaded case, look for
4453 "Program received signal SIGLARM", for the threaded case, peek at
4454 the thread's siginfo.
4455
cc51a170
PA
44562012-02-20 Pedro Alves <palves@redhat.com>
4457
4458 General cleanup, make output test messages unique, and build
4459 different executable files for the non-threaded and threaded
4460 cases.
4461
4462 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
4463 Delete.
4464 (executable_nothr, executable_thr): New globals.
4465 (top level): Adjust to delete both executables.
4466 (corefunc): New parameter $executable. Set $pf_prefix instead of
4467 hand writing a prefix in tests. Issue a clean_restart and enable
4468 lin-lwp debug output here.
4469 (top level): Adjust. Use build_executable. Don't start gdb here,
4470 and don't enable lin-lwp debug output here.
4471 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
4472
c755f03d
JK
44732012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4474
4475 Fix racy FAILs.
4476 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
4477 "continue" command.
4478
6bec5e0a
JK
44792012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4480
4481 Fix for gdbserver non-extended mode.
4482 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
4483 and gdb_run_cmd.
4484
2e8265fd
TT
44852012-02-17 Tom Tromey <tromey@redhat.com>
4486
4487 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
4488 * gdb.python/py-events.exp: Check 'dir' output.
4489 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
4490
9e507076
YQ
44912012-02-17 Yao Qi <yao@codesourcery.com>
4492
4493 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
4494
32d22ab1
TT
44952012-02-16 Tom Tromey <tromey@redhat.com>
4496
4497 * gdb.base/inferior-died.c: Don't include stdio.h.
4498
9addecb9
TT
44992012-02-16 Tom Tromey <tromey@redhat.com>
4500
4501 * gdb.base/inferior-died.c: New file.
4502 * gdb.base/inferior-died.exp: New file.
4503
4cb6da1c
AR
45042012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
4505
4506 * gdb.base/break-inline.exp: New file.
4507 * gdb.base/break-inline.c: New file.
4508
3af2590d
TT
45092012-02-15 Tom Tromey <tromey@redhat.com>
4510
4511 * gdb.base/pc-fp.exp: Add "info register" tests.
4512
29988831
TT
45132012-02-15 Tom Tromey <tromey@redhat.com>
4514
4515 * gdb.base/regs.exp: Remove.
4516
10010058
PA
45172012-02-15 Pedro Alves <palves@redhat.com>
4518
4519 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
4520 the target doesn't support tracepoints.
4521 * gdb.trace/circ.exp: Ditto.
4522 * gdb.trace/collection.exp: Ditto.
4523 * gdb.trace/packetlen.exp: Ditto.
4524 * gdb.trace/passc-dyn.exp: Ditto.
4525 * gdb.trace/report.exp: Ditto.
4526 * gdb.trace/tfind.exp: Ditto.
4527 * gdb.trace/tspeed.exp: Ditto.
4528 * gdb.trace/tsv.exp: Ditto.
4529 * gdb.trace/unavailable.exp: Ditto.
4530 * gdb.trace/while-dyn.exp: Ditto.
4531
a2e0062d
PA
45322012-02-15 Pedro Alves <palves@redhat.com>
4533
4534 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
4535 gdb_test_multiple, and call unsupported instead of fail, if the
4536 remote side does not support the request.
4537
a1999d40
PA
45382012-02-15 Pedro Alves <palves@redhat.com>
4539
4540 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
4541 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
4542 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
4543 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
4544 * gdb.server/server-run.exp: Make sure gdb is disconnected.
4545 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
4546 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
4547 doesn't start with "extended-" already.
4548
7cee1e54
PA
45492012-02-15 Pedro Alves <palves@redhat.com>
4550
4551 Support extended-remote. Avoid cascading timeouts.
4552
4553 * gdb.base/attach.exp (do_attach_tests): Add expected output for
4554 the extended-remote target. If attaching with no file fails, load
4555 the file manually.
4556 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
4557
816338b5
SS
45582012-02-14 Stan Shebs <stan@codesourcery.com>
4559
4560 * gdb.base/ena-dis-br.exp: Add enable count test.
4561
cc30c4bd
PA
45622012-02-13 Pedro Alves <palves@redhat.com>
4563
4564 * config/mips-idt.exp: Delete.
4565 * gdb.base/a2-run.exp: Remove mips-idt xfails.
4566 * gdb.base/bitfields.exp: Remove mips-idt restarts.
4567 * gdb.base/break.exp: Remove mips-idt references.
4568 * gdb.base/chng-syms.exp: Ditto.
4569 * gdb.base/default.exp: Ditto.
4570 * gdb.base/funcargs.exp (funcargs_reload): Delete.
4571 (top level): Don't call it.
4572 * gdb.base/opaque.exp: Remove mips-idt restarts.
4573 * gdb.base/ptype.exp: Remove mips-idt xfails.
4574 * gdb.base/scope.exp: Remove mips-idt restarts.
4575 * gdb.base/sepdebug.exp: Remove mips-idt references.
4576 * gdb.base/watchpoint.exp (maybe_clean_restart)
4577 (maybe_reinitialize): Delete.
4578 (test_disabling_watchpoints, test_disabling_watchpoints)
4579 (test_watchpoint_triggered_in_syscall)
4580 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4581 Don't call them.
4582
57008375
JK
45832012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4584
4585 * gdb.server/server-exec-info.exp: New file.
4586
4a2d9c08
PA
45872012-02-10 Pedro Alves <palves@redhat.com>
4588
4589 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
4590 always non-empty.
4591 (test_attach): Always pass $exec to test_attach_gdb.
4592
09fa21bd
TT
45932012-02-08 Tom Tromey <tromey@redhat.com>
4594
4595 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
4596 before inferior is started.
4597
f0823d2c
TT
45982012-02-07 Tom Tromey <tromey@redhat.com>
4599
4600 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
4601 Symbol.value.
4602 * gdb.python/py-symbol.c (qq): Set default value.
4603
46042012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
4605
4606 * gdb.python/py-symbol.c (qq): New global.
4607 * gdb.python/py-symbol.exp: Add test for frame-less
4608 lookup_symbol.
4609 * gdb.python/py-symtab.exp: Fix line number.
4610
f7e44f65
JB
46112012-02-03 Joel Brobecker <brobecker@adacore.com>
4612
4613 * gdb.ada/mi_task_arg: New testcase.
4614
4c9ed63c
PA
46152012-02-02 Pedro Alves <palves@redhat.com>
4616
4617 * gdb.reverse/until-precsave.exp: Also put "record save" under the
4618 extended timeout.
4619
c0b9f2c6
PA
46202012-02-02 Pedro Alves <palves@redhat.com>
4621
4622 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
4623 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
4624
5f8cefd7
PA
46252012-02-02 Pedro Alves <palves@redhat.com>
4626
4627 * gdb.base/term.exp: Rewrite.
4628 * gdb.base/term.c: New.
4629
2f3a2569
PA
46302012-02-02 Pedro Alves <palves@redhat.com>
4631
4632 * gdb.base/default.exp (run "r" abbreviation, run): Add
4633 extended-remote expected output.
4634
f149aabd
TT
46352012-02-02 Tom Tromey <tromey@redhat.com>
4636
4637 * gdb.cp/dispcxx.exp: New file.
4638 * gdb.cp/dispcxx.cc: New file.
4639
03bef283
TT
46402012-02-01 Tom Tromey <tromey@redhat.com>
4641
4642 * gdb.base/jit-simple.exp: New file.
4643 * gdb.base/jit-simple.c: New file.
4644
a79b18b5
YQ
46452012-01-30 Yao Qi <yao@codesourcery.com>
4646
4647 * gdb.base/skip.exp: Make test result unique.
4648
f0d1a53e
JK
46492012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4650
4651 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
4652 compatibility with valgrind-3.7.0.
4653
4b3c9f41
PA
46542012-01-27 Pedro Alves <palves@redhat.com>
4655
4656 * gdb.base/watchpoint.exp (no_hw): New global.
4657 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
4658 disable hw watchpoints.
4659 (test_wide_location_1, test_wide_location_2): If no_hw is set,
4660 don't expect hw watchpoints.
4661 (no_hw_watchpoints): Always clean restart.
4662 (do_tests): New procedure, factored out from the top level.
4663 (top level): Run tests twice. Once with hw watchpoints enabled,
4664 another time with hw watchpoints disabled.
4665
a13491c8
PA
46662012-01-27 Pedro Alves <palves@redhat.com>
4667
4668 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
4669 out from the top level.
4670 (top level): Call it instead.
4671
f2c8a051
PA
46722012-01-27 Pedro Alves <palves@redhat.com>
4673
4674 * gdb.base/watchpoint.exp (top level): Re-enable hardware
4675 watchpoints sooner.
4676
654d7a9e
PA
46772012-01-27 Pedro Alves <palves@redhat.com>
4678
4679 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
4680
274f47f3
PA
46812012-01-27 Pedro Alves <palves@redhat.com>
4682
4683 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
4684 "You may have requested too many hardware
4685 breakpoints/watchpoints".
4686
e4d63ba2
PA
46872012-01-27 Pedro Alves <palves@redhat.com>
4688
4689 * gdb.base/watchpoint.exp (maybe_clean_restart)
4690 (maybe_reinitialize): New.
4691 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
4692 expect "hit N times".
4693 (test_disabling_watchpoints, test_complex_watchpoint)
4694 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4695 Call maybe_clean_restart.
4696 (top level): Use clean_restart. Remove "mips-idt-*"
4697 reinitialization.
4698
dbd95daf
PA
46992012-01-27 Pedro Alves <palves@redhat.com>
4700
4701 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
4702
f3ad2025
PA
47032012-01-27 Pedro Alves <palves@redhat.com>
4704
4705 * gdb.base/watchpoint.exp: Clean restart after tests that don't
4706 require `initialize' anymore. Remove unnecessary `initialize'
4707 calls.
4708
100aa3ae
PA
47092012-01-27 Pedro Alves <palves@redhat.com>
4710
4711 * gdb.base/watchpoint.exp (wp_set): Delete.
4712 (initialize, test_simple_watchpoint, top level): Remove dead code.
4713
c79a8e11
PA
47142012-01-27 Pedro Alves <palves@redhat.com>
4715
4716 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
4717 typo.
4718
048fe15a
PA
47192012-01-27 Pedro Alves <palves@redhat.com>
4720
4721 * config/extended-gdbserver.exp: New file.
4722 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
4723 comment.
4724 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
4725 * boards/native-extended-gdbserver.exp: New file.
4726
4033a6bf
PA
47272012-01-26 Pedro Alves <palves@redhat.com>
4728
4729 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
4730 and gdb_test_multiple.
4731
3d7f4b81
PA
47322012-01-26 Pedro Alves <palves@redhat.com>
4733
4734 Make test messages unique, and more identifiable.
4735 * gdb.multi/watchpoint-multi.exp: Change test messages.
4736
484abf42
TT
47372012-01-25 Tom Tromey <tromey@redhat.com>
4738
4739 * gdb.base/solib-disc.exp: Fix regexps.
4740
edcc5120
TT
47412012-01-24 Tom Tromey <tromey@redhat.com>
4742
4743 * lib/mi-support.exp (mi_expect_stop): Add special case for
4744 solib-event.
4745 * gdb.base/catch-load-so.c: New file.
4746 * gdb.base/catch-load.exp: New file.
4747 * gdb.base/catch-load.c: New file.
4748 * gdb.base/break-interp.exp (reach_1): Update regexp.
4749
30b91c90
JK
47502012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4751
4752 Fix fuzzy results.
4753 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
4754 lpsimple and func.
4755
53fe1783
GB
47562012-01-24 Gary Benson <gbenson@redhat.com>
4757
4758 Delete #if 0'd out code.
4759 * gdb.base/default.exp (info catch): Remove.
4760 * gdb.base/gdb_history (info catch): Likewise.
4761 * gdb.base/help.exp (info catch): Likewise.
4762
d0d8b0c6
JK
47632012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4764
4765 Fix watchpoints to be specific for each inferior.
4766 * gdb.multi/watchpoint-multi.c: New file.
4767 * gdb.multi/watchpoint-multi.exp: New file.
4768
4403d8e9
JK
47692012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4770
4771 Fix watchpoints across inferior fork.
4772 * gdb.threads/watchpoint-fork-child.c: New file.
4773 * gdb.threads/watchpoint-fork-mt.c: New file.
4774 * gdb.threads/watchpoint-fork-parent.c: New file.
4775 * gdb.threads/watchpoint-fork-st.c: New file.
4776 * gdb.threads/watchpoint-fork.exp: New file.
4777 * gdb.threads/watchpoint-fork.h: New file.
4778
050a2e1d
PA
47792012-01-23 Pedro Alves <palves@redhat.com>
4780
4781 * gdb.base/call-signal-resume.exp: Allow output after "return".
4782
6a52fb62
PA
47832012-01-20 Pedro Alves <palves@redhat.com>
4784
4785 * gdb.python/py-finish-breakpoint.py: Fix typo.
4786
145b16a9
UW
47872012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
4788
4789 * gdb.base/info-proc.exp: Also run on remote targets. Main
4790 "info proc" command is now always present; whether target supports
4791 actual info proc operation is detected when attempting to issue
4792 the command.
4793
26f6125e
JK
47942012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4795
4796 * .gdbinit: Remove.
4797
eb5227ce
PA
47982012-01-19 Pedro Alves <palves@redhat.com>
4799
4800 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
4801 look at the funtions' returns.
4802 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
4803 (jprint.print(int, int)): Change return type to int. Adjust.
4804
1db33378
PP
48052012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4806
4807 PR gdb/9538
4808 * gdb.base/sepdebug.exp: New test.
4809
b9736cf8
PA
48102012-01-18 Pedro Alves <palves@redhat.com>
4811
4812 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
4813 Allow output before ^done.
4814
4aac40c8
TT
48152012-01-16 Tom Tromey <tromey@redhat.com>
4816
4817 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
4818 Add tests for relative directory.
4819
cafec441
TT
48202012-01-16 Tom Tromey <tromey@redhat.com>
4821
4822 * gdb.base/printcmds.c (enum flag_enum): New.
4823 (three): New global.
4824 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
4825 enum printing.
4826 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
4827 FlagEnumerationPrinter.
4828 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
4829 * gdb.python/py-pp-maint.c (enum flag_enum): New.
4830 (fval): New global.
4831
abcc4978
PA
48322012-01-16 Pedro Alves <palves@redhat.com>
4833
4834 * lib/gdb.exp (banned_procedures): New variable.
4835 (banned_variables_traced): Rename to ...
4836 (banned_traced): ... this.
4837 (gdb_init): Also trace banned procedures.
4838 (gdb_finish): Also untrace banned procedures.
4839
97ccebe8
PA
48402012-01-16 Pedro Alves <palves@redhat.com>
4841
4842 Remove all calls to strace.
4843
2af7517b
JK
48442012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4845
4846 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
4847 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
4848
9241a8bc
PP
48492012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4850
4851 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
4852 * gdb.base/pie-execl.exp: Likewise.
4853
3848a17f
KS
48542012-01-12 Keith Seitz <keiths@redhat.com>
4855
4856 PR mi/10586
4857 * gdb.mi/var-cmd.c (struct anonymous): New structure.
4858 (do_anonymous_type_tests): New function.
4859 (main): Call do_anonymous_type_tests.
4860 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
4861 (verify_everything): New procedure.
4862 * gdb.mi/mi-var-cp.cc (class A): New class.
4863 (anonymous_structs_and_unions): New function.
4864 (main): Call anonymous_structs_and_unions.
4865 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
4866 (verify_everything): New procedure.
4867
440e2fca
KS
48682012-01-12 Keith Seitz <keiths@redhat.com>
4869
4870 * lib/mi-support.exp: Expand comments about PATH_EXPR.
4871 (varobj_tree::get_path_expr): Assume that all varobjs are
4872 compound unless they are known simple types.
4873 Adjust path expressions based on parent type, path parent type,
4874 and tree language.
4875 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
4876 the root varobj.
4877 (mi_walk_varobj_tree): Add LANGUAGE parameter.
4878
675399c9
PA
48792012-01-11 Pedro Alves <palves@redhat.com>
4880
4881 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
4882 core files on this machine" anymore.
4883
97ddaa9b
PH
48842012-01-11 Paul Hilfinger <hilfingr@adacore.com>
4885
4886 * gdb.base/watchpoint.c (recurser): Initialize local_x.
4887 (main): Repeat recurser call.
4888 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
4889 equivalent to 'local_x'.
4890
ea733575 48912012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 4892 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
4893
4894 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
4895
2ca0b532
PA
48962012-01-05 Pedro Alves <alves.ped@gmail.com>
4897
4898 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
4899 * gdb.python/py-events.c (first): Add bits for new "step N" test.
4900 * gdb.python/py-events.exp: Test that "step N" tripping on a
4901 breakpoint emits a breakpoint event.
4902
6e681866
JB
49032012-01-03 Joel Brobecker <brobecker@adacore.com>
4904
4905 * gdb.base/auxv.exp: Reformat the copyright notice.
4906
3c2d6aff
YQ
49072012-01-03 Yao Qi <yao@codesourcery.com>
4908
4909 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
4910 (strace_trace_on_diff_addr): New.
4911 * gdb.trace/strace.c: (main): Add two local variables.
4912
0852fee3
UW
49132011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
4914
4915 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
4916 * gdb.cell/gcore.exp: Likewise.
4917 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
4918 to verify the correct instance of main is selected.
4919
12c3e59c
JB
49202012-01-02 Joel Brobecker <brobecker@adacore.com>
4921
4922 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
4923 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
4924 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
4925 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
4926 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
4927 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
4928 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
4929 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
4930 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
4931 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
4932 gdb.threads/thread_check.c: Reformat copyright header.
4933
c0f378ec
EBM
49342011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
4935
e4a7ca93 4936 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
4937 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
4938 is not enabled.
4939
3bc96cfb
JK
49402011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4941
4942 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
4943 parameter to self_exec, adjust the function.
4944 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
4945 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
4946 (set var do_exit = 0): Remove test.
4947 (newline at end of file): Add one.
4948
095bcf5e
JB
49492011-12-27 Joel Brobecker <brobecker@adacore.com>
4950
4951 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
4952 New files.
4953
18d19bd1
JK
49542011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4955
4956 Fix racy FAILs.
4957 * gdb.threads/fork-thread-pending.c (barrier): New variable.
4958 (thread_function, thread_forker): Call pthread_barrier_wait for it.
4959 (main): Call pthread_barrier_init for it.
4960
e809353a
JK
49612011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4962
4963 Fix double send_gdb leading to racy FAILs.
4964 * gdb.base/break.exp (set silent break bp_location1): Replace
4965 3x send_gdb and gdb_expect by gdb_test.
4966 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
4967 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
4968 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
4969 instead of send_gdb. Twice.
4970 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
4971 3x send_gdb and gdb_expect by gdb_test.
4972 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
4973
da8cb7ec
JK
49742011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4975
4976 * gdb.linespec/linespec.exp: Compile using {c++}.
4977
ae1a303e
JK
49782011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4979
4980 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
4981 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
4982 (verify GCC PR debug/51668): New test.
4983
cc72b2a2
KP
49842011-12-23 Kevin Pouget <kevin.pouget@st.com>
4985
4986 Introduce gdb.FinishBreakpoint in Python.
4987 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
4988 py-finish-breakpoint2
4989 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
4990 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
4991 instead of line number.
4992 * gdb.python/py-finish-breakpoint.c: New file.
4993 * gdb.python/py-finish-breakpoint.exp: New file.
4994 * gdb.python/py-finish-breakpoint.py: New file.
4995 * gdb.python/py-finish-breakpoint2.cc: New file.
4996 * gdb.python/py-finish-breakpoint2.exp: New file.
4997 * gdb.python/py-finish-breakpoint2.py: New file.
4998
3b7962f9
JK
49992011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5000
5001 Partial fix of compatibility with gcc-4.7.
5002 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
5003 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
5004 Add comment to add a PASS case in the future.
5005
6538471c
JK
5006 Fix compatibility with gcc-4.7.
5007 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
5008
7052e42c
UW
50092011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
5010
5011 PR tdep/12797
5012 * gdb.base/callfuncs.exp: Remove KFAIL.
5013
9ac7f98e
JB
50142011-12-21 Joel Brobecker <brobecker@adacore.com>
5015
5016 * gdb.ada/task_bp: New testcase.
5017
f6eeced0
JK
50182011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5019
5020 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
5021 -DNO_SECTIONS.
5022 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
5023
72225e17
JK
50242011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5025
5026 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
5027 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
5028 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
5029 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
5030 conditional for gcc <= 4.5.
5031
13ac8d2c
JK
50322011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5033
5034 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
5035 by XFAIL.
5036 * gdb.cp/static-method.exp (info addr A::func())
5037 (list static-method.cc:xxx::(anonymous namespace)::A::func)
5038 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5039 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5040 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
5041 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
5042 (test value of F in k3_m): Likewise.
5043 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
5044 Likewise.
5045
049682ba
JK
50462011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5047
5048 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
5049 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
5050 Remove.
5051 * gdb.threads/attachstop-mt.c: Remove.
5052 * gdb.threads/attachstop-mt.exp: Remove.
5053
2c9d8796
MK
50542011-12-17 Mark Kettenis <kettenis@gnu.org>
5055
5056 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
5057
e0f9f062
DE
50582011-12-16 Doug Evans <dje@google.com>
5059
f4aa2101 5060 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
5061 * boards/native-gdbserver.exp: New file.
5062
e0f9f062
DE
5063 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
5064 gdbserver output.
5065 (gdbserver_default_get_remote_address): New function.
5066 (gdbserver_start): Call gdb,get_remote_address to compute argument
5067 to "target remote" command.
5068
80b6e756
PM
50692011-12-16 Phil Muldoon <pmuldoon@redhat.com>
5070
1c3ad6ab 5071 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
5072 python print-stack. Add set/show python print-stack
5073 off|full|message tests.
5074
1576bd00
YQ
50752011-12-15 Yao Qi <yao@codesourcery.com>
5076
5077 * gdb.trace/strace.c: New
5078 * gdb.trace/strace.exp: New.
5079
d6a0f6e0
TT
50802011-12-14 Tom Tromey <tromey@redhat.com>
5081
5082 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
5083
31015e1d
DE
50842011-12-14 Doug Evans <dje@google.com>
5085
5086 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
5087
7b50312a
PA
50882011-12-14 Pedro Alves <pedro@codesourcery.com>
5089
5090 PR threads/10729
5091
5092 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 5093 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 5094
924437bc
PA
50952011-12-13 Pedro Alves <pedro@codesourcery.com>
5096 Doug Evans <dje@google.com>
5097
5098 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
5099 (clean_restart): Remove references to the gdb_stub target board
5100 variable.
5101 (gdb_step_for_stub): Delete.
5102
5103 * gdb.base/annota1.exp: Remove all references to [target_info
5104 exists gdb_stub], gdb_step_for_stub and usestubs.
5105 * gdb.base/annota3.exp: Ditto.
5106 * gdb.base/async.exp: Ditto.
5107 * gdb.base/break.exp: Ditto.
5108 * gdb.base/code-expr.exp: Ditto.
5109 * gdb.base/commands.exp: Ditto.
5110 * gdb.base/completion.exp: Ditto.
5111 * gdb.base/condbreak.exp: Ditto.
5112 * gdb.base/consecutive.exp: Ditto.
5113 * gdb.base/cvexpr.exp: Ditto.
5114 * gdb.base/define.exp: Ditto.
5115 * gdb.base/display.exp: Ditto.
5116 * gdb.base/ena-dis-br.exp: Ditto.
5117 * gdb.base/environ.exp: Ditto.
5118 * gdb.base/gnu-ifunc.exp: Ditto.
5119 * gdb.base/maint.exp: Ditto.
5120 * gdb.base/pending.exp: Ditto.
5121 * gdb.base/sect-cmd.exp: Ditto.
5122 * gdb.base/sepdebug.exp: Ditto.
5123 * gdb.base/unload.exp: Ditto.
5124 * gdb.base/watchpoint-solib.exp: Ditto.
5125 * gdb.cp/annota2.exp: Ditto.
5126 * gdb.cp/annota3.exp: Ditto.
5127 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
5128 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
5129 * gdb.mi/mi-pending.exp: Ditto.
5130 * gdb.trace/circ.exp: Ditto.
5131 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
5132 * gdb.base/list.exp: Ditto.
5133
5134 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
5135 breakpoint function and all references to the usestubs macro.
5136 * gdb.base/exprs.c: Ditto.
5137 * gdb.base/freebpcmd.c: Ditto.
5138 * gdb.base/bitfields.c: Ditto.
5139 * gdb.base/bitfields2.c: Ditto.
5140 * gdb.base/break.c: Ditto.
5141 * gdb.base/call-sc.c: Ditto.
5142 * gdb.base/call-signals.c: Ditto.
5143 * gdb.base/callfuncs.c: Ditto.
5144 * gdb.base/charset.c: Ditto.
5145 * gdb.base/consecutive.c: Ditto.
5146 * gdb.base/constvars.c: Ditto.
5147 * gdb.base/funcargs.c: Ditto.
5148 * gdb.base/int-type.c: Ditto.
5149 * gdb.base/interrupt.c: Ditto.
5150 * gdb.base/langs0.c: Ditto.
5151 * gdb.base/list0.c: Ditto.
5152 * gdb.base/mips_pro.c: Ditto.
5153 * gdb.base/miscexprs.c: Ditto.
5154 * gdb.base/nodebug.c: Ditto.
5155 * gdb.base/opaque0.c: Ditto.
5156 * gdb.base/pointers.c: Ditto.
5157 * gdb.base/printcmds.c: Ditto.
5158 * gdb.base/ptype.c: Ditto.
5159 * gdb.base/recurse.c: Ditto.
5160 * gdb.base/reread1.c: Ditto.
5161 * gdb.base/reread2.c: Ditto.
5162 * gdb.base/restore.c: Ditto.
5163 * gdb.base/return.c: Ditto.
5164 * gdb.base/run.c: Ditto.
5165 * gdb.base/scope0.c: Ditto.
5166 * gdb.base/sepdebug.c: Ditto.
5167 * gdb.base/setshow.c: Ditto.
5168 * gdb.base/setvar.c: Ditto.
5169 * gdb.base/sigall.c: Ditto.
5170 * gdb.base/signals.c: Ditto.
5171 * gdb.base/structs.c: Ditto.
5172 * gdb.base/structs2.c: Ditto.
5173 * gdb.base/testenv.c: Ditto.
5174 * gdb.base/twice.c: Ditto.
5175 * gdb.base/unwindonsignal.c: Ditto.
5176 * gdb.base/watchpoint.c: Ditto.
5177 * gdb.base/watchpoints.c: Ditto.
5178 * gdb.base/whatis.c: Ditto.
5179 * gdb.cp/classes.cc: Ditto.
5180 * gdb.cp/cplusfuncs.cc: Ditto.
5181 * gdb.cp/derivation.cc: Ditto.
5182 * gdb.cp/formatted-ref.cc: Ditto.
5183 * gdb.cp/misc.cc: Ditto.
5184 * gdb.cp/overload.cc: Ditto.
5185 * gdb.cp/ovldbreak.cc: Ditto.
5186 * gdb.cp/ref-params.cc: Ditto.
5187 * gdb.cp/ref-types.cc: Ditto.
5188 * gdb.cp/templates.cc: Ditto.
5189 * gdb.cp/virtfunc.cc: Ditto.
5190 * gdb.hp/gdb.aCC/run.c: Ditto.
5191 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
5192 * gdb.hp/gdb.compat/xdb0.c: Ditto.
5193 * gdb.reverse/consecutive-reverse.c: Ditto.
5194 * gdb.reverse/sigall-reverse.c: Ditto.
5195 * gdb.reverse/until-reverse.c: Ditto.
5196 * gdb.reverse/watch-reverse.c: Ditto.
5197 * gdb.trace/actions.c: Ditto.
5198 * gdb.trace/circ.c: Ditto.
5199 * gdb.trace/collection.c: Ditto.
5200
fabde485
PA
52012011-12-13 Pedro Alves <pedro@codesourcery.com>
5202
5203 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
5204 (func6, func7): New.
5205 (main): Call func6 and func7.
5206 * gdb.base/watchpoint.exp (test_wide_location_1)
5207 (test_wide_location_2): New.
5208 (top level): Re-enable hardware watchpoints if necessary. Call
5209 test_wide_location_1 and test_wide_location_2.
5210
ff7d1690
YQ
52112011-12-11 Yao Qi <yao@codesourcery.com>
5212
5213 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
5214
a6af7abe
JB
52152011-12-11 Joel Brobecker <brobecker@adacore.com>
5216
5217 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
5218 expected output for unsupported case.
5219
61638e15
JK
52202011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5221
5222 PR testsuite/12649
5223 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
5224 Protect gdb_test_multiple by final $gdb_prompt match.
5225
0a00efc3
JK
52262011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5227
5228 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
5229 New variable, new test.
5230 (list static-method.cc:xxx::(anonymous namespace)::A::func)
5231 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5232 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5233 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
5234 them if HAVE_GCC_45682_FIXED is not set.
5235
4511b1ba
YQ
52362011-12-10 Yao Qi <yao@codesourcery.com>
5237
5238 * gdb.trace/status-stop.exp: New.
5239 * gdb.trace/status-stop.c: New.
5240
27949e73
JK
52412011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5242
5243 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
5244 timeout.
5245
d8ea7931
TT
52462011-12-08 Tom Tromey <tromey@redhat.com>
5247
5248 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
5249 condition.
5250
1cc310d2
SS
52512011-12-07 Stan Shebs <stan@codesourcery.com>
5252
5253 * gdb.trace/tfind.exp: Update for output changes.
5254
d482a875
PA
52552011-12-07 Pedro Alves <pedro@codesourcery.com>
5256
5257 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
5258 throws "Cannot insert catchpoints in this configuration".
5259 * gdb.ada/mi_catch_ex.exp: Likewise.
5260
f0ba3972
PA
52612011-12-06 Pedro Alves <pedro@codesourcery.com>
5262
5263 * gdb.base/break-always.exp: Test changing memory at addresses
5264 with breakpoints inserted.
5265
f8eba3c6
TT
52662011-12-06 Joel Brobecker <brobecker@acacore.com>
5267
6fdff2c5
PA
5268 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
5269 involving a fully qualified function name.
f8eba3c6
TT
5270
52712011-12-06 Tom Tromey <tromey@redhat.com>
5272
5273 * gdb.ada/homonym.exp: Add three breakpoint tests.
5274
52752011-12-06 Tom Tromey <tromey@redhat.com>
5276
5277 * gdb.base/solib-weak.exp (do_test): Remove kfail.
5278 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
5279 * gdb.objc/objcdecode.exp: Update for output changes.
5280 * gdb.linespec/linespec.exp: New file.
5281 * gdb.linespec/lspec.cc: New file.
5282 * gdb.linespec/lspec.h: New file.
5283 * gdb.linespec/body.h: New file.
5284 * gdb.linespec/base/two/thefile.cc: New file.
5285 * gdb.linespec/base/one/thefile.cc: New file.
5286 * gdb.linespec/Makefile.in: New file.
5287 * gdb.cp/templates.exp (test_template_breakpoints): Update for
5288 output changes.
5289 * gdb.cp/re-set-overloaded.exp: Remove kfail.
5290 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
5291 makes one breakpoint.
5292 * gdb.cp/method2.exp (test_break): Update for output changes.
5293 * gdb.cp/mb-templates.exp: Update for output changes.
5294 * gdb.cp/mb-inline.exp: Update for output changes.
5295 * gdb.cp/mb-ctor.exp: Update for output changes.
5296 * gdb.cp/ovsrch.exp: Use fully-qualified names.
5297 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
5298 has multiple matches.
5299 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
5300 error message change.
5301 * gdb.base/list.exp (test_list_filename_and_number): Update for
5302 error message change.
5303 * gdb.base/break.exp: Disable pending breakpoints. Update for
5304 output changes.
5305 * configure.ac: Add gdb.linespec.
5306 * configure: Rebuild.
5307 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
5308
c642a434
UW
53092011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
5310
5311 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
5312 last_break register on s390*-*-* targets.
5313
b18003d1
JB
53142011-12-06 Joel Brobecker <brobecker@adacore.com>
5315
5316 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
5317 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
5318 of parameter X in procedure Foo.
5319
fe96589c
SS
53202011-12-05 Stan Shebs <stan@codesourcery.com>
5321
5322 * gdb.trace/tfind.exp: Update help string matches.
5323
1820ab47
JK
53242011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5325
5326 * gdb.server/ext-run.exp (get process list): Accept also systemd
5327 as PID 1.
5328
e11ac3a3
JK
53292011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5330 Pedro Alves <pedro@codesourcery.com>
5331
5332 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
5333 starting GDB.
5334 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
5335 $use_gdb_stub.
5336 * gdb.base/display.exp: Likewise.
5337 * gdb.base/ending-run.exp: Likewise.
5338 * gdb.base/list.exp (test_listsize): Likewise.
5339 * gdb.base/setshow.exp: Likewise.
5340 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
5341 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
5342 check by global $use_gdb_stub.
5343 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
5344 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
5345 (default_gdb_init): Unset global $use_gdb_stub.
5346 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
5347 by global $use_gdb_stub.
5348 * lib/gdbserver-support.exp: Extend comments for set_board_info
5349 gdb_protocol and gdb,socketport.
5350 (gdbserver_start_extended): Set global gdbserver_protocol and
5351 gdbserver_gdbport. Clear global use_gdb_stub.
5352 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
5353 from target use_gdb_stub.
5354 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
5355
1d41d75c
DE
53562011-12-03 Doug Evans <dje@google.com>
5357
5358 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
5359 (gdb_step_for_stub): Add comments.
5360
d6d7a51a
MR
53612011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
5362
5363 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
5364 to the caller.
5365 (gdb_test_multiple): Likewise.
5366
05acf274
JK
53672011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5368
5369 Fix gdb.mi/mi-solib.exp without system debug info installed.
5370 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
5371 expect attribute, return 0 for it. Update comments.
5372
2268b414
JK
53732011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5374
5375 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
5376 (corrupted list): Adjust the expectation.
5377
585861ea
JK
53782011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5379
5380 PR threads/13448
5381 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
5382 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
5383 * gdb.threads/tls-var-main.c: New file.
5384 * gdb.threads/tls-var.c: New file.
5385 * gdb.threads/tls-var.exp: New file.
5386
968643aa
JK
53872011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5388
5389 PR testsuite/12649
5390 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
5391 Protect gdb_test_multiple by final $gdb_prompt match.
5392 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
5393 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
5394 (test_tracepoints): Likewise.
5395
9750bca9
JK
53962011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5397
5398 PR breakpoints/13346
5399 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
5400 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
5401 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
5402
ac1349b7
JB
54032011-12-01 Joel Brobecker <brobecker@adacore.com>
5404
5405 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
5406 * gdb.ada/homonym/homonym.adb: For use of all types defined
5407 locally inside both Get_Value subprograms.
5408
26d44faf
JK
54092011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5410
5411 Fix racy FAILs.
5412 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
5413 of send_gdb.
5414
514f6425
UW
54152011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5416
5417 * gdb.base/testenv.exp: Skip on remote targets. Unset global
5418 environment variable after test completed.
5419
4255c8d2
UW
54202011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5421
5422 * gdb.base/solib-nodir.exp: Skip if remote target.
5423 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
5424 application. Call gdb_load_shlibs.
5425 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
5426
a35ad96a
JB
54272011-11-29 Joel Brobecker <brobecker@adacore.com>
5428
5429 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
5430
1a1d5513
JB
54312011-11-28 Joel Brobecker <brobecker@adacore.com>
5432
5433 * gdb.ada/fullname_bp: New testcase.
5434
50b4ddf8
JK
54352011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5436
5437 PR testsuite/12649
5438 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
5439 Wrap send_gdb into a new gdb_test.
5440
fb0aec57
JK
5441 Code cleanup.
5442 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
5443 Convert send_gdb and gdb_expect to gdb_test_multiple.
5444
2376d946
JK
54452011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5446
5447 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
5448
1eec78bd
KS
54492011-11-23 Keith Seitz <keiths@redhat.com>
5450
5451 * lib/mi-support.exp (varobj_tree): New namespace and procs.
5452 (mi_varobj_tree_test_children_callback): New proc.
5453 (mi_walk_varobj_tree): New proc.
5454
36dfb11c
TT
54552011-11-22 Tom Tromey <tromey@redhat.com>
5456
5457 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
5458 Add "use_mi_command" argument.
5459 (mi_run_cmd, mi_run_with_cli): New procs.
5460 * gdb.mi/solib-lib.c: New file.
5461 * gdb.mi/solib-main.c: New file.
5462 * gdb.mi/mi-solib.exp: New file.
5463
0e965dd0
DE
54642011-11-21 Doug Evans <dje@google.com>
5465
5466 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
5467 _Unwind_DebugHook is missing.
5468
f196051f
SS
54692011-11-20 Stan Shebs <stan@codesourcery.com>
5470
5471 * gdb.trace/tstatus.exp: New.
5472 * gdb.trace/actions.c: Include string.h.
5473
bfccc43c
YQ
54742011-11-18 Yao Qi <yao@codesourcery.com>
5475
5476 * gdb.trace/pending.exp: New.
5477 * gdb.trace/pending.c: New.
5478 * gdb.trace/pendshr1.c: New.
5479 * gdb.trace/pendshr2.c: New.
5480 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
5481 tracepoint location becomes pending.
5482 (tracepoint_change_loc_2): New.
5483
73cd8ab1
DM
54842011-11-16 David S. Miller <davem@davemloft.net>
5485
5486 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
5487 target is sparc*-*-linux*
5488
77426730
PK
54892011-11-15 Paul Koning <paul_koning@dell.com>
5490
5491 * gdb.python/py-type.exp: New testcases for exceptions on scalar
5492 types.
5493
ed59ded5
DE
54942011-11-14 Doug Evans <dje@google.com>
5495
5496 * gdb.base/shell.exp: New file.
5497
405f8e94
SS
54982011-11-14 Stan Shebs <stan@codesourcery.com>
5499
5500 * gdb.trace/ftrace.c: New.
5501 * gdb.trace/ftrace.exp: New.
5502
1e4d1764
YQ
55032011-11-14 Yao Qi <yao@codesourcery.com>
5504
5505 * gdb.trace/change-loc-1.c: New.
5506 * gdb.trace/change-loc-2.c: New.
5507 * gdb.trace/change-loc.c: New.
5508 * gdb.trace/change-loc.exp: New.
5509 * gdb.trace/change-loc.h: New.
5510 * gdb.trace/trace-break.c (marker): Define new symbol.
5511 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 5512 New.
1e4d1764
YQ
5513 (break_trace_same_addr_6): New.
5514
71eba9c2 55152011-11-12 Matt Rice <ratmice@gmail.com>
5516
5517 * gdb.base/info-macros.exp: Make tests for info definitions
5518 test info macro. Add tests for info macro argument processing.
5519 Rename a few tests.
5520
1d93e29a
KS
55212011-11-11 Keith Seitz <keiths@redhat.com>
5522
5523 PR gdb/12843
5524 * gdb.base/linespecs.exp: New file.
5525
a4b5b48a
DE
55262011-11-11 Doug Evans <dje@google.com>
5527
5528 * gdb.threads/print-threads.exp: Extend timeout for slower
5529 tests.
5530
f6b47be4
DE
55312011-11-10 Doug Evans <dje@google.com>
5532
792a0230
DE
5533 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
5534 "record to end of main" test.
5535
f6b47be4
DE
5536 * gdb.python/py-type.c (TS): New typedef.
5537 (ts): New global.
5538 * gdb.python/py-type.exp: Test field list of typedef.
5539
22355c90
JB
55402011-11-10 Joel Brobecker <brobecker@adacore.com>
5541
5542 * gdb.ada/small_reg_param: New testcase.
5543
a7860e76
TT
55442011-11-09 Tom Tromey <tromey@redhat.com>
5545
5546 * gdb.cp/destrprint.exp: New file.
5547 * gdb.cp/destrprint.cc: New file.
5548
72a2e3dc
MI
55492011-11-08 Meador Inge <meadori@codesourcery.com>
5550
5551 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
5552 (switch_stack_to_other): New test function.
5553 * gdb.arch/thumb-prologue.exp: New test cases.
5554
c7195df2 55552011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
5556
5557 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
5558
d3895d7d
YQ
55592011-11-08 Yao Qi <yao@codesourcery.com>
5560
5561 * gdb.exp (supports_process_record): New.
5562 (supports_reverse): New.
5563 * gdb.reverse/break-precsave.exp: Call support_process_record
5564 to run test conditionally.
5565 * gdb.reverse/consecutive-precsave.exp: Likewise.
5566 * gdb.reverse/i386-precsave.exp: Likewise.
5567 * gdb.reverse/machinestate-precsave.exp: Likewise.
5568 * gdb.reverse/solib-precsave.exp: Likewise.
5569 * gdb.reverse/step-precsave.exp: Likewise.
5570 * gdb.reverse/until-precsave.exp: Likewise.
5571 * gdb.reverse/watch-precsave.exp: Likewise.
5572 * gdb.reverse/break-reverse.exp: Call support_reverse to run
5573 test conditionally.
5574 * gdb.reverse/consecutive-reverse.exp: Likewise.
5575 * gdb.reverse/finish-precsave.exp: Likewise.
5576 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5577 * gdb.reverse/finish-reverse.exp: Likewise.
5578 * gdb.reverse/i386-reverse.exp: Likewise.
5579 * gdb.reverse/i386-sse-reverse.exp: Likewise.
5580 * gdb.reverse/machinestate.exp: Likewise.
5581 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
5582 * gdb.reverse/sigall-precsave.exp: Likewise.
5583 * gdb.reverse/sigall-reverse.exp: Likewise.
5584 * gdb.reverse/solib-reverse.exp: Likewise.
5585 * gdb.reverse/step-reverse.exp: Likewise.
5586 * gdb.reverse/until-reverse.exp: Likewise.
5587 * gdb.reverse/watch-reverse.exp: Likewise.
5588
a59306a3
YQ
55892011-11-05 Yao Qi <yao@codesourcery.com>
5590
5591 * gdb.trace/trace-break.exp: Add test on setting two
5592 fast tracepoints at the same address.
5593
87769f59
JK
55942011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5595
5596 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
5597
3065dfb6
SS
55982011-11-02 Stan Shebs <stan@codesourcery.com>
5599
5600 * gdb.trace/collection.c: Add code using strings.
5601 * gdb.trace/collection.exp: Add tests of string collection.
5602
89e208db
JK
56032011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5604
5605 * gdb.base/skip-solib.exp (executable_main): New variable.
5606 (binfile_main): Base it on that.
5607 Use $executable_main in clean_restart calls. Drop gdb_exit and
5608 gdb_start calls.
5609
405e54e9
JK
56102011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5611
5612 Fix racy FAILs.
5613 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
5614 breakpoint_re globals import by async. Set string_regex to .* for
5615 async. Remove the optional thread_selected_re and breakpoint_re
5616 globals expectations.
5617
58e8570a
JM
56182011-11-01 Joseph Myers <joseph@codesourcery.com>
5619
5620 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
5621 well as Cygwin.
5622
7b35ec7f 56232011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
5624
5625 Add tests for skip command.
89e208db
JK
5626 * gdb.base/skip-solib-lib.c: New
5627 * gdb.base/skip-solib-main.c: New
5628 * gdb.base/skip-solib.exp: New
5629 * gdb.base/skip.c: New
5630 * gdb.base/skip.exp: New
5631 * gdb.base/skip1.c: New
5632 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 5633
b9fd1791
PA
56342011-10-31 Yao Qi <yao@codesourcery.com>
5635 Pedro Alves <pedro@codesourcery.com>
5636
6fdff2c5
PA
5637 * gdb.trace/trace-break.c: New.
5638 * gdb.trace/trace-break.exp: New.
b9fd1791 5639
4323fecc
JK
56402011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5641
5642 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
5643 break-here-2.
5644
0e5bf2a8
PA
56452011-10-28 Pedro Alves <pedro@codesourcery.com>
5646
5647 * gdb.threads/no-unwaited-for-left.c: New.
5648 * gdb.threads/no-unwaited-for-left.exp: New.
5649 * gdb.threads/non-ldr-exc-1.c: New.
5650 * gdb.threads/non-ldr-exc-1.exp: New.
5651 * gdb.threads/non-ldr-exc-2.c: New.
5652 * gdb.threads/non-ldr-exc-2.exp: New.
5653 * gdb.threads/non-ldr-exc-3.c: New.
5654 * gdb.threads/non-ldr-exc-3.exp: New.
5655 * gdb.threads/non-ldr-exc-4.c: New.
5656 * gdb.threads/non-ldr-exc-4.exp: New.
5657
3a3dad98
JK
56582011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5659
5660 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
5661 * gdb.base/attach-pie-misread.exp: Likewise.
5662 * gdb.base/break-interp.exp: Likewise.
5663 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
5664 testcases for use_gdb_stub.
5665 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
5666 (continue): New testcase.
5667 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
5668 * gdb.threads/attach-into-signal.exp: Likewise.
5669 * gdb.threads/attach-stopped.exp: Likewise.
5670 * gdb.threads/attachstop-mt.exp: Likewise.
5671
d6a5d40c
PK
56722011-10-28 Paul Koning <paul_koning@dell.com>
5673
5674 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
5675
ca539be8
JK
56762011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5677
5678 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
5679 (mi_gdb_test): Import globals thread_selected_re
5680 and breakpoint_re. Expect them optionally at the regex start.
5681
d234ef5c
DE
56822011-10-27 Doug Evans <dje@google.com>
5683
5684 * gdb.python/python.exp: Test source -s.
5685
ab964825
PK
56862011-10-26 Paul Koning <paul_koning@dell.com>
5687
5688 * gdb.python/lib-types.cc (struct A): New structure.
5689 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 5690
54d8a644
PK
56912011-10-25 Paul Koning <paul_koning@dell.com>
5692
5693 PR python/13327
d234ef5c 5694
54d8a644
PK
5695 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
5696 fetch_lazy method.
5697
b0221781
YQ
56982011-10-24 Yao Qi <yao@codesourcery.com>
5699
5700 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
5701 target is tic6x-*-*.
5702
6cda5a20
JB
57032011-10-21 Joel Brobecker <brobecker@adacore.com>
5704
5705 * gdb.ada/mi_task_info/task_switch.adb: New file.
5706 * gdb.ada/mi_task_info.exp: New file.
5707
5ed9db04
JK
57082011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5709
5710 * gdb.cp/expand-psymtabs-cxx.exp: New file.
5711 * gdb.cp/expand-psymtabs-cxx.cc: New file.
5712
9df2fbc4
PM
57132011-10-20 Phil Muldoon <pmuldoon@redhat.com>
5714
5715 PR python/12656
5716
5717 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
5718 global_block tests.
5719
736086ba
TT
57202011-10-18 Tom Tromey <tromey@redhat.com>
5721
5722 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
5723
4af31552
TT
57242011-10-18 Tom Tromey <tromey@redhat.com>
5725
5726 * gdb.base/source.exp: Don't include full file name in test name.
5727 * gdb.python/python.exp: Don't include full file name in test
5728 name.
5729
43136979
AR
57302011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5731
5732 * gdb.base/attach-pie-noexec.c: New files.
5733 * gdb.base/attach-pie-noexec.exp: New files.
5734
543a9323
JM
57352011-10-17 Joseph Myers <joseph@codesourcery.com>
5736
5737 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
5738 prompt for each extra line in command.
5739
21ae7a4d
JK
57402011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5741
5742 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
5743 Revert the part of:
5744 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5745 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
5746 Change the expected string.
5747
20ec36d9
JK
57482011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5749
5750 Fix results with system glibc debug info installed.
5751 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
5752 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
5753 Accept also __libc_ symbol prefix and no prefix.
5754
6501c2fc
KS
57552011-10-14 Keith Seitz <keiths@redhat.com>
5756
5757 PR c++/13225
5758 * gdb.cp/converts.cc (foo3_1): New function.
5759 (foo3_2): New functions.
5760 * gdb.cp/converts.exp: Add tests for int to pointer conversion
5761 and null pointer conversions of integer constant zero.
5762 Add test to check if all arguments are checked for incompatible
5763 conversion BADNESS.
5764
55b1fd0c
TT
57652011-10-14 Tom Tromey <tromey@redhat.com>
5766
5767 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
5768 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
5769 linespec.
5770
22c05d8a
JK
57712011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5772
5773 Fix internal error regression.
5774 * gdb.dwarf2/implptr-optimized-out.S: New file.
5775 * gdb.dwarf2/implptr-optimized-out.exp: New file.
5776
1d6edc3c
JK
57772011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5778
5779 Fix empty DWARF expressions DATA vs. SIZE conditionals.
5780 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
5781 (loclist): New.
5782 (4): New abbrev.
5783 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
5784 Use prepare_for_testing, remove clean_restart.
5785 (p arraynoloc, p arraycallnoloc): New tests.
5786
9ec72168
JK
57872011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5788
5789 * gdb.cp/namespace-enum.exp (executable): New variable.
5790 (binfile): Use ${objdir}/${subdir}/ prefix.
5791 Use ${executable} for clean_restart.
5792
9c6c53f7
SA
57932011-10-11 Sterling Augustine <saugustine@google.com>
5794
5795 * gdb.cp/Makefile.in: Add namespace-enum test.
5796 * gdb.cp/namespace-enum.exp: New file.
5797 * gdb.cp/namespace-enum.c: New file.
5798 * gdb.cp/namespace-enum-main.c: New file.
5799
fac7ceb3
UW
58002011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
5801
5802 * gdb.python/py-shared.exp: Relax filename check to handle remote:
5803 sysroot.
5804
941b2081
JK
58052011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5806
5807 Reimplement @entry in input expressions.
5808 * gdb.base/exprs.c (v_int_array_init): New variable.
5809 * gdb.base/exprs.exp (print v_int_array_init)
5810 (print *v_int_array_init@1, print *v_int_array_init@2)
5811 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
5812 (print v_int_array_init[1]@1): New tests.
5813
0344e878
JM
58142011-10-10 Joseph Myers <joseph@codesourcery.com>
5815
5816 * gdb.cp/gdb2495.exp: Do not include directories in filename in
5817 expected message.
5818
5a56e9c5
DE
58192011-10-09 Doug Evans <dje@google.com>
5820
5821 * gdb.base/alias.exp: Add tests for alias command.
5822
2bda9cc5
JK
58232011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5824
5825 * gdb.arch/amd64-entry-value.s: New file.
5826 * gdb.mi/mi2-amd64-entry-value.s: New file.
5827
a471c594
JK
58282011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5829
5830 Display @entry parameter values even for references.
5831 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
5832 functions.
5833 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
5834 reference and datap_input.
5835 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
5836 breakpoints.
5837 (continue to breakpoint: entry_reference: reference)
5838 (entry_reference: bt at entry)
5839 (continue to breakpoint: entry_reference: breakhere_reference)
5840 (entry_reference: bt, entry_reference: ptype regparam)
5841 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
5842 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
5843 (entry_reference: p regcopy, entry_reference: p nodataparam)
5844 (entry_reference: p nodataparam@entry): New tests.
5845
36b11add
JK
58462011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5847
5848 Support @entry in input expressions.
5849 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
5850 (entry_stack: p s1@entry, entry_stack: p s2@entry)
5851 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
5852 (tailcall: p j@entry): New tests.
5853 * gdb.cp/koenig.cc (A::entry): New function.
5854 (main): Call it.
5855 * gdb.cp/koenig.exp (p entry (c)): New test.
5856
e18b2753
JK
58572011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5858
5859 Display @entry parameter values (without references).
5860 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
5861 (different, validity, invalid): New functions.
5862 (main): Call them.
5863 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
5864 stacktest, breakhere_stacktest, different, breakhere_different,
5865 breakhere_validity and breakhere_invalid.
5866 (entry: bt): Update for @entry.
5867 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
5868 (entry_validity: *, entry_invalid: *): Many new tests.
5869 * gdb.base/break.exp
5870 (run until breakpoint set at small function, optimized file): Accept
5871 also the @entry suffix.
5872 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
5873 * gdb.mi/mi2-amd64-entry-value.c: New files.
5874 * gdb.mi/mi2-amd64-entry-value.exp: New files.
5875
2d6c5dc2
JK
58762011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5877
5878 Protect entry values against self tail calls.
5879 * gdb.arch/amd64-entry-value.cc (self2, self): New.
5880 (main): Call self.
5881 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
5882 (set debug entry-values 1, self: bt debug entry-values): New tests.
5883
111c6489
JK
58842011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5885
5886 Recognize virtual tail call frames.
5887 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
5888 (amb_b, amb_a): New.
5889 (main): Call a and b.
5890 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
5891 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
5892 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
5893 New tests.
5894
8e3b41a9
JK
58952011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5896
5897 Implement basic support for DW_TAG_GNU_call_site.
5898 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
5899 * gdb.arch/amd64-entry-value.cc: New file.
5900 * gdb.arch/amd64-entry-value.exp: New file.
5901
181cebd4
JK
59022011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5903
5904 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
5905 * gdb.dwarf2/implptr-64bit.S: New file.
5906 * gdb.dwarf2/implptr-64bit.exp: New file.
5907
741f5e3c
JK
59082011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5909
5910 Fix initial language detection with -readnow.
5911 * gdb.cp/readnow-language.cc: New file.
5912 * gdb.cp/readnow-language.exp: New file.
5913
a73d2258
JK
59142011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5915
5916 Fix printed anonymous struct name.
5917 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
5918
af369495
JM
59192011-10-09 Joseph Myers <joseph@codesourcery.com>
5920
5921 * gdb.base/solib-symbol.exp: Do not include directories in
5922 filenames in expected messages.
5923
1fa57852
DE
59242011-10-07 Doug Evans <dje@google.com>
5925
5926 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
5927
bd054e06
KP
59282011-10-07 Kevin Pouget <kevin.pouget@st.com>
5929
5930 Allow Python notification of new object-file loadings.
5931 * gdb.python/py-events.exp: Test newobjfile event.
5932 * gdb.python/py-events.py: Register newobjfile callback.
5933 * gdb.python/py-events.c: Add call to shared library
5934 * gdb.python/py-events-shlib.c: New file.
5935
8031b6f8
JM
59362011-10-06 Joseph Myers <joseph@codesourcery.com>
5937
5938 * gdb.base/fixsection.exp: Do not include directories in filename
5939 in expected message.
5940
7fea6923
PM
59412011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5942
5943 Add tests for passing of environment variables to inferior.
5944 * gdb.base/testenv.c: New test source.
5945 * gdb.base/testenv.exp: New expect test.
5946
687f2a88
PK
59472011-10-04 Paul Koning <paul_koning@dell.com>
5948
5949 * gdb.python/py-value.c (main): Break before return.
5950
cb6be26b
KP
59512011-10-04 Kevin Pouget <kevin.pouget@st.com>
5952
5953 PR python/12691: Add the inferior to Python exited event
5954 * gdb.python/py-events.exp: Test the inferior attribute of exited
5955 event with a fork.
5956 * gdb.python/py-events.py: Print inferior number on exit.
5957 * gdb.python/py-events.c: Fork the inferior.
5958
fb213700
EBM
59592011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
5960
5961 * gdb.base/jit.exp: Add testcase name to log message
5962
aa2071bd
PK
59632011-10-03 Paul Koning <paul_koning@dell.com>
5964 Jan Kratochvil <jan.kratochvil@redhat.com>
5965
5966 * gdb.python/py-value.exp
5967 (python inval = gdb.parse_and_eval('*(int*)0'))
5968 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
5969 (set argc=2, python print argc_lazy): New tests.
5970
dd11a36c
JB
59712011-10-02 Joel Brobecker <brobecker@adacore.com>
5972
5973 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
5974
46f886f1
JK
59752011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5976 Pedro Alves <pedro@codesourcery.com>
5977
5978 * gdb.python/py-value.exp (test_value_in_inferior): New variable
5979 can_read_0, test for it.
5980 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
5981 (parse_and_eval with memory error): ... here, make it untested if
5982 can_read_0.
5983
c5cb204f
MP
59842011-09-30 Marek Polacek <mpolacek@redhat.com>
5985
5986 * gdb.python/python.exp (verify pagination beforehand)
5987 (verify pagination afterwards): Fix race by splitting the line.
5988
68fb0ec0
JM
59892011-09-29 Joseph Myers <joseph@codesourcery.com>
5990
5991 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
5992 for 64-bit multilibs from i?86-* targets.
5993
6aee0d90
MP
59942011-09-29 Marek Polacek <mpolacek@redhat.com>
5995
5996 * lib/gdb.exp: Fix a typo in one of the comments.
5997
e9101ff5
MP
59982011-09-29 Marek Polacek <mpolacek@redhat.com>
5999
6000 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
6001 matching pattern.
6002
7a81bdbf
PK
60032011-09-28 Paul Koning <paul_koning@dell.com>
6004
6005 * gdb.python/py-type.c (enum E): New.
6006 * gdb.python/py-type.exp (test_fields): Add tests for Python
6007 mapping access to fields.
6008 (test_enums): New test for field access on enums.
6009
6710bf39
SS
60102011-09-27 Stan Shebs <stan@codesourcery.com>
6011
6012 * gdb.trace/collection.exp: Test collection of $_ret.
6013
b2a6bdeb
AT
60142011-09-22 Andreas Tobler <andreast@fgznet.ch>
6015
6016 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
6017 list of compilation switches for <*-*-freebsd*>.
6018
3c9057f3
SS
60192011-09-19 Stan Shebs <stan@codesourcery.com>
6020
6021 * gdb.trace/tspeed.exp: New file.
6022 * gdb.trace/tspeed.c: New file.
6023
34518530
YQ
60242011-09-18 Yao Qi <yao@codesourcery.com>
6025
6026 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
6027 instructions.
6028 (test_adr_32bit, test_pop_pc): Likewise.
6029 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
6030 Thumb instructions.
6031 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
6032 in gdb_test_multiple.
6033 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
6034
ab254057
YQ
60352011-09-17 Yao Qi <yao@codesourcery.com>
6036
6037 * lib/gdb.exp (can_single_step_to_signal_handler): New.
6038 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
6039 support single step to signal handler.
6040
9c317b71
YQ
60412011-09-17 Yao Qi <yao@codesourcery.com>
6042
6043 * gdb.base/disp-step-fork.c: New.
6044 * gdb.base/disp-step-syscall.exp: New.
6045 * gdb.base/disp-step-vfork.c: New.
6046
a8123151
JB
60472011-09-16 Joel Brobecker <brobecker@adacore.com>
6048
6049 * gdb.ada/tasks.exp: Make the expected output for
6050 the `info tasks' tests more resilient to spacing
6051 changes.
6052
63a9aad8
JK
60532011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6054
6055 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
6056 (reached breakpoint 2, reached breakpoint 3): Update expected output.
6057
2aa48337
KP
60582011-09-15 Kevin Pouget <kevin.pouget@st.com>
6059
6060 PR Python/12692 Add gdb.selected_inferior() to Python interface.
6061 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
6062
6839b47f
KP
60632011-04-30 Kevin Pouget <kevin.pouget@st.com>
6064
6065 Handle multiple breakpoint hits in Python interface:
6066 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
6067 presence.
6068 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
6069 breakpoint hits.
6070
0935723e
JK
60712011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
6072 Jan Kratochvil <jan.kratochvil@redhat.com>
6073
6074 * gdb.python/py-events.exp: Remove pretty printing comment.
6075 * gdb.python/py-evsignal.exp: New file.
6076 * gdb.python/py-evthreads.c: Include signal.h.
6077 (thread3): Remove variable count3. Remove variable bad and use raise
6078 instead.
6079 (thread2): Remove variable count2. Move thread3 pthread_create here,
6080 merge pthread_join to a single line.
6081 (main): Remove variable count1. Merge pthread_join with pthread_create
6082 to a single line.
6083 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
6084 KFAIL python/12966 for gdbserver. Test return value of
6085 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
6086 gdb_expect by gdb_test and gdb_test_multiple.
6087 (thread 2, thread 3): New tests.
6088
4801a9a3
PA
60892011-09-12 Matt Rice <ratmice@gmail.com>
6090 Pedro Alves <pedro@codesourcery.com>
6091
6092 PR gdb/13175
6093
6094 * gdb.base/interp.exp: New tests.
6095 * gdb.base/interp.c: New file.
6096
24ece742
DE
60972011-09-12 Doug Evans <dje@google.com>
6098
6099 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
6100 * gdb.dwarf2/typeddwarf.exp: Ditto.
6101
7f062217
JK
61022011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6103
6104 Fix compatibility with x32 arch.
6105 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
6106 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
6107 is_x86_like_target.
6108 * testsuite/gdb.trace/collection.exp: Likewise.
6109 * testsuite/gdb.trace/report.exp: Likewise.
6110 * testsuite/gdb.trace/unavailable.exp: Likewise.
6111 * testsuite/gdb.trace/while-dyn.exp: Likewise.
6112 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
6113 (is_x86_like_target): Check also is_amd64_regs_target.
6114
08711b9a
JK
61152011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6116
6117 PR breakpoints/12435
6118 * gdb.arch/amd64-prologue-xmm.c: New file.
6119 * gdb.arch/amd64-prologue-xmm.exp: New file.
6120 * gdb.arch/amd64-prologue-xmm.s: New file.
6121
b99b5f66
JK
61222011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6123
6124 * gdb.dwarf2/dw2-param-error-main.c: New file.
6125 * gdb.dwarf2/dw2-param-error.S: New file.
6126 * gdb.dwarf2/dw2-param-error.exp: New file.
6127
a391a2f6
PA
61282011-09-08 Pedro Alves <pedro@codesourcery.com>
6129
6130 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
6131 inferior's pid and look for a core dump named core.$pid. Use
6132 `remote_file' commands on the host instead of hand coding shell
6133 commands on the build.
6134 * gdb.base/valgrind-db-attach.exp: Kill the program before
6135 finishing the test.
6136
7d8e6458 61372011-09-02 Matt Rice <ratmice@gmail.com>
6138
6139 * lib/prompt.exp: New file for testing the first prompt.
6140 * gdb.python/py-prompt.exp: Ditto.
6141 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
6142
68e77c9e
PA
61432011-09-02 Pedro Alves <pedro@codesourcery.com>
6144
6145 * gdb.threads/gcore-thread.exp: Set the global core_supported to
6146 0, before testing gcore.
6147
9655e943
JK
61482011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6149
df6dc84d
JK
6150 * dw2-ifort-parameter-debug.S: Update copyright year.
6151 * dw2-ifort-parameter.c: Update copyright year.
6152 * dw2-ifort-parameter.exp: Update copyright year.
6153
9655e943
JK
6154 * dw2-ifort-parameter-debug.S: New file.
6155 * dw2-ifort-parameter.c: New file.
6156 * dw2-ifort-parameter.exp: New file.
6157
353d1d73
JK
61582011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6159
6160 * gdb.base/commands.exp (error_clears_commands_left): New function.
6161 (): Call it.
6162
5c07461a
JK
61632011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6164
6165 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
6166 (C): Initialize `a'.
6167 * gdb.mi/mi-inheritance-syntax-error.exp
6168 (-data-evaluate-expression $path): Expect `a' as 5.
6169
0d932b2f
MK
61702011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
6171
6172 PR mi/11912
6173 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
6174 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
6175 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
6176 keyword in output of -var-info-path-expression.
6177
bdb54049
JK
61782011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6179
6180 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
6181 * gdb.trace/collection.exp: Likewise.
6182 * gdb.trace/report.exp: Likewise.
6183 * gdb.trace/unavailable.exp: Likewise.
6184 * gdb.trace/while-dyn.exp: Likewise.
6185
59cde39c
KS
61862011-08-18 Keith Seitz <keiths@redhat.com>
6187
6188 PR c++/12266
6189 * gdb.cp/meth-typedefs.cc: New file.
6190 * gdb.cp/meth-typedefs.exp: New file.
6191
fa3a4f15
PM
61922011-08-17 Phil Muldoon <pmuldoon@redhat.com>
6193
6fdff2c5 6194 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 6195
c1049fca
JK
61962011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6197
6198 * gdb.arch/i386-dr3-watch.exp
6199 (watchpoint on gap1 does not fit debug registers)
6200 (delete all watchpoints): Fix racy expect strings.
6201
d93f7b5c
YQ
62022011-08-14 Yao Qi <yao@codesourcery.com>
6203
6204 * gdb.base/maint.exp: set data_section to ".neardata".
6205 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
6206 * gdb.base/savedregs.exp: Handle SIGILL.
6207 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
6208 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
6209
457e09f0
DE
62102011-08-12 Doug Evans <dje@google.com>
6211
6212 * gdb.python/py-symbol.exp: Add test for symbol.type.
6213
5d0bb2fb
UW
62142011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
6215
6216 * gdb.threads/pthreads.exp: Enable on non-native configurations.
6217 * gdb.mi/mi-pthreads.exp: Likewise.
6218 * gdb.mi/mi2-pthreads.exp: Likewise.
6219 * gdb.mi/gdb669.exp.exp: Likewise.
6220
fcdfa280
PA
62212011-08-09 Pedro Alves <pedro@codesourcery.com>
6222
6223 * lib/mi-support.exp (detect_async): Rename to...
6224 (mi_detect_async): ... this.
6225 * gdb.mi/mi-nonstop-exit.exp: Adjust.
6226 * gdb.mi/mi-nonstop.exp: Adjust.
6227 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
6228 * gdb.mi/mi-nsintrall.exp: Adjust.
6229 * gdb.mi/mi-nsmoribund.exp: Adjust.
6230 * gdb.mi/mi-nsthrexec.exp: Adjust.
6231
9d8fa392
PA
62322011-08-09 Pedro Alves <pedro@codesourcery.com>
6233
6234 * gdb.base/display.c (do_loops): New `p_i' local.
6235 * gdb.base/display.exp: Test displaying a variable that is
6236 temporarily at a bad address.
6237
b6cede78
JK
62382011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6239
6240 * gdb.dwarf2/dw2-op-stack-value.S: New file.
6241 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
6242
67bedb8c
JK
62432011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6244
6245 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
6246 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
6247 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 6248
af6e93b2
PA
62492011-08-05 Pedro Alves <pedro@codesourcery.com>
6250
6251 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
6252 procedure.
6253 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
6254
1cf0e11f
YQ
62552011-08-05 Yao Qi <yao@codesourcery.com>
6256
6257 * gdb.base/callfuncs.exp: Set language after main.
6258 * gdb.cp/cplusfuncs.exp: Likewise.
6259 * gdb.cp/inherit.exp: Likewise.
6260
a1e28cb2
UW
62612011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6262
6263 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
6264 * gdb.base/watch-vfork.exp: Skip on remote targets.
6265
d4f5bbb9
UW
62662011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6267
6268 * gdb.threads/thread-find.exp: Support remote targets.
6269
724f4f80
UW
62702011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6271
6272 * gdb.base/jit.exp: Download solib_binfile to target.
6273 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
6274 and call dlopen without full path name.
6275 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
6276 dlopen without full path name.
6277
934709f0
PW
62782011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6279
6280 * gdb.base/break-always.exp: Complete the test
6281 with duplicated breakpoints and enabling/disabling them.
6282
c26106c4
TT
62832011-08-02 Tom Tromey <tromey@redhat.com>
6284
6285 PR gdb/11289:
6286 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
6287
9300444e 62882011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
6289
6290 PR gdb/13045
6291 * gdb.base/float.exp: Add new test case for PR gdb/13045
6292 * gdb.base/float.c: New file.
6293
00bd41d6
PM
62942011-07-28 Phil Muldoon <pmuldoon@redhat.com>
6295
6296 * gdb.python/py-mi.exp: Test printers returning string hint, and
6297 also not returning a value.
6298 * gdb.python/py-prettyprint.c: Add testcase for above.
6299 * gdb.python/py-prettyprint.py: Add test printer for above.
6300
d24f74ce
JK
63012011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6302
6303 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
6304 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
6305 (.Ldie30) Add as field "data4".
6306 (.Ldie32) Rename field "b" to "shl".
6307 (abbrev4) Change for the "data4" field.
6308 (abbrev5, abbrev6) Remove.
6309 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
6310 (p &s.shl): ... here. Add comment.
6311 (p &s.data4): New.
6312
bb7da2bf
JK
63132011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6314
6315 Fix crash on lval_computed values.
6316 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
6317
11081198
JK
63182011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6319
6320 * gdb.base/help.exp (help whatis): Update the expected string.
6321
3c6e0cb3
JK
63222011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6323
6324 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
6325 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
6326 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6327 Change the expected string.
6328
efa80663
PA
63292011-07-26 Pedro Alves <pedro@codesourcery.com>
6330
6331 * gdb.base/watchpoint.exp
6332 (test_disable_enable_software_watchpoint): New procedure.
6333 (top level): Run it.
6334
db8e4570
UW
63352011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
6336
6337 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
6338 executable file "${binfile}", C++ version "${binfile}-cxx".
6339 * gdb.python/py-prettyprint.exp: Likewise.
6340 * gdb.python/py-symbol.exp: Likewise.
6341 * gdb.python/py-type.exp: Likewise.
6342 * gdb.python/py-value.exp: Likewise.
6343 * gdb.python/py-template.exp (test_template_arg): Pass full executable
6344 file name instead of just suffix.
6345
543305c9
JK
63462011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6347
6348 Fix implicit pointer offsets.
6349 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
6350 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
6351 (continue to breakpoint: continue to baz breakpoint for implptr)
6352 (sanity check element 0, sanity check element 1)
6353 (enter the inlined function, check element 0 for the offset)
6354 (check element 1 for the offset)
6355 (continue to breakpoint: ignore the second baz breakpoint): New tests.
6356 (set foo breakpoint for implptr): Update the breakpoint number.
6357
b3215adc
UW
63582011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6359
6360 * gdb.python/py-mi.exp: Use different file names for different
6361 versions of the executable under test.
6362 * gdb.python/py-prettyprint.exp: Likewise.
6363 * gdb.python/py-symbol.exp: Likewise.
6364 * gdb.python/py-template.exp: Likewise.
6365 * gdb.python/py-type.exp: Likewise.
6366 * gdb.python/py-value.exp: Likewise.
6367
182b9acc
UW
63682011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6369
6370 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
6371 flag after restarting GDB if necessary.
6372
e6052b5d
UW
63732011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6374
6375 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
6376
1ced966e
PA
63772011-07-22 Pedro Alves <pedro@codesourcery.com>
6378
6379 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
6380 backend doesn't leave used debug registers behind.
6381
3543a589
TT
63822011-07-22 Tom Tromey <tromey@redhat.com>
6383
6384 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
6385 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
6386 argument.
6387 * gdb.dwarf2/typeddwarf-amd64.S: New file.
6388
14d15303 63892011-07-21 Matt Rice <ratmice@gmail.com>
6390
6391 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
6392 in mostlyclean rule. Add files ending in .core.
6393
9b158ba0 63942011-07-21 Matt Rice <ratmice@gmail.com>
6395
6396 PR macros/12999
6397 * gdb.base/info-macros.c: New test sources.
6398 * gdb.base/info-macros.exp: New tests.
6399
d17b6f81
PM
64002011-07-21 Phil Muldoon <pmuldoon@redhat.com>
6401
6402 * gdb.python/python.exp: Add prompt substitution tests.
6403
918dd910
JK
64042011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6405
6406 Fix crash if referenced CU is aged out.
6407 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
6408 New.
6409 * gdb.dwarf2/implptr.exp: Likewise.
6410
0e37a63c
JK
64112011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6412
6413 * gdb.dwarf2/implptr.S: Rebuilt.
6414 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
6415 (bar): Use them for j, k, l.
6416 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
6417 COMPILE.
6418 (print j in implptr:bar): Update for the intp typedef.
6419 (print p[0].x in implptr:foo): Use more exact regex.
6420
f65cf84c
TT
64212011-07-18 Tom Tromey <tromey@redhat.com>
6422
6423 * gdb.cp/static-method.exp: Add missing single quote.
6424
d5b4a7be
YQ
64252011-07-18 Yao Qi <yao@codesourcery.com>
6426
6427 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
6428 supported.
6429 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6430 * gdb.mi/mi-nonstop.exp: Likewise.
6431 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6432 * gdb.mi/mi-nsintrall.exp: Likewise.
6433 * gdb.mi/mi-nsmoribund.exp: Likewise.
6434 * gdb.mi/mi-nsthrexec.exp: Likewise.
6435 * gdb.python/py-evthreads.exp: Likewise.
6436
e9ea2662
JK
64372011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6438
6439 Code cleanup.
6440 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
6441 it. Substitute it instead of test_compiler_info everywhere.
6442
ce451573
UW
64432011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6444
6445 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
6446 remote targets as well.
6447
756d88a7
UW
64482011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6449
6450 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
6451 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
6452
31f83dc5
UW
64532011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6454
6455 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
6456 a remote machine, not the host.
6457 (gdb_compile_shlib): Set soname if target is remote.
6458
059241a0
PP
64592011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6460
6461 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
6462
28a0b48c 64632011-07-13 Matt Rice <ratmice@gmail.com>
6464
6465 * gdb.python/py-objfile-script-gdb.py: Renamed to
6466 py-objfile-script-gdb.py.in.
6467 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
6468 py-objfile-script-gdb.py.
6469 * gdb.python/py-objfile-script.exp: Update reference to
6470 py-objfile-script-gdb.py.
6471
9a771b67
JK
64722011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6473
6474 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
6475 reference undefined label.
6476
04ad99e6
JK
64772011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6478
6479 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
6480 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
6481 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
6482 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
6483
713389e0
PM
64842011-07-11 Phil Muldoon <pmuldoon@redhat.com>
6485
6fdff2c5 6486 PR python/12438
713389e0 6487 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 6488 deprecated tests. Add set/show python print-backtrace tests.
713389e0 6489
97d146f8
JK
64902011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6491
6492 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
6493 debug info.
6494
facde0e5 64952011-07-06 Matt Rice <ratmice@gmail.com>
6496
6497 * gdb.python/python.exp: Update filename paths.
6498 * gdb.python/py-symtab.exp: Ditto.
6499
438640d1
MP
65002011-07-06 Marek Polacek <mpolacek@redhat.com>
6501
6502 * gdb.python/py-evthreads.exp: Add missing `$'.
6503
33a365df
MF
65042011-07-06 Jie Zhang <jie.zhang@analog.com>
6505
6506 * config/bfin.exp: New file.
6507 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
6508 * gdb.asm/bfin.inc: New file.
6509
8f7ae686
MP
65102011-07-06 Marek Polacek <mpolacek@redhat.com>
6511
df46027d 6512 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
6513 the whole output.
6514
eb2a6f42
TT
65152011-07-05 Tom Tromey <tromey@redhat.com>
6516
6517 * gdb.java/jprint.java (jprint.hi): New field.
6518 * gdb.java/jprint.exp: Print string.
6519
177b42fe
TJB
65202011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
6521
6522 * gdb.base/call-sc.c: Fix typos.
6523 * gdb.base/ifelse.exp: Likewise.
6524 * gdb.base/structs.c: Likewise.
6525
3b2a0cf2
JB
65262011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6527
6528 * gdb.base/jit-so.exp: New test.
6529 * gdb.base/jit-dlmain.c: New file.
6530 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
6531
46fc714c
JK
65322011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6533
6534 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
6535 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
6536 * gdb.cp/pr9167.exp (p b): Likewise.
6537 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
6538 (test value of P in inner_m, test type of Z in inner_m): Call
6539 setup_xfail for gcc <= 4.5.
46fc714c 6540
418c7cf7
JK
65412011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6542
6543 * gdb.cp/paren-type.cc: New files.
6544 * gdb.cp/paren-type.exp: New files.
6545
3d50dd94
JK
65462011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6547
6548 Stop on first linespec terminator instead of eating what we can.
6549 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
6550 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
6551 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
6552 (break C::f()): ... this one.
6553 (break C::operator()()): New test.
6554 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
6555 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
6556 test.
6557
dcf9f4ab
JK
65582011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6559
6560 Fall back linespec to minimal symbols.
6561 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
6562 error message.
6563 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
6564 * gdb.cp/minsym-fallback-main.cc: New file.
6565 * gdb.cp/minsym-fallback.cc: New file.
6566 * gdb.cp/minsym-fallback.exp: New file.
6567 * gdb.cp/minsym-fallback.h: New file.
6568
3f542ed1
JK
65692011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6570
6571 * gdb.cp/no-dmgl-verbose.cc: New file.
6572 * gdb.cp/no-dmgl-verbose.exp: New file.
6573
65742011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
6575
6576 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
6577 __GI_.
6578 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
6579 (f): New function.
6580 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
6581 (complete p 'func<short>(): ... here.
6582 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
6583 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
6584 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
6585 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
6586 Make them KFAIL gcc/49546.
6587
00eb2c4a
JB
65882011-07-01 Joel Brobecker <brobecker@adacore.com>
6589
6590 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
6591
85a20c42
JK
65922011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6593
6594 Test GCC PR debug/49546.
6595 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
6596 (test type of F in k3_m, test value of F in k3_m): New.
6597 * gdb.cp/temargs.cc (struct S3, struct K3): New.
6598 (main): New variable k3. Call k3.k3_m.
6599
d2d43431
JB
66002011-07-01 Jean-Charles Delay <delay@adacore.com>
6601
6602 * gdb.ada/packed_array.exp: Fix expected outout.
6603
54ae186f
JB
66042011-07-01 Jean-Charles Delay <delay@adacore.com>
6605
6606 * gdb.ada/packed_array.exp: fixed expected output.
6607
8f17729f
JB
66082011-07-01 Joel Brobecker <brobecker@adacore.com>
6609
6610 * gdb.ada/same_enum: New testcase.
6611
f5aa6869
JB
66122011-07-01 Joel Brobecker <brobecker@adacore.com>
6613
6614 * gdb.ada/ptr_typedef: New testcase.
6615
828292f2
JB
66162011-07-01 Joel Brobecker <brobecker@adacore.com>
6617
6618 * gdb.ada/arrayptr.exp: Add ptype test.
6619
18920c42
JB
66202011-07-01 Joel Brobecker <brobecker@adacore.com>
6621
6622 * gdb.ada/char_enum: New testcase.
6623
3536d9e3 66242011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
6625
6626 * gdb.base/dump.exp (capture_pointer_with_type): New.
6627 Get value from address instead of name.
6628 Start GDB once, and do `dump' and `restore'
6629 tests together.
6630
db863c42
MF
66312011-06-30 Jie Zhang <jie.zhang@analog.com>
6632 Mike Frysinger <vapier@gentoo.org>
6633
6634 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
6635 helper functions for getting/setting remotetimeout variable.
6636 * lib/gdb.exp (gdb_load): If the target is remote, set
6637 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
6638 with $loadtimeout. Set $load_ok to 0 before doing the load.
6639 Instead of returning, immediately, set $load_ok to 0. Call
6640 set_remotetimeout with $oldremotetimeout, and then return if
6641 $load_ok is 1.
6642
e9e642a8
AB
66432011-06-30 Andrew Burgess <aburgess@broadcom.com>
6644
6645 * gdb.python/py-template.exp: Don't run this test if the target
6646 does not support c++ tests.
6647
32019081
JK
66482011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6649
6650 Fix non-only rename list for Fortran modules import.
6651 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
6652 tests.
6653 * gdb.fortran/module.f90 (module moduse): New.
6654 (program module): use moduse, test var_x, var_y and var_z.
6655
0ecee54c
TT
66562011-06-29 Tom Tromey <tromey@redhat.com>
6657
6658 PR testsuite/12040:
6659 * gdb.fortran/array-element.exp: Use f90, not f77.
6660 * gdb.fortran/complex.exp: Use f90, not f77.
6661 * gdb.fortran/derived-type.exp: Use f90, not f77.
6662 * gdb.fortran/library-module.exp: Use f90, not f77.
6663 * gdb.fortran/logical.exp: Use f90, not f77.
6664 * gdb.fortran/module.exp: Use f90, not f77.
6665 * gdb.fortran/multi-dim.exp: Use f90, not f77.
6666 * gdb.fortran/subarray.exp: Use f90, not f77.
6667
3b2b8fea
TT
66682011-06-29 Tom Tromey <tromey@redhat.com>
6669
6670 * gdb.fortran/charset.exp: New file.
6671 * gdb.fortran/charset.f90: New file.
6672
42159ca5
TT
66732011-06-29 Tom Tromey <tromey@redhat.com>
6674
6675 PR testsuite/12040:
6676 * lib/future.exp: New file, mostly extracted from ada.exp.
6677 Rewrote compatibility code to use rename.
6678 (gdb_find_gfortran): New proc.
6679 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
6680 gfortran patch.
6681 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
6682 Move to future.exp.
6683 * lib/gdb.exp: Always load future.exp.
6684
af69a5ce
YQ
66852011-06-28 Yao Qi <yao@codesourcery.com>
6686
6687 * gdb.cp/exception.cc: Don't include iostream.
6688 (bar): Remove print statement.
6689 (catcher): New.
6690 (main): Remove print statements. Call function catcher.
6691 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
6692 Set breakpoint on catcher, and check the value of parameter.
6693
ab5c6a72
YQ
66942011-06-23 Yao Qi <yao@codesourcery.com>
6695
6fdff2c5
PA
6696 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
6697 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 6698
9497469f
MP
66992011-06-23 Marek Polacek <mpolacek@redhat.com>
6700
6701 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
6702 mi_gdb_test.
6703
b9132588
MP
67042011-06-23 Marek Polacek <mpolacek@redhat.com>
6705
5d197ed0 6706 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 6707
e55595ca
MP
67082011-06-23 Marek Polacek <mpolacek@redhat.com>
6709
5d197ed0
MP
6710 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
6711
67122011-06-23 Marek Polacek <mpolacek@redhat.com>
6713
6714 * gdb.mi/mi2-basics.exp: Fix races. Honour the
6715 `test_exec_and_symbol_mi_operatons' return value.
6716 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6717 gdb_test_multiple.
6718 (test_exec_and_symbol_mi_operatons): Likewise.
6719 (test_path_specification): Likewise.
e55595ca 6720
be777e08
YQ
67212011-06-23 Yao Qi <yao@codesourcery.com>
6722
6723 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
6724 supported.
6725 * lib/gdb.exp (support_displaced_stepping): New.
6726
615556d6
YQ
67272011-06-23 Yao Qi <yao@codesourcery.com>
6728
6729 * gdb.threads/execl.exp: Skip on remote target.
6730
833b0ca7
MP
67312011-06-21 Marek Polacek <mpolacek@redhat.com>
6732
5d197ed0 6733 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
6734 mi_gdb_test.
6735
1ee4023a
MP
67362011-06-20 Marek Polacek <mpolacek@redhat.com>
6737
5d197ed0 6738 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 6739
d0b1d624
MP
67402011-06-20 Marek Polacek <mpolacek@redhat.com>
6741
5d197ed0 6742 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
6743 mi_gdb_test.
6744
79aa92c1
MP
67452011-06-20 Marek Polacek <mpolacek@redhat.com>
6746
5d197ed0 6747 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 6748
5ce5db06
YQ
67492011-06-14 Yao Qi <yao@codesourcery.com>
6750
6751 gdb/testsuite/
6752 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
6753
533a737e
JK
67542011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6755
6756 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
6757
d0e53741
TT
67582011-06-10 Tom Tromey <tromey@redhat.com>
6759
6760 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
6761 Add tests for pointer-to-member-function.
6762 * gdb.cp/temargs.cc (S::somefunc): New function.
6763 (K2): New class.
6764 (main): Instantiate K2; call method.
6765
b5916bbd
JB
67662011-06-08 Joel Brobecker <brobecker@adacore.com>
6767
6768 * gdb.python/py-inferior.c (f2): Make str an array rather
6769 than a pointer.
6770 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
6771
5be4dfca
JK
67722011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6773
6774 * gdb.base/async-shell.c: New file.
6775 * gdb.base/async-shell.exp: New file.
6776
9f47e254
PA
67772011-06-06 Pedro Alves <pedro@codesourcery.com>
6778
6779 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
6780
64b9b334
JB
67812011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
6782
6783 From Stephen Kitt <steve@sk2.org>
6784 * gdb.base/help.exp: Adjust following some spelling corrections
6785 in GDB.
6786
dbc0f131
YQ
67872011-06-01 Yao Qi <yao@codesourcery.com>
6788
6789 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
6790
fd336a18
KS
67912010-05-31 Keith Seitz <keiths@redhat.com>
6792
6793 PR c++/12750
6794 * gdb.cp/static-method.cc: New file.
6795 * gdb.cp/static-method.exp: New file.
6796
fa8b9902
KS
67972010-05-31 Keith Seitz <keiths@redhat.com>
6798
6799 PR symtab/12704
6800 * gdb.cp/anon-ns.cc: New file.
6801 * gdb.cp/anon-ns.exp: New file.
6802
0a5b1e09
PA
68032011-05-31 Pedro Alves <pedro@codesourcery.com>
6804
6805 * gdb.arch/i386-dr3-watch.c: New file.
6806 * gdb.arch/i386-dr3-watch.exp: New file.
6807
0578b8d1
YQ
68082011-05-30 Yao Qi <yao@codesourcery.com>
6809
6810 * gdb.base/callfuncs.c (t_structs_fc): New.
6811 (t_structs_dc, t_structs_ldc): New.
6812 (t_double_many_args):
6813 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
6814 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
6815 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
6816 * gdb.base/callfuncs.exp: Call new functions.
6817
6680506e
YQ
68182011-05-30 Yao Qi <yao@codesourcery.com>
6819
ff4d2c60
YQ
6820 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
6821 Call rerun_and_prepare for each test to isolate effects.
6822
68232011-05-30 Yao Qi <yao@codesourcery.com>
6824
6825 * gdb.base/varargs.c (find_max_float_real): New.
6826 (find_max_double_real, find_max_long_double_real): New.
6827 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
6828 * lib/gdb.exp (setup_kfail_for_target): New.
6829
e43ec454
YQ
68302011-05-30 Yao Qi <yao@codesourcery.com>
6831
6832 * gdb.base/funcargs.c (callca, callcb, callcc): New.
6833 (callcd, callce, callcf, callc1a, callc1b): New.
6834 (callc2a, callc2b): New.
6835 * gdb.base/funcargs.exp (complex_args): New.
6836 (complex_integral_args, complex_float_integral_args): New.
6837 * lib/gdb.exp (support_complex_tests): New. Determine
6838 whether to run test cases on _Complex types.
6839
432b4d03
JK
68402011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6841
6842 * gdb.threads/leader-exit.c: New file.
6843 * gdb.threads/leader-exit.exp: New file.
6844
6caf069d
MP
68452011-05-27 Marek Polacek <mpolacek@redhat.com>
6846
9497469f 6847 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 6848
97fce28b
MP
68492011-05-27 Marek Polacek <mpolacek@redhat.com>
6850
6851 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
6852 remove the `supported' variable.
6853 * gdb.mi/mi-nonstop.exp: Likewise.
6854 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6855 * gdb.mi/mi-nsintrall.exp: Likewise.
6856 * gdb.mi/mi-nsmoribund.exp: Likewise.
6857 * gdb.mi/mi-nsthrexec.exp: Likewise.
6858
9da8c2a0
PA
68592011-05-26 Pedro Alves <pedro@codesourcery.com>
6860
6861 * gdb.reverse/finish-reverse-bkpt.exp: New test.
6862
2c03e5be
PA
68632011-05-26 Pedro Alves <pedro@codesourcery.com>
6864
6865 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
6866
2e21250d
KS
68672011-05-24 Keith Seitz <keiths@redhat.com>
6868
6869 PR breakpoint/12803
6870 * gdb.cp/cmpd-minsyms.cc (a): New method.
6871 (b): New method.
6872 (c): New method.
6873 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
6874
cdac0397
PA
68752011-05-24 Pedro Alves <pedro@codesourcery.com>
6876
6877 * gdb.base/commands.exp (watchpoint_command_test): Check that the
6878 watchpoint's command list didn't execute when the watchpoint went
6879 out of scope.
6880
ee5683ab
PM
68812011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
6882
6883 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
6884 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
6885 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
6886 * gdb.arch/i386-gnu-cfi.exp: Likewise.
6887 * gdb.arch/i386-permbkpt.exp: Likewise.
6888 * gdb.arch/i386-prologue.exp: Likewise.
6889 * gdb.arch/i386-size-overlap.exp: Likewise.
6890 * gdb.arch/i386-size.exp: Likewise.
6891 * gdb.arch/i386-unwind.exp: Likewise.
6892 * gdb.reverse/i386-precsave.exp: Likewise.
6893 * gdb.reverse/i386-reverse.exp: Likewise.
6894 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6895 * gdb.reverse/i387-env-reverse.exp: Likewise.
6896 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6897
c91c8c16
PA
68982011-05-24 Pedro Alves <pedro@codesourcery.com>
6899
6900 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
6901 file doesn't error, using MI.
6902
c50491a7
TT
69032011-05-23 Tom Tromey <tromey@redhat.com>
6904
6905 * gdb.base/charset.exp (string_display): Add tests to assign to
6906 arrays.
6907 * gdb.base/charset.c (short_array, int_array, long_array): New.
6908
4a07b7da
PA
69092011-05-20 Pedro Alves <pedro@codesourcery.com>
6910
6911 Cope with async mode.
6912
4a07b7da
PA
6913 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
6914 into gdb_test + mi_expect_stop.
6915
b275f2d2
PA
69162011-05-20 Pedro Alves <pedro@codesourcery.com>
6917
6918 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
6919 (callme): Remove printf call.
6920
eec52c44
PM
69212011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
6922
6923 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
6924 quote pattern to avoid problems with Cygwin/mingw expect versions.
6925 * gdb.base/default.exp (show convenience): Use double
6926 quote pattern for regular expressions.
6927
b3c8eb43
JK
69282011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6929
6930 Fix -readnow for -gdwarf-4 unused type units.
6931 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
6932 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
6933
ed731959
JK
69342011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6935
6936 * gdb.base/kill-after-signal.c: New file.
6937 * gdb.base/kill-after-signal.exp: New file.
6938
3b48433d
PA
69392011-05-16 Pedro Alves <pedro@codesourcery.com>
6940
6941 * gdb.ada/start.exp: Call untested with the correct test filename.
6942 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
6943 test filename. Make the test's binary unique.
6944 * gdb.arch/i386-signal.exp: Call untested with the correct test
6945 filename.
6946 * gdb.arch/i386-size-overlap.exp: Ditto.
6947 * gdb.arch/Makefile.in (EXECUTABLES): Update.
6948 * gdb.base/gcore-buffer-overflow.exp: Ditto.
6949 * gdb.cp/call-c.exp: Ditto.
6950 * gdb.mi/mi-reverse.exp: Call untested with the correct test
6951 filename. Make the test's binary unique.
6952 * gdb.mi/Makefile.in (EXECUTABLES): Update.
6953 * gdb.python/py-mi.exp: Ditto.
6954 * gdb.python/Makefile.in (EXECUTABLES): Update.
6955 * gdb.reverse/i386-precsave.exp: Ditto.
6956 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
6957 test filename.
6958 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6959 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
6960 unique.
6961 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
6962 test filename.
6963 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
6964 * gdb.trace/tfile.exp: Ditto.
6965
ba4a8bdd
YQ
69662011-05-14 Yao Qi <yao@codesourcery.com>
6967
6968 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
6969 type.
6970
dbaefcf7
DE
69712011-05-13 Doug Evans <dje@google.com>
6972
6973 * gdb.python/py-objfile-script.exp: New file.
6974 * gdb.python/py-objfile-script.c: New file.
6975 * gdb.python/py-objfile-script-gdb.py: New file.
6976 * testsuite/gdb.python/py-section-script.exp: Test
6977 "info auto-load-scripts".
6978
9930639c
TT
69792011-05-13 Tom Tromey <tromey@redhat.com>
6980
6981 * gdb.dwarf2/clztest.exp: New file.
6982 * gdb.dwarf2/clztest.c: New file.
6983 * gdb.dwarf2/clztest.S: New file.
6984
05272e11
DE
69852011-05-13 Doug Evans <dje@google.com>
6986
cc63ef9b
DE
6987 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
6988 String16 tests.
05272e11 6989
6edba76f
TT
69902011-05-13 Tom Tromey <tromey@redhat.com>
6991
6992 * lib/gdb.exp (is_x86_like_target): New proc.
6993 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
6994 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
6995 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
6996 -nostdlib to compiler.
6997 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
6998 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
6999 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
7000 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
7001 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
7002
028d0ed5
TJB
70032011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
7004
7005 * gdb.python/py-function.exp: Test setting a value from a function
7006 which executes a command.
7007
8a9b8146
TT
70082011-05-12 Tom Tromey <tromey@redhat.com>
7009
7010 * gdb.dwarf2/typeddwarf.S: New file.
7011 * gdb.dwarf2/typeddwarf.c: New file.
7012 * gdb.dwarf2/typeddwarf.exp: New file.
7013
10483e8e
MP
70142011-05-12 Marek Polacek <mpolacek@redhat.com>
7015
7016 * gdb.mi/mi-basics.exp: Fix races. Honour the
7017 `test_exec_and_symbol_mi_operatons' return value.
7018 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7019 gdb_test_multiple.
7020 (test_exec_and_symbol_mi_operatons): Likewise.
7021 (test_path_specification): Likewise.
7022
faf067f1
JK
70232011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7024
7025 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
7026 (gdb_touch_execfile): Remove catch wrappers. New variable time.
7027 Replace `file copy' and `file rename' by `file mtime'. Twice.
7028
7ff911a3
JK
70292011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7030
7031 * gdb.base/readline-ask.c: New file.
7032 * gdb.base/readline-ask.exp: New file.
7033 * gdb.base/readline-ask.inputrc: New file.
7034
a536c6d7
UW
70352011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
7036
7037 * gdb.cell/bt.exp: Delete breakpoints before running to signal
7038 to avoid race condition.
7039 * gdb.cell/coremaker.c: Use small stack size.
7040 * gdb.cell/ea-standalone.exp: Use file name without path as
7041 argument to c_to.
7042 * gdb.cell/fork.exp: Allow other output when continuing to end.
7043
d472a426
JK
70442011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7045
7046 * gdb.threads/corethreads.c: New file.
7047 * gdb.threads/corethreads.exp: New file.
7048
70492011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
7050
7051 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
7052 Try to compile the test using -Wl,-z,norelro first.
7053 (load_core): New variable libthread_db_seen, initialize it.
7054 (zeroed-threads cannot be listed): Protect it by XFAIL on
7055 !$libthread_db_seen.
7056
8be455d7
JK
70572011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7058
7059 PR 12573
7060 * gdb.dwarf2/dw2-skip-prologue.S: New file.
7061 * gdb.dwarf2/dw2-skip-prologue.c: New file.
7062 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
7063
1976171a
JK
70642011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7065
7066 * gdb.cp/psymtab-parameter.cc: New file.
7067 * gdb.cp/psymtab-parameter.exp: New file.
7068
7db6f30f
JK
70692011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7070
7071 Fix a race.
7072 * gdb.cp/static-print-quit.exp (print c): Split to ...
7073 (print c - <return>, print c - q <return>, print c - to quit):
7074 ... these. Make the testfile untested on gdb-7.1.
7075
85161e9e 70762011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
7077
7078 * lib/gdb.exp (exec_target_file, exec_symbol_file,
7079 gdb_rename_execfile, gdb_touch_execfile): New.
7080 * gdb.base/reread.exp: Use new procs to handle multiple
7081 exec files.
7082
0c51be18
YQ
70832011-05-05 Yao Qi <yao@codesourcery.com>
7084
7085 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
7086 (test_adr_32bit, test_pop_pc): New.
7087 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
7088 (test_adr_32bit, test_pop_pc): New.
7089
4d393d60
JM
70902011-05-04 Joseph Myers <joseph@codesourcery.com>
7091
7092 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
7093 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
7094 targets.
7095 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
7096 handle targets.
7097
8ffd0459
JK
70982011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7099
7100 * gdb.base/completion.exp (complete help info wat): Rename to ...
7101 (complete 'help info wat'): ... here.
7102 Remove all `-re ".*' and `-re "^.*' redundant regexes.
7103 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
7104
8e28d804
PA
71052011-05-04 Pedro Alves <pedro@codesourcery.com>
7106
7107 * gdb.base/completion.exp: Use gdb_test_multiple instead of
7108 gdb_test and explicit $gdb_prompt/timeout matches.
7109
3eb2ef34
YQ
71102011-05-04 Yao Qi <yao@codesourcery.com>
7111
7112 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
7113 and __thumb2__.
7114
aaaf81a3
MP
71152011-05-03 Marek Polacek <mpolacek@redhat.com>
7116
7117 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
7118 in place of `gdb_test "delete breakpoints"'. This eliminates two
7119 testcases.
7120
c4cbc0df
PA
71212011-05-02 Pedro Alves <pedro@codesourcery.com>
7122
7123 PR testsuite/12649
7124 Fix races.
7125
7126 * gdb.base/completion.exp: Remove all sleep calls. Remove
7127 unnecessary regexs. Don't explicitly expect anything after the
7128 prompt. Eat the prompt if necessary.
7129
b4cbb4a3
EBM
71302011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
7131
7132 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
7133 accept to show the caller line again as well as the line after.
7134
d65aec65
PM
71352011-04-29 Phil Muldoon <pmuldoon@redhat.com>
7136
7137 PR mi/12531
7138
7139 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
7140 compile target.
7141 * gdb.python/py-prettyprint.exp: Add C++ object for
7142 CPLUS_FAKE_CHILD test.
7143
30852783
UW
71442011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
7145
7146 * gdb.base/signest.exp: New file.
7147 * gdb.base/signest.c: Likewise.
7148
c7b1f0d9
JK
71492011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7150
7151 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
7152 thread and breakpoint notifications.
7153
559a7a62
JK
71542011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7155
7156 * gdb.base/fortran-sym-case.c: New file.
7157 * gdb.base/fortran-sym-case.exp: New file.
7158 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
7159 * gdb.dwarf2/dw2-case-insensitive.c: New file.
7160 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
7161
8344e389
JK
71622011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7163
7164 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
7165 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
7166 false #1', `if true else false #2' and `if true else false #3'.
7167
2484c66b
UW
71682011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
7169
7170 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
7171 while delivering signal.
7172
8d3788bd
VP
71732011-04-27 Vladimir Prus <vladimir@codesourcery.com>
7174
7175 MI breakpoint notifications.
7176
7177 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
7178 * testsuite/gdb.mi/mi2-cli.exp: Adust.
7179 * testsuite/gdb.mi/mi-watch.exp: Adust.
7180 * testsuite/gdb.mi/mi2-watch.exp: Adust.
7181 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
7182 notifications.
8d3788bd 7183
3e03848b
JK
71842011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7185
7186 * gdb.base/gdbindex-stabs-dwarf.c: New file.
7187 * gdb.base/gdbindex-stabs.c: New file.
7188 * gdb.base/gdbindex-stabs.exp: New file.
7189
918c9108
YQ
71902011-04-25 Yao Qi <yao@codesourcery.com>
7191
7192 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
7193 with /*...*/.
7194 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
7195
90556b8c
JK
71962011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7197
7198 * gdb.python/py-value.exp (test_objfiles): Name the first test
7199 `py-value in file.filename'.
7200
03f2bd59
JK
72012011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7202
7203 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
7204 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
7205 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
7206 !gdbserver_reconnect_p..
7207 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
7208
7b08b9eb
JK
72092011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7210
7211 * gdb.cp/cpcompletion.exp (complete class methods)
7212 (complete class methods beginning with F): Move them above runto. New
7213 comment about the runto delimiter.
7214
b78974c3
PA
72152011-04-20 Pedro Alves <pedro@codesourcery.com>
7216
7217 * gdb.base/maint.exp: Test that "maint print registers" works
7218 without a running program.
7219
20429c40 72202011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 7221
20429c40
MP
7222 * gdb.base/setshow.exp: Fix racy tests.
7223 ($old_gdb_prompt): New variable.
7224
7a9dd1b2
TT
72252011-04-19 Tom Tromey <tromey@redhat.com>
7226
7227 * gdb.mi/mi-nsmoribund.exp:
7228 * gdb.hp/gdb.objdbg/objdbg01.exp:
7229 * gdb.base/structs.exp (test_struct_returns):
7230 * gdb.base/call-sc.exp (test_scalar_returns):
7231 * gdb.base/bigcore.exp: Remove duplicate words.
7232
02835898
JK
72332011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7234
7235 * gdb.base/break-interp-lib.c (v, vptr): New variables.
7236 * gdb.base/break-interp.exp (test_attach): New comment.
7237
254f582e
JK
72382011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7239
7240 * gdb.threads/gcore-thread.exp ($core0file): New variable.
7241 (clear __stack_user.next, clear stack_used.next)
7242 (save a zeroed-threads corefile): New test.
7243 Call core_load for $core0file.
7244 (zeroed-threads cannot be listed): New test.
7245
4fe85f5c
JK
72462011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7247
7248 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
7249 filename.
7250 ($srcfile): Preserve the original value.
7251 ($testfile): Match it the .exp filename.
7252 ($corefile): New variable. Substitute it around.
7253 Use clean_restart.
7254 ($prev_timeout): Remove.
7255 (load_core): Move core loading into this proc.
7256 Fix restore of $timeout if load_core fails.
7257
63524580
JK
72582011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7259
7260 * gdb.base/eu-strip-infcall.c: New file.
7261 * gdb.base/eu-strip-infcall.exp: New file.
7262
90359a16
JK
72632011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7264
7265 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
7266 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
7267
626e7282
JK
72682011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7269
7270 Fix Python access to inlined frames.
7271 * gdb.python/py-frame-inline.c: New file.
7272 * gdb.python/py-frame-inline.exp: New file.
7273
3363d018
EBM
72742011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
7275
7276 * gdb.base/gdb1090.exp: Change breakpoint location to read the
7277 content of 's24' correctly (avoiding "optimized out").
7278 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
7279
28781456
JK
72802011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7281
7282 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
7283
4a4106ca
TJB
72842011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
7285
7286 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
7287 expect a colon in watch -location output.
7288
d26ccb4f
JK
72892011-04-13 Marek Polacek <mpolacek@redhat.com>
7290
df46027d 7291 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
7292 New testcase `expect response to define backtrace'. Also remove
7293 redundant `default' block.
7294
e1ab1f9c
JK
72952011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7296
7297 * gdb.python/py-prettyprint.c (struct hint_error): New.
7298 (main): New variable hint_error.
7299 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
7300 "print hint_error".
7301 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
7302 (register_pretty_printers): Register it.
7303
0c2e6019
TT
73042011-04-04 Tom Tromey <tromey@redhat.com>
7305
7306 * gdb.cp/maint.exp (test_help): Update.
7307 (test_namespace): Likewise.
7308
af57139d
JB
73092011-04-01 Joel Brobecker <brobecker@adacore.com>
7310
7311 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
7312 * gdb.ada/arrayptr.exp: Add new tests.
7313
956a9fb9
JB
73142011-04-01 Joel Brobecker <brobecker@adacore.com>
7315
7316 * gdb.ada/mi_catch_ex: New testcase.
7317
d0c4d642
PA
73182011-04-01 Pedro Alves <pedro@codesourcery.com>
7319
7320 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
7321 base::overload(void) method without specifying "const".
7322
18819fa6
UW
73232011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
7324
7325 * gdb.arch/thumb-singlestep.S: New file.
7326 * gdb.arch/thumb-singlestep.exp: Likewise.
7327
a4c8e806
TT
73282011-03-31 Tom Tromey <tromey@redhat.com>
7329
7330 * gdb.python/py-prettyprint.py (exception_flag): New global.
7331 (NoStringContainerPrinter._iterator.next): Check it.
7332 * gdb.python/py-prettyprint.c (main): New variable nstype2.
7333 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
7334
53832f31
TT
73352011-03-29 Tom Tromey <tromey@redhat.com>
7336
7337 * gdb.cp/anon-struct.cc: New file.
7338 * gdb.cp/anon-struct.exp: New file.
7339
e4620230
JK
73402011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7341
7342 Test STT_GNU_IFUNC support.
7343 * gdb.base/gnu-ifunc-lib.c: New file.
7344 * gdb.base/gnu-ifunc.c: New file.
7345 * gdb.base/gnu-ifunc.exp: New file.
7346
d0fb5eae
JK
73472011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7348
7349 Support a ring of related breakpoints.
7350 * gdb.base/watchpoint-delete.c: New file.
7351 * gdb.base/watchpoint-delete.exp: New file.
7352
20106cfb
JK
73532011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7354
7355 * gdb.ada/arrayparam.exp (print first after function call): Use
7356 explicit package name. Add a comment
7357 (print lasta after function call): Rename ...
7358 (print last after function call): ... it and use explicit package
7359 name.
7360 (print length after function call): Use explicit package name.
7361 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
7362 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
7363 (multiple matches for symbol i): Rename ...
7364 (multiple matches for symbol integervar): ... it.
7365 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
7366 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
7367
e7ab5e63
AB
73682011-03-25 Andrew Burgess <aburgess@broadcom.com>
7369
7370 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
7371 environment variable to make grep output more predictable. Move
7372 all the environment setup into gdb_init so it's done once per test
7373 case rather than each time we start gdb.
7374
9ef07c8c
TT
73752011-03-24 Tom Tromey <tromey@redhat.com>
7376
7377 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
7378 test.
7379
dd90784c
JK
73802011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7381
7382 * gdb.dwarf2/dw2-entry-value-main.c: New file.
7383 * gdb.dwarf2/dw2-entry-value.S: New file.
7384 * gdb.dwarf2/dw2-entry-value.exp: New file.
7385
05775840
PM
73862011-03-22 Phil Muldoon <pmuldoon@redhat.com>
7387
6fdff2c5 7388 PR python/12183
05775840
PM
7389
7390 * gdb.python/py-function.exp: Add GdbError tests.
7391
8661b11b
PA
73922011-03-18 Pedro Alves <pedro@codesourcery.com>
7393
7394 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
7395 (reglocal_test_func, statlocal_test_func): New functions.
7396 (globals_test_func): Call new functions.
7397 * gdb.trace/unavailable.exp (gdb_collect_args_test)
7398 (gdb_collect_locals_test): New procedure.
7399 (gdb_trace_collection_test): Call new procedures.
7400
0fdb4f18
PA
74012011-03-18 Pedro Alves <pedro@codesourcery.com>
7402
7403 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
7404 (test_register, test_register_unavailable): New procedures.
7405 (gdb_unavailable_registers_test): New procedure.
7406 (gdb_trace_collection_test): Call it.
7407
99c3dc11
PM
74082011-03-18 Phil Muldoon <pmuldoon@redhat.com>
7409
6fdff2c5 7410 PR python/12149
99c3dc11
PM
7411
7412 * gdb.python/python.exp: Add gdb.write tests.
7413
29703da4
PM
74142010-03-17 Phil Muldoon <pmuldoon@redhat.com>
7415
7416 * gdb.python/Makefile.in: Add py-objfile.
7417 * gdb.python/py-objfile.exp: New file.
7418 * gdb.python/py-objfile.c: New file.
7419 * gdb.python/py-block.exp: Add is_valid tests.
7420 * gdb.python/py-inferior.exp: Ditto.
7421 * gdb.python/py-infthread.exp: Ditto.
7422 * gdb.python/py-symbol.exp: Ditto.
7423 * gdb.python/py-symtab.exp: Ditto.
7424
598997c8
KS
74252011-03-16 Keith Seitz <keiths@redhat.com>
7426
7427 PR c++/12273
7428 * gdb.cp/cmpd-minsyms.exp: New test.
7429 * gdb.cp/cmpd-minsyms.cc: New file.
7430
7431 PR c++/11734
7432 * gdb.cp/ovsrch.exp: New test.
7433 * gdb.cp/ovsrch.h: New file.
7434 * gdb.cp/ovsrch1.cc: New file.
7435 * gdb.cp/ovsrch2.cc: New file.
7436 * gdb.cp/ovsrch3.cc: New file.
7437 * gdb.cp/ovsrch4.cc: New file.
7438
c91513d8
PP
74392011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7440
7441 PR gdb/12528
7442 * gdb.base/Makefile.in: Adjust EXECUTABLES.
7443 * gdb.base/break-on-linker-gcd-function.exp: New test.
7444 * gdb.base/break-on-linker-gcd-function.cc: New file.
7445
7470fc63
AT
74462011-03-15 Andreas Tobler <andreast@fgznet.ch>
7447
7448 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
7449
959e7469
PM
74502011-03-15 Phil Muldoon <pmuldoon@redhat.com>
7451
7452 * lib/gdb.exp (gdb_unload): Add another termination case.
7453
9373cf26
JK
74542011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7455
7456 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
7457 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
7458 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
7459 Provide a stub byte there.
7460 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
7461 DW_AT_entry_pc.
7462 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
7463
24e9cda0
UW
74642011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
7465
7466 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
7467 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
7468 "generic ABI, auto".
7469 (altivec_abi_tests): Accept vectors returned by reference.
7470
7371cf6d
PM
74712010-03-14 Phil Muldoon <pmuldoon@redhat.com>
7472
7473 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
7474
ce77046a
UW
74752011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
7476
7477 * gdb.python/py-section-script.exp: Skip test if no Python support.
7478
176400c3
UW
74792011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
7480
7481 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
7482
ecec24e6
PM
74832011-03-10 Phil Muldoon <pmuldoon@redhat.com>
7484
7485 * gdb.python/py-parameter.exp: Update tests to the new Python
7486 parameter API. Add "no documentation" test. Add deprecated API
7487 backward compatibility test.
7488
5dbdd470
TT
74892011-03-09 Tom Tromey <tromey@redhat.com>
7490
7491 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
7492 gdb_continue_to_end.
7493
b66e66ee
MK
74942011-03-09 Mark Kettenis <kettenis@gnu.org>
7495
7496 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
7497 tabs.
7498
eceb0c5f
TT
74992011-03-09 Tom Tromey <tromey@redhat.com>
7500
7501 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
7502 parentheses.
7503 (gdb_continue_to_end): Add "allow_extra" parameter. Use
7504 $command.
7505 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
7506 argument to gdb_continue_to_end.
7507 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
7508 argument to gdb_continue_to_end.
7509 * gdb.cp/annota3.exp: Fix regex.
7510 * gdb.cp/annota2.exp: Fix regex.
7511 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
7512 gdb_continue_to_end.
7513 * gdb.base/call-signal-resume.exp: Revert earlier patch.
7514 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
7515 gdb_continue_to_end.
7516
63154eca
PA
75172011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7518
7519 * gdb.server/ext-run.exp
7520 (load new file without any gdbserver inferior): New test.
7521
967d1f9b
TT
75222011-03-07 Tom Tromey <tromey@redhat.com>
7523
7524 * Makefile.in (TAGS): Rewrite.
7525
d68dcbb9
JK
75262011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7527
7528 * gdb.trace/report.exp (12.1: trace report #1): New match for the
7529 initial commands echo. New match for `Found trace'. Anchor all the
7530 other matches. Anchor and match for `No trace frame found' the final
7531 match.
7532
6bf58e63
TT
75332011-03-07 Tom Tromey <tromey@redhat.com>
7534
7535 * Makefile.in (TAGS): New target.
7536
fda326dd
TT
75372011-03-07 Tom Tromey <tromey@redhat.com>
7538
7539 * lib/opencl.exp (skip_opencl_tests): Update for exit message
7540 change.
7541 * lib/mi-support.exp (mi_gdb_test): Update for exit message
7542 change.
7543 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
7544 exit message change.
7545 (skip_altivec_tests): Update for exit message change.
7546 (skip_vsx_tests): Likewise.
7547 (gdb_continue_to_end): Likewise. Add 'command' argument.
7548 * lib/cell.exp (skip_cell_tests): Update for exit message change.
7549 * gdb.threads/tls.exp: Update for exit message change.
7550 * gdb.threads/thread-unwindonsignal.exp: Use
7551 gdb_continue_to_end.
7552 * gdb.threads/step.exp (step_it): Update for exit message change.
7553 (continue_all): Likewise.
7554 * gdb.threads/print-threads.exp (test_all_threads): Update for
7555 exit message change.
7556 * gdb.threads/interrupted-hand-call.exp: Use
7557 gdb_continue_to_end.
7558 * gdb.threads/execl.exp: Use gdb_continue_to_end.
7559 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
7560 gdb_continue_to_end.
7561 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
7562 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
7563 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
7564 * gdb.cp/method.exp: Update for exit message change.
7565 * gdb.cp/mb-templates.exp: Update for exit message change.
7566 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
7567 * gdb.cp/annota3.exp: Update for exit message change.
7568 * gdb.cp/annota2.exp: Update for exit message change.
7569 * gdb.cell/fork.exp: Use gdb_continue_to_end.
7570 * gdb.base/term.exp: Update for exit message change.
7571 * gdb.base/step-test.exp (test_i): Update for exit message change.
7572 * gdb.base/sigstep.exp (advance): Update for exit message change.
7573 (advancei): Likewise.
7574 * gdb.base/siginfo.exp: Update for exit message change.
7575 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
7576 * gdb.base/reread.exp: Use gdb_continue_to_end.
7577 * gdb.base/langs.exp: Use gdb_continue_to_end.
7578 * gdb.base/interrupt.exp: Update for exit message change.
7579 * gdb.base/gdb1555.exp: Update for exit message change.
7580 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
7581 * gdb.base/ending-run.exp: Update for exit message change.
7582 * gdb.base/chng-syms.exp: Update for exit message change.
7583 * gdb.base/checkpoint.exp: Update for exit message change.
7584 * gdb.base/catch-syscall.exp (check_for_program_end): Use
7585 gdb_continue_to_end.
7586 (test_catch_syscall_with_wrong_args): Likewise.
7587 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
7588 * gdb.base/break-interp.exp (test_ld): Update for exit message
7589 change.
7590 * gdb.base/bang.exp: Update for exit message change.
7591 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
7592 (do_call_attach_tests): Likewise.
7593 * gdb.base/a2-run.exp: Update for exit message change.
7594 * gdb.arch/ppc-dfp.exp: Update for exit message change.
7595 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
7596 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
7597
dd19bd70
JK
75982011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7599
7600 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
7601
30e62689
TT
76022011-03-03 Tom Tromey <tromey@redhat.com>
7603
7604 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
7605 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
7606 * gdb.hp/gdb.aCC/configure.ac: Remove.
7607 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
7608 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
7609 * gdb.hp/gdb.base-hp/configure.ac: Remove.
7610 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
7611 * gdb.hp/gdb.compat/configure (Makefile): Remove.
7612 * gdb.hp/gdb.compat/configure.ac: Remove.
7613 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
7614 * gdb.hp/gdb.defects/configure (Makefile): Remove.
7615 * gdb.hp/gdb.defects/configure.ac: Remove.
7616 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
7617 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
7618 * gdb.hp/gdb.objdbg/configure.ac: Remove.
7619 * gdb.hp/configure.ac: Remove.
7620 * gdb.hp/configure: Remove.
7621 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
7622 substitution.
7623 (Makefile): Remove rule.
7624 * gdb.cell/configure.ac: Remove.
7625 * gdb.cell/configure: Remove.
7626 * gdb.stabs/Makefile.in (Makefile): Remove.
7627 (distclean): Don't remove config.status or config.log.
7628 * gdb.stabs/configure (Makefile): Remove.
7629 * gdb.stabs/configure.ac: Remove.
7630 * configure: Rebuild.
7631 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
7632 Remove stabs- and cell-specific logic. Test for existence of
7633 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
7634 subdirectories, gdb.cell, and and gdb.stabs.
7635 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
7636
c171f854
JB
76372011-03-03 Joel Brobecker <brobecker@adacore.com>
7638
7639 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
7640 end of buffer.
7641
9a5193cb
JB
76422011-03-02 Joel Brobecker <brobecker@adacore.com>
7643
7644 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
7645 gdb_test when running a test where we expected no output back.
7646
9bb4c1bb
MS
76472011-02-28 Michael Snyder <msnyder@vmware.com>
7648
7649 * gdb.cp/overload.cc: Change initializer value to integer.
7650
3bd0f5ef
MS
76512011-02-27 Michael Snyder <msnyder@vmware.com>
7652
7653 * gdb.multi/base.exp: Add test for remove-inferiors.
7654
2279eaad
JB
76552011-02-26 Joel Brobecker <brobecker@adacore.com>
7656
7657 * gdb.python/py-frame.exp: Simplify the initialization phase
7658 using prepare_for_testing.
7659
c82c0b55
MS
76602011-02-25 Michael Snyder <msnyder@vmware.com>
7661
7662 * gdb.multi/base.exp: Add tests for info inferiors with args.
7663
1d94651b
JK
76642011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7665
7666 * gdb.dwarf2/dw2-ranges.S: Rename to ...
7667 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
7668 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
7669 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
7670 asmfile3. Comment the STABS (#3) file compilation. Compile
7671 everything through assembler. Provide KFAIL for symtab/12497.
7672 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
7673 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
7674 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
7675 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
7676
3bd0f5ef
MS
76772011-02-24 Michael Snyder <msnyder@vmware.com>
7678
7679 * gdb.base/break.exp: Add tests for delete breakpoints using
7680 convenience variables and value history references.
7681
12c1418e
MS
76822011-02-24 Michael Snyder <msnyder@vmware.com>
7683
7684 * gdb.base/break.exp: Remove debugging 'printf' accidentally
7685 left behind in previous check-in.
7686
e5a67952
MS
76872011-02-23 Michael Snyder <msnyder@vmware.com>
7688
7689 * gdb.base/break.exp: Add tests for "info break" with arguments.
7690 * gdb.trace/infotrace.exp: Update patterns for error and help.
7691 * gdb.base/completion.exp: Update pattern.
7692 * gdb.base/ena-dis-br.exp: Update pattern.
7693 * gdb.base/help.exp: Update patterns.
7694
76952011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
7696
7697 * gdb.base/memattr.exp: New test.
7698 * gdb.base/memattr.c: Test load for memattr.exp.
7699
6e6fbe60
DE
77002011-02-22 Doug Evans <dje@google.com>
7701
7702 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
7703
1d41d745
MS
77042011-02-22 Michael Snyder <msnyder@vmware.com>
7705
7706 * Makefile.in: Make more clean.
7707 * gdb.ada/Makefile.in: Ditto.
7708 * gdb.arch/Makefile.in: Ditto.
7709 * gdb.asm/Makefile.in: Ditto.
7710 * gdb.base/Makefile.in: Ditto.
7711 * gdb.cp/Makefile.in: Ditto.
7712 * gdb.dwarf2/Makefile.in: Ditto.
7713 * gdb.java/Makefile.in: Ditto.
7714 * gdb.mi/Makefile.in: Ditto.
7715 * gdb.modula2/Makefile.in: Ditto.
7716 * gdb.python/Makefile.in: Ditto.
7717 * gdb.server/Makefile.in: Ditto.
7718 * gdb.stabs/Makefile.in: Ditto.
7719 * gdb.threads/Makefile.in: Ditto.
7720 * gdb.trace/Makefile.in: Ditto.
7721
79ba84ca
MS
77222011-02-22 Michael Snyder <msnyder@vmware.com>
7723
df46027d 7724 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
7725 info threads.
7726
b9b35694
JB
77272011-02-22 Joel Brobecker <brobecker@adacore.com>
7728
7729 * gdb.python/py-breakpoint.exp: Fix the expected output of
7730 one of the "maint info breakpoints" tests to accept the output
7731 generated on platforms that do not have hardware watchpoints.
7732
8bfb830f
JB
77332011-02-22 Joel Brobecker <brobecker@adacore.com>
7734
7735 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
7736 clean_restart. Be a little stricter in the expected output
7737 for one of the tests. Fix a typo in one of the comments.
7738
c45f3c54
JB
77392011-02-22 Joel Brobecker <brobecker@adacore.com>
7740
7741 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
7742 Delete variable binfile, no longer use. Add or modify test
7743 comments to make them unique.
7744
b97c863c
MS
77452011-02-21 Michael Snyder <msnyder@vmware.com>
7746
7747 * Makefile.in: Update for make clean.
7748 * gdb.ada/Makefile.in: Ditto.
7749 * gdb.arch/Makefile.in: Ditto.
7750 * gdb.asm/Makefile.in: Ditto.
7751 * gdb.base/Makefile.in: Ditto.
7752 * gdb.cp/Makefile.in: Ditto.
7753 * gdb.dwarf2/Makefile.in: Ditto.
7754 * gdb.java/Makefile.in: Ditto.
7755 * gdb.mi/Makefile.in: Ditto.
7756 * gdb.modula2/Makefile.in: Ditto.
7757 * gdb.python/Makefile.in: Ditto.
7758 * gdb.server/Makefile.in: Ditto.
7759 * gdb.stabs/Makefile.in: Ditto.
7760 * gdb.threads/Makefile.in: Ditto.
7761 * gdb.trace/Makefile.in: Ditto.
7762
aea5b279
MS
77632011-02-21 Michael Snyder <msnyder@vmware.com>
7764
7765 * gdb.threads/thread-find.exp: Update patterns for changes in
7766 output of "info threads" command.
7767
e3039479
UW
77682011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7769 Ulrich Weigand <uweigand@de.ibm.com>
7770
7771 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
7772 (skip_hw_watchpoint_tests): Likewise.
7773 (skip_hw_watchpoint_multi_tests): Likewise.
7774
b800ec70
UW
77752011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
7776
7777 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
7778 (skip_hw_watchpoint_tests): Likewise.
7779 (skip_hw_watchpoint_multi_tests): Likewise.
7780 (skip_hw_watchpoint_access_tests): Likewise.
7781
7782 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
7783 * gdb.base/pr11022.exp: Likewise.
7784 * gdb.base/watch-read.exp: Likewise.
7785 * gdb.base/watch_thread_num.exp: Likewise.
7786 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7787 * gdb.base/watchpoint-hw.exp: Likewise.
7788 * gdb.base/watchpoint.exp: Likewise.
7789 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
7790 * gdb.threads/watchthreads-reorder.exp: Likewise.
7791 * gdb.threads/watchthreads.exp: Likewise.
7792 * gdb.threads/watchthreads2.exp: Likewise.
7793
91033e37
JB
77942011-02-21 Joel Brobecker <brobecker@adacore.com>
7795
7796 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
7797 the debugger is unable to find the array bounds.
7798
eeaafae2
JK
77992011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7800
7801 * gdb.cp/typedef-operator.exp: New file.
7802 * gdb.cp/typedef-operator.cc: New file.
7803
e338d953
MS
78042011-02-17 Michael Snyder <msnyder@vmware.com>
7805
7806 * gdb.threads/thread-find.exp: Fix regular expressions.
7807
e67ad678
JB
78082011-02-17 Joel Brobecker <brobecker@adacore.com>
7809
7810 * gdb.ada/packed_array: Expand testcase to test printing of
7811 unconstrained packed array.
7812
93084bca
JB
78132011-02-17 Joel Brobecker <brobecker@adacore.com>
7814
7815 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
7816
a0c78a73
PA
78172011-02-16 Pedro Alves <pedro@codesourcery.com>
7818
f65d5553 7819 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
7820 (main): Initialize it before collecting, and and clear it
7821 afterwards.
f65d5553
PA
7822 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7823 collecting with '{type} addr', where the addr expression is not an
7824 rvalue.
a0c78a73 7825
3dfcbbd2
KW
78262011-02-16 Ken Werner <ken.werner@de.ibm.com>
7827
7828 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
7829 a bool variable. Expect correct OpenCL names for vector types. Use the
7830 uc3 variable name instead of referring to the uchar3 built-in type.
7831 Escape the asterisk at the half pointer test.
7832
08807d5a
PA
78332011-02-16 Pedro Alves <pedro@codesourcery.com>
7834
f65d5553 7835 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
7836 (main): Initialize it before collecting, and and clear it
7837 afterwards.
f65d5553
PA
7838 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7839 collecting overlapping memory ranges.
08807d5a 7840
60f98dde
MS
78412011-02-15 Michael Snyder <msnyder@vmware.com>
7842
7843 * gdb.base/default.exp: Add tests for thread commands.
7844 * gdb.base/help.exp: Add tests for thread commands.
7845 * gdb.threads/thread-find.exp: New test for thread find command.
7846
648cd113
KW
78472011-02-15 Ken Werner <ken.werner@de.ibm.com>
7848
7849 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
7850
494e194e
YQ
78512011-02-15 Yao Qi <yao@codesourcery.com>
7852
7853 PR tdep/12352
7854 * gdb.arch/arm-disp-step.S : New test for str instruction.
7855 * gdb.arch/arm-disp-step.exp : Likewise.
7856
d9492458
TJB
78572011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
7858
7859 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
7860 "vector_register2_vr" test strings. Test the extended floating
7861 point registers (F32~F63).
7862 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
7863 IBM XL C compiler. Make the test program use a register provided
7864 by the compiler for the lxvd2x instruction.
7865
8af8e3bc
PA
78662011-02-14 Pedro Alves <pedro@codesourcery.com>
7867
7868 * gdb.trace/unavailable.cc (class Base, class Middle, class
7869 Derived): New types.
7870 (derived_unavail, derived_partial, derived_whole): New globals.
7871 (virtual_partial): New global.
7872 (virtualp): Point at virtual_partial.
7873 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
7874 related to unavailable vptr.
7875
1b28d0b3
PA
78762011-02-14 Pedro Alves <pedro@codesourcery.com>
7877
7878 * gdb.trace/unavailable.cc (a, b, c): New globals.
7879 (main): Set and clear them.
7880 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
7881 `a' and `c', and check that `b' isn't collected, although `a' and
7882 `c' are.
7883
ec0a52e1
PA
78842011-02-14 Pedro Alves <pedro@codesourcery.com>
7885
7886 * gdb.trace/unavailable.cc (struct Virtual): New.
7887 (virtualp): New global pointer.
7888 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
7889 printing a pointer to an object whose type has a vtable, with
7890 print object on.
7891
24e6bcee
PA
78922011-02-14 Pedro Alves <pedro@codesourcery.com>
7893
7894 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
7895 value repeat handles unavailableness.
7896
39d37385
PA
78972011-02-14 Pedro Alves <pedro@codesourcery.com>
7898
7899 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
7900 tests for building arrays from unavailable values, subscripting
7901 non-memory rvalue unvailable arrays, and accessing fields or
7902 baseclasses of non-lazy unavailable values,
7903 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
7904 struct types.
7905 (g_smallstruct, g_smallstruct_b): New globals.
7906
06d72e16
PA
79072011-02-14 Pedro Alves <pedro@codesourcery.com>
7908
7909 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
7910
bc9a5551
JK
79112011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7912
7913 Fix const/volatile qualifiers of C++ types, PR c++/12328.
7914 * gdb.cp/overload-const.exp: New file.
7915 * gdb.cp/overload-const.cc: New file.
7916
54fcddd0
UW
79172011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7918
7919 * gdb.opencl/callfuncs.cl: New file.
7920 * gdb.opencl/callfuncs.exp: New test.
7921 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
7922
d6dafb7c
UW
79232011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7924
7925 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
7926 when computing result.
7927 * gdb.arch/altivec-abi.exp: Update expected results.
7928
a449c2d8
TJB
79292011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7930
7931 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
7932 * gdb.base/jit.exp: Likewise.
7933 * gdb.base/pie-execl.exp: Likewise.
7934 * gdb.base/solib-nodir.exp: Likewise.
7935 * gdb.base/solib-overlap.exp: Likewise.
7936
764880b7
PA
79372011-02-07 Pedro Alves <pedro@codesourcery.com>
7938
7939 * gdb.trace/collection.c (global_pieces): New.
7940 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
7941 New procedure.
7942 (gdb_trace_collection_test): Call it.
7943
505500db
SW
79442011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
7945
7946 * gdb.python/py-evthreads.c: New file.
7947 * gdb.python/py-evthreads.exp: New file.
7948 * gdb.python/py-events.py: New file.
7949 * gdb.python/py-events.exp: New file.
7950 * gdb.python/py-events.c: New file.
7951
385203ed
DD
79522011-02-04 David Daney <ddaney@caviumnetworks.com>
7953
7954 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
7955
9011945e
AB
79562011-02-03 Andrew Burgess <aburgess@broadcom.com>
7957
7958 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
7959 gdb.base/disasm-end-cu.exp: New test for disassembling over the
7960 boundary between two compilation units.
7961
580688f3
PA
79622011-02-02 Pedro Alves <pedro@codesourcery.com>
7963
7964 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
7965 (Virtual): New structs.
7966 (virtual_o, virtual_middle_b): New globals.
7967 * gdb.cp/virtbase.exp: New tests.
7968
d3f0f853
PP
79692011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7970
7971 * gdb.base/jit.exp: New file.
7972 * gdb.base/jit-main.c: New file.
7973 * gdb.base/jit-solib.c: New file.
7974
b2030fb5
UW
79752011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
7976
7977 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
7978 proceed to initial kernel entry point.
7979 * gdb.opencl/datatypes.exp: Likewise.
7980 * gdb.opencl/operators.exp: Likewise.
7981 * gdb.opencl/vec_comps.exp: Likewise.
7982
2db19d1e
SW
79832011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
7984
7985 * gdb.cp/nsnested.cc: New.
7986 * gdb.cp/nsnested.exp: New.
7987 * gdb.cp/nsnoimports.exp: New.
7988 * gdb.cp/nsnoimports.cc: New.
7989
6b0c4c1f
JB
79902011-01-31 Joel Brobecker <brobecker@adacore.com>
7991
7992 * gdb.base/interact.exp: Add extra tests that verify that
7993 the value of the interactive-mode setting does not change
7994 after the script is sourced.
7995
80b23b6a
JK
79962011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7997
7998 * gdb.cp/noparam.exp: New file.
7999 * gdb.cp/noparam.cc: New file.
8000
ffd5ec24
PA
80012011-01-28 Pedro Alves <pedro@codesourcery.com>
8002
8003 * gdb.trace/tfile.exp: Test that with no traceframe selected,
8004 there's no stack or registers.
8005
a81766d8
TT
80062011-01-26 Tom Tromey <tromey@redhat.com>
8007
8008 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
8009 space before string output. Add test for "set print pretty off"
8010 case.
8011
585fdaa1
PA
80122011-01-25 Pedro Alves <pedro@codesourcery.com>
8013
8014 * gdb.base/frame-args.exp: Adjust.
8015 * gdb.dwarf2/dw2-noloc.exp: Adjust.
8016 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
8017 * gdb.dwarf2/pieces.exp: Adjust.
8018 * gdb.opt/clobbered-registers-O2.exp: Adjust.
8019 * gdb.opt/inline-locals.exp: Adjust.
8020 * gdb.threads/fork-child-threads.exp: Adjust.
8021
d468832a
KW
80222011-01-25 Ken Werner <ken.werner@de.ibm.com>
8023
8024 * gdb.opencl/convs_casts.cl: Move program scope variables into the
8025 OpenCL kernel function. Add a comment as marker. Add address space
8026 qualifiers for the remaining program scope variables.
8027 * gdb.opencl/datatypes.cl: Likewise.
8028 * gdb.opencl/operators.cl: Likewise.
8029 * gdb.opencl/vec_comps.cl: Likewise.
8030 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
8031 Add breakpoint at the marker comment.
8032 * gdb.opencl/datatypes.exp: Likewise.
8033 * gdb.opencl/operators.exp: Likewise.
8034 * gdb.opencl/vec_comps.exp: Likewise.
8035
490f124f
PA
80362011-01-24 Pedro Alves <pedro@codesourcery.com>
8037
8038 * gdb.base/printcmds.c (some_struct): New struct and instance.
8039 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
8040 procedure.
8041 <global scope>: Call it.
8042
6da78614
KW
80432011-01-21 Ken Werner <ken.werner@de.ibm.com>
8044
8045 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
8046 argument to the gdb_compile_opencl_hostapp call.
8047
ec64c9aa
YQ
80482011-01-19 Yao Qi <yao@codesourcery.com>
8049
8050 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
8051 positve list.
8052
810cfdbb
YQ
80532011-01-19 Yao Qi <yao@codesourcery.com>
8054
8055 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
8056 canonical form.
8057 Remove "xscale-*-*"
8058 * gdb.xml/tdesc-regs.exp: Likewise.
8059 * gdb.python/py-section-script.exp: Replace ARM target triplet
8060 with canonical form.
8061 Match arm*-*-symbianelf*.
8062 * gdb.base/dup-sect.exp: Likewise.
8063 * lib/dwarf.exp: New.
8064 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
8065 dwarf2_support.
8066 * gdb.dwarf2/dup-psym.exp: Likewise.
8067 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
8068 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8069 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
8070 * gdb.dwarf2/dw2-basic.exp: Likewise.
8071 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8072 * gdb.dwarf2/dw2-const.exp: Likewise.
8073 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
8074 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
8075 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8076 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
8077 * gdb.dwarf2/dw2-filename.exp: Likewise.
8078 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8079 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
8080 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8081 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8082 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
8083 * gdb.dwarf2/dw2-noloc.exp: Likewise.
8084 * gdb.dwarf2/dw2-op-call.exp: Likewise.
8085 * gdb.dwarf2/dw2-producer.exp: Likewise.
8086 * gdb.dwarf2/dw2-ranges.exp: Likewise.
8087 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
8088 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
8089 * gdb.dwarf2/dw2-strp.exp: Likewise.
8090 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
8091 * gdb.dwarf2/implptr.exp: Likewise.
8092 * gdb.dwarf2/mac-fileno.exp: Likewise.
8093 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
8094 * gdb.dwarf2/pieces.exp: Likewise.
8095 * gdb.dwarf2/pr11465.exp: Likewise.
8096 * gdb.dwarf2/valop.exp: Likewise.
8097 * gdb.dwarf2/watch-notconst.exp: Likewise.
8098 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
8099
4694da01
TT
81002011-01-19 Tom Tromey <tromey@redhat.com>
8101
8102 * gdb.python/py-infthread.exp: Add thread tests.
8103
b075872c
JB
81042011-01-14 Joel Brobecker <brobecker@adacore.com>
8105
8106 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
8107
2c3e6e24
JB
81082011-01-14 Joel Brobecker <brobecker@adacore.com>
8109
8110 * gdb.ada/widewide: New testcase.
8111
de8fa76c
JB
81122011-01-13 Joel Brobecker <brobecker@adacore.com>
8113
8114 * gdb.base/interact.exp: New testcase.
8115
1b05df00
TT
81162011-01-12 Tom Tromey <tromey@redhat.com>
8117
8118 * gdb.mi/gdb2549.exp: Update for error message changes.
8119 * gdb.mi/mi-cli.exp: Likewise.
8120 * gdb.mi/mi-disassemble.exp: Likewise.
8121 * gdb.mi/mi-pthreads.exp: Likewise.
8122 * gdb.mi/mi-regs.exp: Likewise.
8123 * gdb.mi/mi-stack.exp: Likewise.
8124 * gdb.mi/mi-var-block.exp: Likewise.
8125 * gdb.mi/mi-var-cmd.exp: Likewise.
8126 * gdb.mi/mi2-cli.exp: Likewise.
8127 * gdb.mi/mi2-disassemble.exp: Likewise.
8128 * gdb.mi/mi2-pthreads.exp: Likewise.
8129 * gdb.mi/mi2-regs.exp: Likewise.
8130 * gdb.mi/mi2-stack.exp: Likewise.
8131 * gdb.mi/mi2-var-block.exp: Likewise.
8132 * gdb.mi/mi2-var-cmd.exp: Likewise.
8133
c2ff108b
JK
81342011-01-12 Andrew Burgess <aburgess@broadcom.com>
8135 Jan Kratochvil <jan.kratochvil@redhat.com>
8136
8137 PR fortran/11104 and DWARF unbound arrays detection.
8138 * gdb.fortran/multi-dim.exp: New file.
8139 * gdb.fortran/multi-dim.f90: New file.
8140
b716877b
AB
81412011-01-12 Andrew Burgess <aburgess@broadcom.com>
8142
8143 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
8144 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
8145 add new tests for opcode dumping.
8146
6c162d5e
TT
81472011-01-11 Tom Tromey <tromey@redhat.com>
8148
8149 * gdb.python/py-infthread.exp: Load gdb-python.exp.
8150
77b06cd7
TJB
81512010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
8152
8153 Convert hardware watchpoints to use breakpoint_ops.
8154 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
8155 type is not supported.
8156 * gdb.base/foll-fork.exp: Likewise.
8157 * gdb.base/foll-vfork.exp: Likewise.
8158
f39a75d0
PM
81592011-01-10 Phil Muldoon <pmuldoon@redhat.com>
8160
8161 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
8162 Use load_lib gdb-python.exp.
8163 * gdb.python/python.exp: Ditto.
8164 * gdb.python/py-function.exp: Ditto.
8165
fc529d80
AS
81662011-01-09 Andreas Schwab <schwab@linux-m68k.org>
8167
8168 * gdb.threads/tls.exp ("info address me"): Fix expected output.
8169
fb03cb59
JK
81702011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8171
8172 * configure: Regenerate.
8173
d8e22779
TT
81742011-01-06 Tom Tromey <tromey@redhat.com>
8175
8176 * gdb.python/py-frame.exp: Test gdb.newest_frame.
8177
09050809
JB
81782011-01-06 Joel Brobecker <brobecker@adacore.com>
8179
fc529d80
AS
8180 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
8181 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
8182 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8183 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
8184 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
8185 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8186 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
8187 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
8188 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
8189 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
8190 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
8191 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
8192 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
8193 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8194 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8195 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
8196 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
8197 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
8198 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8199 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
8200 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
8201 gdb.ada/uninitialized_vars.exp,
8202 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
8203 Simplify by using clean_restart.
09050809 8204
8ed5dd9e
JB
82052011-01-06 Joel Brobecker <brobecker@adacore.com>
8206
8207 Add marker to be used as anchor for inserting breakpoints.
8208 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
8209 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
8210 Likewise.
8211
8212 Remove uses of gdb_start_cmd.
8213 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
8214 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
8215
8216 Do not run testcase if testing with GDBserver.
8217 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
8218 if testing with GDBserver.
8219
368a124f
JB
82202011-01-06 Joel Brobecker <brobecker@adacore.com>
8221
8222 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
8223 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
8224 copyright header.
8225
44944448
JB
82262011-01-05 Joel Brobecker <brobecker@adacore.com>
8227
8228 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
8229 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
8230 testsuite/gdb.fortran/complex.f,
8231 testsuite/gdb.fortran/derived-type.f90,
8232 testsuite/gdb.fortran/library-module-lib.f90,
8233 testsuite/gdb.fortran/library-module-main.f90,
8234 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
8235 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
8236 Copyright year update.
8237
31886ea6
JB
82382011-01-05 Joel Brobecker <brobecker@adacore.com>
8239
8240 * gdb.base/langs1.f: Add copyright header.
8241
ebedcab5
JK
82422011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8243
8244 * gdb.base/morestack.exp: New file.
8245 * gdb.base/morestack.c: New file.
8246
de1eb2f9
JK
82472011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8248
8249 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
8250
9e87a409
JB
82512010-12-29 Joel Brobecker <brobecker@adacore.com>
8252
8253 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
8254 * gdb.ada/arrayptr.exp: Add test printing that new variable.
8255
720d1a40
JB
82562010-12-29 Joel Brobecker <brobecker@adacore.com>
8257
8258 * gdb.ada/lang_switch.exp: Correct expected parameter value.
8259
a283af87
AS
82602010-12-25 Andreas Schwab <schwab@linux-m68k.org>
8261
5d3d9cba
AS
8262 * gdb.threads/tls.exp: Fix typo.
8263
a283af87
AS
8264 * gdb.threads/thread-specific.exp (get_thread_list): Update.
8265 * gdb.threads/execl.exp: Update.
8266
2a20745c
YQ
82672010-12-23 Yao Qi <yao@codesourcery.com>
8268
8269 * gdb.arch/arm-disp-step.exp: New.
8270 * gdb.arch/arm-disp-step.S: New.
8271
a7658b96
TT
82722010-12-21 Tom Tromey <tromey@redhat.com>
8273
8274 * gdb.threads/execl.exp: Update.
8275 * gdb.threads/linux-dp.exp: Update.
8276 * gdb.threads/manythreads.exp: Update.
8277 * gdb.threads/tls.exp: Update.
8278
5b79abe7
TT
82792010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8280
8281 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
8282 (NextOverThrowDerivates) <resumebpt>: New.
8283 (resumebpt_test): New.
8284 (main): Call resumebpt_test.
8285 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
8286
0914bcdb
SS
82872010-12-12 Stan Shebs <stan@codesourcery.com>
8288
8289 * gdb.trace/tsv.exp: Test print command on trace state variables.
8290
305aeedc
TT
82912010-12-09 Tom Tromey <tromey@redhat.com>
8292
8293 * gdb.base/interp.exp: Add regression test.
8294
186c406b
TT
82952010-12-09 Tom Tromey <tromey@redhat.com>
8296
8297 * gdb.java/jnpe.java: New file.
8298 * gdb.java/jnpe.exp: New file.
8299 * gdb.cp/nextoverthrow.exp: New file.
8300 * gdb.cp/nextoverthrow.cc: New file.
8301
aae1c79a
DE
83022010-12-07 Doug Evans <dje@google.com>
8303
8304 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
8305 of data-directory.
8306 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
8307 updated.
8308 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
8309
60f98dde 83102010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
8311
8312 * gdb.base/callfuncs.exp: Test for skip_float_tests.
8313 * gdb.base/call-sc.exp: Ditto.
8314 * gdb.base/finish.exp: Ditto.
8315 * gdb.base/return.exp: Ditto.
8316 * gdb.base/return2.exp: Ditto.
8317
5fa290c1
DE
83182010-11-30 Doug Evans <dje@google.com>
8319
8320 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
8321 (gdb_expect_list): Fix spelling errors in comments.
8322 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
8323 send_gdb/gdb_expect_list where applicable.
8324 * gdb.base/call-ar-st.exp: Ditto.
8325 * gdb.base/funcargs.exp: Ditto.
8326 * gdb.base/gcore.exp: Ditto.
8327 * gdb.base/page.exp: Ditto.
8328 * gdb.base/sigaltstack.exp: Ditto.
8329 * gdb.base/siginfo.exp: Ditto.
8330 * gdb.base/sigstep.exp: Ditto.
8331 * gdb.base/trace-commands.exp: Ditto.
8332
4e04c971
DE
83332010-11-29 Doug Evans <dje@google.com>
8334
8335 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
8336 printer-name;subprinter-name.
8337
8cf6f0b1
TT
83382010-11-29 Tom Tromey <tromey@redhat.com>
8339
8340 * gdb.dwarf2/implptr.exp: New file.
8341 * gdb.dwarf2/implptr.c: New file.
8342 * gdb.dwarf2/implptr.S: New file.
8343
94b6973e
PM
83442010-11-29 Phil Muldoon <pmuldoon@redhat.com>
8345
fc529d80 8346 PR python/12199
94b6973e
PM
8347
8348 * gdb.python/py-breakpoint.exp: Test the delete method.
8349
8358c15c
JK
83502010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8351
8352 Fix step_resume_breakpoint unsaved during an infcall.
8353 * gdb.base/step-resume-infcall.exp: New file.
8354 * gdb.base/step-resume-infcall.c: New file.
8355
f6df29bc
TJB
83562010-11-24 Edjunior Machado <emachado@br.ibm.com>
8357
8358 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
8359
f2b5a5cf
TJB
83602010-11-24 Edjunior Machado <emachado@br.ibm.com>
8361
8362 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
8363 on ppc64's symbols; "finish" and "return" commands must accept to
8364 show the caller line again as well as the line after.
8365 * gdb.asm/powerpc64.inc: New file.
8366
6b0ecdc2
DE
83672010-11-23 Doug Evans <dje@google.com>
8368
8369 * lib/gdb.exp (gdb_test_sequence): New function.
8370 (gdb_expect_list): Add verbose -log call for each pattern.
8371 * gdb.base/signals.exp (test_handle_all_print): Call it.
8372 Reduce timeout increment from 6 minutes to 1 minute.
8373 * gdb.server/ext-run.exp: Call it.
8374
ea976c60
PM
83752010-11-23 Phil Muldoon <pmuldoon@redhat.com>
8376
f2b5a5cf 8377 PR python/12212
ea976c60
PM
8378
8379 * gdb.python/python.exp: Check that selected_thread raises an
8380 error when no inferior is loaded.
8381
c0efa795
JK
83822010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8383
8384 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
8385 * gdb.dwarf2/dw2-stack-boundary.S: New file.
8386
ec3aa567
JK
83872010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8388
8389 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
8390 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
8391
d8249011
DE
83922010-11-18 Doug Evans <dje@google.com>
8393
8394 * gdb.server/ext-run.exp: Fix intermittent failures.
8395
d4eba7d1
NF
83962010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8397
8398 * gdb.stabs/gdb11479.exp: Use runto_main.
8399
b04c2f88
NF
84002010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8401
8402 * gdb.base/break-entry.exp: Skip if using a stub.
8403
ae9d7ce4
NF
84042010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8405
8406 * gdb.python/py-inferior.exp: Pack values in target endianness.
8407
621c8364
TT
84082010-11-12 Tom Tromey <tromey@redhat.com>
8409
8410 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
8411 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
8412 MemoryError.
8413 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
8414 type.
8415 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
8416 MemoryError.
8417 (test_subscript_regression): Update exception type.
8418
84f4c1fe
PM
84192010-11-11 Phil Muldoon <pmuldoon@redhat.com>
8420
8421 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
8422 breakpoint tests.
8423
a1442452
PA
84242010-11-09 Pedro Alves <pedro@codesourcery.com>
8425
8426 * gdb.base/watchpoint.exp: Test "watch -location" with an
8427 innacessible location.
8428
efd11a33
JK
84292010-11-09 Edjunior Machado <emachado@br.ibm.com>
8430 Luis Machado <luisgpm@br.ibm.com>
8431
8432 * gdb.base/maint.exp: Expect "." prefix.
8433 * gdb.base/nodebug.exp: Expect "." Likewise.
8434 * gdb.base/sepsymtab.exp: Expect "." Likewise.
8435 * gdb.base/watchpoint-cond-gone.exp: Likewise.
8436 * gdb.base/watchpoint.exp: Expect a software watch to be created for
8437 POWER server processors.
8438
aa00efb5
JK
84392010-11-08 Edjunior Machado <emachado@br.ibm.com>
8440 Luis Machado <luisgpm@br.ibm.com>
8441
8442 * gdb.base/break-entry.exp: convert entry point for
8443 ppc64 and expect leading `.' on ppc64's symbols
8444
99e7ae30
DE
84452010-11-05 Doug Evans <dje@google.com>
8446
8447 * gdb.base/help.exp: Update expected output.
b521dba8
DE
8448 * gdb.python/py-param.exp: Delete, contents moved to ...
8449 * gdb.python/py-parameter.exp: ... here. New file.
8450 Add test for gdb.parameter ("directories").
99e7ae30 8451
f4b8a18d
KW
84522010-11-05 Ken Werner <ken.werner@de.ibm.com>
8453
8454 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
8455 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
8456 * configure: Regenerate.
8457 * gdb.opencl/Makefile.in: New File.
8458 * gdb.opencl/datatypes.exp: Likewise.
8459 * gdb.opencl/datatypes.cl: Likewise.
8460 * gdb.opencl/operators.exp: Likewise.
8461 * gdb.opencl/operators.cl: Likewise.
8462 * gdb.opencl/vec_comps.exp: Likewise.
8463 * gdb.opencl/vec_comps.cl: Likewise.
8464 * gdb.opencl/convs_casts.exp: Likewise.
8465 * gdb.opencl/convs_casts.cl: Likewise.
8466 * lib/opencl.exp: Likewise.
8467 * lib/opencl_hostapp.c: Likewise.
8468 * lib/opencl_kernel.cl: Likewise.
8469 * lib/cl_util.c: Likewise.
8470 * lib/cl_util.c: Likewise.
8471 * gdb.base/default.exp (set language): Add "opencl" to the list of
8472 languages.
8473
a9d5ef47
SW
84742010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
8475
8476 * gdb.cp/overload.exp: Added test for inheritance overload.
8477 * gdb.cp/overload.cc: Ditto.
8478 * gdb.cp/oranking.exp: Removed releveant kfails.
8479
03eb1c79
JK
84802010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8481 Joel Brobecker <brobecker@adacore.com>
8482
8483 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
8484 check test_compiler_info.
8485
dbc98a8b
KW
84862010-11-03 Ken Werner <ken.werner@de.ibm.com>
8487
8488 * gdb.base/gnu_vector.exp: Adjust expect messages.
8489
120bd360
KW
84902010-11-03 Ken Werner <ken.werner@de.ibm.com>
8491
8492 * gdb.base/gnu_vector.exp: Add unary operator tests.
8493
c37f7098
KW
84942010-11-03 Ken Werner <ken.werner@de.ibm.com>
8495
8496 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
8497
7b51bc51
DE
84982010-11-02 Doug Evans <dje@google.com>
8499
8500 * gdb.python/py-pp-maint.c: New file.
8501 * gdb.python/py-pp-maint.exp: New file.
8502 * gdb.python/py-pp-maint.py: New file.
8503
50c97f38
TT
85042010-11-02 Tom Tromey <tromey@redhat.com>
8505
8506 * gdb.base/default.exp: Remove "scheme" from language list.
8507
a289b8f6
JK
85082010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8509
8510 Revert:
8511 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8512 * gdb.threads/sigstep-threads.exp: New file.
8513 * gdb.threads/sigstep-threads.c: New file.
8514
cd017491
MS
85152010-10-20 Michael Snyder <msnyder@vmware.com>
8516
8517 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
8518
8e6a5956
UW
85192010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8520
8521 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
8522 Skip test completely if gdb,no_hardware_watchpoints.
8523
2c04da0d
UW
85242010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8525
8526 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
8527 strict, but do not check for any particular function name within libc.
8528
79afc5ef
SW
85292010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8530
8531 * gdb.cp/smartp.exp: New test.
8532 * gdb.cp/smartp.cc : New test.
8533
026ffab7
SW
85342010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8535
8536 * gdb.cp/converts.exp: Test pointer to bool conversion.
8537 Test pointer to long conversion.
8538 * gdb.cp/oranking.exp: Removed relevant kfail.
8539
3a772aa4
TT
85402010-10-18 Tom Tromey <tromey@redhat.com>
8541
8542 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
8543 argument to lazy_string.
8544 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
8545 (pp_ls.to_string): Use it.
8546 * gdb.python/py-prettyprint.c (main): Move declarations to top.
8547 Add "estring2" local.
8548
5fc3827b
JK
85492010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8550
8551 Fix s390x compatibility.
8552 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
8553 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
8554
8aeb23f3
JK
85552010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8556
8557 * gdb.threads/sigstep-threads.exp: New file.
8558 * gdb.threads/sigstep-threads.c: New file.
8559
c1e56572
JK
85602010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8561
8562 * gdb.base/pie-execl.exp: New file.
8563 * gdb.base/pie-execl.c: New file.
8564
92163a10
JK
85652010-10-13 Doug Evans <dje@google.com>
8566 Jan Kratochvil <jan.kratochvil@redhat.com>
8567
8568 PR exp/12117
8569 * gdb.cp/ptype-cv-cp.cc: New file.
8570 * gdb.cp/ptype-cv-cp.exp: New file.
8571
7062b0a0
SW
85722010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
8573
8574 * gdb.cp/converts.cc: New test program.
8575 * gdb.cp/converts.exp: New test.
8576 * gdb.cp/overload.exp: Added test for void* vs int*.
8577 * gdb.cp/overload.exp: Ditto.
8578 * gdb.cp/oranking.exp: Removed related kfail.
8579
0e3509db
DE
85802010-10-13 Doug Evans <dje@google.com>
8581
8582 * lib/gdb-python.exp (gdb_check_python_config): New function.
8583 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
8584 * gdb.python/lib-types.cc: New file.
8585 * gdb.python/lib-types.exp: New file.
8586
8dc78533
JK
85872010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8588
8589 * gdb.python/py-error.exp: New file.
8590 * gdb.python/py-error.py: New file.
8591
93c17e06
JK
85922010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8593
8594 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
8595 gdb_test_multiple.
8596
d8b34041
JK
85972010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8598
8599 * gdb.base/break-interp.exp: Use ldlags for linking flags.
8600 * gdb.base/prelink.exp: Likewise.
8601 * gdb.base/solib-nodir.exp: Likewise.
8602 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
8603 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
8604 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
8605
e0cc584e
UW
86062010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
8607
8608 * break-interp.exp (test_ld): Use two separate gdb_expect statements
8609 for the "info files" test to avoid timeouts on slow machines.
8610
cfc353b1
JK
86112010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8612
8613 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
8614 (main): Make openlib dummy call.
8615
d3d7896d
JK
86162010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8617
8618 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
8619 * break-interp.exp (reach): Move the core body ...
8620 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
8621 (test_ld): Provide always real argument, even to the linker. Replace
8622 dl_main by _dl_debug_state.
8623
5e533c94
JK
86242010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8625
8626 Fix results of prelinked PIEs on ppc*.
8627 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
8628 Accept also DISPLACEMENT "PRESENT".
8629 (main): Replace "ZERO" displacements by "PRESENT".
8630
33540610
SW
86312010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
8632
8633 * gdb.cp/oranking.exp: New test.
8634 * gdb.cp/oranking.cc: New test program.
8635
3bdf2bbd
KW
86362010-10-08 Ken Werner <ken.werner@de.ibm.com>
8637
8638 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
8639 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
8640
2f608a3a
KW
86412010-10-06 Ken Werner <ken.werner@de.ibm.com>
8642
8643 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
8644 lush, lynx) New constant.
8645 * gdb.base/constvars.exp: Test const array types.
8646 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
8647
aa2e2d8d
DE
86482010-10-06 Doug Evans <dje@google.com>
8649
8650 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
8651 of syscall staging area.
8652
2844d6b5
KW
86532010-10-06 Ken Werner <ken.werner@de.ibm.com>
8654
8655 * gdb.base/gnu_vector.c: Add variable c4.
8656 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
8657 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
8658
7d8ac8bb
MR
86592010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
8660
8661 * gdb.arch/altivec-abi.exp: Fix a typo.
8662
84a02e58
MR
86632010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
8664
8665 * lib/mi-support.exp (thread_selected_re): Correct pattern used
8666 to match a thread ID.
8667
b18e6318
JK
86682010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8669
8670 Fix s390x testcase compatibility.
8671 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
8672
a2c09bd0
DE
86732010-10-01 Doug Evans <dje@google.com>
8674
8675 * lib/gdb-python.exp: New file.
8676 * gdb.python/py-block.exp: Use it.
8677 * gdb.python/py-breakpoint.exp: Ditto.
8678 * gdb.python/py-frame.exp: Ditto.
8679 * gdb.python/py-inferior.exp: Ditto.
8680 * gdb.python/py-param.exp: Ditto.
8681 * gdb.python/py-prettyprint.exp: Ditto.
8682 * gdb.python/py-shared.exp: Ditto.
8683 * gdb.python/py-symbol.exp: Ditto.
8684 * gdb.python/py-symtab.exp: Ditto.
8685 * gdb.python/py-type.exp: Ditto.
8686 * gdb.python/py-value.exp: Ditto.
8687 * gdb.python/python.exp: Ditto.
8688
38f12cfc
TT
86892010-09-30 Tom Tromey <tromey@redhat.com>
8690
8691 * gdb.base/anon.exp: New file.
8692 * gdb.base/anon.c: New file.
8693
9ae8282d
TT
86942010-09-30 Tom Tromey <tromey@redhat.com>
8695
8696 * gdb.base/completion.exp: Test completion through anonymous
8697 union.
8698 * gdb.base/break1.c (struct some_struct): Add anonymous union.
8699
e9e07ba6
JK
87002010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8701
8702 Fix printing parameters of inlined functions.
8703 * gdb.dwarf2/dw2-inline-param.exp: New file.
8704 * gdb.dwarf2/dw2-inline-param-main.c: New file.
8705 * gdb.dwarf2/dw2-inline-param.S: New file.
8706
cd2effb2
JK
87072010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8708
8709 PR corefiles/12071.
8710 * gdb.base/corefile.exp (quit with a process, no question: load core)
8711 (quit with a core file): New tests.
8712
bceffbf3
JK
87132010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8714
8715 Fix GDB crash on inferior calls with self-referencing classes.
8716 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
8717 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
8718 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
8719
1736ad11
JK
87202010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8721
8722 Fix lost siginfo_t for inferior calls.
8723 * gdb.base/siginfo-infcall.exp: New file.
8724 * gdb.base/siginfo-infcall.c: New file.
8725
a176ad92
JB
87262010-09-22 Joel Brobecker <brobecker@adacore.com>
8727
8728 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
8729
c2b0a229
JK
87302010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8731
8732 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
8733 New test.
8734 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
8735
e8ae22d1
JB
87362010-09-22 Joel Brobecker <brobecker@adacore.com>
8737
8738 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
8739 type of our const type.
8740
ec322823
SW
87412010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
8742
8743 * gdb.cp/pr12028.cc: New.
8744 * gdb.cp/pr12028.exp: New.
8745
72929c62
JB
87462010-09-22 Joel Brobecker <brobecker@adacore.com>
8747
8748 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
8749
875b4ff5 87502010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 8751 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
8752
8753 PR mi/11407
8754 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
8755 * gdb.mi/dw2-ref-missing-frame-main.c New File.
8756 * gdb.mi/dw2-ref-missing-frame.S New File.
8757 * gdb.mi/dw2-ref-missing-frame.exp New File.
8758
7155d578
TT
87592010-09-14 Tom Tromey <tromey@redhat.com>
8760
8761 PR symtab/8399:
8762 * gdb.threads/tls.exp: Remove kfail. Update expected output.
8763
515ed532
TT
87642010-09-14 Tom Tromey <tromey@redhat.com>
8765
8766 PR exp/11803:
8767 * gdb.threads/tls.exp: Use C++.
8768 (check_thread_local): Use K::another_thread_local.
8769 * gdb.threads/tls.c (class K): New.
8770 (another_thread_local): Now a member of K.
8771 (spin): Update. No longer K&R C.
8772
450ca57c
SW
87732010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
8774
8775 * gdb.cp/koenig.cc: created class for testing member lookup.
8776 * gdb.cp/koenig.exp: Added test for member lookup.
8777
dbd492a3
JK
87782010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8779
8780 Fix false FAILs on sourcetree topdir directory containing "kill".
8781 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
8782 source line matching regexp.
8783
8d4d924b
JK
87842010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8785
8786 * gdb.python/python.exp (set height 0, collect help from uiout)
8787 (verify help to uiout): New tests.
8788
8e64f2a0
JK
87892010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8790
8791 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
8792 is_lp64_target to check 64bit target.
8793
4569eed2
JK
87942010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8795
8796 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
8797 (test_ld) <powerpc64-*>: New.
8798
5e1617b1
DJ
87992010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8800
8801 * gdb.cp/templates.exp (test_template_args): Allow "struct".
8802
c767944b
DJ
88032010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8804
8805 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
8806 (FunctionArg::method): New function.
8807 (empty, arg): New variables.
8808 (main): Call arg.method.
8809 * gdb.cp/templates.exp (test_template_args): New function.
8810 (do_tests): Call it.
8811
27d3a3fc
UW
88122010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8813
8814 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
8815 of "next" to proceed over pthread_exit call.
8816
55b7ce7f
UW
88172010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8818
8819 * gdb.base/maint.exp: Avoid wildcards against potentially very long
8820 "maint print statistics" output to prevent expect timeouts.
8821
809df446
JK
88222010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8823
8824 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
8825 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8826 (test_float_rejected): ... here.
8827 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
8828 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8829 (test_float_rejected): ... here.
8830 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
8831 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8832 (test_float_rejected): ... here.
8833 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
8834 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8835 (test_float_rejected): ... here.
8836
8464be76
DJ
88372010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8838
8839 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
8840 before disabling hardware watchpoints.
8841 (test_inaccessible_watchpoint): Check that hardware watchpoints
8842 are used. Test for watchpoints on a constant address.
8843
14dba4b4
JK
88442010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8845
8846 * gdb.base/ui-redirect.exp: New file.
8847
3f3540e1 88482010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 8849 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
8850
8851 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
8852
0f254bb7
DE
88532010-08-31 Doug Evans <dje@google.com>
8854
8855 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
8856
03f17ccf
TT
88572010-08-30 Tom Tromey <tromey@redhat.com>
8858
8859 PR python/11792:
8860 * gdb.python/py-value.exp (test_subscript_regression): Add
8861 dynamic_type test.
8862
640617ad
DJ
88632010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
8864
8865 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
8866 instead of running to main. Do not test the main function.
8867 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
8868 Add new main.
8869
2ed91d1b
PA
88702010-08-26 Pedro Alves <pedro@codesourcery.com>
8871
8872 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
8873 one test.
8874
673bfd45
DE
88752010-08-24 Doug Evans <dje@google.com>
8876
8877 PR symtab/11942
8878 * gdb.dwarf2/dw4-sig-types.cc: New file.
8879 * gdb.dwarf2/dw4-sig-types.h: New file.
8880 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
8881 * gdb.dwarf2/dw4-sig-types.exp: New file.
8882
f9ffd4bb
TT
88832010-08-23 Tom Tromey <tromey@redhat.com>
8884
8885 PR python/11145:
8886 * gdb.python/py-value.c (Base, Derived): New types.
8887 (base): New global.
8888 * gdb.python/py-value.exp (test_subscript_regression): Add
8889 dynamic_cast test.
8890
d839c8a4
TT
88912010-08-23 Tom Tromey <tromey@redhat.com>
8892
8893 PR python/10676:
8894 * gdb.python/py-type.exp (test_fields): Add tests for type
8895 equality.
8896
702c2711
TT
88972010-08-23 Tom Tromey <tromey@redhat.com>
8898
8899 PR python/11915:
8900 * gdb.python/py-type.exp (test_fields): Add tests for array.
8901
832bafd3
KS
89022010-08-23 Keith Seitz <keiths@redhat.com>
8903
8904 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
8905 have any children. Create a new abbrev for it.
8906 Add missing terminal sequence to .debug_abbrev.
8907
c37bf528
KS
89082010-08-20 Keith Seitz <keiths@redhat.com>
8909
8910 PR symtab/11465:
8911 * gdb.dwarf2/pr11465.exp: New test.
8912 * gdb.dwarf2/pr11465.S: New file.
8913 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
8914 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
8915
4572cbac
TJB
89162010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
8917
8918 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
8919 registers. Update data sets with the new v2_double element in the
8920 VSX register union. Add vector_register3_vr data set for the AltiVec
8921 registers. Use gdb_test_no_output instead of send_gdb.
8922
e7fbb131
PA
89232010-08-19 Pedro Alves <pedro@codesourcery.com>
8924
8925 * gdb.python/py-shared.exp: New file, factored out from
8926 python.exp.
8927 * gdb.python/py-shared.c: New file.
8928 * gdb.python/py-shared-sl.c: New file.
8929 * gdb.python/python-1.c: New file.
8930 * gdb.python/python-sl.c: Delete.
8931 * gdb.python/python.c: Mention python-1.c.
8932 * gdb.python/python.exp: Move shared library tests to
8933 py-shared.exp.
8934 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
8935 (MISCELLANEOUS): New.
8936 (clean mostlyclean): Also remove $MISCELLANEOUS.
8937
d30f5e1f
DE
89382010-08-19 Doug Evans <dje@google.com>
8939
8940 PR exp/11926
8941 * gdb.base/printcmds.exp (test_float_accepted): New function.
8942 Move existing float tests there. Add tests for floats with suffixes.
8943 (test_float_rejected): New function.
8944 * gdb.java/jv-print.exp (test_float_accepted): New function.
8945 (test_float_rejected): New function.
8946 * gdb.objc/print.exp: New file.
8947 * gdb.pascal/print.exp: New file.
8948 * lib/objc.exp: New file.
8949
7b3fd859
PM
89502010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
8951
8952 * gdb.base/default.exp (info set): Avoid full buffer error and force
8953 reading up to final gdb prompt.
8954 (show): Likewise.
8955
c92817ce
TT
89562010-08-18 Tom Tromey <tromey@redhat.com>
8957
8958 PR symtab/11919:
8959 * gdb.base/completion.exp: Add test.
8960
f1208f9e
DE
89612010-08-18 Doug Evans <dje@google.com>
8962
8963 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
8964 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
8965 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
8966 Simplify, early exit if runto_main fails.
8967 * gdb.fortran/exprs.exp: load_lib fortran.exp.
8968 (set_lang_fortran): Moved to lib/fortran.exp.
8969 * gdb.fortran/types.exp: load_lib fortran.exp.
8970 (set_lang_fortran): Moved to lib/fortran.exp.
8971 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
8972 * gdb.java/jprint.exp (set_lang_java): Ditto.
8973 * gdb.java/jv-exp.exp: load_lib java.exp.
8974 If set_lang_java fails, issue a warning instead of failure to be
8975 consistent with other set_lang_foo uses.
8976 (set_lang_java): Moved to lib/java.exp.
8977 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
8978 If set_lang_java fails, issue a warning instead of failure to be
8979 consistent with other set_lang_foo uses.
8980 * gdb.pascal/types.exp: load_lib pascal.exp.
8981 (set_lang_pascal): Moved to lib/pascal.exp.
8982 * lib/fortran.exp: New file.
8983 * lib/java.exp (set_lang_java): New function.
8984 * lib/pascal.exp (set_lang_pascal): New function.
8985
2f06b485
YQ
89862010-08-18 Yao Qi <yao@codesourcery.com
8987
8988 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
8989 func_nofb_start and func_loopfb_start, so that address of functions
8990 is equal to these labels on Thumb.
8991
96e25403
YQ
89922010-08-18 Yao Qi <yao@codesourcery.com>
8993
8994 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
8995 to reflect latest c source file.
8996
36e6adc4
JK
89972010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8998
8999 * gdb.cp/infcall-dlopen.exp: New file.
9000 * gdb.cp/infcall-dlopen.cc: New file.
9001 * gdb.cp/infcall-dlopen-lib.cc: New file.
9002
f431efe5
PA
90032010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9004 Pedro Alves <pedro@codesourcery.com>
9005
9006 PR breakpoints/11371
9007
9008 * gdb.base/watch-cond-infcall.exp: New file.
9009 * gdb.base/watch-cond-infcall.c: New file.
9010
06a64a0b
TT
90112010-08-16 Tom Tromey <tromey@redhat.com>
9012
9013 * gdb.base/help.exp: Update.
9014 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
9015 watchpoint.
9016 (test_watch_location): New proc.
9017 (test_watchpoint_in_big_blob): Delete watchpoint.
9018 * gdb.base/watchpoint.c (func5): New function.
9019 (main): Call it.
9020
70ebf4ed
DE
90212010-08-16 Doug Evans <dje@google.com>
9022
9023 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
9024
ca5c20b6
PM
90252010-08-11 Phil Muldoon <pmuldoon@redhat.com>
9026
9027 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
9028 tests.
9029
7346b668
KW
90302010-08-11 Ken Werner <ken.werner@de.ibm.com>
9031
9032 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
9033 * gdb.base/gnu_vector.c: New File.
9034 * gdb.base/gnu_vector.exp: Likewise.
9035
cb2e07a6
PM
90362010-08-11 Phil Muldoon <pmuldoon@redhat.com>
9037
9038 * gdb.python/python.c: New File.
9039 * gdb.python/python-sl.c: New File.
9040 * gdb.python/python.exp: Test solib_address and decode_line
9041 * functions.
9042
5da1313b
JK
90432010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9044
9045 * gdb.python/python.exp (show height, set height 10)
9046 (verify pagination beforehand, verify pagination beforehand: q)
9047 (gdb.execute does not page, verify pagination afterwards)
9048 (verify pagination afterwards: q): New.
9049
49c3ccf7
DE
90502010-08-02 Doug Evans <dje@google.com>
9051
9052 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
9053 because of an older gcc, change test2
9054 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
9055 to unsupported.
9056
42c0c4f1
KH
90572010-07-30 Kazu Hirata <kazu@codesourcery.com>
9058
9059 * gdb.base/break-always.exp: Do not expect full paths to file
9060 names.
9061 * gdb.base/commands.exp: Likewise.
9062
d3765805
DE
90632010-07-30 Doug Evans <dje@google.com>
9064
c98ee71b
DE
9065 * gdb.cp/temargs.exp: For new tests that require newer gccs,
9066 xfail them when run with older gccs.
9067
fd961404
DE
9068 * lib/gdb.exp (build_executable): Forward "c++" option to
9069 get_compiler_info.
9070
999adef4
DE
9071 * gdb.python/py-type.exp (test_template): Mark as xfail tests
9072 "python print ttype.template_argument(1)" and
9073 "python print isinstance(ttype.template_argument(1), gdb.Value)"
9074 if using gcc 4.4 or earlier.
9075
d3765805
DE
9076 * gdb.base/valgrind-db-attach.exp: Use unique test name for
9077 attach-to-debugger handling.
9078
1276c759
JK
90792010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9080
9081 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
9082 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
9083 (main): Use copyreloc.
9084 * gdb.base/prelink.exp (split debug of executable)
9085 (.dynbss vs. .bss address shift): New tests.
9086
88caa9b9
PA
90872010-07-29 Pedro Alves <pedro@codesourcery.com>
9088
9089 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
9090 in gdb_test_multiple.
9091
c6f2ac43
PA
90922010-07-29 Pedro Alves <pedro@codesourcery.com>
9093
9094 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
9095 environment.
9096
326fd672
TT
90972010-07-28 Tom Tromey <tromey@redhat.com>
9098
9099 PR python/11060:
9100 * gdb.python/py-type.c (Temargs): New template.
9101 (temvar): New variable.
9102 * gdb.python/py-type.exp (test_template): New proc.
9103
3ce3b1ba
PA
91042010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
9105
9106 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
9107 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
9108
34eaf542
TT
91092010-07-28 Tom Tromey <tromey@redhat.com>
9110
9111 PR c++/9946:
9112 * gdb.cp/temargs.exp: New file.
9113 * gdb.cp/temargs.cc: New file.
9114
d41b819e
JK
91152010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9116
9117 * gdb.base/help.exp (help disassemble): Update the content.
9118
26ab7092
JK
91192010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9120
9121 * gdb.threads/ia64-sigill.exp: New file.
9122 * gdb.threads/ia64-sigill.c: New file.
9123
5283e9e1
TT
91242010-07-27 Tom Tromey <tromey@redhat.com>
9125
9126 * gdb.opt/inline-cmds.c (ATTR): New define.
9127 (func1): Use it.
9128 (func2): Likewise.
9129 (func3): Likewise.
9130 (outer_inline1): Likewise.
9131 (outer_inline2): Likewise.
9132 * gdb.opt/inline-bt.c (ATTR): New define.
9133 (func1): Use it.
9134 (func2): Likewise.
9135 * gdb.opt/inline-locals.c (ATTR): New define.
9136 (func1): Use it.
9137 (func2): Likewise.
9138
e992ef73
TT
91392010-07-27 Tom Tromey <tromey@redhat.com>
9140
9141 * gdb.stabs/gdb11479.c (hack): New function.
9142 (test): Use it.
9143 (test2): Use it.
9144 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
9145 (int32_search_buf, int64_search_buf): No longer static.
9146 (x): Remove.
9147 * gdb.base/relocate.c (hack): New function.
9148
5374244e
PM
91492010-07-27 Phil Muldoon <pmuldoon@redhat.com>
9150
9151 * gdb.python/py-value.exp (test_inferior_function_call): New function.
9152 * gdb.python/py-value.c (func1): New function.
9153 (func2): Likewise.
9154
a99aee83
CV
91552010-07-26 Corinna Vinschen <vinschen@redhat.com>
9156
9157 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
9158 as not to clash with .data section.
9159
a04ba985
JG
91602010-07-26 Jerome Guitton <guitton@adacore.com>
9161
9162 * gdb.base/code_elim.exp: New file.
9163 * gdb.base/code_elim1.c: New file.
9164 * gdb.base/code_elim2.c: New file.
9165
23bd0f7c
PA
91662010-07-21 Pedro Alves <pedro@codesourcery.com>
9167
9168 PR symtab/11827
9169
9170 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
9171 (some_volatile_enum): New variable.
9172 * gdb.base/printcmds.exp (test_print_enums): New.
9173 <top level>: Call it.
9174
883df6dd
SW
91752010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
9176
9177 * gdb.cp/fpointer.cc: New test.
9178 * gdb.cp/fpointer.exp: New test.
9179
569b05a5
JK
91802010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9181
9182 * gdb.base/solib-nodir.exp: New file.
9183 * lib/gdb.exp (runto): New case for a GDB internal error.
9184
51d7d803
JK
91852010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9186 Ulrich Weigand <uweigand@de.ibm.com>
9187 Tom Tromey <tromey@redhat.com>
9188
9189 * gdb.base/charset-malloc.c: New file.
9190 * gdb.base/charset.c (malloc_stub): New prototype.
9191 (main): Call it instead of malloc itself.
9192 * gdb.base/charset.exp: Use only prepare_for_testing.
9193 (binfile): Remove the variable.
9194
c0edd9ed
JK
91952010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9196
9197 Make core files the process_stratum.
9198 * gdb.base/corefile.exp (run: load core again)
9199 (run: sanity check we see the core file, run: with core)
9200 (run: core file is cleared, attach: load core again)
9201 (attach: sanity check we see the core file, attach: with core)
9202 (attach: core file is cleared): New tests.
9203 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
9204
3cbaedff
KW
92052010-07-14 Ken Werner <ken.werner@de.ibm.com>
9206
9207 * gdb.arch/altivec-abi.exp: New tests.
9208
91158a56
TT
92092010-07-13 Tom Tromey <tromey@redhat.com>
9210
9211 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
9212 (main): Use it.
9213 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
9214
0f5238ed
TT
92152010-07-13 Tom Tromey <tromey@redhat.com>
9216
9217 * gdb.base/label.exp: New file.
9218 * gdb.base/label.c: New file.
9219
add265ae
L
92202010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
9221 H.J. Lu <hongjiu.lu@intel.com>
9222
9223 * lib/gdb.exp (is_ilp32_target): New.
9224 (is_lp64_target): Likewise.
9225
9226 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
9227 target.
9228 * gdb.arch/amd64-disp-step.exp: Likewise.
9229 * gdb.arch/amd64-dword.exp: Likewise.
9230 * gdb.arch/amd64-i386-address.exp: Likewise.
9231 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 9232
add265ae
L
9233 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
9234 target.
9235 * gdb.arch/i386-bp_permanent.exp: Likewise.
9236 * gdb.arch/i386-byte.exp: Likewise.
9237 * gdb.arch/i386-disp-step.exp: Likewise.
9238 * gdb.arch/i386-gnu-cfi.exp: Likewise.
9239 * gdb.arch/i386-prologue.exp: Likewise.
9240 * gdb.arch/i386-size-overlap.exp: Likewise.
9241 * gdb.arch/i386-size.exp: Likewise.
9242 * gdb.arch/i386-sse.exp: Likewise.
9243 * gdb.arch/i386-unwind.exp: Likewise.
9244 * gdb.arch/i386-word.exp: Likewise.
9245
9246 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
9247 test only when building 64-bit executables. Do not hard-code
9248 -m64 option.
9249
2dfb8c17
DE
92502010-07-07 Doug Evans <dje@google.com>
9251
9252 * lib/gdb.exp (gdb_test_list_exact): New function.
9253 * gdb.base/default.exp (show convenience): Call it, add tests for
9254 $_sdata = void, $_thread = 0.
9255
4e5799b6
JK
92562010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9257 Joel Brobecker <brobecker@adacore.com>
9258
9259 Fix re-run of PIE executable, PR shlibs/11776.
9260 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
9261 Remove $displacement_main to match the solib-svr4.c change. New "kill"
9262 and re-"run" of the inferior.
9263
1a219cc7
JK
92642010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9265 Joel Brobecker <brobecker@adacore.com>
9266
9267 Cope with missing /usr/sbin/prelink.
9268 * lib/prelink-support.exp (prelink_no):
9269 <result == 1 && $output is "no such file or directory">: New.
9270 (prelink_yes): Likewise. Return on failed prelink_no.
9271
5e3b36f8
JK
92722010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9273 Joel Brobecker <brobecker@adacore.com>
9274
9275 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
9276 build_executable by build_executable_own_libs. Replace "prelink -R"
9277 execution by a call of prelink_yes. Comment why "prelink -r" needs no
9278 change.
9279 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
9280 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
9281 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
9282 Replace build_executable by build_executable_own_libs's function
9283 build_executable_own_libs.
9284 (prelinkNO): Create new stub to call prelink_no.
9285 (prelinkYES): Create new stub to call prelink_yes.
9286 (test_attach): Rename calls of copy to file_copy.
9287 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
9288 (copy): Move to ...
9289 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
9290 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
9291 * gdb.base/prelink.exp: Disable testcase also for is_remote and
9292 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
9293 special flags by gdb_compile_shlib. Replace second gdb_compile by
9294 build_executable_own_libs. Replace "prelink -R" execution by a call of
9295 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
9296 a second call of prelink_yes. Replace restart commands by
9297 clean_restart.
9298 (prelink): Rename to ...
9299 (seen displacement message): ... this test. Extend its expectation
9300 strictness.
9301
86e4bafc
JK
93022010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9303
9304 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
9305 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
9306 displacement message exactly once.
9307
3cd07d20
JK
93082010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9309 Joel Brobecker <brobecker@adacore.com>
9310
9311 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
9312 its restore after the <$relink_args != ""> loop. new comment.
9313
0a1e94c7
JK
93142010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9315 Joel Brobecker <brobecker@adacore.com>
9316
9317 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
9318 code for it. New variable relink_args.
9319 (prelinkYES): Call prelinkNO.
9320 (test_attach): Accept new parameter relink_args. Re-prelink the binary
9321 in such case. Move the core code to ...
9322 (test_attach_gdb): ... a new function. Send GDB command "file".
9323 Extend expected "Attaching to " string.
9324
2f70bcfb
TT
93252010-07-02 Tom Tromey <tromey@redhat.com>
9326
9327 * gdb.base/bitops.exp: Remove extraneous "pass".
9328
a17ac5b0
TT
93292010-07-02 Ken Werner <ken.werner@de.ibm.com>
9330
9331 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9332
dc10affe
PA
93332010-07-01 Pedro Alves <pedro@codesourcery.com>
9334
d41c0fc8
PA
9335 * gdb.base/help.exp: Adjust expected output.
9336
93372010-07-01 Pedro Alves <pedro@codesourcery.com>
9338
9339 * gdb.base/help.exp: Adjust expected output.
dc10affe 9340
0a600c36
JK
93412010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9342
9343 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
9344 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
9345 c++/11702.
9346
37cc8bfe
JK
93472010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9348 Doug Evans <dje@google.com>
9349
9350 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
9351 add .dynamic entry'.
9352
254e6b9e
DE
93532010-06-29 Doug Evans <dje@google.com>
9354
9355 Test PR c++/11702.
9356 * gdb.cp/m-static.exp: Add testcase.
9357 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
9358
595939de 93592010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
9360 Tom Tromey <tromey@redhat.com>
9361 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
9362
9363 * gdb.python/py-inferior.c: New File.
9364 * gdb.python/py-infthread.c: New File.
9365 * gdb.python/py-inferior.exp: New File.
9366 * gdb.python/py-infthread.exp: New File.
9367
98751a41
JK
93682010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9369
9370 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
9371 (ptype ::C::OtherFileClass typedefs): New.
9372 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
9373 (C::OtherFileClass::cOtherFileClassVar2): New.
9374 (C::OtherFileClass::cOtherFileClassVar_use): Use also
9375 cOtherFileClassVar2.
9376 (C::cOtherFileType2, C::cOtherFileVar2): New.
9377 (C::cOtherFileVar_use): use also cOtherFileVar2.
9378 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
9379
41f62f39
JK
93802010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9381
9382 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
9383 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
9384 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
9385 (print ::C::cOtherFileVar)
9386 (whatis C::OtherFileClass::cOtherFileClassType)
9387 (whatis ::C::OtherFileClass::cOtherFileClassType)
9388 (print C::OtherFileClass::cOtherFileClassVar)
9389 (print ::cOtherFileClassVar)
9390 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
9391 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
9392 trailing content.
9393 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
9394 (C::OtherFileClass::cOtherFileClassVar)
9395 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
9396 (C::cOtherFileVar, C::cOtherFileVar_use): New.
9397
af53d231
JK
93982010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9399
9400 Test PR c++/11703 and PR gdb/1448.
9401 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
9402 gdb/1448.
9403
9655fd1a
JK
94042010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9405
9406 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
9407 (main) <rtti_data>: New.
9408 * gdb.cp/virtbase.exp (print rtti_data): New.
9409
824cc8dd
JK
94102010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9411 Joel Brobecker <brobecker@adacore.com>
9412
9413 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
9414
6036c742
JK
94152010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9416
9417 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
9418
de6a0421
DE
94192010-06-28 Doug Evans <dje@google.com>
9420
9421 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
9422
b2dae948
DE
94232010-06-27 Doug Evans <dje@google.com>
9424
9425 * gdb.cp/m-static.exp: Update expected test output.
9426
0f3bb72e
PH
94272010-06-25 Paul Hilfinger <hilfinger@adacore.com>
9428
889bf7c5
PA
9429 * gdb.gdb/selftest.exp: Adjust expected message for
9430 capturing start-up runtime.
0f3bb72e 9431
bc9f0842
TT
94322010-06-25 Tom Tromey <tromey@redhat.com>
9433
9434 PR python/10808:
9435 * gdb.python/python.exp: Add new tests.
9436
099ef718
SW
94372010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
9438
9439 * gdb.cp/operator.cc: Created an import loop.
9440 * gdb.cp/operator.exp: Added testcase for import loop.
9441
5868a632
JK
94422010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9443
9444 Test PR python/11407.
9445 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
9446 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
9447 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
9448 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
9449 executable_nofb and executable_fb. New variables srcsfile, objsfile,
9450 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
9451 binfile. Call gdb_compile with clean_restart twice.
9452 (func_nofb print, func_nofb backtrace, func_loopfb print)
9453 (func_loopfb backtrace): New.
9454
af76db58
JK
94552010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9456
9457 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
9458 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
9459 by a hand made one.
9460 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
9461 i?86 requirement. Remove variables srcfile and binfile. New variable
9462 sources, executable_nofb and executable_fb. Call prepare_for_testing.
9463
f2c7657e
UW
94642010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9465
9466 * gdb.cell/dwarfaddr.exp: New file.
9467 * gdb.cell/dwarfaddr.S: New file.
9468
628fe4e4
JK
94692010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9470
9471 Test PR 9436.
9472 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
9473
f1421989
HZ
94742010-06-24 Hui Zhu <teawater@gmail.com>
9475
9476 * gdb.base/eval.exp: New file.
9477
d03285ec
UW
94782010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9479
9480 * gdb.cell/fork.exp: New file.
9481 * gdb.cell/fork.c: Likewise.
9482 * gdb.cell/fork-spu.c: Likewise.
9483
41b2c92d
PM
94842010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
9485
9486 * lib/gdb.exp (banned_variables_traced): New global variable.
9487 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
9488 (gdb_init): Use `trace add variable' instead of obsolete
9489 `trace variable'.
9490
d5bc977f
DE
94912010-06-21 Doug Evans <dje@google.com>
9492
9493 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
9494
d2ed6730
UW
94952010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9496
9497 * gdb.arch/spu-ls.exp: New file.
9498 * gdb.arch/spu-ls.c: Likewise.
9499
6aed2dbc
SS
95002010-06-18 Stan Shebs <stan@codesourcery.com>
9501
9502 * gdb.threads/thread-specific.exp: Add tests of $_thread.
9503
e0756905
UW
95042010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9505
9506 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
9507 * gdb.base/watch-cond.exp: Likewise.
9508 * gdb.python/py-breakpoint.exp: Likewise.
9509
d8053d4d
PA
95102010-06-18 Pedro Alves <pedro@codesourcery.com>
9511
9512 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
9513 clean_restart, make sure every test has a distinct message, and
9514 that messages don't include the executable' full path.
9515
81ce510c
DE
95162010-06-17 Doug Evans <dje@google.com>
9517
9518 * gdb.arch/i386-size.exp: Updated expected output for
9519 DISASSEMBLY_OMIT_FNAME.
9520
65d79d4b
SDJ
95212010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9522 Sergio Durigan Junior <sergiodj@redhat.com>
9523
9524 * gdb.base/watch-notconst.c: New file.
9525 * gdb.base/watch-notconst.S: New file.
9526 * gdb.base/watch-notconst2.c: New file.
9527 * gdb.base/watch-notconst2.S: New file.
9528 * gdb.base/watch-notconst.exp: New file.
9529 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
9530 (func4): Add operations on `global_ptr_ptr'.
9531 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
9532 routine to test watchpoints created with a constant expression.
9533 (test_inaccessible_watchpoint): Include tests for watchpoints
9534 created with a constant expression.
9535
df0f4836
KB
95362010-06-14 Kevin Buettner <kevinb@redhat.com>
9537
9538 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9539 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
9540 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
9541 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
9542 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9543 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9544 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
9545 of `_start'.
9546
b769def5
UW
95472010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9548
9549 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
9550 not supported on the target.
9551 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9552 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9553 * gdb.mi/mi-nsintrall.exp: Likewise.
9554 * gdb.mi/mi-nsmoribund.exp: Likewise.
9555 * gdb.mi/mi-nsthrexec.exp: Likewise.
9556
d914c394
SS
95572010-06-11 Stan Shebs <stan@codesourcery.com>
9558
9559 * gdb.base/permissions.exp: New file.
9560
95612010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
9562
9563 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
9564 does not support ELF executable class.
9565
f3ce5b9c
UW
95662010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9567
9568 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
9569
8e46892c
JK
95702010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9571
9572 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
9573 (runto): Catch "The target does not support running in non-stop mode.".
9574
6cc55c64
MS
95752010-06-11 Michael Snyder <msnyder@vmware.com>
9576
9577 * gdb.base/setshow.exp (set language asm): Don't use
9578 gdb_test_no_output, fails on some targets.
9579
caddefa4
UW
95802010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9581
9582 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
9583 * gdb.cp/pr9167.exp: Likewise.
9584
468b1aa7
UW
95852010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9586
9587 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
9588
5c3552dc
UW
95892010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9590
9591 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
9592
02e6fe6a
UW
95932010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9594
9595 * gdb.base/charset.c (main): Make sure malloc gets linked in.
9596
0e03807e
TT
95972010-06-11 Tom Tromey <tromey@redhat.com>
9598
9599 PR gdb/9977, PR exp/11636::
9600 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
9601 (pieces_test_f6): Update expected output.
9602
2bdf28a0
JK
96032010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9604
9605 * gdb.base/moribund-step.exp: New.
9606
f6978de9
MS
96072010-06-08 Michael Snyder <msnyder@vmware.com>
9608
9609 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 9610 * gdb.ada/boolean_expr.exp:
f6978de9
MS
9611 * gdb.ada/frame_args.exp: Ditto.
9612 * gdb.ada/lang_switch.exp: Ditto.
9613 * gdb.ada/ptype_arith_binop.exp: Ditto.
9614 * gdb.ada/ref_param.exp: Ditto.
9615 * gdb.ada/type_coercion.exp:Ditto.
9616
9617 * gdb.asm/asm-source.exp: Ditto.
9618
9619 * gdb.base/attach.exp: Ditto.
9620 * gdb.base/bitfields2.exp: Ditto.
9621 * gdb.base/call-signal-resume.exp: Ditto.
9622 * gdb.base/callfuncs.exp: Ditto.
9623 * gdb.base/commands.exp: Ditto.
9624 * gdb.base/dbx.exp: Ditto.
9625 * gdb.base/default.exp: Ditto.
9626 * gdb.base/dump.exp: Ditto.
9627 * gdb.base/exprs.exp: Ditto.
9628 * gdb.base/freebpcmd.exp: Ditto.
9629 * gdb.base/interrupt.exp: Ditto.
9630 * gdb.base/list.exp: Ditto.
9631 * gdb.base/long_long.exp: Ditto.
9632 * gdb.base/maint.exp: Ditto.
9633 * gdb.base/ptype.exp: Ditto.
9634 * gdb.base/return.exp: Ditto.
9635 * gdb.base/setshow.exp: Ditto.
9636 * gdb.base/sigbpt.exp: Ditto.
9637 * gdb.base/sigrepeat.exp: Ditto.
9638
9639 * gdb.cp/classes.exp: Ditto.
9640
9641 * gdb.dwarf2/dw2-restore.exp: Ditto.
9642
9643 * gdb.gdb/selftest.exp: Ditto.
9644
9645 * gdb.multi/base.exp: Ditto.
9646 * gdb.multi/bkpt-multi-exec.exp: Ditto.
9647
9648 * gdb.python/py-block.exp: Ditto.
9649 * gdb.python/py-prettyprint.exp: Ditto.
9650 * gdb.python/py-template.exp: Ditto.
9651
9652 * gdb.server/ext-attach.exp: Ditto.
9653 * gdb.server/ext-run.exp: Ditto.
9654 * gdb.server/server-mon.exp: Ditto.
9655
9656 * gdb.threads/fork-thread-pending.exp: Ditto.
9657 * gdb.threads/hand-call-in-threads.exp: Ditto.
9658 * gdb.threads/interrupted-hand-call.exp: Ditto.
9659 * gdb.threads/linux-dp.exp: Ditto.
9660 * gdb.threads/manythreads.exp: Ditto.
9661 * gdb.threads/print-threads.exp: Ditto.
9662 * gdb.threads/pthreads.exp: Ditto.
9663 * gdb.threads/schedlock.exp: Ditto.
9664 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9665 * gdb.threads/threadapply.exp: Ditto.
9666
de7ff789
MS
96672010-06-08 Michael Snyder <msnyder@vmware.com>
9668
889bf7c5 9669 * gdb.ada/exec_changed.exp:
de7ff789
MS
9670 Use ".*" instead of "" as wildcard regexp.
9671
9672 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
9673 * gdb.base/call-ar-st.exp: Ditto.
9674 * gdb.base/checkpoint.exp: Ditto.
9675 * gdb.base/default.exp: Ditto.
9676 * gdb.base/dump.exp: Ditto.
9677 * gdb.base/ending-run.exp: Ditto.
9678 * gdb.base/fileio.exp: Ditto.
9679 * gdb.base/miscexprs.exp: Ditto.
9680 * gdb.base/pointers.exp: Ditto.
9681 * gdb.base/readline.exp: Ditto.
9682 * gdb.base/reread.exp: Ditto.
9683 * gdb.base/restore.exp: Ditto.
9684 * gdb.base/shlib-call.exp: Ditto.
9685 * gdb.base/valgrind-db-attach.exp: Ditto.
9686 * gdb.base/volatile.exp: Ditto.
9687 * gdb.base/watchpoints.exp: Ditto.
9688
9689 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
9690
9691 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
9692 * gdb.python/py-value.exp: Ditto.
9693
9694 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
9695 * gdb.trace/circ.exp: Ditto.
9696 * gdb.trace/collection.exp: Ditto.
9697 * gdb.trace/packetlen.exp: Ditto.
9698 * gdb.trace/passc-dyn.exp: Ditto.
9699 * gdb.trace/report.exp: Ditto.
9700 * gdb.trace/tfile.exp: Ditto.
9701 * gdb.trace/tfind.exp: Ditto.
9702 * gdb.trace/while-dyn.exp: Ditto.
9703
3bebe2f2
JK
97042010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9705
9706 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
9707
5c631832
JK
97082010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9709
9710 Test PR 10640.
9711 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
9712
4c3376c8
SW
97132010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
9714
9715 * gdb.cp/koenig.exp: Test for ADL operators.
9716 * gdb.cp/koenig.cc: Added ADL operators.
9717 * gdb.cp/operator.exp: New test.
9718 * gdb.cp/operator.cc: New test.
9719
dc226d5a
MS
97202010-06-04 Michael Snyder <msnyder@vmware.com>
9721
dfb88a23
MS
9722 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
9723 * gdb.base/pending.exp: Ditto.
f7ae76b3 9724
dc226d5a
MS
9725 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
9726
967cf477
DE
97272010-06-04 Doug Evans <dje@google.com>
9728
9729 * gdb.python/py-prettyprint.exp: Add new test for enabled and
9730 disabled printers.
9731 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
9732 (enable_lookup_function): New function.
9733
eb801841
TT
97342010-06-04 Tom Tromey <tromey@redhat.com>
9735
9736 * gdb.python/py-value.exp (test_value_hash): Don't test equality
9737 of hash and id.
9738
38979823
JK
97392010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9740
9741 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
9742 newline.
9743 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
9744 (empty verbose non-noisy clear, empty verbose noisy clear)
9745 (empty non-verbose noisy clear): Likewise.
9746
35ec993f
MS
97472010-06-03 Michael Snyder <msnyder@vmware.com>
9748
9749 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
9750 * gdb.base/display.exp: Ditto.
9751 * gdb.base/find.exp: Ditto.
9752 * gdb.base/ifelse.exp: Ditto.
9753 * gdb.base/multi-forks.exp: Ditto.
9754 * gdb.base/recurse.exp: Ditto.
9755 * gdb.base/setshow.exp: Ditto.
9756 * gdb.base/value-double-free.exp: Ditto.
9757 * gdb.base/watch-vfork.exp: Ditto.
9758 * gdb.base/watch_thread_num.exp: Ditto.
9759 * gdb.base/watchpoint-solib.exp: Ditto.
9760 * gdb.base/watchpoint.exp: Ditto.
9761 * gdb.base/watchpoints.exp: Ditto.
9762
9763 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
9764 * gdb.cp/overload.exp: Ditto.
9765 * gdb.cp/virtfunc.exp: Ditto.
9766
9767 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
9768
889bf7c5 9769 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
9770 Replace gdb_test with gdb_test_no_output.
9771
889bf7c5 9772 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
9773 Replace gdb_test with gdb_test_no_output.
9774 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9775 * gdb.threads/watchthreads.exp: Ditto.
9776 * gdb.threads/watchthreads2.exp: Ditto.
9777
9778 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
9779 * gdb.trace/tfind.exp: Ditto.
9780
c22decce
JB
97812010-06-03 Joel Brobecker <brobecker@adacore.com>
9782
9783 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
9784 successful test if message is the empty string.
9785
fd5700c7
JK
97862010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9787
9788 * gdb.fortran/module.exp (stopped language detection): New test.
9789
f55ee35c
JK
97902010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9791
9792 Support DW_TAG_module as separate namespaces.
9793 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
9794 gdb.fortran/library-module-lib.f90: New.
9795 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
9796 (print i): Remove.
9797 (continue to breakpoint: i-is-1, print var_i value 1)
9798 (continue to breakpoint: i-is-2, print var_i value 2)
9799 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
9800 (print var_d, print var_i value 14, ptype modmany, complete `modm)
9801 (complete `modmany, complete `modmany`, complete `modmany`var)
9802 (show language, setting breakpoint at module): New tests.
9803 * gdb.fortran/module.f90 (module mod): Remove.
9804 (module mod1, module mod2, module modmany, subroutine sub1)
9805 (subroutine sub2, program module): New.
9806
b8e8282f
JK
98072010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9808
9809 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
9810 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
9811 * gdb.cp/anon-union.exp (pass): Rename to ...
9812 (print z 2): ... here.
b8e8282f 9813
019ebafc
MS
98142010-06-02 Michael Snyder <msnyder@vmware.com>
9815
e68d8fd4
MS
9816 * gdb.trace/actions.exp: Use gdb_test_no_output.
9817 * gdb.trace/circ.exp: Ditto.
9818 * gdb.trace/packetlen.exp: Ditto.
9819 * gdb.trace/save-trace.exp: Ditto.
9820 * gdb.trace/tracecmd.exp: Ditto.
9821 * gdb.trace/tsv.exp: Ditto.
9822
12b5d08a
MS
9823 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
9824 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
9825 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9826 * gdb.threads/manythreads.exp: Ditto.
9827 * gdb.threads/print-threads.exp: Ditto.
9828 * gdb.threads/pthreads.exp: Ditto.
9829 * gdb.threads/schedlock.exp: Ditto.
9830 * gdb.threads/staticthreads.exp: Ditto.
9831 * gdb.threads/thread-specific.exp: Ditto.
9832 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9833 * gdb.threads/threadapply.exp: Ditto.
9834 * gdb.threads/watchthreads.exp: Ditto.
9835 * gdb.threads/watchthreads2.exp: Ditto.
9836
89493308
MS
9837 * gdb.python/py-block.exp: Use gdb_test_no_output.
9838 * gdb.python/py-prettyprint.exp: Ditto.
9839 * gdb.python/py-template.exp: Ditto.
9840 * gdb.python/py-value.exp: Ditto.
9841
9842 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
9843 * gdb.reverse/watch-reverse.exp: Ditto.
9844
9845 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
9846 * gdb.server/ext-run.exp: Ditto.
9847
019ebafc
MS
9848 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
9849 * gdb.dwarf2/dw2-compressed.exp: Ditto.
9850 * gdb.dwarf2/dw2-intercu.exp: Ditto.
9851 * gdb.dwarf2/dw2-intermix.exp: Ditto.
9852 * gdb.dwarf2/dw2-producer.exp: Ditto.
9853 * gdb.dwarf2/mac-fileno.exp: Ditto.
9854
9855 * gdb.gdb/observer.exp: Use gdb_test_no_output.
9856 * gdb.gdb/selftest.exp: Ditto.
9857
9858 * gdb.multi/base.exp: Use gdb_test_no_output.
9859
9860 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
9861
3e0ca3a5
JK
98622010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9863
9864 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
9865
9db70545
MS
98662010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
9867
a8d52276
MS
9868 * gdb.cp/class2.exp: Use gdb_test_no_output.
9869 * gdb.cp/classes.exp: Ditto.
9870 * gdb.cp/extern-c.exp: Ditto.
9871 * gdb.cp/inherit.exp: Ditto.
9872 * gdb.cp/maint.exp: Ditto.
9873 * gdb.cp/mb-inline.exp: Ditto.
9874 * gdb.cp/mb-templates.exp: Ditto.
9875 * gdb.cp/method2.exp: Ditto.
9876 * gdb.cp/misc.exp: Ditto.
9877 * gdb.cp/ovldbreak.exp: Ditto.
9878 * gdb.cp/punctuator.exp: Ditto.
9879 * gdb.cp/templates.exp: Ditto.
9880 * gdb.cp/virtbase.exp: Ditto.
9881
889bf7c5 9882 * gdb.threads/attach-stopped.exp:
9db70545 9883 Replace uses of send_gdb / gdb_expect.
889bf7c5 9884 * gdb.threads/attachstop-mt.exp:
9db70545 9885 Replace uses of send_gdb / gdb_expect.
889bf7c5 9886 * gdb.threads/gcore-thread.exp:
9db70545 9887 Replace uses of send_gdb / gdb_expect.
889bf7c5 9888 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
9889 Replace uses of send_gdb / gdb_expect.
9890 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 9891 * gdb.threads/print-threads.exp:
9db70545
MS
9892 Replace uses of send_gdb / gdb_expect.
9893 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
9894 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
9895 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
9896
9897 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
9898 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
9899 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
9900 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
9901 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
9902 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
9903 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
9904 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
9905 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
9906 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
9907 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
9908
359cc68c
JK
99092010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9910
9911 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
9912
7d3fe98e
SW
99132010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
9914
9915 * gdb.cp/koenig.exp: Added new test case.
9916 * gdb.cp/koenig.cc: Ditto.
9917
27d3a1a2
MS
99182010-06-01 Michael Snyder <msnyder@vmware.com>
9919
9920 * gdb.base/arithmet.exp: Use gdb_test_no_output.
9921 * gdb.base/arrayidx.exp: Ditto.
9922 * gdb.base/attach.exp: Ditto.
9923 * gdb.base/auxv.exp: Ditto.
9924 * gdb.base/bigcre.exp: Ditto.
9925 * gdb.base/break-always.exp: Ditto.
9926 * gdb.base/break-interp.exp: Ditto.
9927 * gdb.base/break.exp: Ditto.
9928 * gdb.base/breakpoint-shadow.exp: Ditto.
9929 * gdb.base/call-ar-st.exp: Ditto.
9930 * gdb.base/call-sc.exp: Ditto.
9931 * gdb.base/call-signal-resume.exp: Ditto.
9932 * gdb.base/callfuncs.exp: Ditto.
9933 * gdb.base/catch-syscall.exp: Ditto.
9934 * gdb.base/charset.exp: Ditto.
9935 * gdb.base/code-expr.exp: Ditto.
9936 * gdb.base/commands.exp: Ditto.
9937 * gdb.base/cond-expr.exp: Ditto.
9938 * gdb.base/condbreak.exp: Ditto.
9939 * gdb.base/cursal.exp: Ditto.
9940 * gdb.base/cvexpr.exp: Ditto.
9941 * gdb.base/default.exp: Ditto.
9942 * gdb.base/del.exp: Ditto.
9943 * gdb.base/detach.exp: Ditto.
9944 * gdb.base/display.exp: Ditto.
9945 * gdb.base/ena-dis-br.exp: Ditto.
9946 * gdb.base/eval-skip.exp: Ditto.
9947 * gdb.base/foll-fork.exp: Ditto.
9948 * gdb.base/foll-vfork.exp: Ditto.
9949 * gdb.base/frame-args.exp: Ditto.
9950 * gdb.base/funcargs.exp: Ditto.
9951 * gdb.base/gcore-buffer-overflow.exp: Ditto.
9952 * gdb.base/gdbvars.exp: Ditto.
9953 * gdb.base/help.exp: Ditto.
9954 * gdb.base/ifelse.exp: Ditto.
9955 * gdb.base/included.exp: Ditto.
9956 * gdb.base/list.exp: Ditto.
9957 * gdb.base/macscp.exp: Ditto.
9958 * gdb.base/maint.exp: Ditto.
9959 * gdb.base/multi-fork.exp: Ditto.
9960 * gdb.base/overlays.exp: Ditto.
9961 * gdb.base/page.exp: Ditto.
9962 * gdb.base/pending.exp: Ditto.
9963 * gdb.base/pointers.exp: Ditto.
9964 * gdb.base/pr11022.exp: Ditto.
9965 * gdb.base/prelink.exp: Ditto.
9966 * gdb.base/printcmds.exp: Ditto.
9967 * gdb.base/psymtab.exp: Ditto.
9968 * gdb.base/randomize.exp: Ditto.
9969 * gdb.base/relational.exp: Ditto.
9970 * gdb.base/relocate.exp: Ditto.
9971 * gdb.base/remote.exp: Ditto.
9972 * gdb.base/sepdebug.exp: Ditto.
9973 * gdb.base/set-lang-auto.exp: Ditto.
9974 * gdb.base/setshow.exp: Ditto.
9975 * gdb.base/setvar.exp: Ditto.
9976 * gdb.base/signals.exp: Ditto.
9977 * gdb.base/signull.exp: Ditto.
9978 * gdb.base/sigstep.exp: Ditto.
9979 * gdb.base/sizeof.exp: Ditto.
9980 * gdb.base/solib-disc.exp: Ditto.
9981 * gdb.base/store.exp: Ditto.
9982 * gdb.base/structs.exp: Ditto.
9983 * gdb.base/structs2.exp: Ditto.
9984 * gdb.base/subst.exp: Ditto.
9985 * gdb.base/term.exp: Ditto.
9986 * gdb.base/trace-commands.exp: Ditto.
9987 * gdb.base/unwindonsignal.exp: Ditto.
9988 * gdb.base/valgrind-db-attach.exp: Ditto.
9989 * gdb.base/varargs.exp: Ditto.
9990 * gdb.base/watch-cond.exp: Ditto.
9991 * gdb.base/watch_thread_num.exp: Ditto.
9992 * gdb.base/watchpoint-cond-gone.exp: Ditto.
9993 * gdb.base/watchpoint.exp: Ditto.
9994 * gdb.base/whatis-exp.exp: Ditto.
9995
f8d3bf8f
MS
99962010-06-01 Michael Snyder <msnyder@vmware.com>
9997
9998 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
9999 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
10000 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
10001 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
10002 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
10003 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
10004 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
10005 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
10006 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
10007 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
10008 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
10009 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
10010 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
10011 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
10012 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
10013
3f9e0d32
JK
100142010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10015
10016 * gdb.base/commands.exp (begin commands on watch): Remove excessive
10017 trailing newline.
10018 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
10019 * gdb.java/jmisc.exp (p *args\n): Rename to ...
10020 (p *args): ... here and remove excessive trailing newline.
10021
f629457d
JB
100222010-05-31 Joel Brobecker <brobecker@adacore.com>
10023
10024 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
10025
09eef106
JK
100262010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
10027
10028 Accept the new Linux kernel "t (tracing stop)" string.
10029 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
10030 Update comment.
10031 (state_wait) <T (tracing stop)>: New.
10032 (main): Update the state_wait expect string.
10033
94f31136
PA
100342010-05-28 Pedro Alves <pedro@codesourcery.com>
10035
10036 * limits.c, limits.exp: Delete files.
10037 * Makefile.in (clean mostlyclean): Adjust.
10038 * tracecmd.exp: Adjust.
10039
096554ab
JK
100402010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10041
10042 * gdb.base/tui-layout.exp: New.
10043
27d3a1a2 100442010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 10045
889bf7c5 10046 * gdb.reverse/break-precsave.exp:
bcd2dc50 10047 Replace uses of send_gdb / gdb_expect.
889bf7c5 10048 * gdb.reverse/break-reverse.exp:
bcd2dc50 10049 Replace uses of send_gdb / gdb_expect.
889bf7c5 10050 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 10051 Replace uses of send_gdb / gdb_expect.
889bf7c5 10052 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 10053 Replace uses of send_gdb / gdb_expect.
889bf7c5 10054 * gdb.reverse/finish-precsave.exp:
bcd2dc50 10055 Replace uses of send_gdb / gdb_expect.
889bf7c5 10056 * gdb.reverse/finish-reverse.exp:
bcd2dc50 10057 Replace uses of send_gdb / gdb_expect.
889bf7c5 10058 * gdb.reverse/i386-precsave.exp:
bcd2dc50 10059 Replace uses of send_gdb / gdb_expect.
889bf7c5 10060 * gdb.reverse/i386-reverse.exp:
bcd2dc50 10061 Replace uses of send_gdb / gdb_expect.
889bf7c5 10062 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 10063 Replace uses of send_gdb / gdb_expect.
889bf7c5 10064 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 10065 Replace uses of send_gdb / gdb_expect.
889bf7c5 10066 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 10067 Replace uses of send_gdb / gdb_expect.
889bf7c5 10068 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 10069 Replace uses of send_gdb / gdb_expect.
889bf7c5 10070 * gdb.reverse/machinestate.exp:
bcd2dc50 10071 Replace uses of send_gdb / gdb_expect.
889bf7c5 10072 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 10073 Replace uses of send_gdb / gdb_expect.
889bf7c5 10074 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 10075 Replace uses of send_gdb / gdb_expect.
889bf7c5 10076 * gdb.reverse/solib-precsave.exp:
bcd2dc50 10077 Replace uses of send_gdb / gdb_expect.
889bf7c5 10078 * gdb.reverse/solib-reverse.exp:
bcd2dc50 10079 Replace uses of send_gdb / gdb_expect.
889bf7c5 10080 * gdb.reverse/step-precsave.exp:
bcd2dc50 10081 Replace uses of send_gdb / gdb_expect.
889bf7c5 10082 * gdb.reverse/step-reverse.exp:
bcd2dc50 10083 Replace uses of send_gdb / gdb_expect.
889bf7c5 10084 * gdb.reverse/until-precsave.exp:
bcd2dc50 10085 Replace uses of send_gdb / gdb_expect.
889bf7c5 10086 * gdb.reverse/until-reverse.exp:
bcd2dc50 10087 Replace uses of send_gdb / gdb_expect.
889bf7c5 10088 * gdb.reverse/watch-precsave.exp:
bcd2dc50 10089 Replace uses of send_gdb / gdb_expect.
889bf7c5 10090 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
10091 Replace uses of send_gdb / gdb_expect.
10092
3def43e0
JK
100932010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10094
10095 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
10096 excessive newline.
10097
27d3a1a2 100982010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
10099
10100 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
10101 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
10102 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
10103 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
10104 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
10105 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
10106 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
10107 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
10108 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
10109 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
10110 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
10111 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
10112 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
10113 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
10114 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
10115 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
10116 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
10117 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
10118 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 10119
27d3a1a2 101202010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 10121
22454424
MS
10122 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
10123 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
10124
10125 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
10126 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
10127 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
10128
889bf7c5 10129 * gdb.reverse/consecutive-reverse.exp:
22454424 10130 Replace uses of send_gdb / gdb_expect.
889bf7c5 10131 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
10132 Replace uses of send_gdb / gdb_expect.
10133
10134 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
10135 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
10136 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 10137 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
10138 Replace uses of send_gdb / gdb_expect.
10139 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
10140 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
10141 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
10142 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
10143 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
10144 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
10145 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
10146 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
10147 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
10148
101492010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 10150
22454424 10151 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10152
22454424 10153 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10154
22454424
MS
10155 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
10156 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
10157 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
10158 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
10159 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
10160 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
10161 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
10162 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
10163 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10164
6e5f2c59
TT
101652010-05-25 Tom Tromey <tromey@redhat.com>
10166
10167 * gdb.base/macscp.exp: Add missing space after setup_kfail.
10168
bbc8b958
TT
101692010-05-25 Tom Tromey <tromey@redhat.com>
10170
10171 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
10172 argument order.
10173 * gdb.base/macscp.exp: Fix setup_kfail argument order.
10174 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
10175 order.
10176 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
10177 order.
10178 * gdb.base/call-sc.exp (setup_kfails): Remove.
10179 (setup_compiler_kfails): Remove.
10180 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
10181 argument order.
10182 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
10183 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
10184 (advancei): Fix setup_kfail argument order.
10185 * gdb.base/radix.exp: Fix setup_kfail argument order.
10186 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
10187 order.
10188 * gdb.base/structs.exp (setup_kfails): Remove.
10189 (setup_compiler_kfails): Fix setup_kfail argument order.
10190 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
10191 order.
10192 * gdb.java/jmain.exp: Fix setup_kfail argument order.
10193 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
10194 setup_kfail argument order.
10195 * gdb.cp/overload.exp: Fix setup_kfail argument order.
10196
83d1babf
TT
101972010-05-25 Tom Tromey <tromey@redhat.com>
10198
10199 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
10200
6acb16a2
MS
102012010-05-25 Michael Snyder <msnyder@vmware.com>
10202
10203 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
10204 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
10205 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
10206 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
10207 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
10208 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
10209 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
10210 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
10211 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
10212 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
10213 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
10214 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
10215 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
10216 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
10217 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
10218 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
10219 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
10220 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
10221 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
10222 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
10223 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
10224 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
10225 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
10226 * gdb.base/default.exp: Replace send_gdb with gdb_test.
10227 * gdb.base/define.exp: Replace send_gdb with gdb_test.
10228 * gdb.base/display.exp: Replace send_gdb with gdb_test.
10229 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
10230 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
10231 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
10232 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
10233 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
10234 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
10235 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
10236 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
10237 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
10238 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
10239 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
10240 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
10241 * gdb.base/help.exp: Replace send_gdb with gdb_test.
10242 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
10243 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
10244 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
10245 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
10246 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
10247 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
10248 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
10249 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 10250 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
10251
102522010-05-25 Doug Evans <dje@google.com>
10253
10254 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
10255 gdb.string_to_argv.
ad3986f0 10256
d3b1e874
TT
102572010-05-21 Tom Tromey <tromey@redhat.com>
10258
10259 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
10260 Call it.
10261 * gdb.dwarf2/pieces.S: Update.
10262 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
10263
cb826367
TT
102642010-05-21 Tom Tromey <tromey@redhat.com>
10265
10266 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
10267 Call it.
10268 * gdb.dwarf2/pieces.c (struct C): New.
10269 (f6): New function.
10270 * gdb.dwarf2/pieces.S: Replace.
10271
74de6778
TT
102722010-05-21 Tom Tromey <tromey@redhat.com>
10273
10274 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
10275 Call it.
10276
afd74c5f
TT
102772010-05-21 Tom Tromey <tromey@redhat.com>
10278
10279 * gdb.dwarf2.pieces.exp: New file.
10280 * gdb.dwarf2.pieces.S: New file.
10281 * gdb.dwarf2.pieces.c: New file.
10282
a7b75dfd 102832010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 10284 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
10285
10286 * lib/gdb.exp (gdb_test_no_output): New function.
10287 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
10288 when testing commands that should produce no output.
10289
c81c812a
JB
102902010-05-17 Joel Brobecker <brobecker@adacore.com>
10291
10292 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
10293 parameter that we want to watch being a constant.
10294
0cce5bd9
JB
102952010-05-17 Joel Brobecker <brobecker@adacore.com>
10296
10297 * gdb.ada/cond_lang: New testcase.
10298
47050449
JB
102992010-05-17 Joel Brobecker <brobecker@adacore.com>
10300
10301 * lib/gdb.exp (banned_variables): New variable/constant.
10302 (gdb_init): Add write trace on variables listed in banned_variables.
10303 (gdb_finish): Remove write traces on variables listed in
10304 banned_variables.
10305
77c01586
JB
103062010-05-17 Joel Brobecker <brobecker@adacore.com>
10307
10308 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
10309 * gdb.cp/koenig.exp: Likewise.
10310
88d4aea7
PM
103112010-05-14 Phil Muldoon <pmuldoon@redhat.com>
10312
889bf7c5 10313 PR python/11482
88d4aea7
PM
10314
10315 * gdb.python/py-value.exp (test_value_hash): New function.
10316
f5a010c0
PM
103172010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
10318
10319 PR exp/11530.
10320 * gdb.base/gdb11530.c: New file.
10321 * gdb.base/gdb11530.exp: New file.
10322
8ef4892f
JK
103232010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10324
10325 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
10326 * gdb.dwarf2/dw2-modula2-self-type.S: New.
10327
7322dca9
SW
103282010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
10329
10330 * gdb.cp/koenig.exp: New test.
10331 * gdb.cp/koenig.cc: New test program.
10332
02e7ea18
JB
103332010-05-05 Joel Brobecker <brobecker@adacore.com>
10334
10335 Remove the use of prms_id and bug_id throughout the testsuite.
10336
e1c34c5d
PM
103372010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
10338
10339 PR exp/11349.
10340 * testsuite/gdb.cp/ref-types.exp: Add test to examine
10341 use a reference local variable.
10342
8e1d0c49
JK
103432010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10344
10345 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
10346 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
10347 variable different_dir. Move debugfile into a full directory pathname
10348 under DIFFERENT_DIR.
10349 * lib/gdb.exp (separate_debug_filename): Remove.
10350 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
10351 variable debug_dir and mkdir of it. Update function comments.
10352
e66408ed
PA
103532010-04-29 Pedro Alves <pedro@codesourcery.com>
10354
10355 PR gdb/11557
10356
10357 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
10358 files.
10359
d7b32ed3
PM
103602010-04-29 Phil Muldoon <pmuldoon@redhat.com>
10361
889bf7c5 10362 * gdb.python/py-param.exp: New File.
d7b32ed3 10363
6aecb9c2
JB
103642010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
10365
10366 * gdb.base/default.exp: Fix "set language" test.
10367
bdf92a1c
PM
103682010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
10369
10370 PR breakpoints/11531.
10371 * gdb.base/gdb11531.c: New file.
10372 * gdb.base/gdb11531.exp: New file.
10373
3f172e24
TT
103742010-04-26 Tom Tromey <tromey@redhat.com>
10375
10376 * gdb.base/completion.exp: Add tests for completion and deprecated
10377 commands.
10378
64af4c92
JK
103792010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10380
10381 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
10382 (print /x char_array): Escape curly brackets.
10383
492928e4
JK
103842010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10385
10386 Fix deadlock on looped list of loaded shared objects.
10387 * gdb.base/solib-corrupted.exp: New.
10388
66d09542
DE
103892010-04-23 Doug Evans <dje@google.com>
10390
10391 * gdb.python/py-section-script.c: New file.
10392 * gdb.python/py-section-script.exp: New file.
10393 * gdb.python/py-section-script.py: New file.
10394
8bd10a10
CM
103952010-04-20 Chris Moller <cmoller@redhat.com>
10396
10397 PR 10179
10398
10399 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
10400 * gdb.base/pr10179-a.c:
10401 * gdb.base/pr10179-b.c:
10402 * gdb.base/pr10179.exp: New files.
10403
c0201579
JK
104042010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10405
10406 Fix crashes on dangling display expressions.
10407 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
10408 is SEP.
10409 (lib_flags): Remove the "debug" keyword.
10410 (libsepdebug): New variable for iterating new loop.
10411 (save_pf_prefix): New variable wrapping the loop.
10412 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
10413 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
10414
793b0ff8
PM
104152010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10416
10417 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
10418
097f51f7
PM
104192010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10420
10421 PR stabs/11479.
10422 * gdb.stabs/gdb11479.exp: New file.
10423 * gdb.stabs/gdb11479.c: New file.
10424
9a22f0d0
PM
104252010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10426
10427 * gdb.base/charset.c (Strin16, String32): New variables.
10428 * gdb.base/charset.exp (gdb_test): Test correct display
10429 of 16 or 32 bit strings.
10430
104312010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
10432
10433 PR 9167
10434 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
10435 * gdb.cp/pr9167.cc: New file.
10436 * gdb.cp/pr9167.exp: New file.
10437
10438
6e354e5e
PM
104392010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
10440
10441 PR pascal/11492.
10442 * gdb.pascal/gdb11492.pas: New file.
10443 * gdb.pascal/gdb11492.exp: New file.
10444
be942545
JB
104452010-04-20 Joel Brobecker <brobecker@adacore.com>
10446
1667e6e3 10447 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 10448
0c3acc09
JB
104492010-04-20 Joel Brobecker <brobecker@adacore.com>
10450
10451 * gdb.ada/dyn_loc: New testcase.
10452
ec31cde5
CM
104532010-04-20 Chris Moller <cmoller@redhat.com>
10454
10455 PR 10867
889bf7c5 10456
ec31cde5
CM
10457 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
10458 * gdb.cp/pr10687.cc: New file.
10459 * gdb.cp/pr10687.exp: New file.
10460
10461
ce4b0682
SDJ
104622010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10463 Sergio Durigan Junior <sergiodj@redhat.com>
10464
10465 * gdb.fortran/logical.exp: New testcase.
10466 * gdb.fortran/logical.f90: New file.
10467
3436961f
DE
104682010-04-19 Doug Evans <dje@google.com>
10469
10470 * gdb.base/help.exp (help source): Update expected output.
10471
4d836c09
JK
104722010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10473
10474 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
10475 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
10476 gdb_exit and return.
10477 (executable): New variable.
10478 (binfile): Use it.
10479
6149aea9
PA
104802010-04-19 Pedro Alves <pedro@codesourcery.com>
10481
10482 PR breakpoints/8554.
10483
10484 * gdb.trace/save-trace.exp: Adjust.
10485
ed41462c
L
104862010-04-17 H.J. Lu <hongjiu.lu@intel.com>
10487
10488 PR corefiles/11511
10489 * gdb.arch/system-gcore.exp: New.
10490 * gdb.arch/gcore.c: Likewise.
10491
3f7b2faa
DE
104922010-04-15 Doug Evans <dje@google.com>
10493
fa33c3cd
DE
10494 * gdb.python/py-progspace.c: New file.
10495 * gdb.python/py-progspace.exp: New file.
10496
3f7b2faa
DE
10497 * gdb.base/source.exp: Add tests for "source -s".
10498
79f283fe
PM
104992010-04-14 Phil Muldoon <pmuldoon@redhat.com>
10500
10501 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
10502 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
10503 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
10504 * gdb.python/py-mi.exp: New test for to_string returning None.
10505
fc8eb08a
PM
105062010-04-12 Phil Muldoon <pmuldoon@redhat.com>
10507
10508 * gdb.python/py-breakpoint.c: Make result global.
10509
26e197f6
JK
105102010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10511
10512 Fix non-GNU make compatibility.
10513 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
10514
adc36818
PM
105152010-04-09 Phil Muldoon <pmuldoon@redhat.com>
10516
10517 * gdb.python/py-breakpoint.exp: New File.
10518 * gdb.python/py-breakpoint.C: Ditto.
10519
64e17368
SS
105202010-04-08 Stan Shebs <stan@codesourcery.com>
10521
10522 * gdb.trace/actions.exp: Clear default-collect.
10523 * gdb.trace/save-trace.exp: Clear default-collect.
10524
fff5cc64
PM
105252010-04-08 Phil Muldoon <pmuldoon@redhat.com>
10526
10527 * gdb.python/py-value: Add null string variable.
10528 (test_lazy_string): Test zero length, NULL address lazy
10529 strings.
10530
a055a187
L
105312010-04-07 H.J. Lu <hongjiu.lu@intel.com>
10532
10533 * gdb.arch/i386-avx.c: New.
10534 * gdb.arch/i386-avx.exp: Likewise.
10535
10536 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
10537
96e39866
DE
105382010-04-06 Doug Evans <dje@google.com>
10539
10540 * gdb.base/source-test.gdb: New file.
10541 * gdb.base/source.exp: Test source -v.
10542
5984a431
UW
105432010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10544
10545 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
10546
ec8a089a
PM
105472010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
10548
10549 * gdb.stabs/aout.sed: Convert all backslash to double backslash
10550 within one line, unless it is followed by a double quote.
10551 * gdb.stabs/hppa.sed: Idem.
10552 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
10553 * gdb.stabs/weird.exp: Check for correct parsing of
10554 char and string constants.
ec8a089a
PM
10555 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
10556 in .stabs to .stabx substitution.
10557
fce3c1f0
SS
105582010-04-05 Stan Shebs <stan@codesourcery.com>
10559
10560 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
10561 constant global.
10562 * gdb.trace/tfile.exp: Try to print them.
10563
d77f58be
SS
105642010-04-04 Stan Shebs <stan@codesourcery.com>
10565
10566 * gdb.base/completion.exp: Update for new "info watchpoints".
10567 * gdb.base/default.exp: Ditto.
10568 * gdb.base/help.exp: Ditto.
10569 * gdb.base/watchpoint.exp: Ditto.
10570 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 10571
af54718e
SS
105722010-04-04 Stan Shebs <stan@codesourcery.com>
10573
10574 * gdb.trace/tfile.exp: Sharpen tfind test.
10575
74d1f91e
JK
105762010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10577
10578 * gdb.base/break-entry.exp: New.
10579
eb8e76db 105802010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 10581 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
10582
10583 * gdb.reverse/i386-sse-reverse.exp: New file.
10584 * gdb.reverse/i386-sse-reverse.c: New file.
10585
bf65cad8
PA
105862010-04-02 Pedro Alves <pedro@codesourcery.com>
10587
10588 * gdb.trace/tfind.exp: Adjust expected disassembly output.
10589
fff87407
SS
105902010-04-01 Stan Shebs <stan@codesourcery.com>
10591
10592 * gdb.trace/actions.exp: Tweak expected output.
10593 * gdb.trace/while-stepping.exp: Tweak expected output.
10594
fe01d668
L
105952010-04-01 H.J. Lu <hongjiu.lu@intel.com>
10596
10597 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
10598
86b17b60
PA
105992010-04-01 Pedro Alves <pedro@codesourcery.com>
10600
10601 * gdb.base/commands.exp: Adjust.
10602 * gdb.cp/extern-c.exp: Adjust.
10603
2c58c0a9
PA
106042010-04-01 Pedro Alves <pedro@codesourcery.com>
10605
10606 * gdb.trace/collection.c (local_test_func): Define a local struct,
10607 and instanciate it.
10608
0db9b91c
PA
106092010-04-01 Pedro Alves <pedro@codesourcery.com>
10610
10611 * gdb.trace/collection.exp (gdb_collect_args_test)
10612 (gdb_collect_argarray_test): XFAIL the tests that assume the
10613 argarray argument's elements are collected.
10614
8072405b
JK
106152010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
10616
10617 * gdb.dwarf2/dw2-bad-parameter-type.exp,
10618 gdb.dwarf2/dw2-bad-parameter-type.S: New.
10619
8bf6485c
SS
106202010-03-31 Stan Shebs <stan@codesourcery.com>
10621
10622 * gdb.trace/save-trace.exp: Test save/restore of default-collect
10623 and tracepoint conditionals.
10624 (gdb_verify_tracepoints): Delete unused return.
10625
fd7f724a
KS
106262010-03-26 Keith Seitz <keiths@redhat.com>
10627
10628 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
10629 appear in the output before main.
10630 Remove KFAIL for gdb/2215 aka bz 9320.
10631
8d9e7719
DE
106322010-03-30 Doug Evans <dje@google.com>
10633
0906dd0b
DE
10634 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
10635 by dejagnu.
10636 * gdb.arch/amd64-dword.exp: Ditto.
10637
8d9e7719
DE
10638 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
10639 match.
10640 (break printf): Ditto.
10641
1da644f0
SW
106422010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
10643
10644 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
10645 gcc < 4.4.
10646 * gdb.cp/shadow.exp: Ditto.
10647
a8121990
PA
106482010-03-29 Pedro Alves <pedro@codesourcery.com>
10649
10650 * gdb.trace/collection.exp (run_trace_experiment): Make sure
10651 "tstart" is silent.
10652
6e79d367
PA
106532010-03-29 Pedro Alves <pedro@codesourcery.com>
10654
10655 * gdb.trace/collection.exp (executable): New.
10656 (binfile): Use it.
10657 (fpreg, spreg, pcreg): New.
10658 (test_register): Use gdb_test_multiple. Pass /x to print.
10659 (prepare_for_trace_test): New.
10660 (run_trace_experiment): Use "continue", not gdb_run_cmd.
10661 (gdb_collect_args_test, gdb_collect_argstruct_test)
10662 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
10663 prepare_for_trace_test.
10664 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
10665 fpreg, spreg and pcreg.
10666 (gdb_collect_expression_test, gdb_collect_globals_test): Use
10667 prepare_for_trace_test.
10668 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
10669 try to detect tracing support here. Don't set breakpoints at
10670 `begin' or `end' here.
10671 <global scope>: Use clean_restart. Run to main before checking
10672 for tracing support. Check for for tracing support here.
10673
09248348
JK
106742010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10675
10676 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
10677 " as $displacement" to "seen displacement message".
10678
d350db38
PA
106792010-03-28 Pedro Alves <pedro@codesourcery.com>
10680
10681 * gdb.trace/while-dyn.exp (executable): New variable.
10682 (binfile): Use it.
10683 (test_while_stepping): New function. Move most tests here. Call
10684 it once for each of the while-stepping, stepping and ws aliases.
10685
907af001
UW
106862010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10687
10688 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
10689 that do not provide the tagless_struct type name at all.
10690 (test_print_anon_union): Do not check value of uninitialized
10691 union member. Do not use cp_test_ptype_class, so we can accept
10692 "long" as well as "long int".
10693
610197fd
PA
106942010-03-26 Pedro Alves <pedro@codesourcery.com>
10695
10696 * gdb.trace/tfile.c (tohex, bin2hex): New.
10697 (write_error_trace_file): Hexify error description.
10698
6c28cbf2
SS
106992010-03-25 Stan Shebs <stan@codesourcery.com>
10700
10701 * gdb.trace/tfile.c: Generate an additional trace file, improve
10702 portability.
10703 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
10704 files in a better way.
10705
e62b8c7e
KS
107062010-03-25 Keith Seitz <keiths@redhat.com>
10707
10708 * gdb.java/jprint.exp: XFAIL printing of static class members
10709 because of GCC debuginfo problem.
10710
82ccf5a5
JK
107112010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10712
10713 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
10714
293e2f9e
DJ
107152010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10716
10717 * gdb.base/completion.exp: Allow long instead of long int.
10718 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
10719 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
10720 variable p.
10721 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
10722 * gdb.base/pointers.exp: Allow long instead of long int.
10723 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
10724 * gdb.base/step-line.exp: Allow a directory before the source file name.
10725
95a42b64
TT
107262010-03-24 Tom Tromey <tromey@redhat.com>
10727
10728 PR breakpoints/9352:
10729 * gdb.base/default.exp: Update.
10730 * gdb.base/commands.exp: Update.
10731 * gdb.cp/extern-c.exp: Test setting commands on multiple
10732 breakpoints at once.
10733
2390201f
DJ
107342010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10735
10736 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
10737 if gdb,nosignals.
10738 * gdb.base/watchpoints.c: Do not include unnecessary headers.
10739 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
10740 exited".
10741
8c9a6790
SS
107422010-03-24 Stan Shebs <stan@codesourcery.com>
10743
10744 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
10745
a6c727b2
DJ
107462010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10747
10748 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
10749 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
10750 argument. Handle "short" and "long".
10751 (Top level): Pass overprototyped output for old_fptr and xptr.
10752
4dfd5423
PA
107532010-03-23 Pedro Alves <pedro@codesourcery.com>
10754
10755 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
10756 format strings and add casts to avoid compiler warnings.
10757
107582010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
10759
10760 * lib/trace-support.exp (gdb_trace_setactions):
10761 Don't expect whitespace after ">" prompt.
10762 * gdb.trace/actions.exp: Adjust for output changes.
10763 * gdb.trace/while-stepping.exp: Likewise.
10764
c847d045
JK
107652010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10766
10767 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
10768 and r157645).
10769
5f717f1d
JK
107702010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10771
10772 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
10773 New.
10774
7d6d51d5
DJ
107752010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
10776
10777 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
10778 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
10779
3b11a015
SS
107802010-03-19 Stan Shebs <stan@codesourcery.com>
10781
10782 * gdb.trace/ax.exp: New file.
10783
d7d158ed
DE
107842010-03-19 Doug Evans <dje@google.com>
10785
6bb85cd1
DE
10786 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
10787 output from gcc.
10788
d7d158ed
DE
10789 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
10790 named /usr/sbin/prelink<foo>.
10791
4daf5ac0
SS
107922010-03-18 Stan Shebs <stan@codesourcery.com>
10793
10794 * gdb.trace/circ.exp: Test circular-trace-buffer.
10795 * gdb.trace/tfile.exp: Update tstatus test.
10796
e8d05480
JB
107972010-03-18 Joel Brobecker <brobecker@adacore.com>
10798
10799 * gdb.dwarf2/dw2-anonymous-func.S: New file.
10800 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
10801
441b986a
UW
108022010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10803
10804 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
10805
4247603b
PA
108062010-03-18 Pedro Alves <pedro@codesourcery.com>
10807
10808 * gdb.base/default.exp: Adjust the expected output of the finish
10809 and until commands when the inferior is not being run.
10810
13387711
SW
108112010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
10812
10813 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
10814 * gdb.cp/nsusing.exp: Ditto.
10815
6e31430b
TT
108162010-03-15 Tom Tromey <tromey@redhat.com>
10817
10818 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
10819 * gdb.cp/userdef.cc (operator==): New function.
10820 (main): New locals mem1, mem2.
10821
e2d69cb5
JZ
108222010-03-15 Jie Zhang <jie@codesourcery.com>
10823
10824 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
10825 Declare and use new loadtimeout variable.
10826
f572f0a9
DJ
108272010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
10828
10829 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
10830 Use gdb_load later.
10831
51f4c0b0
PA
108322010-03-14 Pedro Alves <pedro@codesourcery.com>
10833
10834 * gdb.base/solib-disc.c (main): Make format of fprintf a string
10835 literal. Add missing endlines to prints to stderr.
10836
1c809c68
TT
108372010-03-12 Tom Tromey <tromey@redhat.com>
10838
10839 PR c++/9708:
10840 * gdb.cp/m-static.exp: Add regression test.
10841 * gdb.cp/m-static.cc (method): New method.
10842 (main): Call it.
10843
00ae8fef
SW
108442010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
10845
10846 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
10847 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
10848
759f0f0b
PA
108492010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10850
21e24d21
PA
10851 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
10852
108532010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10854
759f0f0b
PA
10855 * lib/gdb.exp (skip_stl_tests): New.
10856 (gdb_compile): Symbian needs -ldl.
10857 (shlib_target_file): New.
10858 (shlib_symbol_file): New.
10859 (gdb_load_shlibs): Use shlib_target_file.
10860 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
10861 * gdb.cp/exception.exp: Use skip_stl_tests.
10862 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
10863 * gdb.cp/try_catch.exp: Use skip_stl_tests.
10864 * gdb.cp/mb-templates.exp: Ditto.
10865 * gdb.base/commands.exp: Relax regexes.
10866 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
10867 shlib_target_file and shlib_symbol_file.
10868 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
10869 sections.
10870 * gdb.base/ending-run.exp: Accept E32Main for symbian.
10871 * gdb.base/solib-disc.exp: Use
10872 shlib_target_file and shlib_symbol_file.
10873 * gdb.base/unload.exp: Don't skip on symbian. Use
10874 shlib_target_file and shlib_symbol_file.
10875 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
10876
6a8f2671 108772010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 10878
6a8f2671
PA
10879 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
10880 * gdb.trace/report.exp: Adjust for x86 and x86_64.
10881 Issue a tfind end before looking for a tracepoint frame.
10882 * gdb.trace/tfind.exp: Adjust tstatus output.
10883 Adjust disassembly output.
10884 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
10885
ccf26247
JK
108862010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10887
10888 * gdb.base/break-interp.exp: Create new displacement parameter value
10889 for the test_ld calls.
10890 (reach): New parameter displacement, verify its content. New push of
10891 pf_prefix "reach-$func:". Import global expect_out.
10892 (test_core): New parameter displacement, verify its content. New push
10893 of pf_prefix "core:". New command "set verbose on". Import global
10894 expect_out.
10895 (test_attach): New parameter displacement, verify its content. New
10896 push of pf_prefix "attach:". New command "set verbose on". Import
10897 global expect_out.
10898 (test_ld): New parameter displacement, pass it to the reach, test_core
10899 and test_attach calls and verify its content in the "ld.so exit" test.
10900 * gdb.base/prelink.exp: Remove gdb_exit and final return.
10901 (prelink): Update expected text, use gdb_test.
10902
e469c7fb
DE
109032010-03-10 Doug Evans <dje@google.com>
10904
10905 * gdb.base/checkpoint.exp: Fix comment.
10906 Lengthen timeout while doing >600 checkpoints test.
10907 Rename duplicate "kill all one" test to keep test names unique.
10908
60e1c644
PA
109092010-03-10 Pedro Alves <pedro@codesourcery.com>
10910
10911 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
10912
cec808ec
KS
109132010-03-08 Keith Seitz <keiths@redhat.com>
10914
889bf7c5
PA
10915 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
10916 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
10917 (dm_type_long): New function.
10918 (dm_type_unsigned_short): New function.
10919 (dm_type_unsigned_long): New function.
10920 (myint): New typedef.
10921 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
10922 long, unsigned shor and long, operator char*, and typedef.
10923 (test_lookup_operator_functions): Add operator char* test.
10924 (test_paddr_operator_functions): Likewise.
10925 (test_paddr_overloaded_functions): Use probe values for
10926 short, long, and unsigned short and long.
10927 (test_paddr_hairy_functions): If the demangler probe detected
10928 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
10929 demangler.
10930 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
10931 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
10932 and "print null_pmf".
10933 Add test "ptype a.*pmf".
10934 * gdb.cp/overload.exp: Allow optional "int" to appear with
10935 "short" and "long".
10936 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
10937 long expect value for men_overload1arg.
10938 Allow "int" to appear with "short" and "long".
10939 When testing "info break", add argument for main (void).
10940 Also allow "int" to appear with "short" and "long".
10941 Ditto with "unsigned" and "long long".
cec808ec
KS
10942 * gdb.java/jmain.exp: Do not enclose methods names in single
10943 quotes.
10944 * gdb.java/jmisc.exp: Likewise.
10945 * gdb.java/jprint.exp: Likewise.
10946 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
10947
10948 From Jan Kratochvil <jan.kratochvil@redhat.com>:
10949 * gdb.cp/exception.exp (backtrace after first throw)
10950 (backtrace after second throw): Allow a namespace before __cxa_throw.
10951 (backtrace after first catch, backtrace after second catch): Allow
10952 a namespace before __cxa_begin_catch.
10953
10954 * gdb.cp/cpexprs.exp: New file.
10955 * gdb.cp/cpexprs.cc: New file.
10956
10957 From Daniel Jacobowitz <dan@codesourcery.com>
10958 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
10959 to use string_to_regexp.
10960 (ctor, dtor): New functions. Use them to match constructor
10961 and destructor function types.
10962 (Top level): Use runto_main.
10963
f870a310
TT
109642010-03-05 Tom Tromey <tromey@redhat.com>
10965
10966 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
10967 gdb.target_charset.
10968 (pp_ns.to_string): Likewise.
10969
0c199f28
KS
109702010-03-04 Keith Seitz <keiths@redhat.com>
10971
10972 * gdb.cp/overload.exp: Test that the filename portion of a linespec
10973 can be quoted. Test that both the filename and function/line
10974 portions can be quoted at the same time.
10975
c7437ca6
PA
109762010-03-04 Pedro Alves <pedro@codesourcery.com>
10977
10978 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
10979
b111b805
DE
109802010-03-03 Doug Evans <dje@google.com>
10981
24486cb7
DE
10982 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
10983 libc contains libpthread.
10984
b111b805
DE
10985 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
10986 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
10987 of gdb_compile. Add another pattern to match android backtrace.
10988
a0e0ef55
TT
109892010-03-03 Tom Tromey <tromey@redhat.com>
10990
10991 PR gdb/11345:
10992 * gdb.base/printcmds.exp (test_printf): Add test.
10993
1ba53b71
L
109942010-03-02 H.J. Lu <hongjiu.lu@intel.com>
10995
10996 * gdb.arch/amd64-byte.exp: New.
10997 * gdb.arch/amd64-dword.exp: Likewise.
10998 * gdb.arch/amd64-pseudo.c: Likewise.
10999 * gdb.arch/amd64-word.exp: Likewise.
11000 * gdb.arch/i386-byte.exp: Likewise.
11001 * gdb.arch/i386-pseudo.c: Likewise.
11002 * gdb.arch/i386-word.exp: Likewise.
11003
f5dff777
DJ
110042010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
11005
11006 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
11007 types. Add structreg, bitfields, and flags registers.
11008 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
11009 registers.
11010
90884b2b
L
110112010-03-01 H.J. Lu <hongjiu.lu@intel.com>
11012
11013 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
11014 (load_description): Set architecture if defined.
11015
dc00d89f
PM
110162010-02-28 Phil Muldoon <pmuldoon@redhat.com>
11017
11018 * gdb.python/py-frame.exp: Add read_var block tests.
11019 * gdb.python/py-frame.c (block): New function.
11020
0e095b7e
JK
110212010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11022 Daniel Jacobowitz <dan@codesourcery.com>
11023
11024 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
11025
624f1a65
DM
110262010-02-25 David S. Miller <davem@davemloft.net>
11027
11028 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
11029 fix logic for setting all_syscalls_numbers.
11030
f3e9a817
PM
110312010-02-24 Phil Muldoon <pmuldoon@redhat.com>
11032
11033 * Makefile.in: Add py-block and py-symbol.
11034 * gdb.python/py-symbol.exp: New File.
11035 * gdb.python/py-symtab.exp: New File.
11036 * gdb.python/py-block.exp: New File.
11037 * gdb.python/py-symbol.c: New File.
11038 * gdb.python/py-block.c: New File.
11039
f6bbabf0
PM
110402010-02-24 Phil Muldoon <pmuldoon@redhat.com>
11041
11042 PR python/11314
11043 * lib/gdb.exp (skip_python_tests): New function.
11044 * gdb.python/py-cmd.exp: Use skip_python_tests.
11045 * gdb.python/py-frame.exp: Likewise.
11046 * gdb.python/py-function.exp: Likewise.
11047 * gdb.python/py-prettyprint.exp: Likewise.
11048 * gdb.python/py-template.exp: Likewise.
11049 * gdb.python/py-type.exp: Likewise.
11050 * gdb.python/py-value.exp: Likewise.
11051
85d721b8
PA
110522010-02-22 Pedro Alves <pedro@codesourcery.com>
11053
11054 PR9605
11055
11056 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
11057
48e32051
TT
110582010-02-19 Tom Tromey <tromey@redhat.com>
11059
11060 PR c++/8693, PR c++/9496:
11061 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
11062 regression tests.
11063
ac9c0048
JK
110642010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11065
11066 Fix compatibility with m68k as.
11067 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
11068 Use only /* comments */.
11069
57bb97a4
UW
110702010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11071
11072 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
11073 * configure: Regenerate.
11074
7d1bf85c
DJ
110752010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
11076
11077 * gdb.python/py-type.exp: Check for Python support.
11078
061b5285
PA
110792010-02-17 Pedro Alves <pedro@codesourcery.com>
11080
11081 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
11082 `regsub' syntax available.
11083
f8a8bc2c
PA
110842010-02-17 Pedro Alves <pedro@codesourcery.com>
11085
11086 * gdb.base/shmain.c (main): Remove printf call.
11087 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
11088 * gdb.base/unload.c (main): Make format of fprintf a string
11089 literal. Add missing endlines to prints to stderr.
11090 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
11091
6f451e5e
TT
110922010-02-17 Tom Tromey <tromey@redhat.com>
11093
11094 * gdb.java/jprint.java (jprint.props): New field.
11095 * gdb.java/jprint.exp (set_lang_java): Add regression test.
11096
12d79008
PA
110972010-02-17 Pedro Alves <pedro@codesourcery.com>
11098
ef801a0e 11099 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
11100 available.
11101
d252f7e5
DJ
111022010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11103
11104 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
11105 creation to support remote host testing.
11106
67bdab6c
DJ
111072010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11108
11109 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
11110 Recognize "command not found".
11111
bb391223
DJ
111122010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11113
11114 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
11115 single-stepping.
11116
70362913
DJ
111172010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11118
11119 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
11120 if arguments are not supported.
11121
493f3c00
DJ
111222010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11123
11124 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
11125 be const or non-const.
11126
8034c749
DJ
111272010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11128
11129 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
11130 mi_send_resuming_command to send -exec-continue.
11131
791dfb64
DJ
111322010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11133
11134 * gdb.base/list.exp (test_list_filename_and_function): Add test
11135 with single quotes.
11136 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
11137 matching.
11138 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
11139 Add KFAIL'd tests for PR gdb/11289.
11140
7c5fe868
DJ
111412010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11142
11143 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
11144
fdc498b8
DJ
111452010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11146
11147 * gdb.base/comp-dir/subdir/dummy.txt: New file.
11148 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
11149 a temporary directory.
11150
b519e2a6
DJ
111512010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11152
11153 * gdb.base/charset.exp: Use a single regular expression to match
11154 show host-charset and show target-charset output.
11155
74164c56
JK
111562010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11157
11158 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
11159 "Illegal process-id" expect string more exact.
11160 (attach to digits-starting nonsense is prohibited): New.
11161
701ed6dc
JK
111622010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11163
11164 * gdb.base/prelink.exp (set verbose on): New.
11165
889bf7c5 111662010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
11167
11168 * mi-reverse.exp: New file. Test for reverse option to the
11169 following MI commands: exec-continue, exec-finish, exec-next,
11170 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 11171
dadf0e9c
JB
111722010-02-09 Joel Brobecker <brobecker@adacore.com>
11173
11174 * gdb.ada/ptype_tagged_param: New testcase.
11175
714f19d5
TT
111762010-02-08 Tom Tromey <tromey@redhat.com>
11177
11178 PR c++/8017:
11179 * gdb.cp/overload.exp: Add tests.
11180 * gdb.cp/overload.cc (struct K): New.
11181 (namespace N): New.
11182 (main): Call new functions.
11183 (K::staticoverload): Define.
11184
889bf7c5 111852010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
11186
11187 PR gdb/10728
11188 * gdb.cp/pr10728-x.h: New file.
11189 * gdb.cp/pr10728-x.cc: New file.
11190 * gdb.cp/pr10728-y.cc: New file.
11191 * gdb.cp/pr10728.exp: New file.
11192 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
11193
889bf7c5 111942010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
11195
11196 PR gdb/9067
11197 * gdb.cp/pr9067.exp: New
11198 * gdb.cp/pr9067.cc: New
11199 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
11200
7b356089
JB
112012010-02-08 Joel Brobecker <brobecker@adacore.com>
11202
11203 * lib/gdb.exp (gdb_test_timeout): New global variable.
11204 Set it to timeout if not already set.
11205 (gdb_init): Reset the value of timeout to gdb_test_timeout.
11206
1be00882
DE
112072010-02-05 Doug Evans <dje@google.com>
11208
11209 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
11210 user.
11211
82856980
SW
112122010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
11213
11214 PR c++/7935:
11215 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
11216
1a334831
TT
112172010-02-04 Tom Tromey <tromey@redhat.com>
11218
11219 * gdb.cp/virtbase.exp: Make test case names unique.
11220
9c3c02fd
TT
112212010-02-02 Tom Tromey <tromey@redhat.com>
11222
11223 * gdb.cp/virtbase.exp: Add regression tests.
11224 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
11225 (main): Instantiate RHC.
11226
0cc2414c
TT
112272010-02-02 Tom Tromey <tromey@redhat.com>
11228
11229 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
11230 type-printing change.
11231
edf3d5f3
TT
112322010-02-02 Tom Tromey <tromey@redhat.com>
11233
11234 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
11235 * gdb.cp/virtbase.cc: New file.
11236 * gdb.cp/virtbase.exp: New file.
11237 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
11238
e4b7f41c
JK
112392010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11240
11241 PR libc/11214:
11242 * gdb.threads/current-lwp-dead.c: Include features.h.
11243 (HAS_NOMMU): New.
11244 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
11245
b381ea14
JK
112462010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11247
11248 * gdb.base/symbol-without-target_section.exp,
11249 gdb.base/symbol-without-target_section.c: New.
11250
c593ac0e
DJ
112512010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11252
11253 * gdb.base/bigcore.exp: Reset increased timeout.
11254 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
11255
db25f29d
DJ
112562010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11257
11258 * gdb.base/gcore.exp (capture_command_output): Use
11259 gdb_test_multiple.
11260
f9d67f43
DJ
112612010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11262
11263 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
11264 * gdb.arch/thumb2-it.exp (test_it_break): New function.
11265 (Top level): Call it.
11266
177321bd
DJ
112672010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11268
11269 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
11270
97f2ed50
DJ
112712010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11272
11273 * gdb.base/call-strs.exp, gdb.base/default.exp,
11274 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
11275 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
11276 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
11277 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
11278 gdb.base/watchpoint-solib.exp: Save and restore timeout.
11279 * gdb.base/ending-run.exp: Correct restore of timeout.
11280 * gdb.base/page.exp: Remove unnecessary timeout setting.
11281
e4e2711a
JB
112822010-01-29 Joel Brobecker <brobecker@adacore.com>
11283
11284 * gdb.ada/rec_return: New testcase.
11285
ba581dc1
JB
112862010-01-29 Joel Brobecker <brobecker@adacore.com>
11287
11288 * gdb.ada/call_pn: New testcase.
11289
4ea95be9
DJ
112902010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11291
11292 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
11293 (Top level): Use it to resume.
11294 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
11295 the Thumb mode displaced stepping error as unsupported.
11296
df83a9bf
SW
112972010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
11298
889bf7c5
PA
11299 * gdb.cp/nsusing.exp: Added more tests.
11300 * gdb.cp/nsrecurs.exp: Ditto.
11301 * gdb.cp/nsusing.cc: Added test functions.
11302 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 11303
40b27cdc
JK
113042010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11305
11306 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
11307 absolute directory pathnames in gdb.sum file.
11308
de958931
SW
113092010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
11310
11311 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
11312 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
11313
708ead4e
TT
113142010-01-26 Tom Tromey <tromey@redhat.com>
11315
11316 PR exp/7643:
11317 * gdb.base/printcmds.exp (test_print_string_constants): Remove
11318 setup_kfail.
11319
b14e635e
SW
113202010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
11321
11322 * gdb.cp/nsrecurs.exp: New test.
11323 * gdb.cp/nsrecurs.cc: New test program.
11324 * gdb.cp/nsstress.exp: New test.
11325 * gdb.cp/nsstress.cc: New test program.
11326 * gdb.cp/nsdecl.exp: New test.
11327 * gdb.cp/nsdecl.cc: New test program.
11328
8540c487
SW
113292010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
11330
11331 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
11332 imported into file scope.
11333 Marked test as xfail.
11334 * gdb.cp/namespace-using.cc (marker5): New function.
11335 * gdb.cp/shadow.exp: New test.
11336 * gdb.cp/shadow.cc: New test program.
11337 * gdb.cp/nsimport.exp: New test.
11338 * gdb.cp/nsimport.cc: New test program.
11339
421d5d99
TT
113402010-01-25 Tom Tromey <tromey@redhat.com>
11341
11342 PR gdb/11049:
11343 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
11344 with "set print null-stop on".
11345
691f8dc1
JK
113462010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11347
11348 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
11349 Adjust it for DISASSEMBLY_OMIT_FNAME.
11350
0b92b5bb
TT
113512010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11352
11353 PR symtab/11199:
11354 * gdb.dwarf2/member-ptr-forwardref.exp,
11355 gdb.dwarf2/member-ptr-forwardref.S: New.
11356
23787403
JK
113572010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11358
11359 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
11360 (thread1_func): Protect thread1_tid with thread1_tid_cond by
11361 thread1_tid_mutex. Remove gdbstop_mutex handling.
11362 (thread2_func): Protect thread2_tid with thread2_tid_cond by
11363 thread2_tid_mutex. Remove gdbstop_mutex handling.
11364 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
11365 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
11366 pthread_cond_wait conditionalizations by while loops.
11367
b966cb8a
TT
113682010-01-20 Tom Tromey <tromey@redhat.com>
11369
11370 PR backtrace/10770:
11371 * gdb.dwarf2/pr10770.exp: New file.
11372 * gdb.dwarf2/pr10770.c: New file.
11373 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
11374
fcae584b
VP
113752010-01-20 Vladimir Prus <vladimir@codesourcery.com>
11376
11377 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
11378 that target was removed, and the test always runs native anyway.
11379
a0f49112
JK
113802010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11381
11382 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
11383 gdb.base/watchpoint-cond-gone-stripped.c: New.
11384
ceeb3d5a
TT
113852010-01-19 Tom Tromey <tromey@redhat.com>
11386
11387 PR c++/8000:
11388 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
11389 existing tests.
11390 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
11391 (main): Use AAA::SomeEnum.
11392
dd322c54
JK
113932010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11394
11395 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
11396 (test_ignore_count): Declare line_callme_body global.
11397 (run to breakpoint with ignore count): Use line_callme_body.
11398 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
11399 (set line_main_hello, set line_main_return): Reindent.
11400 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
11401 New.
11402 (continue to callee4): Use line_callee4_body.
11403 (check *stopped from CLI command): Use line_callee4_next.
11404 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
11405 (set line_main_hello, set line_main_return): Reindent.
11406 (set line_callee4_head, set line_callee4_body): New.
11407 (continue to callee4): Use line_callee4_body.
11408
4e8f195d
TT
114092010-01-18 Tom Tromey <tromey@redhat.com>
11410
11411 PR c++/9680:
11412 * gdb.cp/casts.cc: Add new classes and variables.
11413 * gdb.cp/casts.exp: Test new operators.
11414
9e14a9ba
JB
114152010-01-18 Tom Tromey <tromey@redhat.com>
11416 Thiago Jung Bauermann <bauerman@br.ibm.com>
11417
11418 * gdb.python/source2.py: New file.
11419 * gdb.python/source1: New file.
11420 * gdb.python/python.exp: Test "source" command.
11421
00bf0b85
SS
114222010-01-15 Stan Shebs <stan@codesourcery.com>
11423
11424 * gdb.trace/tfile.c: New file.
11425 * gdb.trace/tfile.exp: New file.
889bf7c5 11426
55235ad7
JK
114272010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11428
11429 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
11430
9f2982ff
JK
114312010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11432
11433 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
11434
bbfba9ed
JK
114352010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11436
11437 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
11438 (libfunc): New parameter action. Implement also selectable "sleep".
11439 * gdb.base/break-interp-main.c: Include assert.h.
11440 (libfunc): New parameter action.
11441 (main): New parameters argc and argv. Assert argc. Pass argv.
11442 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
11443 (test_attach): New proc.
11444 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
11445 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
11446
61f0d762
JK
114472010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11448
11449 * gdb.base/break-interp.exp (test_core): New proc.
11450 (test_ld): Call it.
11451
06a6f270
JK
114522010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11453
11454 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
11455 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
11456 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
11457 and gdb_compile_shlib. Use new -Wl compiler options.
11458 (dl bt, main bt): New tests.
11459
51bee8e9
JK
114602010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11461
11462 Support PIEs with no symfile_objfile.
11463 * gdb.base/break-interp.exp: New argument at the test_ld calls.
11464 (test_ld): New parameter trynosym.
11465 (test_ld <$trynosym>): New block.
11466
b8040f19
JK
114672010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11468
11469 * gdb.base/break-interp.exp: New file.
11470
be759fcf
PM
114712010-01-13 Phil Muldoon <pmuldoon@redhat.com>
11472
11473 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
11474 * gdb.python/py-prettyprint.py (pp_ls): New printer.
11475 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
11476 test.
11477 * gdb.python/py-prettyprint.c: Define lazystring test structure.
11478 * gdb.python/py-mi.exp: Add lazy string test.
11479
dc146f7c
VP
114802010-01-13 Vladimir Prus <vladimir@codesourcery.com>
11481
11482 * lib/mi-support.exp (mi_check_thread_states): Handle
11483 core number in thread listing.
11484
b4ba55a1
JB
114852010-01-12 Joel Brobecker <brobecker@adacore.com>
11486
11487 * gdb.base/maint.exp: Adjust the expected output for the
11488 "maint print type" test. Use gdb_test_multiple instead of
11489 gdb_sent/gdb_expect.
11490
08e24bd4
DE
114912010-01-11 Doug Evans <dje@google.com>
11492
6496a609
DE
11493 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
11494 from gdbserver_download. All callers updated.
11495
08e24bd4
DE
11496 * gdb.server/ext-run.exp: "info os processes" requires xml support.
11497
b5cfddf5
JK
114982010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11499
11500 Implement binary numbers parsing.
11501 * gdb.base/printcmds.exp (test_integer_literals_accepted)
11502 (test_integer_literals_rejected): New binary tests.
11503
3725885a
RW
115042010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11505
11506 * gdb.cell/configure: Regenerate.
11507
37aeb5df
JK
115082010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11509
11510 * gdb.base/corefile.exp: Move the core finding block out and call it as
11511 core_find, new variable $corefile, replace corefile by $corefile and
11512 [file tail $corefile] for usage vs. test names resp.
11513 * lib/gdb.exp (core_find): Move it as a new function here. New
11514 parameter binfile and deletefiles. New variable $destcore. Pre-delete
11515 $destcore. Return "" on error.
11516
d521f563
JK
115172010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11518
11519 Workaround PR binutils/10802.
11520 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
11521 (twice).
11522
28f24826
DJ
115232010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11524
11525 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
11526
2de75e71
JB
115272010-01-08 Joel Brobecker <brobecker@adacore.com>
11528
11529 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
11530 call, to avoid interruption.
11531
fe00719b 115322010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
11533
11534 * gdb.stabs/weird.def (args93): New.
11535
d0ef5df8
DE
115362010-01-07 Doug Evans <dje@google.com>
11537
11538 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
11539
3a08d52f
TT
115402010-01-07 Tom Tromey <tromey@redhat.com>
11541
11542 * gdb.base/source.exp: Use correct line number.
11543
7a697b8d
SS
115442010-01-05 Stan Shebs <stan@codesourcery.com>
11545
11546 * gdb.trace/tracecmd.exp: Test ftrace.
11547
7803799a
UW
115482010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11549
11550 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
11551
c54eabfa
JK
115522010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11553
11554 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
11555 "uint_for_mi_testing".
11556
02e7ef19
JB
115572010-01-01 Joel Brobecker <brobecker@adacore.com>
11558
11559 Test indented comment in file being sourced.
11560 * gdb.base/commands.exp: Test indented comment in file being sourced.
11561
abd775ce
JB
115622010-01-01 Joel Brobecker <brobecker@adacore.com>
11563
11564 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
11565 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
11566 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
11567 notice.
11568
79b55b82
JB
115692010-01-01 Joel Brobecker <brobecker@adacore.com>
11570
11571 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
11572 notice.
11573
8997583e
JK
115742010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11575
11576 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
11577 missing $after_stopped and comma (,) expectation.
11578
6da95a67
SS
115792009-12-31 Stan Shebs <stan@codesourcery.com>
11580
11581 * gdb.trace/actions.exp: Test teval action.
889bf7c5 11582
218d2fc6
TJB
115832009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11584
11585 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
11586 (top level): Call test_watchpoint_in_big_blob.
11587 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
11588 watchpoints.
11589 (func3): Write to buf.
11590
236f1d4d
SS
115912009-12-29 Stan Shebs <stan@codesourcery.com>
11592
11593 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 11594
f61e138d
SS
115952009-12-28 Stan Shebs <stan@codesourcery.com>
11596
11597 * gdb.trace/tsv.exp: New file.
11598 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 11599
0219b378
DJ
116002009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
11601
11602 * gdb.base/find.c (main): Reference search buffers.
11603 * gdb.base/included.c (main): Reference integer.
11604 * gdb.base/ptype.c (charfoo): Declare.
11605 (intfoo): Call charfoo.
11606 * gdb.base/scope0.c (useitp): New function.
11607 (usestatics): Use useitp.
11608 (useit): Add a type for val.
11609 * gdb.base/scope1.c (useit1): Take a pointer argument.
11610 (usestatics1): Update calls to useit1.
11611 * gdb.cp/call-c.cc: Declare foo.
11612 (main): Call foo.
11613 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
11614 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
11615 (main): Call C::ensureRefs and ensureOtherRefs.
11616 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
11617 variables.
11618 (ensureOtherRefs): New function.
11619 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
11620 * gdb.cp/templates.cc (main): Call t5i.value.
11621
3f78692f
JK
116222009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11623
11624 Fix compatibility with G++-4.5.
11625 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
11626 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
11627 (uncaught return): Remove.
11628
429374b8
JK
116292009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11630 Phil Muldoon <pmuldoon@redhat.com>
11631
11632 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
11633 (bp_location13, bp_location14, bp_location17, bp_location18)
11634 (marker3_proto, marker4_proto): New variables.
11635 (breakpoint info): Update output.
11636 (run until breakpoint at marker3, run until breakpoint at marker4): New
11637 tests.
11638
859825b8
JK
116392009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11640
11641 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
11642 Replace the printf call of Y by provided "y-set-1" label. New block
11643 for the second shared library.
11644 * gdb.base/unload.exp: Compile also the second library, call
11645 gdb_load_shlibs also for it. Use now gdb_breakpoint.
11646 (single pending breakpoint info): Rename to ...
11647 (pending breakpoint info before run): ... this extended test.
11648 (libfile2, libname2, libsrcfile2, libsrc2)
11649 (lib_sl2): New variables.
11650 (exec_opts): Set also SHLIB_NAME2.
11651 (pending breakpoint info on first run at shrfunc1)
11652 (pending breakpoint info on second run at shrfunc1)
11653 (pending breakpoint info on second run at shrfunc2)
11654 (print y from libfile, print y from libfile2): New tests.
11655 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
11656 * gdb.base/unloadshr2.c: New.
11657
e6a386cd
HZ
116582009-12-22 Hui Zhu <teawater@gmail.com>
11659
11660 * gdb.reverse/sigall-reverse.exp: Adjust.
11661
9e19b45e
VP
116622009-12-21 Vladimir Prus <vladimir@codesourcery.com>
11663
11664 PR gdb/10884
11665
11666 * gdb.mi/var-cmd.c (do_bitfield_tests): New
11667 (main): Call do_bitfield_tests.
aacf5b1e 11668 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 11669
d53a7b30
JB
116702009-12-20 Joel Brobecker <brobecker@adacore.com>
11671
11672 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
11673 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
11674 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
11675 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
11676 gdb.modula2/unbounded1.c: Update copyright header.
11677
191ca0a1
CM
116782009-12-10 Chris Moller <moller@mollerware.com>
11679
11680 PR gdb/9399
11681 * gdb.cp/virtfunc2.exp: New tests
11682 * gdb.cp/virtfunc2.cc: New tests
11683 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
11684
0fa6cf1b
MS
116852009-12-10 Oza Pawandeep (paawan1982@yahoo.com
11686
11687 * gdb.reverse/i387-env-reverse.c: New file.
11688 * gdb.reverse/i387-env-reverse.exp: New file.
11689 * gdb.reverse/i387-stack-reverse.c: New file.
11690 * gdb.reverse/i387-stack-reverse.exp: New file.
11691
361ae042
PM
116922009-12-08 Phil Muldoon <pmuldoon@redhat.com>
11693
11694 * gdb.python/py-type.exp (test_range): New test.
11695
bfd31e71
PM
116962009-12-03 Phil Muldoon <pmuldoon@redhat.com>
11697
11698 PR python/10805
11699
11700 * gdb.python/py-type.exp: New file.
11701 * gdb.python/py-type.c: New file.
11702 * Makefile.in: Add py-type.
11703
57a1d736
TT
117042009-12-03 Tom Tromey <tromey@redhat.com>
11705
11706 * gdb.python/py-value.exp (test_parse_and_eval): New
11707 function.
11708
1f3b5d1b
PP
117092009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11710
11711 PR gdb/11022
11712
11713 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
11714 * gdb.base/pr11022.c: New test.
11715
8b7dbdc9
JK
117162009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11717
11718 Fix spurious false FAILs.
11719 * gdb.base/structs.c (chartest): New.
11720 (main): Fill-in chartest.
11721 * gdb.base/structs.exp (anychar_re, first): New.
11722 (start_structs_test): Import global anychar_re and first.
11723 New gdb_test call "set print elements 300; ${testfile}"
11724 (start_structs_test <$first>): New block.
11725 (any): Import global anychar_re. New variable ac. Use ${ac}.
11726
6a53b2ec
JK
117272009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11728
11729 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
11730
d7167b4c
JK
117312009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11732
11733 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
11734 Force $srcfile file.
11735 * gdb.base/foll-fork.c (callee): Comment out the printf call.
11736
b1798462
UW
117372009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11738
11739 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
11740 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
11741 * gdb.threads/watchthreads-reorder.exp: Likewise.
11742
b6199126
DJ
117432009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
11744
11745 PR gdb/8704
11746
11747 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
11748 "if", and "thread". Correct matching in the previous test.
11749
b22a0510
DJ
117502009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
11751
11752 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
11753
930636d2
MS
117542009-11-23 Michael Snyder <msnyder@vmware.com>
11755
11756 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
11757 * gdb.reverse-watch-precsave.exp: Ditto.
11758
21a0512e
PP
117592009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
11760
11761 * gdb.asm/asm-source.exp: Adjust.
11762 * gdb.base/help.exp: Adjust.
889bf7c5 11763
fc30d5e0
PA
117642009-11-22 Pedro Alves <pedro@codesourcery.com>
11765
11766 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
11767 (do_syscall_tests_without_xml): Set data-directory to
11768 /the/path/to/nowhere.
11769
f6bc2008
PA
117702009-11-21 Pedro Alves <pedro@codesourcery.com>
11771
11772 * gdb.threads/local-watch-wrong-thread.c,
11773 gdb.threads/local-watch-wrong-thread.exp: New files.
11774
8c2fb5de
PA
117752009-11-21 Pedro Alves <pedro@codesourcery.com>
11776
11777 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
11778 assume new `regsub' syntax available.
11779
ebec9a0f
PA
117802009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11781
a79d3c27
JK
11782 * gdb.base/watchpoint-hw-hit-once.exp,
11783 gdb.base/watchpoint-hw-hit-once.c: New.
11784
117852009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11786
11787 * gdb.threads/watchthreads-reorder.exp,
11788 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 11789
276a961b
MK
117902009-11-17 Nathan Sidwell <nathan@codesourcery.com>
11791
11792 * gdb.xml/tdesc-regs.exp: Use for m68k.
11793
4867c1fb
PA
117942009-11-15 Pedro Alves <pedro@codesourcery.com>
11795
11796 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
11797
f6838f81
DJ
117982009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11799
11800 * lib/gdb.exp (current_target_name): New procedure.
11801 (gdb_wrapper_target): New variable.
11802 (gdb_wrapper_init): Set gdb_wrapper_target.
11803 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
11804 wrapper.
11805
4ac4dd3f
DJ
118062009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11807
11808 * gdb.base/remote.exp: Delete the slowest load test.
11809 Do not load with fixed packet sizes.
11810
a7881759
DJ
118112009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11812
11813 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
11814
97a5b505
DJ
118152009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11816
11817 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
11818 srcfile when setting a breakpoint.
11819
d3e1fc54
DJ
118202009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
11821
11822 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
11823 macros.
11824
7cbcbded
DJ
118252009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11826
11827 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
11828 to be in memory.
11829 * gdb.base/display.c (force_mem): New.
11830 (do_loops): Use it. Add breakpoint comments.
11831 (do_vars): Add a breakpoint comment.
11832 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
11833 line numbers.
11834
bdea3a92
NF
118352009-11-13 Nathan Froyd <froydnj@codesourcery.com>
11836
11837 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
11838 instead of a bare "run".
11839
269f82e5
PP
118402009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11841
11842 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 11843
a69b7d9d
DJ
118442009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11845
11846 * lib/cell.exp (skip_cell_tests): Clean up test files before
11847 returning.
11848
b598bfda
DJ
118492009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11850
11851 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
11852 and the breakpoint menu. Do not call perror if a prompt is seen.
11853 Consume the following GDB prompt.
11854 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
11855 * gdb.cp/namespace.exp: Use gdb_test.
11856 * gdb.cp/templates.exp: Use gdb_test.
11857 (test_template_breakpoints): Use gdb_test_multiple.
11858
87728fa0
DJ
118592009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11860
11861 * gdb.base/break1.c (struct some_struct, values): Move earlier.
11862 (marker4): Reference values.
11863
b67c692f
DJ
118642009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11865
11866 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
11867 is missing.
11868
f0df251a
DJ
118692009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11870
11871 * gdb.base/break.c (need_malloc): New.
11872 * gdb.base/constvars.c (main): Reference crass and crisp.
11873 * gdb.base/gdb1821.c (main): Reference bar.
11874 * gdb.cp/gdb1355.cc (main): Reference s1.
11875 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
11876 (main): Call them.
11877 * gdb.cp/hang2.cc (dummy2): Define.
11878 * gdb.cp/hang3.cc (dummy3): Define.
11879 * gdb.cp/m-data.cc (main): Reference shadow.
11880
bdf7534a
NF
118812009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11882 Nathan Froyd <froydnj@codesourcery.com>
11883
11884 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
11885 remote host.
11886
f24fce77
NF
118872009-11-12 Nathan Froyd <froydnj@codesourcery.com>
11888
11889 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
11890 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
11891 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11892 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11893 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11894 * gdb.dwarf2/dw2-producer.exp: Likewise.
11895 * gdb.dwarf2/mac-fileno.exp: Likewise.
11896 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
11897 py-prettyprint.py to the remote host.
11898 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
11899
40f0318e
KS
119002009-11-11 Keith Seitz <keiths@redhat.com>
11901
11902 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
11903 use it instead of "Foo".
11904 * gdb.cp/classes.exp (do_tests): Add a test to access
11905 a method through a typedef'd class name.
11906
f3d9f7fb
NF
119072009-11-11 Nathan Froyd <froydnj@codesourcery.com>
11908
11909 * gdb.base/long_long.exp: Permit leading zeros on floating-point
11910 exponents.
11911 * gdb.base/pointers.exp: Likewise.
11912 * gdb.cp/ref-types.exp: Likewise.
11913
a4216f37
KS
119142009-11-11 Keith Seitz <keiths@redhat.com>
11915
11916 * gdb.cp/cplusfuncs.cc (class foo): Add operators
11917 new[] and delete[].
11918 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
11919 "void".
11920 (probe_demangler): Remove all single-quoting of
11921 method and variable names.
11922 (info_func_regexp): Remove the word "void" from any
11923 occurrence of "(void)".
11924 (print_addr_2): Remove all single-quoting of
11925 method names.
11926 (print_addr_2_kfail): Likewise.
11927 (print_addr): Single-quote C function names before
11928 passing to print_addr_2.
11929 (test_paddr_operator_functions): Remove single-quoting
11930 for method names.
11931 Add tests for operator new[] and operator delete[].
11932
9b14d7aa
JK
119332009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11934
11935 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
11936
85feb311
KS
119372009-11-09 Keith Seitz <keiths@redhat.com>
11938
11939 * gdb.cp/overload.exp: Add tests for resolving overloaded
11940 methods in expression parsing/evaluation.
11941
fa335448
DJ
119422009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
11943
11944 * lib/gdb.exp (default_gdb_version): Use --version instead of
11945 --command.
11946
ec3c07fc
NS
119472009-11-10 Nathan Sidwell <nathan@codesourcery.com>
11948
11949 * lib/gdb.exp (gdb_compile_test): New.
11950 (skip_ada_tests, skip_java_tests): New.
11951 (gdb_compile): Use gdb_compile_test for f77.
11952 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
11953 * lib/java.exp (compile_java_from_source): Remove runtests check,
11954 use gdb_compile_test to record result.
11955 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
11956 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
11957 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
11958 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
11959 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
11960 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
11961 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
11962 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
11963 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
11964 adjust gdb_compile invocations.
11965
b8b4e42b
JK
119662009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11967
11968 * Makefile.in (abs_builddir): New.
11969 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
11970 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
11971 `$(abs_builddir)/site.exp'.
11972
f8b7eaf3
DJ
119732009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
11974
11975 * config/m68k-emc.exp, lib/emc-support.exp,
11976 gdb.trace/gdb_c_test.c: Delete.
11977 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
11978 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
11979 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
11980 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
11981 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
11982 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
11983 casing for m68k-*-elf.
11984
c4187697
NS
119852009-11-03 Pedro Alves <pedro@codesourcery.com>
11986
11987 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
11988 * gdb.arch/i386-prologue.exp: Likewise.
11989 * gdb.arch/i386-unwind.exp: Likewise.
11990
db16b772
DJ
119912009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11992
11993 * lib/gdb.exp (gdb_expect): Fix timeout typo.
11994
bcf71277
DJ
119952009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11996
11997 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
11998
0105cee2
DJ
119992009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
12000
12001 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
12002
24ddea62
JK
120032009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12004
12005 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
12006
287ccc17
JK
120072009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12008
12009 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
12010 * gdb.base/sepdebug2.c: New file.
12011
08bca259 120122009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
12013
12014 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
12015 the modified warnings for catch syscall. Verify if GDB was compiled
12016 with support for lib expat, and choose which tests to run depending
12017 on this.
12018
5d4e2b76
VP
120192009-10-30 Vladimir Prus <vladimir@codesourcery.com>
12020
12021 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
12022 that composite commands are parsed OK. And also test
12023 that breakpoint commands do work.
12024
240e538a
MS
120252009-10-23 Michael Snyder <msnyder@vmware.com>
12026
12027 gdb.reverse/consecutive-precsave.exp: Change expect pattern
12028 to allow for new disassembly style.
12029
9c419145
PP
120302009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12031
12032 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 12033
02506ff1
MS
120342009-10-22 Michael Snyder <msnyder@vmware.com>
12035
12036 * gdb.reverse/break-precsave.exp: New test.
12037 * gdb.reverse/consecutive-precsave.exp: Ditto.
12038 * gdb.reverse/finish-precsave.exp: Ditto.
12039 * gdb.reverse/i386-precsave.exp: Ditto.
12040 * gdb.reverse/machinestate-precsave.exp: Ditto.
12041 * gdb.reverse/sigall-precsave.exp: Ditto.
12042 * gdb.reverse/solilb-precsave.exp: Ditto.
12043 * gdb.reverse/step-precsave.exp: Ditto.
12044 * gdb.reverse/until-precsave.exp: Ditto.
12045 * gdb.reverse/watch-precsave.exp: Ditto.
12046
4cf866a3
MS
120472009-10-22 Michael Snyder <msnyder@vmware.com>
12048
12049 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
12050 for gdb_expect. Adjust one test's expect strings for the new
12051 format of disassemble.
12052 * gdb.reverse/finish-reverse.exp: Delete 'return'.
12053 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
12054 gdb_test_multiple.
12055 * gdb.reverse/step-reverse.exp: Delete 'return'.
12056 * gdb.reverse/until-reverse.exp: Delete blank lines.
12057 * gdb.reverse/watch-reverse.exp: Delete blank lines.
12058
2b28d209
PP
120592009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
12060
12061 * gdb.base/consecutive.exp: Adjust.
12062 * gdb.base/display.exp: Likewise.
12063 * gdb.base/pc-fp.exp: Likewise.
12064 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 12065
33b9c32b
MS
120662009-10-19 Michael Snyder <msnyder@vmware.com>
12067
12068 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
12069 * gdb.reverse/finish-reverse.c: Ditto.
12070 * gdb.reverse/sigall-reverse.c: Ditto.
12071 * gdb.reverse/solib-reverse.c: Ditto.
12072 * gdb.reverse/step-reverse.c: Ditto.
12073 * gdb.reverse/watch-reverse.c: Ditto.
12074
6c95b8df
PA
120752009-10-19 Pedro Alves <pedro@codesourcery.com>
12076 Stan Shebs <stan@codesourcery.com>
12077
12078 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
12079 * gdb.base/foll-exec.exp: Adjust to expect a process id before
12080 "Executing new program".
12081 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
12082 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
12083 left listed after having been killed.
12084 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
12085 * gdb.base/maint.exp: Adjust test.
12086
12087 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
12088 * gdb.multi/Makefile.in: New.
12089 * gdb.multi/base.exp: New.
12090 * gdb.multi/goodbye.c: New.
12091 * gdb.multi/hangout.c: New.
12092 * gdb.multi/hello.c: New.
12093 * gdb.multi/bkpt-multi-exec.c: New.
12094 * gdb.multi/bkpt-multi-exec.exp: New.
12095 * gdb.multi/crashme.c: New.
12096
279017b7
TG
120972009-10-13 Tristan Gingold <gingold@adacore.com>
12098
12099 * gdb.base/sepdebug.exp: Check debug info are found.
12100
0413d738
PA
121012009-10-08 Pedro Alves <pedro@codesourcery.com>
12102
12103 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
12104 bits.
12105
c628eecc
JK
121062009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12107
12108 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
12109
38af1bfe
JB
121102009-10-07 Joel Brobecker <brobecker@adacore.com>
12111
12112 * gdb.base/watchpoints.c: Add copyright header. Reformat one
12113 of the comments.
12114
2b0adecd
PM
121152009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
12116
12117 * gdb.base/annota1.exp: Remove obsolete match_max increase.
12118 * gdb.base/annota3.exp: Idem.
12119 * gdb.base/maint.exp: Idem.
12120
8d417781
PM
121212009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
12122
889bf7c5 12123 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
12124 to default.
12125
bb61102d
PM
121262009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
12127
889bf7c5 12128 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
12129 mingw and cygwin targets.
12130
ace5c364
PM
121312009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
12132 Pedro Alves <pedro@codesourcery.com>
12133
889bf7c5 12134 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
12135 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
12136
c2d494a0
PM
121372009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12138
e1b52ce2
PM
12139 * gdb.base/shr1.c: Use %p in format string.
12140 * gdb.base/unload.c: Avoid warning in fprintf.
12141 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 12142
209f53f5
PM
121432009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12144
12145 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
12146 long type.
12147 (test_unlink): Correct printf string.
12148 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
12149 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
12150
8172766a
JK
121512009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12152
12153 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
12154 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
12155 * gdb.arch/ia64-breakpoint-shadow.S: New file.
12156
0f73703c
UW
121572009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12158
12159 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
12160 * gdb.objc/nondebug.exp: Likewise.
12161
b32306ca
UW
121622009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12163
12164 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
12165 target_info setting.
12166
12167 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
12168 that detect new threads during "info threads".
12169
0057022f
UW
121702009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12171
12172 * gdb.threads/manythreads.c (main): Increase thread stack size
12173 to 2*PTHREAD_STACK_MIN.
12174 * gdb.threads/multi-create.c (main): Likewise.
12175 (create_function): Likewise.
12176
f29c0325
UW
121772009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12178
12179 * gdb.base/dump.exp: Pass difference of pointer types instead
12180 of integer types as offset to restore in intarr3.srec case.
12181
fcb34849
UW
121822009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12183
12184 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
12185
d5142e3b
UW
121862009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12187
12188 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
12189
087b74b2 121902009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 12191
087b74b2
PM
12192 New test for two watchpoints, with disabling of
12193 the first inserted.
12194 * testsuite/gdb.base/watchpoints.c: New file.
12195 * testsuite/gdb.base/watchpoints.exp: New file.
12196
96c07c5b
TT
121972009-09-25 Tom Tromey <tromey@redhat.com>
12198
12199 * gdb.base/charset.exp: Test utf-16 strings with Python.
12200
b8899f2b
TT
122012009-09-25 Tom Tromey <tromey@redhat.com>
12202
12203 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
12204 UCS-4.
12205 * gdb.base/charset.c (utf_32_string): Rename.
12206 (init_utf32): Rename.
12207 (main): Update.
12208
329719ec
TT
122092009-09-22 Tom Tromey <tromey@redhat.com>
12210
12211 * gdb.python/py-function.exp: Add regression tests.
12212
11ef0d76
KS
122132009-09-21 Keith Seitz <keiths@redhat.com>
12214
12215 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
12216 with invalid operator.
12217
3fe8f3b3
KS
122182009-09-21 Keith Seitz <keiths@redhat.com>
12219
12220 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
12221 and destructor using typedef name of class.
12222 * gdb.cp/classes.cc (class Base1): Add a destructor.
12223 (base1): New typedef.
12224 (use_methods): Instanitate an object of type base1.
12225 * gdb.cp/templates.exp (test_template_typedef): New procedure.
12226 (do_tests): Call test_template_typedef.
12227 * gdb.cp/templates.cc (Baz::~Baz): New method.
12228 (intBazOne): New typedef.
12229 (main): Instantiate intBazOne.
12230
7a9fe101
PM
122312009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12232
12233 PR python/10633
12234
12235 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
12236 Function.
12237 (run_lang_tests): Add print elements test.
12238
2e4d963f
PM
122392009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12240
12241 * gdb.python/py-value.exp (test_subscript_regression): New
12242 function. Test for invalid subscripts.
12243 * gdb.python/py-value.c (main): Add test array, and pointer to it.
12244 (ptr_ref): New function.
12245
ec7e75e7
PP
122462009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12247
12248 * gdb.base/default.exp: Fix "show convenience".
12249
0cc7d26f
TT
122502009-09-15 Tom Tromey <tromey@redhat.com>
12251
12252 * lib/mi-support.exp (mi_create_varobj): Update.
12253 (mi_create_floating_varobj): Likewise.
12254 (mi_create_dynamic_varobj): New proc.
12255 (mi_varobj_update): Update.
12256 (mi_varobj_update_with_type_change): Likewise.
12257 (mi_varobj_update_kv_helper): New proc.
12258 (mi_varobj_update_dynamic_helper): Rewrite.
12259 (mi_varobj_update_dynamic): New proc.
12260 (mi_list_varobj_children): Update.
12261 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
12262 * gdb.python/python-prettyprint.py (pp_outer): New class.
12263 (pp_nullstr): Likewise.
12264 (lookup_function): Register new printers.
12265 * gdb.python/python-prettyprint.c (struct substruct): New type.
12266 (struct outerstruct): Likewise.
12267 (substruct_test): New function.
12268 (struct nullstr): New type.
12269 (string_1, string_2): New globals.
12270 (main): Add new tests.
12271 * gdb.python/python-mi.exp: Added regression tests.
12272 * gdb.mi/mi2-var-display.exp: Update.
12273 * gdb.mi/mi2-var-cmd.exp: Update.
12274 * gdb.mi/mi2-var-child.exp: Update.
12275 * gdb.mi/mi2-var-block.exp: Update.
12276 * gdb.mi/mi-var-invalidate.exp: Update.
12277 * gdb.mi/mi-var-display.exp: Update.
12278 * gdb.mi/mi-var-cmd.exp: Update.
12279 * gdb.mi/mi-var-child.exp: Update.
12280 * gdb.mi/mi-var-block.exp: Update.
12281 * gdb.mi/mi-break.exp: Update.
12282 * gdb.mi/gdb701.exp: Update.
12283
a96d9b2e
SDJ
122842009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
12285
12286 * Makefile.in: Inclusion of catch-syscall object.
12287 * gdb.base/catch-syscall.c: New file.
12288 * gdb.base/catch-syscall.exp: New file.
12289
b43b923a
MS
122902009-09-12 Michael Snyder <msnyder@vmware.com>
12291
12292 * gdb.reverse/step-reverse.exp: Explicitly check for targets
12293 that can support reverse debuggnig.
12294
cec03d70
TT
122952009-09-11 Tom Tromey <tromey@redhat.com>
12296
12297 * gdb.dwarf2/valop.S: New file.
12298 * gdb.dwarf2/valop.exp: New file.
12299
e23bb3fc
MK
123002009-09-11 Mark Kettenis <kettenis@gnu.org>
12301
12302 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
12303
37c3696d
DE
123042009-09-10 Doug Evans <dje@google.com>
12305
12306 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
12307 Add $gdb_prompt to second breakpoint regexp.
12308
5172aecb
JB
123092009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
12310
12311 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
12312 names, add missing ones.
12313 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
12314 * gdb.python/py-frame.c: Rename from python-frame.c.
12315 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
12316 testfile name.
12317 * gdb.python/py-function.exp: Rename from python-function.exp.
12318 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
12319 testfile name.
12320 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
12321 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
12322 Adjust testfile name.
12323 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
12324 * gdb.python/py-template.cc: Rename from python-template.cc.
12325 * gdb.python/py-template.exp: Rename from python-template.exp.
12326 Adjust testfile name.
12327 * gdb.python/py-value.c: Rename from python-value.c.
12328 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
12329 testfile name.
12330
b554e4bd
JK
123312009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12332
12333 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
12334 $bpt2address.
12335 (Second breakpoint address is valid on ia64)
12336 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
12337
9a68ae16
JM
123382009-09-03 Joseph Myers <joseph@codesourcery.com>
12339
12340 * gdb.base/ending-run.exp: Restrict regular expression matching
12341 line number to require closing brace following.
12342
146b9145
DE
123432009-09-03 Doug Evans <dje@google.com>
12344
12345 * gdb.base/store.exp (check_set): Fix typo in expected value message.
12346
787d21e1
TT
123472009-09-02 Tom Tromey <tromey@redhat.com>
12348
12349 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
12350
e7802207
TT
123512009-09-02 Tom Tromey <tromey@redhat.com>
12352
12353 * gdb.dwarf2/callframecfa.exp: New file.
12354 * gdb.dwarf2/callframecfa.S: New file.
12355
817aadd2
JK
123562009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12357
12358 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
12359 gdb.base/solib-overlap-main.c: New.
12360
4a76eae5
DJ
123612009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
12362
12363 PR gdb/10565
12364
12365 * gdb.base/bitfields.c (struct container, container): New.
12366 (main): Initialize it and call break5.
12367 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
12368
d4b96c9a
JK
123692009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12370
12371 Support constant DW_AT_data_member_location by GCC PR debug/40659.
12372 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
12373
4e22772d
JK
123742009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12375
12376 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
12377
2efab443
MS
123782009-08-26 Michael Snyder <msnyder@vmware.com>
12379
12380 * gdb.base/i386-reverse.c: New file.
12381 * gdb.base/i386-reverse.exp: New file.
12382 * gdb.base/Makefile.in: Add new files to be removed.
12383
07ab73a0
JM
123842009-08-26 Joseph Myers <joseph@codesourcery.com>
12385
12386 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
12387 environment-pwd for remote host.
12388 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
12389
676accff
KS
123902009-08-24 Keith Seitz <keiths@redhat.com>
12391
12392 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
12393 Add two new C++ completer tests which limit the output to a
889bf7c5 12394 given class.
676accff 12395
f9f7ad22
MS
123962009-08-24 Michael Snyder <msnyder@vmware.com>
12397
12398 * gdb.base/del.exp: Fix typo in comment.
12399 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
12400
81ecdfbb
RW
124012009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12402
12403 * configure: Regenerate.
12404 * gdb.hp/configure: Likewise.
12405 * gdb.hp/gdb.aCC/configure: Likewise.
12406 * gdb.hp/gdb.base-hp/configure: Likewise.
12407 * gdb.hp/gdb.compat/configure: Likewise.
12408 * gdb.hp/gdb.defects/configure: Likewise.
12409 * gdb.hp/gdb.objdbg/configure: Likewise.
12410 * gdb.stabs/configure: Likewise.
12411
cab0c772
UW
124122009-08-19 Doug Evans <dje@google.com>
12413
12414 * gdb.base/gdbvars.c: New file.
12415 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
12416
b8fa0bfa
PA
124172009-08-14 Pedro Alves <pedro@codesourcery.com>
12418
12419 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12420 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
12421
b84aa90a
PA
124222009-08-13 Pedro Alves <pedro@codesourcery.com>
12423
12424 * gdb.base/default.exp: Adjust "set language test": it's now an
12425 enum command. Larger help string moved to "help set language".
12426 * gdb.base/help.exp: Adjust "help set language" expected output,
12427 now lists all known languages.
12428
0d8f9b2c
NF
124292009-08-11 Nathan Froyd <froydnj@codesourcery.com>
12430
12431 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
12432 all frame arguments.
12433 * gdb.arch/altivec-regs.exp: Likewise.
12434
bda180e0
TT
124352009-08-07 Tom Tromey <tromey@redhat.com>
12436
12437 * gdb.base/setshow.exp: Add tests for changes to set language, set
12438 check range, and set check type.
12439
48cb2d85
VP
124402009-08-03 Vladimir Prus <vladimir@codesourcery.com>
12441
12442 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
12443 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 12444 Call it.
48cb2d85 12445
1ea34204
UW
124462009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12447
12448 * configure.ac: Run gdb.cell tests when appropriate.
12449 * configure: Regenerate.
12450 * lib/cell.exp: New file.
12451 * gdb.cell: New directory.
12452 * gdb.cell/configure.ac: New file.
12453 * gdb.cell/configure: New file.
12454 * gdb.cell/Makefile.in: New file.
12455 * gdb.cell/arch.exp: New file.
12456 * gdb.cell/break.c: New file.
12457 * gdb.cell/break.exp: New file.
12458 * gdb.cell/break-spu.c: New file.
12459 * gdb.cell/bt.c: New file.
12460 * gdb.cell/bt2-spu.c: New file.
12461 * gdb.cell/bt-spu.c: New file.
12462 * gdb.cell/bt.exp: New file.
12463 * gdb.cell/coremaker.c: New file.
12464 * gdb.cell/coremaker-spu.c: New file.
12465 * gdb.cell/core.exp: New file.
12466 * gdb.cell/gcore.exp: New file.
12467 * gdb.cell/data.c: New file.
12468 * gdb.cell/data.exp: New file.
12469 * gdb.cell/data-spu.c: New file.
12470 * gdb.cell/ea-cache.exp: New file.
12471 * gdb.cell/ea-cache.c: New file.
12472 * gdb.cell/ea-cache-spu.c: New file.
12473 * gdb.cell/ea-standalone.c: New file.
12474 * gdb.cell/ea-standalone.exp: New file.
12475 * gdb.cell/ea-test.c: New file.
12476 * gdb.cell/ea-test.exp: New file.
12477 * gdb.cell/f-regs.exp: New file.
12478 * gdb.cell/mem-access.c: New file.
12479 * gdb.cell/mem-access.exp: New file.
12480 * gdb.cell/mem-access-spu.c: New file.
12481 * gdb.cell/ptype.exp: New file.
12482 * gdb.cell/registers.exp: New file.
12483 * gdb.cell/size.c: New file.
12484 * gdb.cell/sizeof.exp: New file.
12485 * gdb.cell/size-spu.c: New file.
12486 * gdb.cell/solib.exp: New file.
12487 * gdb.cell/solib-symbol.exp: New file.
12488
85e747d2
UW
124892009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12490
12491 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
12492
58d6951d
DJ
124932009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
12494
12495 * gdb.base/float.exp: Handle VFP registers.
12496
6e0a4f15
MS
124972009-07-14 Michael Snyder <msnyder@vmware.com>
12498
dcd5da87
MS
12499 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
12500 to bring gdb to the beginning of the calling line.
12501
6e0a4f15
MS
12502 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
12503 confusing the i386 epilogue unwinder.
12504
782b2b07
SS
125052009-07-14 Stan Shebs <stan@codesourcery.com>
12506
12507 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
12508
f662c3bc
MS
125092009-07-14 Michael Snyder <msnyder@vmware.com>
12510
12511 * gdb.reverse/step-reverse.exp (stepi into function call):
12512 Call instruction may not be first instruction in the line.
12513 (reverse stepi from a function call): Used wrong line number.
12514
8f313923
JK
125152009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12516
12517 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
12518
4662c76e
JK
125192009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12520
12521 Fix gdb.base/macscp.exp when using custom inputrc.
12522 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
12523 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
12524 env(TERM) set.
12525 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
12526 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
12527
aa81e255
JK
125282009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12529
12530 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
12531 * gdb.base/annota1.exp (thread_test): Import global $testfile.
12532 Change the compilation target to match the testcase name.
12533 * gdb.base/sect-cmd.exp: Change the compilation target to match the
12534 testcase name.
12535 * a2-run.exp: Use for setup prepare_for_testing. Change the
12536 compilation target to match the testcase name.
12537 * gdb.base/commands.exp: Likewise.
12538 * gdb.base/finish.exp: Likewise.
12539 * gdb.base/float.exp: Likewise.
12540 * gdb.base/info-target.exp: Likewise.
12541 * gdb.base/relational.exp: Likewise.
12542 * gdb.base/term.exp: Likewise.
12543 * gdb.base/until.exp: Likewise.
12544 * gdb.base/volatile.exp: Likewise.
12545 * gdb.base/whatis-exp.exp: Likewise.
12546
4c93b1d7
HZ
125472009-07-11 Hui Zhu <teawater@gmail.com>
12548
12549 * gdb.base/help.exp (disassemble): Update expected help text.
12550
812f7342
TT
125512009-07-09 Tom Tromey <tromey@redhat.com>
12552
12553 * lib/gdb.exp: Handle TRANSCRIPT.
12554 (remote_spawn, remote_close, send_gdb): New procs.
12555
fbb8f299
PM
125562009-07-10 Phil Muldoon <pmuldoon@redhat.com>
12557
12558 * gdb.python/python-prettyprint.c: Add counted null string
12559 structure.
12560 * gdb.python/python-prettyprint.exp: Print null string. Test for
12561 embedded nulls.
12562 * gdb.python/python-prettyprint.py (pp_ns): New Function.
12563 * gdb.python/python-value.exp (test_value_in_inferior): Add
12564 variable length string fetch tests.
12565 * gdb.python/python-value.c (main): Add strings for string fetch tests.
12566
c0ac0ec7
JK
125672009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12568
12569 * gdb.base/dump.exp (inaccessible memory is reported): New test.
12570
30b66ecc
TT
125712009-07-07 Tom Tromey <tromey@redhat.com>
12572
12573 * gdb.base/call-rt-st.exp: Update for change to escape output.
12574 * gdb.base/callfuncs.exp: Likewise.
12575 * gdb.base/charset.exp: Likewise.
12576 * gdb.base/constvars.exp: Likewise.
12577 * gdb.base/long_long.exp: Likewise.
12578 * gdb.base/pointers.exp: Likewise.
12579 * gdb.base/printcmds.exp: Likewise.
12580 * gdb.base/setvar.exp: Likewise.
12581 * gdb.base/store.exp: Likewise.
12582 * gdb.cp/ref-types.exp: Likewise.
12583 * gdb.mi/mi-var-child.exp: Likewise.
12584 * gdb.mi/mi-var-display.exp: Likewise.
12585 * gdb.mi/mi2-var-display.exp: Likewise.
12586 * gdb.base/charset.exp: Test octal escape sequence length.
12587 Update for change to escape output.
12588
187c4a2b
JK
125892009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12590
12591 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
12592
d80a43f9
DJ
125932009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
12594
12595 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
12596
047427a8
JK
125972009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12598
12599 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
12600 gdbserver increasing $portnum if "Can't bind address" has been seen.
12601
8b5a0f4f
PA
126022009-07-05 Pedro Alves <pedro@codesourcery.com>
12603
12604 * gdb.base/ending-run.exp: Add "step out of main" pattern for
12605 mingw32ce.
12606
7d93ba58
PA
126072009-07-05 Pedro Alves <pedro@codesourcery.com>
12608
12609 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
12610 VFP format.
12611
2277426b
PA
126122009-07-02 Pedro Alves <pedro@codesourcery.com>
12613
12614 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
12615 linux. Adjust to use "inferior", "info inferiors", "detach
12616 inferior" and "kill inferior" instead of "restart", "info fork",
12617 "detach fork" and "delete fork".
12618 * gdb.base/ending-run.exp: Spell out "info".
12619 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
12620 the "kill" command.
12621
5af949e3
UW
126222009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12623
12624 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
12625 change to prefix TLS offset in hex with 0x.
12626
5d3729b5
UW
126272009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12628
12629 * gdb.base/default.exp: Update test case for "x" changes.
12630
af589bd0
TG
126312009-07-01 Tristan Gingold <gingold@adacore.com>
12632
12633 * gdb.base/bigcore.exp: Make darwin untested.
12634
40974f91
JK
126352009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12636
12637 * gdb.base/completion.exp (directory completion): Create the directory.
12638 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
12639 escapeuniquesub.
12640 (directory completion 2): Expect now ${escapeuniquesub}.
12641 (Glob remaining of directory test): Remove one excessive newline.
12642 Expect the real output.
12643
59dd3af6
JK
126442009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12645
12646 Fix `make check//%' target after `make check' has been ran.
12647 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
12648 a mkdir call.
12649 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
12650 (%/.dir): Remove.
12651
f4e164aa
JK
126522009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12653
12654 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
12655 the expected result record.
12656
69af2122
JK
126572009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12658
12659 Remove racy FAILs relying just on the timeouts.
12660 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
12661 (annotation_level 2): Remove racy FAILs.
12662
2fd481e1
PP
126632009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12664
12665 gdb/10275
889bf7c5
PA
12666 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
12667
c38f313d
DJ
126682009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
12669
12670 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
12671
8b777f02
VP
126722009-06-30 Vladimir Prus <vladimir@codesourcery.com>
12673
12674 * gdb.mi/mi-stack.exp: Testing symbolic options
12675 to -stack-list-locals and -stack-list-arguments.
12676
00c7eacf
JK
126772009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12678
12679 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
12680
6bc80edc
TT
126812009-06-29 Tom Tromey <tromey@redhat.com>
12682
12683 * dg-extract-results.sh: New file.
12684 * Makefile.in (FORCE_PARALLEL): New variable.
12685 (CHECK_TARGET): New conditional variable.
12686 (check): Use CHECK_TARGET.
12687 (DO_RUNTEST): New variable.
12688 (check-single): New target.
12689 (TEST_DIRS): New variable.
12690 (TEST_TARGETS): Likewise.
12691 (check-parallel): New target.
12692 (check-gdb.%): New pattern.
12693 (BASE1_FILES): New variable.
12694 (BASE2_FILES): Likewise.
12695 (check-gdb.base%): New pattern.
12696 (%/.dir): New pattern.
12697 * configure: Rebuild.
12698 * aclocal.m4 (AM_CONDITIONAL): New defun.
12699 * configure.ac: Check whether user is using GNU make.
12700 (GMAKE): New conditional.
12701
794684b6
SW
127022009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
12703
12704 * gdb.cp/namespace-nested-import.cc: New test.
12705 * gdb.cp/namespace-nested-import.exp: New test.
12706
edb3359d
DJ
127072009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
12708
12709 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
12710 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
12711 * gdb.opt/Makefile.in (EXECUTABLES): Update.
12712 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
12713 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
12714 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
12715 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
12716 gdb.opt/inline-markers.c: New files.
12717 * lib/gdb.exp (skip_inline_frame_tests): New function.
12718 (skip_inline_var_tests): New function.
12719
cf657a0c
AS
127202009-06-27 Andreas Schwab <schwab@linux-m68k.org>
12721
12722 * gdb.cp/exception.exp: Don't require $hex before inner frame in
12723 backtrace.
12724
28d41a99
MS
127252009-06-27 Michael Snyder <msnyder@vmware.com>
12726
12727 * gdb.reverse: New directory.
12728 * gdb.reverse/break-reverse.c: New test.
12729 * gdb.reverse/break-reverse.exp: New test.
12730 * gdb.reverse/consecutive-reverse.c: New test.
12731 * gdb.reverse/consecutive-reverse.exp: New test.
12732 * gdb.reverse/finish-reverse.c: New test.
12733 * gdb.reverse/finish-reverse.exp: New test.
12734 * gdb.reverse/machinestate.c: New test.
12735 * gdb.reverse/ms1.c: New test.
12736 * gdb.reverse/machinestate.exp: New test.
12737 * gdb.reverse/Makefile.in: New file.
12738 * gdb.reverse/shr2.c: New test.
12739 * gdb.reverse/solib-reverse.c: New test.
12740 * gdb.reverse/solib-reverse.exp: New test.
12741 * gdb.reverse/step-reverse.c: New test.
12742 * gdb.reverse/step-reverse.exp: New test.
12743 * gdb.reverse/until-reverse.c: New test.
12744 * gdb.reverse/ur1.c: New test.
12745 * gdb.reverse/until-reverse.exp: New test.
12746 * gdb.reverse/watch-reverse.c: New test.
12747 * gdb.reverse/watch-reverse.exp: New test.
12748 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
12749 * configure: Regenerate.
12750
fe3c8b0d
DE
127512009-06-26 Doug Evans <dje@google.com>
12752
12753 * gdb.base/psymtab.exp: Turn off pending breakpoints.
12754
3a72a602
PM
127552009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
12756
12757 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
12758 windows problem for 'file delete $binfile'.
12759
27aa8d6a
SW
127602009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
12761
12762 * gdb.cp/namespace-using.exp: New test.
12763 * gdb.cp/namespace-using.cc: New test.
12764
8ac055f8
JB
127652009-05-20 Joel Brobecker <brobecker@adacore.com>
12766
12767 * gdb.ada/variant_record_packed_array: New testcase.
12768
85e306ed
TT
127692009-06-23 Tom Tromey <tromey@redhat.com>
12770
12771 * gdb.base/charset.exp (test_combination): Regression test.
12772 * gdb.base/charset.c (my_wchar_t): New typedef.
12773 (myvar): New global.
12774 (main): Set myvar.
12775
56643c5e
PM
127762009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
12777
12778 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
12779 target.
12780
1fac167a
UW
127812009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12782
12783 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
12784
7ccb0be9
UW
127852009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12786
12787 * gdb.mi/gdb680.exp: Update test for error message.
12788
568d6575
UW
127892009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12790
12791 * gdb.base/annota1.exp: Allow multiple occurrences of the
12792 frames-invalid annotation.
12793 * gdb.cp/annota2.exp: Likewise.
12794
7cd1089b
PM
127952009-06-15 Phil Muldoon <pmuldoon@redhat.com>
12796
12797 * gdb.cp/gdb2495.cc: New file.
12798 * gdb.cp/gdb2495.exp: New file.
12799
72c63395
JK
128002009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12801
12802 Report error on GDB crash during runto.
12803 * lib/gdb.exp (runto <eof>): New.
12804
3788363d
DJ
128052009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
12806
12807 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
12808 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
12809 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
12810 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
12811 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
12812 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
12813 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
12814 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
12815 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
12816 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
12817 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
12818 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
12819 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12820 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
12821 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
12822 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
12823 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
12824 gdb.server/server-mon.exp, gdb.server/server-run.exp,
12825 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12826 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
12827 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
12828 gdb.trace/passcount.exp, gdb.trace/report.exp,
12829 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
12830 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
12831 gdb.trace/while-stepping.exp: Use a unique name for the compiled
12832 executable.
12833
17592de3
PA
128342009-06-07 Pedro Alves <pedro@codesourcery.com>
12835
12836 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
12837 defined before referencing it.
12838
701e355d
DE
128392009-06-03 Doug Evans <dje@google.com>
12840
12841 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
12842 * gdb.arch/i386-see.c: Ditto.
12843
f2292c65
PM
128442009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
12845
12846 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
12847 (check_macro): Return 1 if undefined.
12848 If first test fails, check if macro debug information is available,
12849 and report unsupported test if no macro information is found.
12850
5a437975
DE
128512009-05-29 Doug Evans <dje@google.com>
12852
12853 * gdb.threads/hand-call-in-threads.exp: New.
12854 * gdb.threads/hand-call-in-threads.c: New.
12855
c141c696
MS
128562009-05-29 Michael Snyder <msnyder@vmware.com>
12857
12858 * gdb.base/break-always.exp: Change "1" to "on".
12859 Add confirmation check.
12860
b3444185
PA
128612009-05-28 Pedro Alves <pedro@codesourcery.com>
12862
12863 * gdb.threads/threxit-hop-specific.c: New.
12864 * gdb.threads/threxit-hop-specific.exp: New.
12865 * gdb.threads/thread-execl.c: New.
12866 * gdb.threads/thread-execl.exp: New.
12867
b6313243
TT
128682009-05-27 Tom Tromey <tromey@redhat.com>
12869 Thiago Jung Bauermann <bauerman@br.ibm.com>
12870
12871 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
12872 (mi_child_regexp): Likewise.
12873 (mi_list_varobj_children_range): Likewise.
12874 (mi_get_features): Likewise.
12875 (mi_list_varobj_children): Rewrite.
12876 * gdb.python/python-mi.exp: New file.
12877
a6bac58e
TT
128782009-05-27 Tom Tromey <tromey@redhat.com>
12879 Thiago Jung Bauermann <bauerman@br.ibm.com>
12880 Phil Muldoon <pmuldoon@redhat.com>
12881 Paul Pluzhnikov <ppluzhnikov@google.com>
12882
12883 * gdb.python/python-prettyprint.exp: New file.
12884 * gdb.python/python-prettyprint.c: New file.
12885 * gdb.python/python-prettyprint.py: New file.
12886 * gdb.base/display.exp: print/r is now valid.
12887
2c74e833
TT
128882009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
12889 Tom Tromey <tromey@redhat.com>
12890 Pedro Alves <pedro@codesourcery.com>
12891 Paul Pluzhnikov <ppluzhnikov@google.com>
12892
12893 * gdb.python/python-template.exp: New file.
12894 * gdb.python/python-template.cc: New file.
12895 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12896 tests.
12897 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12898 Call it.
12899 (test_value_after_death): New proc.
12900 * gdb.python/python-value.c (PTR): New typedef.
12901 (main): New variable 'x'.
12902
89c73ade
TT
129032009-05-27 Tom Tromey <tromey@redhat.com>
12904
12905 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12906 tests.
12907 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12908 Call it.
12909
a75724bc
PA
129102009-05-27 Pedro Alves <pedro@codesourcery.com>
12911
12912 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
12913
e58b0e63
PA
129142009-05-24 Pedro Alves <pedro@codesourcery.com>
12915
12916 * gdb.threads/fork-thread-pending.c: New.
12917 * gdb.threads/fork-thread-pending.exp: New.
12918
4ac36638
JK
129192009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12920
12921 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
12922 * gdb.dwarf2/dw2-strp.S (a_string2): New.
12923
889bf7c5 129242009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 12925
889bf7c5 12926 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 12927
b242c3c2
PA
129282009-05-17 Pedro Alves <pedro@codesourcery.com>
12929
12930 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
12931 `gdb_get_line_number'. Call `callee' in both parent and child.
12932 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
12933 `gdb_get_line_number' instead of hardcoding line numbers.
12934 (catch_fork_unpatch_child): New procedure to test detaching
12935 breakpoints from child fork.
12936 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
12937 hardcoding line numbers.
12938 (do_fork_tests): Run `catch_fork_unpatch_child'.
12939
ee342b23
VP
129402009-05-17 Vladimir Prus <vladimir@codesourcery.com>
12941
12942 * gdb.mi/mi-cmd-var.exp: Check that when varobj
12943 of structure type enters or leaves the scope, it
12944 is reported by -var-update.
12945
e2009e98
DE
129462009-05-11 Doug Evans <dje@sebabeach.org>
12947
12948 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 12949 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
12950 * gdb.threads/schedlock.c (main): Fix off-by-one error.
12951
00903456
JK
129522009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12953
12954 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
12955
dc621c35
DE
129562009-04-30 Doug Evans <dje@google.com>
12957
12958 * gdb.threads/watchthreads2.exp: New testcase.
12959 * gdb.threads/watchthreads2.c: New testcase.
12960
9ab4e744
DE
129612009-04-29 Doug Evans <dje@google.com>
12962
12963 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
12964 * gdb.cp/mb-ctor.cc: Ditto.
12965 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
12966 * gdb.cp/mb-inline.h (multi_line_foo): New function.
12967 * gdb.cp/mb-inline1.cc: Call it.
12968 * gdb.cp/mb-inline2.cc: Ditto.
12969 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
12970 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
12971
484086b7
JK
129722009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12973
12974 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
12975 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
12976 Replace all uses of `decimal' by `nonzero'.
12977 (info macro FROM_COMMANDLINE): New test.
12978
379a77b5
TT
129792009-04-27 Tom Tromey <tromey@redhat.com>
12980
12981 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
12982
b92b73c2
DE
129832009-04-27 Doug Evans <dje@google.com>
12984
12985 * gdb.threads/watchthreads.c (main): Initialize args before starting
12986 the threads. Plus formatting cleanup.
12987 * gdb.threads/watchthreads.exp: Avoid errant failures due to
12988 biased scheduling of one thread.
12989
945a118d
JG
129902009-04-27 Jerome Guitton <guitton@adacore.com>
12991
12992 * gdb.cp/templates.cc (GetMax): New template.
12993 (main): Declare two instances of GetMax.
12994 * gdb.cp/templates.exp: Add new test.
12995
d389af10
JK
129962009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12997
12998 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
12999
e7f86de9
JM
130002009-04-22 Joseph Myers <joseph@codesourcery.com>
13001
13002 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
13003
334cc82d
TT
130042009-04-15 Tom Tromey <tromey@redhat.com>
13005
13006 * gdb.base/charset.exp: Add regression test.
13007
d12672cc
JB
130082009-04-14 Joel Brobecker <brobecker@adacore.com>
13009
13010 * gdb.base/exe-lock.exp: New testcase.
13011
18e8c3bc
TT
130122009-04-13 Tom Tromey <tromey@redhat.com>
13013
13014 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
13015 operator on Frame.
13016
5ecd5cbe
UW
130172009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13018
13019 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
13020 * gdb.server/ext-attach.exp: Likewise.
13021
7309f756
VP
130222009-04-03 Vladimir Prus <vladimir@codesourcery.com>
13023
13024 Eliminate some sleep usage.
13025
889bf7c5
PA
13026 * gdb.mi/basics.c (do_nothing): New.
13027 (main): Use do_nothing instead of printf, so that
13028 not to introduce race condition between output of
13029 inferiour and output of gdb. Do not use sleep as it
13030 is not generally available on embedded targets.
7309f756 13031
f4b95f6f
PA
130322009-04-02 Pedro Alves <pedro@codesourcery.com>
13033
13034 * gdb.server/ext-attach.exp: Expect an optional process id after
13035 "Detached from remote process".
13036
de40b933
JK
130372009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13038
13039 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
13040 gdb.dwarf2/dw2-unresolved.exp: New.
13041
2ae101a4
PA
130422009-04-02 Pedro Alves <pedro@codesourcery.com>
13043
13044 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
13045 mi_run_to_main.
13046
56a8e183
PA
130472009-04-02 Pedro Alves <pedro@codesourcery.com>
13048
13049 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
13050 mi_run_to_main. Skip thread exit test on remote targets.
13051 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
13052 mi_run_to_main.
13053 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
13054 mi_run_to_main.
13055 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
13056 when expecting ^connected. Detect when the target doesn't support
13057 non-stop mode.
13058 (mi_run_cmd): Detect if non-stop mode was requested by isn't
13059 supported. Return -1 on error, 0 on success.
13060 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
13061 (mi_runto): Return mi_runto_helper's result explicitly.
13062
c35fafde
PA
130632009-04-01 Pedro Alves <pedro@codesourcery.com>
13064
13065 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
13066
f8a8dce6
JB
130672009-04-01 Tom Tromey <tromey@redhat.com>
13068
13069 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
13070 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
13071 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
13072 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
13073
71c25dea
TT
130742009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
13075 Jan Kratochvil <jan.kratochvil@redhat.com>
13076
13077 PR gdb/931
13078 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
13079 output.
13080 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
13081 for gdb/931.
13082 * dw2-strp.S (DW_AT_language): Change to C++.
13083 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
13084
02d9a9ce
JB
130852009-03-31 Joel Brobecker <brobecker@adacore.com>
13086
13087 * gdb.ada/tasks: New testcase.
13088
1042e4c0
SS
130892009-03-30 Stan Shebs <stan@codesourcery.com>
13090
13091 * gdb.trace/actions.exp: Update to match new info trace format.
13092 * gdb.trace/deltrace.exp: Ditto.
13093 * gdb.trace/infotrace.exp: Ditto.
13094 * gdb.trace/passcount.exp: Ditto.
13095 * gdb.trace/save-trace.exp: Ditto.
13096 * gdb.trace/while-stepping.exp: Ditto.
13097 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
13098
f8f6f20b
TJB
130992009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13100
13101 * gdb.python/python-frame.c: New file.
13102 * gdb.python/python-frame.exp: New file.
13103
c0c6f777
TJB
131042009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
13105
13106 * gdb.python/python-value.exp: Add tests for the address
13107 attribute.
13108
3cb51905
AS
131092009-03-29 Andreas Schwab <schwab@linux-m68k.org>
13110
13111 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
13112
88fc996f
DE
131132009-03-26 Doug Evans <dje@google.com>
13114
13115 * gdb.mi/mi-nonstop-exit.exp: New file.
13116 * gdb.mi/non-stop-exit.c: New file.
13117
56ef84b1
TT
131182009-03-26 Tom Tromey <tromey@redhat.com>
13119
13120 Update for change to prologue skipping:
13121 * gdb.mi/mi2-simplerun.exp: Update.
13122 * gdb.mi/mi2-break.exp: Update.
13123 * gdb.mi/mi-simplerun.exp: Update.
13124 * gdb.mi/mi-break.exp: Update.
13125 * gdb.base/ending-run.exp: Update.
13126
def2b000
TJB
131272009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
13128
13129 * gdb.python/python-value.exp (test_value_in_inferior): Test
13130 gdb.Value.is_optimized_out attribute.
13131
442ddf59
JK
131322009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13133
13134 * gdb.dwarf2/dw2-noloc-main.c: New file.
13135 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
13136 (.text): Remove.
13137 (.data): New.
13138 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
13139 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
13140 (DW_TAG_subprogram func_cu1, noloc): Remove.
13141 (main): New.
13142 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
13143 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
13144 (file_symbols): New procedure.
13145
a8df5de4
TT
131462009-03-25 Tom Tromey <tromey@redhat.com>
13147
13148 * gdb.base/charset.exp (valid_target_charset): New proc.
13149 Use it to skip tests on invalid charsets.
13150
cc1d7add
PM
131512009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
13152
13153 * gdb.base/completion.exp: Add a test for directory completion.
13154
bcd5727b
JK
131552009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13156
13157 Fix a racy FAIL.
13158 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
13159 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
13160
cc924cad
TJB
131612009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
13162
13163 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
13164 * gdb.python/python-function.exp: Add test for function returning
13165 a GDB value.
13166
bc3b79fd
TJB
131672009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
13168
13169 * gdb.python/python-function.exp: New file.
13170
6c7a06a3
TT
131712009-03-20 Tom Tromey <tromey@redhat.com>
13172
13173 * gdb.base/store.exp: Update for change to escape output.
13174 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
13175 to escape output.
13176 * gdb.base/pointers.exp: Update for change to escape output.
13177 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
13178 to escape output.
13179 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
13180 escape output.
13181 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
13182 to escape output.
13183 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
13184 escape output.
13185 * gdb.base/setvar.exp: Update for change to escape output.
13186 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
13187 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
13188 to escape output.
13189 (test_print_string_constants): Likewise.
13190 * gdb.base/charset.exp (valid_host_charset): Check size of
13191 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
13192 cases. Handle "auto"-related output.
13193 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
13194 (uvar, Uvar): New globals.
13195
c31af87b
JG
131962009-03-19 Jerome Guitton <guitton@adacore.com>
13197
13198 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
13199 deltas.
13200 * gdb.ada/fixed_points.exp: Ditto.
13201
51272cf2
PA
132022009-03-18 Pedro Alves <pedro@codesourcery.com>
13203
13204 * return-nodebug.c: Don't include stdio.h.
13205 (init): Delete.
13206 (func): Delete definition and provide extern declaration.
13207 (t): New.
13208 (main): Don't call printf. Call func and store its result in t.
13209 * return-nodebug1.c: New.
13210 * return-nodebug.exp: Don't expect stdio output. Instead, print
13211 the global variable t. Drop printf formatters and cast types from
13212 foreach loop. Don't use prepare_for_testing. Compile
13213 return-nodebug.c and return-nodebug1.c in separate steps. Don't
13214 define FORMAT or CAST.
13215
d24948ac
PP
132162009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13217
13218 * gdb.base/solib-display.exp: Disable test for remote targers.
13219
61ff14c6
JK
132202009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13221
13222 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
13223
cb4dce93
JK
132242009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13225
13226 Fix a racy FAIL.
13227 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
13228 code from `follow parent, print pids'.
13229 (`follow child, print pids', `follow parent, print pids'): Call it.
13230 Replace `gdb_test "break..."' by gdb_breakpoint.
13231
f7c60c5e
VP
132322009-03-13 Vladimir Prus <vladimir@codesourcery.com>
13233
13234 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 13235 sync and async modes.
f7c60c5e 13236
383ace49
JB
132372009-03-12 Joel Brobecker <brobecker@adacore.com>
13238
13239 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
13240 that was checked in by mistake. Remove loading of ada.exp, since
13241 this is not necessary in this case.
13242
4ce102af
JB
132432009-03-12 Joel Brobecker <brobecker@adacore.com>
13244
13245 * gdb.ada/ptype_arith_binop.exp: New testcase.
13246
529a2aef
JB
132472009-03-12 Joel Brobecker <brobecker@adacore.com>
13248
13249 * gdb.ada/mod_from_name: New testcase.
13250
8a38181c
JB
132512009-03-12 Joel Brobecker <brobecker@adacore.com>
13252
13253 * gdb.ada/tick_last_segv: New testcase.
13254
11436dee
VP
132552009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13256
61ff14c6 13257 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 13258
1f31650a
VP
132592009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13260
61ff14c6
JK
13261 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
13262 include the token in ^running and frame info in *stopped.
1f31650a 13263
a3247a22
PP
132642009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13265
13266 * solib-display.exp: New file.
13267 * solib-display-main.c: New file.
13268 * solib-display-lib.c: New file.
61ff14c6 13269
aae64587
PA
132702009-03-05 Pedro Alves <pedro@codesourcery.com>
13271
13272 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
13273
44aabfbc
JK
132742009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13275
13276 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
13277 (list_and_check_macro): Use more specific test name.
13278 (next to definition): Make the test names unique.
13279
c087fcd3
PM
132802009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
13281
13282 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 13283
c86cf029
VP
132842009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13285
13286 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
13287 notifications.
13288 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
13289 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
13290 * lib/mi-support.exp (library_loaded_re): New.
13291 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
13292
3ea85240
VP
132932009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13294
13295 * gdb.gdb/observer.exp: Use test_notification observer, not
13296 normal_stop, everywhere.
13297 (test_normal_stop_notifications): Rename to...
13298 (test_notifications): ...this.
13299 (test_observer_normal_stop): Rename to...
13300 (test_observer): ...this.
13301
1903f0e6
DE
133022009-02-16 Doug Evans <dje@google.com>
13303
13304 * gdb.arch/amd64-disp-step.S (test_int3): New test.
13305 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
13306 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
13307 (test_prefixed_syscall,test_int3): New tests.
13308 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
13309 (test_prefixed_syscall,test_int3): New tests.
13310
1d33d6ba
VP
133112009-02-14 Vladimir Prus <vladimir@codesourcery.com>
13312
3cb51905
AS
13313 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
13314 (mi_expect_interrupt): Likewise.
13315 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
13316 response.
1d33d6ba 13317
faafb047
PM
133182009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13319
13320 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
13321 * gdb.base/pc-fp.exp (get_valueofx): Remove.
13322 Replace calls to get_valueofx by get_hexadecimal_valueof.
13323
417e16e2
PM
133242009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13325
13326 * lib/gdb.exp (get_valueof): Accept anything as a return value.
13327 (get_integer_valueof): New procedure.
13328 (get_sizeof): Use new get_integer_value_of.
13329 * gdb.base/sizeof.exp: Replace all uses of get_valueof
13330 by get_integer_valueof.
13331
7065b901
TT
133322009-02-13 Tom Tromey <tromey@redhat.com>
13333
13334 * gdb.base/remote.exp (get_sizeof): Remove.
13335 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
13336 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
13337 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
13338 * lib/gdb.exp (get_valueof): Move from long_long.exp.
13339 (get_sizeof): Likewise.
13340
5d7cb8df
JK
133412009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13342
13343 PR fortran/9806
13344 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
13345
b2febfff
PP
133462009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13347
13348 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
13349
4aa995e1
PA
133502009-02-06 Pedro Alves <pedro@codesourcery.com>
13351
13352 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
13353
d8906c6f
TJB
133542009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
13355
13356 * gdb.python/python-cmd.exp: New file.
13357
ff4ab08d
TG
133582009-02-06 Tristan Gingold <gingold@adacore.com>
13359
13360 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
13361
aacd552b
TG
133622009-02-05 Tristan Gingold <gingold@adacore.com>
13363
13364 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
13365 pointer is dereferenced and use this signal name in regexp.
13366 * gdb.base/signull.exp: Ditto.
13367 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
13368 * gdb.base/signull.c (main): Ditto.
13369
08c637de
TJB
133702009-02-04 Tom Tromey <tromey@redhat.com>
13371 Thiago Jung Bauermann <bauerman@br.ibm.com>
13372
13373 * gdb.python/python-value.exp: Use `gdb.history' instead of
13374 `gdb.value_from_history'.
13375 (test_value_numeric_ops): Add test for conversion of enum constant.
13376 * gdb.python/python-value.c (enum e): New type.
13377 (evalue): New global.
13378 (main): Use argv.
13379
20261af8
JG
133802009-02-04 Jerome Guitton <guitton@adacore.com>
13381
13382 * gdb.ada/uninitialized_vars: New test program.
13383 * gdb.ada/uninitialized_vars.exp: New testcase.
13384
52e44b43
TT
133852009-02-02 Tom Tromey <tromey@redhat.com>
13386
13387 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
13388 * gdb.cp/pr2489.cc: Rename...
13389 * gdb.cp/pr9594.cc: ... to this.
13390
1c71341a
TT
133912009-02-02 Tom Tromey <tromey@redhat.com>
13392
13393 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
13394 * gdb.cp/pr2489.cc: New file.
13395 * gdb.cp/cpcompletion.exp: New file.
13396
a4295225
TT
133972009-02-02 Tom Tromey <tromey@redhat.com>
13398
13399 PR exp/9059:
13400 * gdb.cp/call-c.exp: Add regression test.
13401 * gdb.cp/call-c.cc (FooHandle): New typedef.
13402 (main): New variable 'handle'.
13403
592375cd
VP
134042009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13405
13406 * lib/mi-support.exp (et_mi_thread_list)
13407 (check_mi_and_console_threads): Adjust for current thread in
13408 -thread-list-ids output.
13409
41447f92
VP
134102009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13411
889bf7c5
PA
13412 * gdb.mi/mi-break.exp (test_disabled_creation): New.
13413 Call it.
41447f92 13414
35669430
DE
134152009-01-28 Doug Evans <dje@google.com>
13416
13417 * gdb.arch/amd64-disp-step.S: New file.
13418 * gdb.arch/amd64-disp-step.exp: New file.
13419 * gdb.arch/i386-disp-step.S: New file.
13420 * gdb.arch/i386-disp-step.exp: New file.
13421
09f00d9a
PM
134222009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
13423
13424 * gdb.base/find.exp: Set newline variable
13425 using quotes instead of braces to fix cygwin failures.
13426
1e8fb976
PA
134272009-01-23 Pedro Alves <pedro@codesourcery.com>
13428
13429 * gdb.base/radix.exp: Add tests to ensure that that set
13430 input-radix 0 and set output-radix 0 are really rejected.
13431
da061712
PA
134322009-01-23 Pedro Alves <pedro@codesourcery.com>
13433
13434 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
13435 copyright years.
13436
dd7e2d2b
PA
134372009-01-23 Pedro Alves <pedro@codesourcery.com>
13438
13439 PR gdb/9664:
13440 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
13441
392452f6
PA
134422009-01-22 Pedro Alves <pedro@codesourcery.com>
13443
13444 PR c++/9631:
13445 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
13446
8653e71c
PM
134472009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
13448
13449 * gdb.server/file-transfer.exp: Use EXEEXT variable for
13450 binfile definition to fix Windows OS failure.
13451
a12cc160
DJ
134522009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13453
13454 PR gdb/9346
13455 * gdb.base/interrupt.c (sigint_handler): New.
13456 (main): Install a SIGINT handler if SIGNALS is defined. Exit
13457 on error.
13458 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
13459 Test "signal SIGINT".
13460
b89667eb
DE
134612009-01-19 Doug Evans <dje@google.com>
13462
13463 * gdb.base/break.exp: Update expected gdb output.
13464 * gdb.base/sepdebug.exp: Ditto.
13465 * gdb.mi/mi-syn-frame.exp: Ditto.
13466 * gdb.mi/mi2-syn-frame.exp: Ditto.
13467 * gdb.base/call-signal-resume.exp: New file.
13468 * gdb.base/call-signals.c: New file.
13469 * gdb.base/unwindonsignal.exp: New file.
13470 * gdb.base/unwindonsignal.c: New file.
13471 * gdb.threads/interrupted-hand-call.exp: New file.
13472 * gdb.threads/interrupted-hand-call.c: New file.
13473 * gdb.threads/thread-unwindonsignal.exp: New file.
13474
adb483fe
DJ
134752009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
13476
13477 * gdb.base/define.exp: Test defining and hooking prefix commands.
13478 * gdb.python/python.exp: Update test for "show user" output.
13479
60023297
JK
134802009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13481
13482 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
13483 now the output exactly, using less wildcards. Expect also the output
13484 of gfortran-4.3. Update for the f-valprint.c modification from
13485 2008-04-22.
13486 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
13487 Remove gdb_test test names where matching the command.
13488
ccc57cf9
PA
134892009-01-01 Pedro Alves <pedro@codesourcery.com>
13490
13491 PR breakpoints/9681:
13492 * gdb.base/watchpoint.exp: Add regression test.
13493
c7a6ca08
PA
134942008-12-31 Pedro Alves <pedro@codesourcery.com>
13495
13496 * gdb.threads/attach-into-signal.exp: Don't use
13497 gdb_suppress_entire_file.
13498 * gdb.threads/attach-stopped.exp: Ditto.
13499 * gdb.threads/attachstop-mt.exp: Ditto.
13500
3a031f65
PA
135012008-12-31 Pedro Alves <pedro@codesourcery.com>
13502
13503 PR gdb/8812:
13504 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
13505
09e6485f
PA
135062008-12-29 Pedro Alves <pedro@codesourcery.com>
13507
13508 PR gdb/7536:
13509 * gdb.base/radix.exp: Add tests to ensure invalid input radices
13510 and unsupported output radices are really rejected.
13511
0cd53049
JK
135122008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13513
13514 * gdb.cp/punctuator.exp: Backslash the '$' signs.
13515
ba163c7e
TT
135162008-12-22 Tom Tromey <tromey@redhat.com>
13517
13518 * gdb.cp/punctuator.exp: New file.
13519
6f4de6c9
JK
135202008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13521
13522 * gdb.base/completion.exp (Completing non-existing component): New test.
13523
0f34d0b4
JK
135242008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13525
13526 Fix for PR gdb/8648.
13527 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
13528 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
13529 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
13530 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
13531
db2ad4c3
JK
135322008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13533
13534 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
13535
bb5ef15e
DP
135362008-12-16 Christophe Lyon <christophe.lyon@st.com>
13537
13538 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
13539 compiler actually generate code at the expected line number.
13540
90142adc
JZ
135412008-12-15 Jie Zhang <jie.zhang@analog.com>
13542
13543 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
13544
fad6eecd
TT
135452008-12-12 Tom Tromey <tromey@redhat.com>
13546
13547 * gdb.base/commands.exp (redefine_hook_test): New proc.
13548 Call it.
13549
17c8aaf5
TT
135502008-12-11 Tom Tromey <tromey@redhat.com>
13551
13552 * gdb.base/macscp.exp: New regression test.
13553
7c8adf68
TT
135542008-12-11 Tom Tromey <tromey@redhat.com>
13555
13556 * gdb.base/macscp.exp: Print "address.addr".
13557 * gdb.base/macscp1.c (struct outer): New struct.
13558 (address): New global.
13559
b05dcbb7
TT
135602008-12-09 Tom Tromey <tromey@redhat.com>
13561
13562 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
13563 Call it.
13564
2d476de1
DE
135652008-12-04 Doug Evans <dje@google.com>
13566
13567 * gdb.server/ext-run.exp: Relax regexp for init program.
13568
87bdc959
TG
135692008-12-03 Tristan Gingold <gingold@adacore.com>
13570
13571 * gdb.base/macscp.exp: Generate an object file during compilation
13572 to work around Darwin dsymutil limitations.
13573
e0740f77
JK
135742008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13575
13576 Test resolving external references to TLS variables.
13577 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
13578 FILE2_THREAD_LOCAL.
13579 (testfile2, srcfile2): New variables.
13580 * gdb.threads/tls.c (file2_thread_local)
13581 (function_referencing_file2_thread_local): New.
13582 * gdb.threads/tls2.c: New file.
13583
67f0aac5
JB
135842008-11-28 Joel Brobecker <brobecker@adacore.com>
13585
13586 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
13587 rather than integer, as integer might not be big enough when
13588 on 64bit targets.
67f0aac5 13589
c332165e
JG
135902008-11-27 Jerome Guitton <guitton@adacore.com>
13591
13592 * gdb.cp/formatted-ref.exp: Add equality test.
13593 * gdb.ada/formatted_ref.exp: Ditto.
13594
fc9b693c
JK
135952008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13596
13597 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
13598 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
13599
a9c64011
AS
136002008-11-20 Andreas Schwab <schwab@suse.de>
13601
13602 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
13603 matching syscall entry point.
13604 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13605 (tcatch_vfork_then_child_follow): Likewise. Finish through
13606 vfork even if we stopped at the syscall trampoline.
13607
e2fd701e
DE
136082008-11-20 Doug Evans <dje@google.com>
13609
13610 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
13611
69abc51c
TJB
136122008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
13613
13614 * gdb.arch/ppc-dfp.exp: New file.
13615 * gdb.arch/ppc-dfp.c: New file.
13616
c14c28ba
PP
136172008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13618
13619 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 13620
2e74121d
DE
136212008-11-17 Doug Evans <dje@google.com>
13622
13623 * gdb.mi/mi-syn-frame.exp: Update expected output.
13624 * gdb.mi/mi2-syn-frame.exp: Update expected output.
13625
66bb093b
VP
136262008-11-17 Vladimir Prus <vladimir@codesourcery.com>
13627
13628 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
13629 "thread N" results in =thread-selected.
13630 * lib/mi-support (mi_run_cmd, mi_expect_stop)
13631 (mi_send_resuming_command_raw): Be prepared for
13632 =thread-selected.
13633
3d043ef6
VP
136342008-11-17 Vladimir Prus <vladimir@codesourcery.com>
13635
a9c64011
AS
13636 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
13637 * lib/mi-support.exp: Likewise.
3d043ef6 13638
808104c8
JB
136392008-11-16 Joel Brobecker <brobecker@adacore.com>
13640
13641 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
13642 commands from the expected output for "help catch".
13643
00b22944
JB
136442008-11-15 Joel Brobecker <brobecker@adacore.com>
13645
13646 * gdb.ada/int_deref.exp: New testcase.
13647
59669435
TT
136482008-11-14 Nick Roberts <nickrob@snap.net.nz>
13649
13650 * gdb.mi/gdb2549.exp: New file.
13651
de04a248
DE
136522008-11-11 Doug Evans <dje@google.com>
13653
13654 * gdb.base/callexit.exp: New file.
13655 * gdb.base/callexit.c: New file.
13656
6b8ce727
DE
136572008-11-10 Doug Evans <dje@google.com>
13658
13659 * lib/gdb.exp (GDBFLAGS): Move -nx ...
13660 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
13661 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
13662 (default_gdb_start,default_gdb_exit): Ditto.
13663 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
13664 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
13665 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
13666 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
13667 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
13668 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
13669
1b14b8aa
AS
136702008-11-03 Andreas Schwab <schwab@suse.de>
13671
13672 * gdb.base/hashline2.exp: Fix typo.
13673 * gdb.base/hashline3.exp: Likewise.
13674
f3134b88
TT
136752008-10-30 Tom Tromey <tromey@redhat.com>
13676
13677 * gdb.base/pointers.exp: Add test.
13678 * gdb.base/pointers.c (k, S): New typedefs.
13679 (instance): New global.
13680
c2226152
AS
136812008-10-30 Andreas Schwab <schwab@suse.de>
13682
13683 * gdb.base/args.exp: Add tests for newlines.
13684
462f405c
JB
136852008-10-30 Joel Brobecker <brobecker@adacore.com>
13686
13687 gdb.base/foll-exec.exp: Update the expected output of a couple
13688 of "info breakpoints" tests.
13689
79a45b7d
TT
136902008-10-28 Tom Tromey <tromey@redhat.com>
13691
13692 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
13693
adc13a14
PA
136942008-10-24 Pedro Alves <pedro@codesourcery.com>
13695
13696 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
13697 gdb_start_cmd.
13698 Use runto_main before any test that requires execution.
13699
252fbfc8
PA
137002008-10-23 Pedro Alves <pedro@codesourcery.com>
13701
13702 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
13703 instead of SIGINT.
13704
28148e3d
JB
137052008-10-22 Joel Brobecker <brobecker@adacore.com>
13706
13707 * gdb.base/completion.exp: Update expected output following
13708 the addition of the "info tasks" command.
13709
c209f847
TT
137102008-10-22 Tom Tromey <tromey@redhat.com>
13711
13712 * gdb.base/exprs.exp (test_expr): Add test for string
13713 concatenation.
13714
f177e350
PA
137152008-10-19 Pedro Alves <pedro@codesourcery.com>
13716
13717 * configure.ac: Output gdb.python/Makefile.
13718 * configure: Regenerate.
13719 * gdb.python/Makefile.in: New.
13720
cce89356
JB
137212008-10-16 Joel Brobecker <brobecker@adacore.com>
13722
13723 * gdb.base/foll-fork.exp: Adjust the expected output to match
13724 the new description for fork/vfork catchpoints in the "info
13725 breakpoints" output.
13726
176d289d
TJB
137272008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13728
13729 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
13730
a08702d6
TJB
137312008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13732
13733 * gdb.python/python-value.c: New file.
13734 * gdb.python/python-value.exp: New file.
13735
1c5cfe86
PA
137362008-10-15 Pedro Alves <pedro@codesourcery.com>
13737
13738 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
13739
5a98ad69
DP
137402008-10-15 Denis Pilat <denis.pilat@st.com>
13741
41702f1b 13742 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 13743
dcb1a1e2
TT
137442008-10-09 Tom Tromey <tromey@redhat.com>
13745
13746 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
13747 'fprintf' and 'stderr'.
13748
9124fe48
JB
137492008-10-07 Joel Brobecker <brobecker@adacore.com>
13750
13751 * gdb.ada/ref_tick_size.exp: New testcase.
13752
45452591
DE
137532008-10-06 Doug Evans <dje@google.com>
13754
13755 * gdb.dwarf2/dw2-cu-size.exp: New file.
13756 * gdb.dwarf2/dw2-cu-size.S: New file.
13757
13758 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
13759 .Ltype_int for clarity.
13760
4fc5b208
PP
137612008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13762
13763 PR gdb/2384:
13764 * gdb.cp/gdb2384.exp: Extended to test more cases.
13765 * gdb.cp/gdb2384.cc: Likewise.
13766 * gdb.cp/gdb2384-base.h: Likewise.
13767 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 13768
d78df370
JK
137692008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13770
13771 * gdb.base/maint.exp (maint print type): Remove printing
13772 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
13773
9a044a89
TT
137742008-09-30 Tom Tromey <tromey@redhat.com>
13775
13776 * gdb.base/macscp.exp: Add completion tests.
13777 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
13778 (TWENTY_THREE): Likewise.
13779 (FORTY_EIGHT): Likewise.
13780
506800a9
TT
137812008-09-30 Tom Tromey <tromey@redhat.com>
13782
13783 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
13784 everywhere.
13785 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
13786
1a6f01b5
JK
137872008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13788
13789 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
13790 testcase is derived from. Fix racy dependency on an expected PID
13791 number. No longer support the testcase on Linux kernel 2.4.x.
13792
2fae03e8
TT
137932008-09-27 Tom Tromey <tromey@redhat.com>
13794
13795 * gdb.base/macscp.exp: Add tests for stringification, splicing,
13796 and varargs.
13797
1ad15515
PA
137982008-09-22 Pedro Alves <pedro@codesourcery.com>
13799
13800 * lib/mi-support.exp (mi_expect_interrupt): New.
13801 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
13802 from gdb.mi/mi-nonstop.exp.
13803 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
13804 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
13805 lib/mi-support.exp.
13806 Use mi_check_thread_states throughout. Avoid ".*" and do not
13807 require an anchor after -exec-run.
13808
d0b76dc6
DJ
138092008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
13810
13811 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
13812 stop is pending. Avoid ".*" when two stops are pending.
13813 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
13814 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
13815 newlines in fullnames.
13816 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
13817 (mi_expect_stop): Update comments. Only anchor in sync mode.
13818 Do not match newlines.
13819 (mi_send_resuming_command_raw): Always return status.
13820 (mi_get_stop_line): Do not match more than one line by accident.
13821 Only anchor in sync mode.
13822 (mi_run_inline_test): If -exec-next fails, give up.
13823
9990c830
UW
138242008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13825
13826 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
13827 on SPU.
13828
ebcf6f00
JB
138292008-09-10 Joel Brobecker <brobecker@adacore.com>
13830
13831 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
13832
b6db24e5
JB
138332008-09-10 Joel Brobecker <brobecker@adacore.com>
13834
13835 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
13836 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
13837 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
13838 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
13839 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
13840 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
13841 gdb.ada/interface.exp, gdb.ada/null_array.exp,
13842 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
13843 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
13844 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
13845 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
13846 Include the "= " sequence in the expected output of print tests.
13847
2bf448e0
JB
138482008-09-10 Joel Brobecker <brobecker@adacore.com>
13849
13850 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
13851 description for boolean types.
13852
d51fd4c8
PA
138532008-09-09 Pedro Alves <pedro@codesourcery.com>
13854
13855 * gdb.base/hook-stop-continue.c: New.
13856 * gdb.base/hook-stop-continue.exp: New.
13857
694182d2
DJ
138582008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
13859
13860 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
13861
3b8a7fc0
JG
138622008-09-08 Jerome Guitton <guitton@adacore.com>
13863
13864 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
13865 (stack_check_probe_2, stack_check_probe_loop_1)
13866 (stack_check_probe_loop_2): New functions.
13867 (main): Add call to these new functions.
13868 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
13869 functions, check that the breakpoint is inserted at the appropriate
13870 location.
13871 (insert_breakpoint): Slightly refine this procedure so that it can
13872 be called several times in the test.
13873
96cc0ae8
JG
138742008-09-08 Jerome Guitton <guitton@adacore.com>
13875
13876 * gdb.base/stack-checking.c: New file.
13877 * gdb.base/stack-checking.exp: New file.
13878
1f08b409
TJB
138792008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13880
13881 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
13882 * gdb.arch/altivec-regs.exp: Likewise.
13883 * gdb.arch/vsx-regs.exp: Likewise.
13884
3099e1c4
TJB
138852008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13886
13887 * gdb.arch/ppc-fp.exp: New file.
13888 * gdb.arch/ppc-fp.c: New file.
13889
cc69bfc1
PP
138902008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13891
13892 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
13893 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 13894
b02a33db
MS
138952008-09-04 Michael Snyder <msnyder@vmware.com>
13896
13897 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
13898 as "at" (for non-debug functions such as _start).
13899
2992cbe0
UW
139002008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13901
13902 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
13903 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
13904 software watchpoints.
13905 * gdb.base/watch_thread_num.exp: Likewise.
13906
514f746b
AR
139072008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
13908
13909 * gdb.arch/i386-bp_permanent.exp: New test.
13910
876cecd0
TT
139112008-08-24 Tom Tromey <tromey@redhat.com>
13912
13913 * gdb.base/maint.exp: Update "maint print type".
13914
80f73d71
VP
139152008-08-21 Vladimir Prus <vladimir@codesourcery.com>
13916
13917 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
13918 support. Adjust the order of "*running" notifications.
13919 * gdb.mi/non-stop.c: Don't cast from int to void* and
13920 back.
13921
d9c78d7d
MK
139222008-08-20 Mark Kettenis <kettenis@gnu.org>
13923
13924 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
13925 expect to find it in the "info frame" output.
13926
97a2d1d3
DJ
139272008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
13928
13929 * gdb.base/interp.exp: Always consume both prompts.
13930
b96e2927
PA
139312008-08-20 Pedro Alves <pedro@codesourcery.com>
13932
13933 * gdb.base/pending.exp: Test pending breakpoints without symbols
13934 loaded.
13935
8cf6e61a
VP
139362008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13937
13938 * lib/mi-support.exp (mi_expect_stop): Produce
13939 more details on failures.
13940 * gdb.mi/mi-nonstop.exp: New.
13941 * gdb.mi/non-stop.c: New.
13942
c6ebd6cf
VP
139432008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13944
a9c64011
AS
13945 * gdb.mi/mi-async.exp: Use 'set target-async'.
13946 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 13947
46a9b8ed
DJ
139482008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
13949
13950 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
13951
44feb3ce
TT
139522008-08-17 Tom Tromey <tromey@redhat.com>
13953
13954 * gdb.base/help.exp (help catch): Rewrite.
13955
311a4e6b
TJB
139562008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13957
13958 * gdb.base/define.exp: Test indented command documentation.
13959 * gdb.python/python.exp: Test indented multi-line command.
13960
604c2f83
LM
139612008-08-15 Luis Machado <luisgpm@br.ibm.com>
13962
13963 * testsuite/gdb.arch/vsx-regs.c: New source file.
13964 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
13965 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
13966
886a217c
TT
139672008-08-14 Tom Tromey <tromey@redhat.com>
13968
13969 * gdb.base/macscp.exp: Add regression test for "macro define" or
13970 "macro undef" with no arguments.
13971
c814a4f3
PP
139722008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13973
13974 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 13975
12ab8a60
UW
139762008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13977
13978 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
13979
d57a3c85
TJB
139802008-08-06 Tom Tromey <tromey@redhat.com>
13981
13982 * gdb.python/python.exp: New file.
13983
c7b778ff
JK
139842008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13985
13986 Fix for PR gdb/1543.
13987 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
13988 $LOCATION.
13989 (location): New variable.
13990 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
13991 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
13992 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
13993 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
13994 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
13995 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
13996 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
13997 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
13998 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
13999 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
14000 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
14001 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
14002 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
14003 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
14004 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
14005 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
14006 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
14007 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
14008 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
14009 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
14010 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
14011 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
14012 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
14013 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
14014 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
14015 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
14016 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
14017 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
14018 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
14019 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
14020 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
14021 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
14022 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
14023 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
14024 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
14025 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
14026 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
14027 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
14028 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
14029 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
14030 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
14031 gdb.base/type-opaque.exp, gdb.base/until.exp,
14032 gdb.base/value-double-free.c, gdb.base/varargs.exp,
14033 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
14034 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
14035 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
14036 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
14037 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
14038 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
14039 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
14040 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
14041 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
14042 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
14043 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
14044 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
14045 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
14046 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
14047 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
14048 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
14049 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
14050 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
14051 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
14052 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14053 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
14054 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
14055 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
14056 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
14057 gdb.pascal/types.exp, gdb.stabs/weird.exp,
14058 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
14059 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
14060 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
14061 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
14062 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
14063 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
14064 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14065 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
14066 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14067 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
14068 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14069 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
14070 lib/mi-support.exp, lib/trace-support.exp: Remove reference
14071 to bug-gdb@prep.ai.mit.edu .
14072
5e06a3d1
VP
140732008-07-31 Vladimir Prus <vladimir@codesourcery.com>
14074
14075 * lib/mi-support.exp (mi_load_shlibs): New.
14076 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
14077
9d81d21b
VP
140782008-07-30 Vladimir Prus <vladimir@codesourcery.com>
14079
14080 * lib/mi-support.exp (get_mi_thread_list)
14081 (check_mi_and_console_threads): New, moved from ...
14082 * gdb.mi/mi-pthread.exp: ...here.
14083 * gdb.mi/gdb669.exp (get_mi_thread_list)
14084 (check_mi_and_console_threads): Delete.
14085 * gdb.mi/mi2-pthread.exp: Likewise.
14086
bae98fe0
TT
140872008-07-28 Tom Tromey <tromey@redhat.com>
14088
14089 * Makefile.in (just-check): Remove. Move body to...
14090 (check): ... here.
14091
57380f4e
DJ
140922008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14093
14094 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
14095 Add a test for duplicated SIGINTs.
14096
e09490f1
DJ
140972008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14098
14099 * gdb.threads/schedlock.exp (get_args): Update to work for any
14100 value of NUM.
14101 (Top level): Report the number of threads that did not resume.
14102
6387b45f
DJ
141032008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14104
14105 * gdb.dwarf2/dw2-compressed.S: Also define __start.
14106
62f64ff2
DJ
141072008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14108
14109 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
14110 non-MI prompt.
14111
fa8de41e
TT
141122008-07-26 Tom Tromey <tromey@redhat.com>
14113
14114 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
14115 (function_struct, function_struct_ptr): New globals.
14116 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
14117 function pointer in a struct.
14118
ccb3ac8a
TT
141192008-07-26 Tom Tromey <tromey@redhat.com>
14120
14121 * gdb.base/macscp.exp: Add test for macro lexing bug.
14122
d7d9f01e
TT
141232008-07-18 Tom Tromey <tromey@redhat.com>
14124
14125 * gdb.base/macscp.exp: Add macro tests.
14126
9bf07184
PP
141272008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14128
14129 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
14130
becf6477
PP
141312008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14132
14133 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
14134
0709f7d3
PP
141352008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
14136
14137 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 14138
7093c834
PP
141392008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14140
14141 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 14142
b432ffe3
JK
141432008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14144
14145 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
14146
b1a268e5
VP
141472008-07-12 Vladimir Prus <vladimir@codesourcery.com>
14148
14149 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
14150
e2995f8e
KB
141512008-07-11 Kevin Buettner <kevinb@redhat.com>
14152
14153 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
14154 of regexp to account for changes made to GDB in the printing of
14155 byte vectors.
14156
14032a66
TT
141572008-07-11 Tom Tromey <tromey@redhat.com>
14158
14159 * gdb.base/completion.exp: Add 'help' completion test.
14160
981505ef
JK
141612008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14162
14163 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
14164
10568435
JK
141652008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14166
14167 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
14168
4487aabf
PA
141692008-07-09 Pedro Alves <pedro@codesourcery.com>
14170
14171 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
14172
a4a9b1c4
PA
141732008-07-09 Pedro Alves <pedro@codesourcery.com>
14174
14175 * gdb.base/fullname.exp: Restore pwd if compiling failed.
14176
3c3185ac
JK
141772008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14178
14179 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
14180
7ebd49dc
VP
141812008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14182
14183 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
14184 previous commit. Add a comment.
14185
84e46146
PA
141862008-06-28 Pedro Alves <pedro@codesourcery.com>
14187
14188 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
14189
0f8d4a2f
VP
141902008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14191
14192 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
14193
f747e0ce
PA
141942008-06-27 Pedro Alves <pedro@codesourcery.com>
14195
14196 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
14197 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
14198 compiling an executable, link in an object that forces unbuffered
14199 output.
14200 * lib/set_unbuffered_mode.c: New file.
14201
734a5c36
JK
142022008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14203
14204 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
14205
a2840c35
VP
142062008-06-25 Vladimir Prus <vladimir@codesourcery.com>
14207
a9c64011
AS
14208 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
14209 mi_expect_stop.
14210 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
14211 Demand that *running is output.
14212 (detect_async): Perform checking every time.
14213 (mi_send_resuming_command): Extract everything into...
14214 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
14215 (mi_expect_stop): Don't accept any output before *stopped.
14216
6ae37fef
VP
142172008-06-13 Vladimir Prus <vladimir@codesourcery.com>
14218
14219 Robustify mi-simplerun.
a9c64011
AS
14220 * gdb.mi/basics.c (main): Add a call to sleep.
14221 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
14222 * gdb.mi/mi2-cli.exp: Likewise.
14223 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 14224
b4aa76f0 142252008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
14226
14227 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
14228
e1ac3328
VP
142292008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14230
a9c64011
AS
14231 * gdb.mi/mi-console.exp: Adjust.
14232 * gdb.mi/mi-syn-frame.exp: Adjust.
14233 * gdb.mi/mi2-console.exp: Adjust.
14234 * gdb.mi/mi2-syn-frame.exp: Adjust.
14235 * lib/mi-support.exp (mi_run_cmd): Adjust.
14236 (mi_send_resuming_command): Adjust.
e1ac3328 14237
f7f9a841
VP
142382008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14239
14240 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
14241 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
14242 testing of stopped.
14243 * gdb.mi/mi2-syn-frame.exp: Likewise.
14244 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
14245 (async, detect_async): New.
14246 (mi_expect_stop, mi_continue_to_line): Adjust expectation
14247 depending on if we're running in sync or async mode.
f7f9a841 14248
37cd5d19
TT
142492008-06-09 Tom Tromey <tromey@redhat.com>
14250
14251 * gdb.base/completion.exp: New tests for field name completion
14252 with spaces, and field name completion with '->'.
14253
65d12d83
TT
142542008-06-06 Tom Tromey <tromey@redhat.com>
14255
14256 * gdb.base/break1.c (struct some_struct): New struct.
14257 (values): New global.
14258 * gdb.base/completion.exp: Add field name completion test.
14259
ebfe2e3f
PP
142602008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14261
14262 * gdb.cp/call-c.exp: Test for incorrect handling of reference
14263 to pointer.
14264 * gdb.cp/call-c.cc: Likewise.
14265
bcf6fc3a
NR
142662008-06-06 Nick Roberts <nickrob@snap.net.nz>
14267
14268 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
14269 annotation.
14270
49fd4a42 142712008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 14272 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
14273
14274 * gdb.threads/execl.c, gdb.threads/execl1.c,
14275 gdb.threads/execl.exp: New tests.
a9c64011 14276
8a34ac3f
AR
142772008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
14278 Daniel Jacobowitz <dan@codesourcery.com>
14279
14280 * gdb.cp/exception.exp: Activate test, make it work with pending
14281 catchpoints.
14282
86ae69ef
JK
142832008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14284
14285 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
14286
f7f9ae2c
VP
142872008-05-28 Vladimir Prus <vladimir@codesourcery.com>
14288
a9c64011
AS
14289 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
14290 now printed.
14291 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 14292
2a2d4dc3
AS
142932008-05-27 Andreas Schwab <schwab@suse.de>
14294
14295 * gdb.base/frame-args.exp: Handle arguments that are optimized
14296 out.
14297
5099e4d9
LM
142982008-05-26 Luis Machado <luisgpm@br.ibm.com>
14299
14300 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
14301 quiet for ppc32 and group options into a single variable.
14302
d9c36a91
JB
143032008-05-23 Joel Brobecker <brobecker@adacore.com>
14304
14305 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
14306 of zero-size elements.
14307 * gdb.ada/null_array.exp: Test printing this new array.
14308
103a8671
JK
143092008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14310
14311 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
14312
07a4cc1a 143132008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
14314
14315 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
14316 of the "finish" command.
14317
55f996a7
NR
143182008-05-21 Nick Roberts <nickrob@snap.net.nz>
14319
14320 * gdb.base/annota1.exp: Test for new annotation.
14321
907fc202
UW
143222008-05-16 Pedro Alves <pedro@codesourcery.com>
14323
14324 * gdb.base/fixsection.exp: New file.
14325 * gdb.base/fixsection0.c: New file.
14326 * gdb.base/fixsection1.c: New file.
14327
e8f97270
UW
143282008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14329
14330 * gdb.base/annota1.exp: Accept printf@... in place of printf.
14331 * gdb.base/annota3.exp: Likewise.
14332
ac0bb574
NF
143332008-05-13 Nathan Froyd <froydnj@codesourcery.com>
14334
14335 * gdb.base/watch_thread_num.exp: Don't run tests that require
14336 watchpoints if the target doesn't support them.
14337
6fadd07a
DE
143382008-05-12 Doug Evans <dje@google.com>
14339
14340 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
14341
6e9a4a30
JB
143422008-05-09 Joel Brobecker <brobecker@adacore.com>
14343
14344 * gdb.ada/assign_1.exp: New testcase.
14345
08388c79
DE
143462008-05-09 Doug Evans <dje@google.com>
14347
a3c83fae
DE
14348 * gdb.base/find.exp: New file.
14349 * gdb.base/find.c: New file.
08388c79 14350
bd5ddfe8
DJ
143512008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
14352
14353 * gdb.base/commands.exp (watchpoint_command_test): Handle
14354 gdb,no_hardware_watchpoints.
14355 * gdb.base/float.exp: Allow ARM targets without floating point.
14356 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
14357
b5dd68e2 143582008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 14359 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
14360
14361 * gdb.ada/lang_switch: New test program.
14362 * gdb.ada/lang_switch.exp: New testcase.
14363
382d13d1
DE
143642008-05-05 Doug Evans <dje@google.com>
14365
14366 * gdb.base/help.exp (disassemble): Update expected help text.
14367
9dd789d0
PA
143682008-05-04 Pedro Alves <pedro@codesourcery.com>
14369
14370 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
14371
611c83ae
PA
143722008-05-04 Pedro Alves <pedro@codesourcery.com>
14373
14374 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
14375 different times.
14376
ff013f42
JK
143772008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14378
14379 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
14380 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
14381 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
14382 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
14383
96dff6a2
VP
143842008-05-04 Vladimir Prus <vladimir@codesourcery.com>
14385
14386 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
14387 notification to appear.
14388
55cd6f92
DJ
143892008-05-04 Daniel Jacobowitz <dan@debian.org>
14390
14391 * gdb.base/fullname.c: New file.
14392 * gdb.base/fullname.exp: New file.
14393 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
14394
d705c43c
PA
143952008-05-03 Pedro Alves <pedro@codesourcery.com>
14396
14397 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
14398 expressions with macros.
14399
333222e1
JK
144002008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14401
14402 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
14403
5ac01682
DJ
144042008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
14405
14406 * gdb.base/completion.exp: Handle lack of other symbols beginning
14407 with "a".
14408
14409 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
14410
237fc4c9
PA
144112008-05-02 Jim Blandy <jimb@codesourcery.com>
14412
14413 * gdb.asm/asmsrc1.s: Add scratch space.
14414
ed5e9466
DJ
144152008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14416 Daniel Jacobowitz <dan@codesourcery.com>
14417
14418 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
14419 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
14420 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
14421
b39cc962
DJ
144222007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
14423
14424 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
14425
36d520f5
JB
144262008-05-01 Joel Brobecker <brobecker@adacore.com>
14427
14428 * gdb.base/info-target.exp: New testcase.
14429
8d4e3071
DJ
144302008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14431
14432 * gdb.cp/hang.exp: Use .cc instead of .C.
14433 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
14434 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
14435
6f3f3097
DJ
144362008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14437
14438 * gdb.base/gdb1250.exp: Remove perror.
14439 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
14440
5550a914
PA
144412008-04-30 Pedro Alves <pedro@codesourcery.com>
14442
14443 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
14444 .2byte.
14445
d848e687
DJ
144462008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
14447
14448 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
14449 (maybe_kfail): New.
14450
93b5768b
PA
144512008-04-25 Pedro Alves <pedro@codesourcery.com>
14452
14453 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
14454
721c02de
VP
144552008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14456
a9c64011
AS
14457 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
14458 * gdb.mi/mi2-syn-frame.exp: Likewise.
14459 * lib/mi-support.exp: Likewise.
721c02de 14460
74960c60
VP
144612008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14462
14463 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
14464 to specify regexp for the location to stop at.
14465 * gdb.base/break-always.c: New.
14466 * gdb.base/break-always.exp: New.
14467
d24317b4
VP
144682008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14469
14470 * lib/mi-support.exp (mi_runto_helper): Adjust
14471 for the original-location field.
14472 (mi_create_breakpoint, mi_list_breakpoints): New.
14473 * gdb.mi/mi-break.exp: Adjust.
14474 * gdb.mi/mi2-break.exp: Adjust.
14475 * gdb.mi/mi-pending.exp: Adjust.
14476 * gdb.mi/mi-simplerun.exp: Adjust.
14477 * gdb.mi/mi2-simplerun.exp: Adjust.
14478 * gdb.mi/mi-syn-frame.exp: Adjust.
14479 * gdb.mi/mi2-syn-frame.exp: Adjust.
14480 * gdb.mi/mi-until.exp: Adjust.
14481 * gdb.mi/mi2-until.exp: Adjust.
14482 * gdb.mi/mi-var-display.exp: Adjust.
14483 * gdb.mi/mi2-var-display.exp: Adjust.
14484 * gdb.mi/mi-watch.exp: Adjust.
14485 * gdb.mi/mi2-watch.exp: Adjust.
14486
fdc59709 144872008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 14488
a9c64011
AS
14489 * aclocal.m4: Add override.m4.
14490 * configure: Regenerate.
fdc59709 14491
8e91f023
VP
144922008-04-19 Vladimir Prus <vladimir@codesourcery.com>
14493
14494 * gdb.mi/var-cmd.c (do_at_tests): Verify that
14495 '-var-update --all-values' reports new value even the type
14496 of a variable object has changed.
14497
233a11ab
CS
144982008-04-18 Craig Silverstein <csilvers@google.com>
14499
14500 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
14501 files.
d24317b4 14502
9c1137ad
JB
145032008-04-18 Joel Brobecker <brobecker@adacore.com>
14504
14505 * gdb.ada/atomic_enum: New test program.
14506 * gdb.ada/atomic_enum.exp: New testcase.
14507
66d0bbc7
DE
145082008-04-17 Doug Evans <dje@google.com>
14509
14510 * gdb.opt/Makefile.in: Fix whitespace.
14511
100906b0
UW
145122008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
14513
14514 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
14515
4584e32e
DE
145162008-04-17 Doug Evans <dje@google.com>
14517
14518 * gdb.base/hashline1.exp: New testcase.
14519 * gdb.base/hashline2.exp: New testcase.
14520 * gdb.base/hashline2.exp: New testcase.
14521
0a320680
PA
145222008-04-17 Pedro Alves <pedro@codesourcery.com>
14523
14524 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
14525
18ac113b
AR
145262008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
14527
14528 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
14529 temporary breakpoint to match "Temporary breakpoint".
14530 * gdb.base/break.exp (delete_breakpoints): Likewise.
14531 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
14532 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
14533 * gdb.base/display.exp: Likewise.
14534 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
14535 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
14536 * gdb.base/restore.exp (restore_tests): Likewise.
14537 * gdb.base/sepdebug.exp: Likewise.
14538 * gdb.base/watchpoint.exp: Likewise.
14539 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
14540 * gdb.mi/mi-pending.exp: Likewise.
14541 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
14542 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
14543 * gdb.mi/mi-var-cmd.exp: Likewise.
14544 * gdb.mi/mi-var-display.exp: Likewise.
14545 * gdb.mi/mi2-cli.exp: Likewise.
14546 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
14547 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
14548 * gdb.mi/mi2-var-display.exp: Likewise.
14549 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
14550 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
14551 new "disp" field.
a9c64011 14552 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
14553 reason. This is to support fix for PR2424.
14554
add38693
JK
145552008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14556
14557 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
14558
fcacd99f
VP
145592008-04-13 Vladimir Prus <vladimir@codesourcery.com>
14560
14561 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 14562 field. Add more floating varobj tests.
fcacd99f 14563 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
14564 field.
14565 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
14566 (main): Call do_at_tests.
14567 * lib/mi-support.exp (mi_create_floating_varobj)
14568 (mi_varobj_update_with_type_change): New.
fcacd99f 14569
de051565
MK
145702008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
14571
14572 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
14573 option of -var-evaluate-expression.
14574 * gdb.mi/mi2-var-display.exp: Likewise.
14575
dbc52822
VP
145762008-04-07 Vladimir Prus <vladimir@codesourcery.com>
14577
14578 Introduce test setup helpers.
a9c64011
AS
14579 * lib/gdb.exp (build_executable, clean_restart)
14580 (prepare_for_testing): New.
14581 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
14582 * gdb.base/return.exp: Likewise.
14583 * gdb.base/ending-run.exp: Likewise.
dbc52822 14584
473591da
NR
145852008-04-07 Nick Roberts <nickrob@snap.net.nz>
14586
14587 * gdb.mi/mi-async.exp: New test for asynchronous Machine
14588 Interface (MI) responses.
14589
2b2d9e11
VP
145902008-04-06 Vladimir Prus <vladimir@codesourcery.com>
14591
a9c64011
AS
14592 * gdb.cp/breakpoint.cc: New code to test conditions involving
14593 member variables.
14594 * gdb.cp/breakpoint.exp: Test condition involving member
14595 variables.
2b2d9e11 14596
bb378428
VP
145972008-04-05 Vladimir Prus <vladimir@codesourcery.com>
14598
14599 * lib/mi-support.exp (mi_expect_stop): New.
14600 (mi_run_cmd): Change the
14601 token. Use mi_send_resuming_command, use
14602 mi_expect_stop.
14603 (mi_execute_to_helper): Rename to mi_execute_to.
14604 (mi_send_resuming_command): Add more error patterns.
14605 (mi_wait_for_stop): Renamed to...
14606 (mi_get_stop_line): ...this.
14607 (mi_run_inline_test): Adjust.
14608
14609 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
14610 * gdb.mi/mi-console.exp: Likewise.
14611 * gdb.mi/mi-pending.exp: Likewise.
14612 * gdb.mi/mi-simplerun.exp: Likewise.
14613 * gdb.mi/mi-stack.exp: Likewise.
14614 * gdb.mi/mi-stepi.exp: Likewise.
14615 * gdb.mi/mi-syn-frame.exp: Add comment.
14616 * gdb.mi/mi-until.exp: Likewise.
14617 * gdb.mi/mi-var-display.exp: Likewise.
14618 * gdb.mi/mi-watch.exp: Likewise.
14619 * gdb.mi/mi2-cli.exp: Likewise.
14620 * gdb.mi/mi2-console.exp: Likewise.
14621 * gdb.mi/mi2-simplerun.exp: Likewise.
14622 * gdb.mi/mi2-stack.exp: Likewise.
14623 * gdb.mi/mi2-stepi.exp: Likewise.
14624 * gdb.mi/mi2-until.exp: Likewise.
14625 * gdb.mi/mi2-var-display.exp: Likewise.
14626 * gdb.mi/mi2-watch.exp: Likewise.
14627
62172bb9
UW
146282008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14629
14630 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
14631
14632 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
14633
a13e061a
PA
146342008-04-04 Pedro Alves <pedro@codesourcery.com>
14635
14636 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
14637 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
14638 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14639 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
14640 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
14641 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
14642 expect an mi error duplicated in stderr.
14643
eae06beb
JB
146442008-04-03 Joel Brobecker <brobecker@adacore.com>
14645
14646 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
14647 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
14648 Add a couple of tests that verify the behavior when the new setting
14649 is set to "cancel" and "all".
14650 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
14651 "ask" before we start the testing.
14652
79c6ced6
AR
146532008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
14654
14655 * gdb.cp/casts.cc: Add class reference variables.
14656 * gdb.cp/casts.exp: New test cases for up/down casting references.
14657
6c2d1a6b
MK
146582008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
14659
14660 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
14661 instead of beginning to make an extra test pass.
14662 * gdb.mi/mi2-var-display.exp: Likewise.
14663
55b411d9
MR
146642008-03-31 Maciej W. Rozycki <macro@mips.com>
14665
14666 * gdb.base/break.exp: Mark failures as such. Fix formatting.
14667
c6140da2
MD
146682008-03-31 Markus Deuling <deuling@de.ibm.com>
14669 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14670
14671 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
14672 value. Add xfail for older kernels.
14673
79732189
AR
146742008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
14675
14676 Bring mi-support in line with gdb.exp.
14677 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
14678 (mi_gdb_start): New function.
14679
33c3676e
MR
146802008-03-28 Maciej W. Rozycki <macro@mips.com>
14681
14682 * gdb.mi/mi-var-cmd.exp: Fix a typo.
14683
92e28119
VP
146842008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14685
14686 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
14687 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 14688
9e8e3afe
VP
146892008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14690
14691 * lib/mi-support.exp (mi_create_varobj_checked): New.
14692 (mi_list_varobj_children): Allow to check for a
14693 value.
14694 (mi_list_array_varobj_children): New.
14695
14696 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
14697 and mi_list_varobj_children, as opposed to hardcoding
14698 expected strings.
14699 * gdb.mi/gdb701.exp: Likewise.
14700 * gdb.mi/gdb792.exp: Likewise.
14701 * gdb.mi/mi-var-block.exp: Likewise.
14702 * gdb.mi/mi-var-cmd.exp: Likewise.
14703 * gdb.mi/mi-var-invalidate.exp: Likewise.
14704 * gdb.mi/mi2-var-block.exp: Likewise.
14705 * gdb.mi/mi2-var-child.exp: Likewise.
14706 * gdb.mi/mi2-var-cmd.exp: Likewise.
14707 * gdb.mi/mi2-var-display.exp: Likewise.
14708
9df50351
JK
147092008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14710
14711 Fix random false FAILs on i386.
14712 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
14713
31e5d73a
DJ
147142008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14715
14716 PR gdb/544
14717 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
14718
12f4afab
DJ
147192008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14720
14721 PR gdb/544
14722 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
14723
b562a0cb
DJ
147242008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14725
14726 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
14727 fixed PR gdb/544.
14728
17faa917
DJ
147292008-03-21 Pedro Alves <pedro@codesourcery.com>
14730
14731 * gdb.threads/fork-child-threads.exp: Test next over fork.
14732
6214f497
DJ
147332008-03-21 Chris Demetriou <cgd@google.com>
14734
14735 * gdb.base/break.exp (rbreak junk): New test for rbreak
14736 "Junk at end of arguments" issue.
14737
63092375
DJ
147382008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14739
14740 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
14741 *& to work on created array elements.
14742 (Top level): Test print $pc with a file. Test string operations
14743 without a target.
14744 * gdb.base/ptype.exp: Do not expect *& to work on created array
14745 elements.
14746
b21991b0
DJ
147472008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14748
14749 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14750 gdb.threads/staticthreads.exp: Update exit query.
14751
c4b347c7
SL
147522008-03-07 Sandra Loosemore <sandra@codesourcery.com>
14753
14754 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
14755
fa4727a6
DJ
147562008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
14757
14758 * gdb.base/watchpoint.c (global_ptr, func4): New.
14759 (main): Call func4.
14760 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
14761 (test_inaccessible_watchpoint): New.
14762
2f34202f
MR
147632008-02-29 Maciej W. Rozycki <macro@mips.com>
14764
14765 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
14766 select the largest.
14767
0d6ba1b1
DJ
147682008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
14769
14770 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
14771 frames-invalid annotations.
14772
e691325a
PM
147732008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
14774
a9c64011 14775 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 14776
f85b5ecc
DE
147772008-02-27 Doug Evans <dje@google.com>
14778
14779 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
14780 for bug 1738.
14781 (breakpoint_to_handler_entry): Ditto.
14782
b40e7bf3
JB
147832008-02-27 Joel Brobecker <brobecker@adacore.com>
14784
14785 * gdb.base/ending-run.exp: Use the first line of code inside
14786 function body to test breakpoints.
14787 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
14788 location where the breakpoint is inserted when using the line
14789 where a function is declared. Fix typo in the description of
14790 one of the tests.
14791 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
14792
2faca73a
PM
147932008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14794
14795 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 14796 tests.
2faca73a 14797
6f439c36
PM
147982008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14799
14800 * gdb.base/args.exp: avoid same output for tests
14801 with single quotes.
14802
54e52265
VP
148032008-02-26 Vladimir Prus <vladimir@codesourcery.com>
14804
a9c64011
AS
14805 * gdb.base/annota1.exp: Adjust for 'info break'
14806 format changes.
14807 * gdb.base/annota3.exp: Likewise.
14808 * gdb.base/break.exp: Likewise.
14809 * gdb.base/condbreak.exp: Likewise.
14810 * gdb.base/pending.exp: Likewise.
14811 * gdb.base/sepdebug.exp: Likewise.
14812 * gdb.base/unload.exp: Likewise.
14813 * gdb.cp/ovldbreak.exp: Likewise.
14814 * gdb.mi/mi-pending.exp: Likewise.
54e52265 14815
897b09ca
DE
148162008-02-07 Doug Evans <dje@google.com>
14817
14818 * gdb.cp/mb-inline.exp: New.
14819 * gdb.cp/mb-inline.h: New.
14820 * gdb.cp/mb-inline1.cc: New.
14821 * gdb.cp/mb-inline2.cc: New.
14822
b1c32d35
PM
148232008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
14824
14825 * gdb.pascal/floats.pas: New test program.
14826 * gdb.pascal/floats.exp: New testcase.
14827
1a4ca44a
TJB
148282008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14829
14830 * gdb.base/callfuncs.c (t_float_many_args): New function.
14831 (t_double_many_args): New function.
14832 * gdb.base/callfuncs.exp: Add tests for exceeding float
14833 and double parameters passed through the stack.
14834
439048e8
JB
148352008-02-05 Joel Brobecker <brobecker@adacore.com>
14836
14837 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
14838 gdb.ada/complete/foo.adb: New files.
14839 * gdb.ada/complete.exp: New testcase.
14840
81fe8080
DE
148412008-02-03 Doug Evans <dje@google.com>
14842
301f0ecf
DE
14843 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
14844
81fe8080
DE
14845 * gdb.cp/gdb2384.exp: New file.
14846 * gdb.cp/gdb2384.cc: New file.
14847 * gdb.cp/gdb2384-base.h: New file.
14848 * gdb.cp/gdb2384-base.cc: New file.
14849
4b071aec
DE
148502008-02-02 Doug Evans <dje@google.com>
14851
14852 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
14853
61137ba6
JB
148542007-02-01 Joel Brobecker <brobecker@adacore.com>
14855
14856 * gdb.ada/sym_print_name: New test program.
14857 * gdb.ada/sym_print_name.exp: New testcase.
14858
148592007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
14860
14861 * gdb.ada/nested/hello.adb: New file.
14862 * gdb.ada/nested.exp: New testcase.
14863 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
14864
98deb0da
VP
148652008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14866
14867 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
14868 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
14869 don't cause future evaluations of function to report
14870 creation of internal breakpoints.
98deb0da 14871
723a2275
VP
148722008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14873
14874 * gdb.mi/mi-break.exp (test_error): New.
14875 Call it.
14876
fb546a2f
LM
148772008-01-31 Luis Machado <luisgpm@br.ibm.com>
14878
14879 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
14880 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
14881
2d8fd90a
PM
148822008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14883
14884 * gdb.pascal/integers.pas: New test program.
14885 * gdb.pascal/integers.exp: New testcase.
14886
a7fa0ded
PM
148872008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14888
14889 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
14890
5e1a1926
TJB
148912008-01-30 Luis Machado <luisgpm@br.ibm.com>
14892
14893 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
14894 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
14895
8d04f9f0
JB
148962008-01-30 Paul Hilfinger <hilfinger@adacore.com>
14897
14898 * gdb.ada/formatted_ref: New test program.
14899 * gdb.ada/formatted_ref.exp: New testcase.
14900
14901 * gdb.cp/formatted-ref.cc: New file.
14902 * gdb.cp/formatted-ref.exp: New testcase.
14903
ce75a98f
JB
149042008-01-30 Joel Brobecker <brobecker@adacore.com>
14905
14906 * gdb.base/ptype.exp: Add testing of "ptype $pc".
14907
e835f6bf
NR
149082008-01-30 Nick Roberts <nickrob@snap.net.nz>
14909
14910 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
14911 (test_file_list_exec_source_file): Update to new macro-info field.
14912
d118ef87
PH
149132008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
14914
14915 * gdb.ada/exprs: New test program.
14916 * gdb.ada/exprs.exp: New testcase.
14917
7d35ab09
TJB
149182008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14919
14920 * dfp-test.c (DELTA, DELTA_B): New definitions.
14921 (double_val1, double_val2, double_val3, double_val4, double_val5,
14922 double_val6, double_val7, double_val8, double_val9, double_val10,
14923 double_val11, double_val12, double_val13, double_val14, dec32_val1,
14924 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
14925 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
14926 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
14927 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
14928 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
14929 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
14930 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
14931 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
14932 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
14933 dec128_val16): New global variables.
14934 (decimal_dec128_align): New function.
14935 (decimal_mixed): Likewise.
14936 (decimal_many_args_dec32): Likewise.
14937 (decimal_many_args_dec64): Likewise.
14938 (decimal_many_args_dec128): Likewise.
14939 (decimal_many_args_mixed): Likewise.
14940 * dfp-test.exp: Add tests calling new inferior functions.
14941
2d717e4f
DJ
149422008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14943
14944 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
14945 gdb.server/ext-run.exp: New files.
14946 * lib/gdbserver-support.exp (gdbserver_download): New.
14947 (gdbserver_start): New. Update gdbserver expected
14948 output.
14949 (gdbserver_spawn): Use them.
14950 (gdbserver_start_extended): New.
14951
e85a822c
DJ
149522008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14953
14954 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
14955 Run on GNU/Linux.
14956 (do_exec_tests): Check for systems which do not support catchpoints.
14957 Do not match START.
14958 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
14959 Run on GNU/Linux. Enable verbose output.
14960 (check_fork_catchpoints): New.
14961 (explicit_fork_child_follow, catch_fork_child_follow)
14962 (tcatch_fork_parent_follow): Update expected messages.
14963 (do_fork_tests): Use check_fork_catchpoints.
14964 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
14965 Run on GNU/Linux. Enable verbose output.
14966 (check_vfork_catchpoints): New.
14967 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
14968 expected messages.
14969 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
14970
401ea829
JB
149712008-01-29 Jim Blandy <jimb@red-bean.com>
14972
14973 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
14974 host' errors.
14975 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
14976
aceaf3ad
JB
149772008-01-29 Jim Blandy <jimb@red-bean.com>
14978
14979 * gdb.threads/sigthread.c: Use barriers to ensure that
14980 child_thread and child_thread_two are always initialized before we
14981 start to use them.
14982
a5606eee
VP
149832008-01-29 Vladimir Prus <vladimir@codesourcery.com>
14984
14985 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
14986 * gdb.base/watchpoint-solib.c: New.
14987 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 14988
c55a82bb
PM
149892008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
14990
14991 * gdb.base/gdb1056.exp: Add unsigned integer test.
14992
0993fe05
DE
149932008-01-28 Doug Evans <dje@google.com>
14994
14995 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
14996
4fe42e7f
JB
149972008-01-27 Jim Blandy <jimb@codesourcery.com>
14998
c7a69933
JB
14999 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
15000
4fe42e7f
JB
15001 * gdb.base/expand-psymtabs.exp: Doc fix.
15002
5def8285
MK
150032008-01-26 Mark Kettenis <kettenis@gnu.org>
15004
15005 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
15006
5313c911
NR
150072008-01-24 Nick Roberts <nickrob@snap.net.nz>
15008
a9c64011 15009 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
15010 -var-set-format.
15011
93815fbf
VP
150122008-01-23 Chris Demetriou <cgd@google.com>
15013
15014 * gdb.threads/thread_events.c: New testcase source file.
15015 * gdb.threads/thread_events.exp: New testcase expect file.
15016
467a88ee
NR
150172008-01-23 Nick Roberts <nickrob@snap.net.nz>
15018
15019 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
15020
15021 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
15022 -var-set-format.
15023
d8f82aba
DJ
150242008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
15025 Vladimir Prus <vladimir@codesourcery.com>
15026
15027 * gdb.base/float.exp: Allow missing floating point for m68k and
15028 PowerPC.
15029
60c46647
VP
150302008-01-22 Vladimir Prus <vladimir@codesourcery.com>
15031
15032 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
15033 ignore count.
15034 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
15035 * gdb.mi/mi-cli.exp: Adjust.
15036 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 15037
c7dd36a1
PA
150382008-01-17 Pedro Alves <pedro@codesourcery.com>
15039
15040 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
15041 and 'dummy_ptr' integer pointer. Initialize struct_declarations
15042 with dummy_ptr's address.
15043 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
15044 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
15045 all targets.
15046 * gdb.mi/mi2-var-child.exp: Likewise.
15047
39d5313e
JB
150482008-01-09 Joel Brobecker <brobecker@adacore.com>
15049
15050 * gdb.ada/null_array: New test program.
15051 * gdb.ada/null_array.exp: New testcase.
15052
0aea4bf3
LM
150532008-01-09 Luis Machado <luisgpm@br.ibm.com>
15054
15055 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
15056 with required float modifiers.
15057
0b354900
JB
150582008-01-08 Joel Brobecker <brobecker@adacore.com>
15059
15060 * gdb.ada/funcall_param: New test program.
15061 * gdb.ada/funcall_param.exp: New testcase.
15062
cdb7f5d4
JB
150632008-01-08 Joel Brobecker <brobecker@adacore.com>
15064
15065 * gdb.ada/arrayparam: New test program.
15066 * gdb.ada/arrayparam.exp: New testcase.
15067
88e2547f
JB
150682008-01-08 Joel Brobecker <brobecker@adacore.com>
15069
15070 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
15071 landed. Should also fix random failures in the test following it.
15072
f6867ce0
TJB
150732008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
15074
15075 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
15076 for expressions with decimal float values.
15077 (test_dfp_conversions): New function to test casts to and from
15078 decimal float types.
15079 Call test_dfp_conversions.
15080 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
15081 elements.
15082 (main): Initialize ds.float4 and ds.double8 elements.
15083 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
15084 string to new error message.
15085 (d64_set_tests): Likewise.
15086 (d128_set_tests): Likewise.
15087 Add tests for expressions with decimal float variables. Add tests for
15088 conversions to and from decimal float types.
15089
f9c11282
JB
150902008-01-05 Joel Brobecker <brobecker@adacore.com>
15091
15092 * gdb.ada/packed_tagged/comp_bug.adb: New file.
15093 * gdb.ada/packed_tagged.exp: New testcase.
15094
0ecbca72
JB
150952008-01-04 Joel Brobecker <brobecker@adacore.com>
15096
15097 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
15098 gdb.ada/homonym/homonym_main.adb: New files.
15099 * gdb.ada/homonym.exp: New testcase.
15100
c18d3d89
JB
151012008-01-04 Joel Brobecker <brobecker@adacore.com>
15102
15103 * gdb.ada/packed_array.exp: Add testing of references to
15104 a packed array.
15105
ecc7085b
JB
151062008-01-04 Joel Brobecker <brobecker@adacore.com>
15107
15108 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
15109 New files.
15110 * gdb.ada/type_coercion.exp: New testcase.
15111
c474c922
JB
151122008-01-04 Joel Brobecker <brobecker@adacore.com>
15113
15114 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
15115 gdb.ada/tagged/foo.adb: New file.
15116 * gdb.ada/tagged.exp: New testcase.
15117
9005b927
JB
151182008-01-04 Joel Brobecker <brobecker@adacore.com>
15119
15120 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
15121 gdb.ada/ptype_field/foo.adb: New files.
15122 * gdb.ada/ptype_field.exp: New testcase.
15123
1a6aaad8
JB
151242008-01-03 Joel Brobecker <brobecker@adacore.com>
15125
15126 * gdb.ada/print_pc.exp: New testcase.
15127
0ef22f53
JB
151282008-01-03 Joel Brobecker <brobecker@adacore.com>
15129
15130 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
15131 gdb.ada/taft_type/p.adb: New files.
15132 * gdb.ada/taft_type.exp: New testcase.
15133
1689ecf8
JB
151342008-01-03 Joel Brobecker <brobecker@adacore.com>
15135
15136 * gdb.ada/array_bounds/bar.adb: New file.
15137 * gdb.ada/array_bounds.exp: New testcase.
15138
a4d0b9c3
JB
151392008-01-03 Joel Brobecker <brobecker@adacore.com>
15140
15141 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
15142 gdb.ada/arrayptr/foo.adb: New files.
15143 * gdb.ada/arrayptr.exp: New testcase.
15144
a31ace00
JB
151452008-01-03 Joel Brobecker <brobecker@adacore.com>
15146
15147 * gdb.base/set-lang-auto.exp: New testcase.
15148
a97fced3
JB
151492008-01-03 Joel Brobecker <brobecker@adacore.com>
15150
15151 * gdb.ada/fun_addr/foo.adb: New file.
15152 * gdb.ada/fun_addr.exp: New testcase.
15153
ef29ce1a
JK
151542008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15155
15156 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
15157 New files
15158
0fafefe3
JB
151592008-01-02 Joel Brobecker <brobecker@adacore.com>
15160
15161 * array_subscript_addr/p.adb: New file.
a9c64011 15162 * array_subscript_addr.exp: New testcase.
0fafefe3 15163
c4359f8d
JB
151642008-01-02 Joel Brobecker <brobecker@adacore.com>
15165
a9c64011 15166 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
15167 New files.
15168 * gdb.ada/str_cmp_ref.exp: New testcase.
15169
1aa1b15b
JB
151702008-01-01 Joel Brobecker <brobecker@adacore.com>
15171
15172 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
15173 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 15174 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 15175
81c9b2cf
JB
151762008-01-01 Joel Brobecker <brobecker@adacore.com>
15177
15178 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
15179 gdb.ada/ref_param/pck.ads: New files.
15180 * gdb.ada/ref_param.exp: New testcase.
15181
319e4674
JB
151822008-01-01 Joel Brobecker <brobecker@adacore.com>
15183
15184 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
15185 gdb.ada/interface/foo.adb: New files.
15186 * gdb.ada/interface.exp: New testcase.
15187
ef682c56
JB
151882007-12-31 Jim Blandy <jimb@codesourcery.com>
15189
15190 * gdb.base/multi-forks.exp: Consume all output from child
15191 processes before proceeding to next test.
15192
f6f3eb6c
JB
151932007-12-29 Jim Blandy <jimb@codesourcery.com>
15194
15195 * configure: Regenerated.
15196
f652e42f
JB
151972007-12-27 Joel Brobecker <brobecker@adacore.com>
15198
15199 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
15200 gdb.ada/fixed_cmp/fixed.adb: New files.
15201 * gdb.ada/fixed_cmp.exp: New testcase.
15202
6943e596
JB
152032007-12-27 Joel Brobecker <brobecker@adacore.com>
15204
15205 * gdb.ada/boolean_expr.exp: New testcase.
15206
aad9a193
JB
152072007-12-26 Jim Blandy <jimb@codesourcery.com>
15208
15209 * gdb.base/multi-forks.exp: Doc fix.
15210
fb5f3683
JB
152112007-12-26 Joel Brobecker <brobecker@adacore.com>
15212
15213 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15214 * gdb.ada/char_param.exp: Do not compile our test program with
15215 -gnata, this is unnecessary.
15216 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
15217
384e4a9c
JB
152182007-12-24 Joel Brobecker <brobecker@adacore.com>
15219
15220 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
15221 gdb.ada/print_chars/foo.adb: New files.
15222 * gdb.ada/print_chars.exp: New testcase.
15223
01e044f7
JB
152242007-12-24 Joel Brobecker <brobecker@adacore.com>
15225
15226 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
15227 gdb.ada/char_param/foo.adb: New files.
15228 * gdb.ada/char_param.exp: New testcase.
15229
0ce17860
JB
152302007-12-22 Jim Blandy <jimb@codesourcery.com>
15231
15232 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
15233 hard-coding source line numbers into the test.
15234 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
15235 gdb_get_line_number to find.
15236
919809b9
JB
152372007-12-22 Joel Brobecker <brobecker@adacore.com>
15238
15239 * gdb.base/ptype.c (highest): New struct type.
15240 (the_highest): New variable of that type.
15241 (main): Add dummy assignment to a field of variable the_highest.
15242 * gdb.base/ptype.exp: Test type printing of our new variable.
15243
abc8a88d
PM
152442007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
15245
15246 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 15247 and record first explicitly generated thread number.
abc8a88d
PM
15248 Use that thread number for thread specific watchpoint test.
15249 Add iteration number to repetitive tests.
15250
5158f3e3
CES
152512007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15252 Jim Blandy <jimb@codesourcery.com>
15253
15254 * gdb.base/expand-psymtabs.c: New testcase
15255 source file.
15256 * gdb.base/expand-psymtabs.exp: New testcase
15257 expect file.
15258
37e4754d
LM
152592007-12-17 Luis Machado <luisgpm@br.ibm.com>
15260
15261 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
15262 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
15263
551e5d04
JB
152642007-12-17 Joel Brobecker <brobecker@adacore.com>
15265
15266 * gdb.ada/frame_args/foo.adb: New file.
15267 * gdb.ada/frame_args/pck.ads: New file.
15268 * gdb.ada/frame_args/pck.adb: New file.
15269 * gdb.ada/frame_args.exp: New testcase.
15270
a05ee097
JB
152712007-12-17 Joel Brobecker <brobecker@adacore.com>
15272
15273 * gdb.base/frame-args.c: New file.
15274 * gdb.base/frame-args.exp: New testcase.
15275
c162e8c9 152762007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 15277 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
15278
15279 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
15280
afe8ab22 152812007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15282
afe8ab22
VP
15283 * gdb.mi/mi-pending.exp: New.
15284 * gdb.mi/mi-pending.c: New.
15285 * gdb.mi/mi-pendshr.c: New.
15286
dfdfb3ca
JB
152872007-12-06 Jim Blandy <jimb@codesourcery.com>
15288
15289 * gdb.base/default.exp: Update expected output for 'info catch'.
15290
b7fca990
JK
152912007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15292
15293 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
15294 must be set to binary.
15295
6a1afc1e
PA
152962007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
15297
15298 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
15299
a6b151f1
DJ
153002007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
15301
15302 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
15303 gdb.mi/mi-file-transfer.exp: New.
15304
43039443
JK
153052007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15306
15307 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
15308
0ef2251b
MR
153092007-11-22 Maciej W. Rozycki <macro@mips.com>
15310
15311 * gdb.trace/backtrace.exp: Fix a typo.
15312 * gdb.trace/circ.exp: Likewise.
15313 * gdb.trace/collection.exp: Likewise.
15314 * gdb.trace/limits.exp: Likewise.
15315 * gdb.trace/report.exp: Likewise.
15316 * gdb.trace/tfind.exp: Likewise.
15317 * gdb.trace/while-dyn.exp: Likewise.
15318
5443631e
NR
153192007-11-21 Nick Roberts <nickrob@snap.net.nz>
15320
15321 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
15322 objects of pointers that can't be dereferenced are now
15323 "noneditable".
15324
a4ce5b0d
UW
153252007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15326
15327 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
15328 (target_cpu): Remove.
15329
d6e956e5
VP
153302007-10-15 Vladimir Prus <vladimir@codesourcery.com>
15331
15332 * gdb.base/ending-run.exp: Expect the list of cleared
15333 breakpoint to come in natural order, not the reversed one.
a9c64011 15334
214270ab
VP
153352007-11-07 Vladimir Prus <vladimir@codesourcery.com>
15336
15337 * gdb.mi/mi-var-child.c (do_child_deletion): New.
15338 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 15339
1a619819
LM
153402007-11-05 Luis Machado <luisgpm@br.ibm.com>
15341
15342 * gdb.base/printcmds.exp: New function
15343 test_printf_with_dfp.
15344
5b01a6fa
DE
153452007-11-02 Doug Evans <dje@google.com>
15346
15347 * gdb.disasm/t01_mov.s: Remove carriage returns.
15348 * gdb.disasm/t02_mova.s: Ditto.
15349 * gdb.disasm/t03_add.s: Ditto.
15350 * gdb.disasm/t04_sub.s: Ditto.
15351 * gdb.disasm/t05_cmp.s: Ditto.
15352 * gdb.disasm/t06_ari2.s: Ditto.
15353 * gdb.disasm/t07_ari3.s: Ditto.
15354 * gdb.disasm/t08_or.s: Ditto.
15355 * gdb.disasm/t09_xor.s: Ditto.
15356 * gdb.disasm/t10_and.s: Ditto.
15357 * gdb.disasm/t11_logs.s: Ditto.
15358 * gdb.disasm/t12_bit.s: Ditto.
15359 * gdb.disasm/t13_otr.s: Ditto.
15360
ec33ab7f
JK
153612007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15362
15363 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
15364
ae0d01ff
UW
153652007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15366
15367 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
15368 provide DFP support.
15369
55eddb0f
DJ
153702007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
15371
15372 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
15373 Test "set powerpc vector-abi". Skip auto-detection tests for old
15374 toolchains.
15375
7020f05c
PA
153762007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15377
15378 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
15379 with [string compare].
15380
84bc3db9
PA
153812007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15382
15383 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
15384 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
15385
5876dc88
LM
153862007-10-25 Luis Machado <luisgpm@br.ibm.com>
15387
15388 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
15389 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
15390 * gdb.opt/Makefile.in: New makefile.
15391 * Makefile.in: Create new directory "gdb.opt".
15392 * configure.ac: Add "gdb.opt" directory.
15393 * configure: Regenerated.
a9c64011 15394
c3ea9a14
DE
153952007-10-25 Doug Evans <dje@google.com>
15396
15397 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
15398 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
15399
a9c64011 154002007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
15401 Thiago Jung Bauermann <bauerman@br.ibm.com>
15402
15403 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
15404 Floating Point expressions.
15405 * gdb.base/dfp-test.exp: new file adding tests for Decimal
15406 Floating Point variables.
15407 * gdb.base/dfp-test.c: new file containing program with Decimal
15408 Floating variables, used by gdb.base/dfp-test.exp.
15409
62a24a2b
DJ
154102007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
15411
15412 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
15413
e7b1eae6
UW
154142007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15415
15416 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
15417 compiling test case with GCC.
15418 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
15419
c641edcc
UW
154202007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15421
15422 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15423 format changes.
15424
5e5ebfe6
MS
154252007-10-18 Michael Snyder <msnyder@specifix.com>
15426
15427 * gdb.base/dbx.exp: Add missing "-re " operator.
15428
e831e7b6
GM
154292007-10-16 Gaius Mulley <gaius@glam.ac.uk>
15430
15431 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
15432 * configure.ac: Removed trailing spaces after backslash.
15433 * gdb.modula2: New directory.
15434 * gdb.modula2/Makefile.in: New file.
15435 * gdb.modula2/unbounded-array.exp: New file.
15436 * gdb.modula2/unbounded1.c: New file.
15437
7cc46491
DJ
154382007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
15439
15440 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
15441
154422007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
15443
15444 * gdb.base/sigstep.c (main): Add checks for
15445 return values for setitimer call.
15446 Call setitimer again with itimer = ITIMER_REAL
15447 if first call to setitimer fails.
15448
e91528f0
KH
154492007-10-11 Kazu Hirata <kazu@codesourcery.com>
15450
15451 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
15452 of $timeout.
15453
2ec9a4f8
DJ
154542007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
15455
15456 * gdb.server/server-run.exp: Test for dynamic linker symbols.
15457
154582007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
15459
15460 * lib/gdb.exp (gdb_run_cmd): Move comment outside
15461 of gdb_expect call, to avoid interruption.
15462
64b2fa04
PA
154632007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
15464
15465 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
15466 (v_unsigned_long_long, v_long_long_array)
15467 (v_signed_long_long_array, v_unsigned_long_long_array)
15468 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
15469 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
15470 [!NO_LONG_LONG]: New.
15471 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
15472 v_long_long_member.
15473
15474 (v_long_long_func, v_signed_long_long_func)
15475 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
15476 (main) [!NO_LONG_LONG]: Initialize long long variants.
15477
15478 * gdb.base/whatis.exp: If board file requests no_long_long, build
15479 test with NO_LONG_LONG defined. Test long long, signed long long,
15480 and unsigned long long variants but only if board file doesn't
15481 disable it.
15482
a912286e 154832007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 15484 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
15485
15486 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
15487 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
15488 * configure: Regenerated.
15489 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
15490 gdb.pascal/types.exp, lib/pascal.exp: New files.
15491
471ba8c9
DJ
154922007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
15493
15494 * gdb.cp/classes.exp (do_tests): Always step to the line after the
15495 call.
15496 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
15497 to return to the call.
15498 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
15499 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
15500 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
15501 * gdb.mi/mi-until.exp (test_until): Likewise.
15502 * gdb.mi/mi2-until.exp (test_until): Likewise.
15503
fef8a650
DJ
155042007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
15505
15506 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
15507 two-char array.
15508 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
15509
d983da9c
DJ
155102007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
15511
15512 * gdb.threads/watchthreads.c (thread_function): Sleep between
15513 iterations.
15514 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
15515 at once for S/390. Generate matching fails and passes.
15516
17f62551
VP
155172007-09-27 Vladimir Prus <vladimir@codesourcery.com>
15518
15519 * gdb.mi/var-cmd.c (do_children_tests): Initialize
15520 the 'struct_declarations' variable to zeros.
a9c64011 15521
ed0616c6
VP
155222007-09-24 Vladimir Prus <vladimir@codesourcery.com>
15523
15524 * gdb.cp/mb-ctor.cc: New.
15525 * gdb.cp/mb-ctor.exp: New.
15526 * gdb.cp/mb-templates.cc: New.
15527 * gdb.cp/mb-templates.exp: New.
15528
41f1b697
DJ
155292007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
15530
15531 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
15532
3f213f78
PA
155332007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
15534
15535 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
15536 targets.
15537 * configure: Regenerate.
15538
0d381245 155392007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15540
0d381245
VP
15541 * gdb.base/annota1.exp: Adjust for 'info break'
15542 format changes.
15543 * gdb.base/annota3.exp: Likewise.
15544 * gdb.base/break.exp: Likewise.
15545 * gdb.base/condbreak.exp: Likewise.
15546 * gdb.base/pending.exp: Likewise.
15547 * gdb.base/sepdebug.exp: Likewise.
15548 * gdb.base/unload.exp: Likewise.
15549 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 15550
fe3f5fa8
VP
155512007-09-22 Vladimir Prus <vladimir@codesourcery.com>
15552
15553 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
15554 messages.
15555 * gdb.base/chng-syms.exp: Likewise.
15556 * gdb.base/unload.exp: Likewise.
a9c64011 15557
a75cf6c0
DJ
155582007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
15559
15560 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
15561
18ecae38
DJ
155622007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
15563
15564 * schedlock.c (NUM): Change to 1.
15565 (main): Use args[0] for the main thread.
15566 * schedlock.exp: Only expect two threads. Only issue one pass or fail
15567 regardless of the number of threads.
15568
5509918f
MR
155692007-09-14 Maciej W. Rozycki <macro@mips.com>
15570
4a543daf
MR
15571 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
15572 type down.
15573 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15574 test.
15575 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
15576 watchpoint type down.
15577 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15578 test.
15579
155802007-09-14 Maciej W. Rozycki <macro@mips.com>
15581
5509918f
MR
15582 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
15583 Move all the tests here and run them twice, once using software
15584 watchpoints and once using hardware watchpoints.
15585 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
15586
40b53987
DJ
155872007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
15588
15589 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
15590 test.
15591
695e2681
MK
155922007-09-10 Mark Kettenis <kettenis@gnu.org>
15593
8b3fc8d8
MK
15594 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
15595 build-id.
15596
695e2681
MK
15597 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
15598 know about $ORIGIN. Calculate output dir from $dest instead of
15599 using ${objdir}/{$subdir}.
15600
58d69f29
MK
156012007-09-09 Mark Kettenis <kettenis@gnu.org>
15602
15603 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
15604 gcore, before continuing with the test.
15605
3e347599
DJ
156062007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
15607
15608 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
15609 * gdb.mi/mi-watch.exp: Likewise.
15610
ea37ba09
DJ
156112007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
15612 Jim Blandy <jimb@codesourcery.com>
15613
15614 * gdb.arch/i386-sse.exp: Do not expect character constants.
15615 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
15616 * gdb.base/display.exp: Allow print/s.
15617 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
15618 and unsigned char array changes.
15619
2025a643
DJ
156202007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
15621
15622 * gdb.base/display.exp: Add tests for printf %p.
15623
26669a27
PA
156242007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
15625
15626 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
15627 the dll name to unicode.
15628
c8f021f8
JK
156292007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15630
15631 * gdb.base/default.exp (show version): Update the version text.
15632 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
15633
4cf31eea
JK
156342007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15635
15636 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
15637 New files.
15638
4935890f
JK
156392007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15640
15641 * lib/gdb.exp (build_id_debug_filename_get): New function.
15642 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
15643 Remove the generate DEBUG file for the future testcase runs.
15644 New testcase for the NT_GNU_BUILD_ID retrieval.
15645 Move the final testing step to ...
15646 (test_different_dir): ... a new function.
15647 New parameter XFAIL to XFAIL all the tests performed.
15648 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
15649 New parameter TYPE to PF_PREFIX all the tests performed.
15650
02142340
VP
156512007-08-31 Vladimir Prus <vladimir@codesourcery.com>
15652
15653 * gdb.mi/mi-var-cp.cc (path_expression): New
15654 function.
15655 * gdb.mi/mi-var-cp.exp: Run path exression tests.
15656
36acd84e
UW
156572007-08-27 Markus Deuling <deuling@de.ibm.com>
15658
15659 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
15660 to fit into SPU Local Store memory.
15661
a896d121
JB
156622007-08-23 Joel Brobecker <brobecker@adacore.com>
15663
15664 * gdb.base/default.exp: Adjust the expected output of "info
15665 warranty" after the switch to GPLv3.
15666
7b433602
JB
156672007-08-23 Joel Brobecker <brobecker@adacore.com>
15668
15669 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
15670 to 30000 (from 20000).
15671
e22f8b7c
JB
156722007-08-23 Joel Brobecker <brobecker@adacore.com>
15673
15674 Switch the license of all .exp files to GPLv3.
15675 Switch the license of all .f and .f90 files to GPLv3.
15676 Switch the license of all .s and .S files to GPLv3.
15677
5a0e3bd0
JB
156782007-08-23 Joel Brobecker <brobecker@adacore.com>
15679
15680 * configure.ac: Switch license to GPLv3.
15681
cc00619d
JB
156822007-08-23 Joel Brobecker <brobecker@adacore.com>
15683
15684 Switch the licensing to GPLv3 for all .ads and .adb files.
15685
8d26208a
DJ
156862007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
15687
15688 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
15689 and t_int_double.
15690 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
15691
4fcb9948
JB
156922007-08-17 Joel Brobecker <brobecker@adacore.com>
15693
15694 * gdb.base/step-line.c: Switch license to GPL version 3, and
15695 update copyright year.
15696 * gdb.base/step-line.inp: Likewise.
15697
b9c34f67
JB
156982007-08-17 Joel Brobecker <brobecker@adacore.com>
15699
15700 * gdb.base/gdb1555.exp: Make expected output immune to formatting
15701 changes inside gdb1555.c.
15702 * gdb.base/pending.exp: Likewise.
15703
2cc17678
DJ
157042007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
15705
15706 * config/default.exp: New file.
15707
e48883f7
DJ
157082007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15709
15710 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
15711 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
15712
1ab80e5b
MR
157132007-07-30 Maciej W. Rozycki <macro@mips.com>
15714
15715 * gdb.base/dump.exp: Force the correct endianness for binary
15716 formats not carrying this information.
15717
aba471f5
DJ
157182007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15719
15720 * gdb.threads/staticthreads.exp: Match .*sem_post.
15721
d4e07204
DJ
157222007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15723
15724 * gdb.base/readline.exp (operate_and_get_next): Match the final
15725 prompt.
15726
2b97317d
KB
157272007-07-23 Kevin Buettner <kevinb@redhat.com>
15728
15729 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
15730 to restarting SID.
15731
44efa07a
KB
157322007-07-18 Kevin Buettner <kevinb@redhat.com>
15733
15734 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
15735 prior to `gdb_start'.
15736
7b5ebade
KB
157372007-07-18 Kevin Buettner <kevinb@redhat.com>
15738
15739 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
15740 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
15741 Remove call to gdb_unload.
15742
255e7678
DJ
157432007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
15744 Daniel Jacobowitz <dan@codesourcery.com>
15745
15746 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
15747 for __WIN32__.
15748 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
15749 * gdb.base/unload.exp: Use shared library test routines.
15750
3a40aaa0
UW
157512007-07-03 Markus Deuling <deuling@de.ibm.com>
15752
15753 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
15754 * gdb.base/solib-symbol-lib.c: Likewise.
15755 * gdb.base/solib-symbol-main.c: Likewise.
15756
b0f4b84b
DJ
157572007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
15758
15759 * config/gdbserver.exp (gdb_reconnect): New.
15760 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
15761 gdb.base/solib-disc.exp: New files.
15762 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
15763 remote debugging".
15764 (gdb_compile): Add shlib_load flag.
15765 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
15766 port.
15767 (gdbserver_reconnect): New.
15768
1b05479a
DJ
157692007-07-01 Nick Roberts <nickrob@snap.net.nz>
15770 Daniel Jacobowitz <dan@codesourcery.com>
15771
15772 * gdb.base/annota3.exp: Test for if construct.
15773
86f78eb2
DJ
157742007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
15775
15776 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
15777
6a2eb474 157782007-06-21 Chris Dearman <chris@mips.com>
a9c64011 15779 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
15780
15781 * gdb.base/display.exp: Allow a newline after display/i.
15782 * gdb.base/pc-fp.exp: Likewise.
15783 * gdb.base/sigbpt.exp: Likewise.
15784
f8b73d13
DJ
157852007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15786
15787 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
15788 required features to be included.
15789
4339e69e
DJ
157902007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
15791
15792 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
15793 in info threads output.
15794
23d964e7
UW
157952007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15796 Markus Deuling <deuling@de.ibm.com>
15797
15798 * gdb.arch/spu-info.exp: New testcase.
15799 * gdb.arch/spu-info.c: New file.
15800
fd20f75b
DJ
158012007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
15802
15803 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
15804 tpcs_offset. Restore lr after the call.
15805 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
15806
2226f861
DJ
158072007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
15808
15809 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
15810 (gdbserver_run): Kill any running gdbserver.
15811 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
15812
d12371a9
MR
158132007-05-17 Maciej W. Rozycki <macro@mips.com>
15814
15815 * gdb.base/sigbpt.exp: Preset segv_addr.
15816
93f02886
DJ
158172007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
15818
15819 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
15820 (gdb_compile_shlib): Likewise.
15821 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
15822 (default_gdb_init): Clear cleanfiles.
15823 (gdb_finish): Delete recorded cleanfiles.
15824 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
15825
15826 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
15827 Do not use isnative.
15828 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
15829 gdb.base/so-impl-ld.exp: Likewise.
15830 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
15831 * gdb.base/unload.exp: Likewise. Do not pass empty option to
15832 gdb_compile.
15833
b04e06d7
VP
158342007-05-15 Vladimir Prus <vladimir@codesourcery.com>
15835
15836 * config/unknown.exp: Remove.
15837
069ed931
UW
158382007-05-15 Markus Deuling <deuling@de.ibm.com>
15839
15840 * gdb.base/info-proc.exp: Check is_remote.
15841
09db0d03
UW
158422007-05-14 Markus Deuling <deuling@de.ibm.com>
15843
15844 * gdb.base/gcore.exp: Initialize variable core_supported.
15845
af2cbe8c
DJ
158462007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15847
15848 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
15849
027c0295
DJ
158502007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15851
15852 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
15853 * gdb.threads/print-threads.exp (test_all_threads): Allow
15854 negative and hexadecimal thread IDs.
15855
dc5000e7
DJ
158562007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15857
15858 * gdb.java/jprint.java (public): Avoid invalid call to static
15859 method.
15860
2e74ed18
DP
158612007-05-14 Denis Pilat <denis.pilat@st.com>
15862
15863 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
15864 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
15865 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
15866 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
15867 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
15868
83547f02
UW
158692007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15870
15871 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 15872 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
15873 this mode.
15874 * gdb.base/ovlymgr.c: Provide stubs for spu target.
15875 * gdb.base/spu.ld: New file.
15876
b18be20d
DJ
158772007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
15878
15879 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
15880
be444858
DJ
158812007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
15882
15883 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
15884
b1d53152
DJ
158852007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15886
15887 * gdb.java/jmain.exp: Handle demangled names with and without method
15888 signatures.
15889
d084b331
DJ
158902007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15891
15892 * gdb.mi/mi-syn-frame.c (main, foo, bar)
15893 (have_a_very_merry_interrupt): Remove calls to puts.
15894 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
15895 inferior output.
15896 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
15897 test names.
15898
db9d7fc5
DJ
158992007-04-29 Markus Deuling <deuling@de.ibm.com>
15900 Daniel Jacobowitz <dan@codesourcery.com>
15901
15902 * gdb.base/auxv.exp (core_works): Also check is_remote.
15903 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
15904
ef783a7d 159052007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15906
ef783a7d
VP
15907 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
15908 message, not the undefined 'module' variable.
15909 * gdb.base/siginfo.exp: Likewise.
15910 * gdb.base/sigstep.exp: Likewise.
15911 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
15912 serialport.
15913 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
15914
b7b73cae
CV
159152007-04-25 Corinna Vinschen <vinschen@redhat.com>
15916
15917 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
15918 target sim fails. Return 0 otherwise.
15919 (gdb_load): Return prematurely if gdb_target_sim fails.
15920
7d90fdfa
DP
159212007-04-16 Denis Pilat <denis.pilat@st.com>
15922
15923 * gdb.base/setshow.exp: Reset height after having set it to 100.
15924
5d3e9c85
DP
159252007-04-16 Denis Pilat <denis.pilat@st.com>
15926
15927 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
15928
18e75969
DP
159292007-04-16 Denis Pilat <denis.pilat@st.com>
15930
15931 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
15932
25d5ea92
VP
159332007-04-14 Vladimir Prus <vladimir@codesourcery.com>
15934
15935 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
15936 tests. Run the frozen varobjs test.
15937 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 15938 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 15939
0b49cb80
JK
159402007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15941
15942 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
15943 gdb.base/type-opaque.exp: New files.
15944
a73bafbc 159452007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
15946
15947 * gdb.mi/mi-var-child.c
a73bafbc
VP
15948 (do_children_tests): User char[2] instead of
15949 char so that automatic printing of pointers to char
15950 don't give unpredicable result.
15951 * gdb.mi/var-cmd.c (do_locals_test): Initialize
15952 local variables.
15953 * gdb.mi/mi-var-child.exp: Step to right line
15954 of do_children_tests.
15955 * gdb.mi/mi2-var-child.exp: Likewise.
15956 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 15957 do_locals_tests.
a73bafbc
VP
15958 (do_children_tests): User char[2] instead of
15959 char so that automatic printing of pointers to char
a9c64011 15960 don't give unpredicable result.
a73bafbc 15961 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 15962 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
15963 Pass test name to mi_wait_for_stop.
15964
7ce59000
DJ
159652007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15966
15967 * gdb.asm/asm-source.exp: Remove d10v case.
15968 * lib/gdb.exp (skip_cplus_tests): Likewise.
15969 * gdb.asm/d10v.inc: Deleted.
15970
20389057
DJ
159712007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15972
15973 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
15974
8807d78b
DJ
159752007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15976
15977 * config/netware.exp: Delete file.
15978
aa3edb8e
JB
159792007-03-29 Joel Brobecker <brobecker@adacore.com>
15980
15981 * gdb.dwarf2/dw2-noloc.S: New file.
15982 * gdb.dwarf2/dw2-noloc.exp: New file.
15983
297561ac
PA
159842007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
15985
15986 * gdb.cp/method2.cc: New test.
15987 * gdb.cp/method2.exp: New test.
15988 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
15989
1f81bd39
DJ
159902007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15991
15992 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
15993
9453113a
DJ
159942007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
15995
15996 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
15997
b741e217
DJ
159982007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15999
16000 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
16001 (gdb_load): Delete, replace with...
16002 (gdb_reload): ...this.
16003 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
16004 * gdb.server/server-mon.exp: Likewise.
16005 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
16006 (gdb_start_cmd): New.
16007 (gdb_file_cmd): Save the last loaded file.
16008 (gdb_reload): New.
16009 (gdb_gnu_strip_debug): Use transform.
16010 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
16011 support here. Use new $last_loaded_file. Check mtime.
16012 (gdb_target_cmd): Handle ObjC failure case.
16013 (infer_host_exec): Delete.
16014 (gdbserver_load): Rename to...
16015 (gdbserver_run): ...this. Simplify.
16016 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
16017 (mi_gdb_load): Move most contents to a new function...
16018 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
16019 (mi_run_cmd): Use mi_gdb_target_load.
16020 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
16021 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
16022 Use gdb_run_cmd.
16023 * gdb.base/charsign.exp: Remove incorrect comment.
16024 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
16025 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
16026 gdb.base/start.exp: Use gdb_start_cmd.
16027
446ab585 160282007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 16029 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
16030
16031 * gdb.base/sigbpt.exp: Fix the message when skipping test.
16032 * gdb.base/signull.exp: Similarly.
16033
bbb88ebf
UW
160342007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16035
16036 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
16037 messages available to test cases (like chng-sym.exp).
16038
cb8c4a99
AS
160392007-03-14 Andreas Schwab <schwab@suse.de>
16040
16041 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16042 format changes.
16043
4e463ff5
DJ
160442007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
16045
16046 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
16047 (optimized_1): New.
16048 (main): Call optimized_1.
16049 (gdb2029): Correct typos. Call gdb2029_marker.
16050 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
16051 for gdb2029.
16052
b6db2c47
MK
160532007-03-12 Mark Kettenis <kettenis@gnu.org>
16054
16055 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
16056 as tabs. Remove redundant test pattern.
16057
70ed3737
UW
160582007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16059
16060 * gdb.base/long_long.exp: Accept optional symbol name in <...>
16061 for /a format output.
16062
47b67b60
DJ
160632007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
16064
16065 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
16066 collect output incrementally.
16067
b8953b0e
UW
160682007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16069
16070 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
16071 for -var-create lpcharacter test.
16072 * gdb.mi/mi2-var-cmd.exp: Likewise.
16073
7acd5c40
UW
160742007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16075
16076 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
16077 pass on targets where address zero is readable.
16078
9c6759c1
UW
160792007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16080
16081 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
16082 just a single architecture.
16083
a2f1aeb4
UW
160842007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16085
16086 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
16087 (fetch_all_registers): New function, uses gdb_test_multiple and
16088 exp_continue to fetch inferior output line-by-line.
16089 Replace all uses of do_get_all_registers by fetch_all_registers.
16090
46579ac2
UW
160912007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16092
16093 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
16094 in target_info.
16095
fc133f24
MS
160962007-03-02 Michael Snyder <michael.snyder@palmsource.com>
16097
a9c64011 16098 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
16099 consistancy; add a default (timeout) case.
16100
7646a51d
MS
161012007-03-02 Michael Snyder <michael.snyder@palmsource.com>
16102
16103 * gdb.base/watchpoint.exp: Fix truncated comment.
16104
dcfff61f
MS
161052007-03-02 Michael Snyder <michael.snyder@palmsource.com>
16106
16107 * Makefile.in: Remove spurious single-quotes from sed command.
16108
664e3ee9
DJ
161092007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16110
16111 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
16112 func.
16113 * gdb.mi/mi2-var-cmd.exp: Likewise.
16114
d7cc6f2f
JB
161152007-02-27 Joel Brobecker <brobecker@adacore.com>
16116
a9c64011
AS
16117 * gdb.dwarf2/dw2-producer.S: New file.
16118 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
16119
161202007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
16121
16122 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16123 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16124 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16125 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16126 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
16127 Revert tests to use mi_gdb_test and include value field in output
16128 of -var-create.
16129
93d42b30
DJ
161302007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
16131
16132 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
16133
c499ed39
DJ
161342007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
16135
16136 * gdb.base/maint.exp: Remove full paths from test names.
16137 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
16138 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
16139
9836f81b
JB
161402007-02-27 Joel Brobecker <brobecker@adacore.com>
16141
16142 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
16143
c74d0ad8
DJ
161442007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16145
16146 * gdb.server/server-mon.exp: New test.
16147
2711e456
DJ
161482007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16149
16150 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
16151
ff6f572f
DJ
161522007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16153
16154 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
16155 register capitalization.
16156
fada3feb
DP
161572007-02-13 Denis Pilat <denis.pilat@st.com>
16158
16159 * gdb.mi/mi-var-invalidate.exp: New file.
16160
fb1e4ffc
DJ
161612007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16162
16163 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
16164
3da939d7
DJ
161652007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16166
16167 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
16168
123dc839
DJ
161692007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16170
16171 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
16172 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
16173
877e3645 161742007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
16175
16176 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16177 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16178 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16179 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16180 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 16181 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 16182 Update tests to include value field in output of -var-create.
a9c64011 16183
3c0a2960
AS
161842007-02-08 Andreas Schwab <schwab@suse.de>
16185
16186 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
16187
108546a0
DJ
161882007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
16189
16190 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
16191 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
16192
d701dcab
DP
161932007-02-02 Denis Pilat <denis.pilat@st.com>
16194
16195 * gdb.threads/threadapply.exp: check that frame is not changed by
16196 the thread apply all command.
16197
783e3e2f
AS
161982007-01-31 Andreas Schwab <schwab@suse.de>
16199
6d9c3a87
AS
16200 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16201
3c50d7b9
AS
16202 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
16203 in the dwarf sections.
16204 * gdb.dwarf2/mac-fileno.S: Likewise.
16205
783e3e2f
AS
16206 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
16207 bspstore register on ia64.
16208
78ff580e
AS
162092007-01-29 Andreas Schwab <schwab@suse.de>
16210
cc8e9b12
AS
16211 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
16212 "frame-begin" annotation.
16213
78ff580e
AS
16214 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
16215 number of "frames-invalid" annotations.
16216
704a4f78
DJ
162172007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16218
16219 * gdb.base/commands.exp: Call if_commands_test.
16220 (gdb_test_no_prompt, if_commands_test): New.
16221
e741bf94
MK
162222007-01-28 Mark Kettenis <kettenis@gnu.org>
16223
16224 * gdb.threads/sigthread.c (NSIGS): Make bigger.
16225
474d0ad3
AS
162262007-01-27 Andreas Schwab <schwab@suse.de>
16227
16228 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
16229 .short/.int/.quad in the dwarf sections.
16230 * gdb.dwarf2/dw2-intercu.S: Likewise.
16231 * gdb.dwarf2/dw2-intermix.S: Likewise.
16232
e784b426
JK
162332007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16234
16235 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
16236 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
16237 array.
e784b426
JK
16238 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
16239 * gdb.base/setvar.exp: Likewise.
16240
37f08e04
AS
162412007-01-26 Andreas Schwab <schwab@suse.de>
16242
9a01813a
AS
16243 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
16244 test.
16245
37f08e04
AS
16246 * gdb.base/multi-forks.exp ("restart $i"): Also match
16247 __kernel_syscall_via_break.
16248
6e2a9270
VP
162492007-01-24 Vladimir Prus <vladimir@codesourcery.com>
16250
16251 * lib/mi-support.exp (mi_delete_varobj): New.
16252 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
16253 testcase.
16254 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
16255 (main): Call the above.
16256 (reference_update_test, base_in_reference_test)
16257 (reference_to_pointer): Delete the created varobjs.
a9c64011 16258
e515b470
DJ
162592007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
16260
16261 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
16262 * configure: Regenerated.
16263 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
16264 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
16265 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
16266 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
16267 * lib/gdb.exp (gdb_skip_xml_test): New function.
16268
08d8bcd7
DJ
162692007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
16270
16271 * gdb.base/sigrepeat.exp: Correct error message.
16272
162732007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
16274 Daniel Jacobowitz <dan@codesourcery.com>
16275
16276 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
16277 gdb.arch/i386-gnu-cfi-asm.S: New files.
16278
97c3f1f3
JK
162792007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16280
16281 * lib/gdb.exp: Abort on missing `site.exp'.
16282
cb1df416
DJ
162832007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16284 Daniel Jacobowitz <dan@codesourcery.com>
16285
16286 * gdb.base/included.c, gdb.base/included.exp,
16287 gdb.base/included.h: New files.
16288
35990120
DJ
162892007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16290
16291 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
16292 (maximize_rlimit): Reduce limits on 64-bit systems.
16293
6e81a116 162942007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
16295
16296 From Marcus Deuling <deuling@de.ibm.com>:
16297 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
16298 every case.
16299
6c3c41f3
NR
163002007-01-13 Nick Roberts <nickrob@snap.net.nz>
16301
16302 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
16303 (test_path_specification): Use objdir instead of srcdir to always
16304 get an absolute filename.
16305
2f12c312
DJ
163062007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
16307
16308 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
16309
81121995
VP
163102007-01-11 Vladimir Prus <vladimir@codesourcery.com>
16311
16312 * gdb.mi/mi-var-cp.cc (reference_update_tests):
16313 Make sure the variable we're using is in scope.
16314 (reference_to_pointer): Likewise.
16315
4741b737
DJ
163162007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16317
16318 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
16319 has no debug information.
16320
054410c3
DJ
163212007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16322
16323 * gdb.base/annota1.exp: Remove extra send_gdb.
16324
818f79f6
DJ
163252007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16326
16327 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
16328
f7a6bb70
DJ
163292007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16330
16331 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
16332
57e66780
DJ
163332007-01-08 Nick Roberts <nickrob@snap.net.nz>
16334 Daniel Jacobowitz <dan@codesourcery.com>
16335
16336 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
16337 lcharacter or linteger change. Correct duplicated test name.
16338 * gdb.mi/mi2-var-cmd.exp: Likewise.
16339
3d799a95
DJ
163402007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
16341
16342 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
16343
163442007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 16345
a9c64011
AS
16346 * gdb.base/nofield.c: New file.
16347 * gdb.base/nofield.exp: New testcase.
51679ba9 16348
eafb94e8
NR
163492007-01-05 Nick Roberts <nickrob@snap.net.nz>
16350
16351 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
16352
16353 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
16354 test.
16355
5e572bb4
DJ
163562007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16357
16358 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
16359
74a44383
DJ
163602007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16361
16362 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
16363 when continuing.
16364
1b572db9
DJ
163652007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16366
16367 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
16368 Expect ".exe" extension.
16369
381bc39b
DJ
163702007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16371
16372 * gdb.base/charset.exp: Add explicit filename to break.
16373 * gdb.base/dbx.exp: Add explicit filename to breaks.
16374
2b70e4c6
DJ
163752007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16376
16377 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
16378 * gdb.mi/mi2-file.exp: Likewise.
16379
303b6f5d
DJ
163802007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16381
16382 Implement specification of MI tests as comments
16383 in C and C++ sources.
16384 * lib/mi-support.exp (mi_autotest_data): New variable.
16385 (mi_autotest_source): New variable.
16386 (count_newlines, mi_prepare_inline_tests)
16387 (mi_get_inline_test, mi_continue_to_line)
16388 (mi_run_inline_test, mi_tbreak)
16389 (mi_send_resuming_command, mi_wait_for_stop): New functions.
16390 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
16391 Run inline tests.
16392 * gdb.mi/mi-var-cp.cc: Define tests here.
16393
23da0d94
VP
163942007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16395
16396 Simplify usage of mi_continue_to.
16397 * lib/mi-support.exp (mi_runto_helper): Renamed
16398 from mi_runto, added new parameter 'run_or_continue'.
16399 (mi_runto): Use mi_runto_helper.
16400 (mi_continue_to): Accept just function name as parameter.
16401 Use mi_runto_helper.
16402 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
16403 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 16404
f9e18282
JB
164052006-01-04 Joel Brobecker <brobecker@adacore.com>
16406
16407 Make this testcase a bit more realistic. The current code
16408 is too simplistic, and allows the compiler to optimize out
16409 some of the entities we need for this testcase.
16410 * gdb.ada/null_record/bar.ads (Void_Star): New type.
16411 (Do_Nothing): Add extra parameter.
16412 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
16413 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
16414 by using a variable of type Void_Star.
16415
fd678c65
JB
164162006-01-04 Joel Brobecker <brobecker@adacore.com>
16417
16418 * gdb.ada/catch_ex/foo.adb: New file.
16419 * gdb.ada/catch_ex.exp: New testcase.
16420
05cfdb42
DJ
164212007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
16422
16423 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
16424 pass --image-base to linker.
16425
2e03ee74
DJ
164262007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16427 Daniel Jacobowitz <dan@codesourcery.com>
16428
16429 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
16430 secondary prompts.
16431
0d5de010
DJ
164322007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16433
16434 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
16435 output. Test the types of members and member pointers.
16436 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
16437 gdb/2092.
16438 * gdb.cp/member-ptr.exp: Search for a comment instead of a
16439 statement. Enable for GCC. Update expected output for some tests
16440 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
16441 layout.
16442 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
16443 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
16444 (Diamond::vget_base): New.
16445 (main): Add new tests.
16446 * gdb.cp/printmethod.exp: Update expected output for member functions.
16447 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
16448 print pEe->D::vg().
16449
61a771aa
DJ
164502007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16451
16452 * gdb.threads/tls.exp: Allow stops in sem_post.
16453
2fa63963
DJ
164542006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
16455
16456 * gdb.base/annota1.exp: Allow .*printf in backtraces.
16457 * gdb.base/annota3.exp: Likewise.
16458 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
16459 again (instead of timing out).
16460 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
16461 GCC bug 26475.
16462 * gdb.java/jmisc.exp: Adjust to work with method signatures including
16463 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
16464 test from jmisc1.exp.
16465 * gdb.java/jmisc1.exp: Delete.
16466 * gdb.java/jprint.exp: Adjust to work with method signatures including
16467 return types.
16468 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
16469 * gdb.threads/linux-dp.exp: Don't be confused by program output.
16470 * lib/java.exp (compile_java_from_source): Pass the correct type
16471 to target_compile.
16472
5eefc2b7
JB
164732006-12-31 Joel Brobecker <brobecker@adacore.com>
16474
16475 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
16476 (stack_align_edx): New function.
16477 (stack_align_eax): New function.
16478 (main): Add calls to stack_align_edx and stack_align_eax.
16479 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
16480 Add testing for the cases where the register used during a stack
16481 realignment is edx. Same for eax.
16482
227c54da
DJ
164832006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
16484
16485 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
16486 and generic PE targets.
16487
cab8ac94
JB
164882006-12-29 Joel Brobecker <brobecker@adacore.com>
16489
16490 * gdb.ada/array_return.exp: Update copyright date list.
16491
ba54f318
JB
164922006-12-27 Joel Brobecker <brobecker@adacore.com>
16493
16494 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
16495 (Create_Small_Float_Vector): New function.
16496 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
16497 function body.
16498 * gdb.ada/array_return/p.adb: Use new type and function from
16499 package Pck.
16500 * gdb.ada/array_return.exp: Add a test verifying that GDB is
16501 able to print the value returned by a function returning an
16502 array of float.
16503
6b7a35dd
JB
165042006-12-20 Joel Brobecker <brobecker@adacore.com>
16505
16506 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
16507 The associated tests should be PASSing.
16508
038224f6
VP
165092006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16510
16511 Test for base in references.
16512 * gdb.mi/mi-var-cp.cc: Add test code.
16513 * gdb.mi/mi-var-cp.exp: Test for bases in references.
16514 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
16515 * gdb.mi/mi2-watch.exp: Likewise.
16516 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
16517 (mi_list_varobj_children): New function.
16518
b26ed50d
VP
165192006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16520
16521 * lib/mi-support.exp
16522 (mi_runto): Accept "()" after function name.
16523 (mi_create_varobj): New function.
16524 (mi_varobj_update): New function.
16525 (mi_Check_varobj_value): New function.
16526 * gdb.mi/mi-var-cp.exp: New file.
16527 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 16528
08232497
DJ
165292006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
16530
16531 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
16532 gdb.base/weaklib2.c: New files.
16533
d394c993 165342006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 16535
ac6c2fba
NS
16536 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
16537 info. Adjust test names.
16538
8ec659a0 16539 * gdb.base/break.c (main): Move position of malloc.
d394c993 16540 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 16541
acd65feb
VP
165422006-11-28 Vladimir Prus <vladimir@codesourcery.com>
16543
16544 * gdb.mi/mi-var-cmd.exp: Check -var-update after
16545 assignement of arrays and function pointers.
16546 * gdb.mi/var-cmd.c: Add declaration necessary for above
16547 tests.
16548
f556d5e5
NS
165492006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16550
16551 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
16552
16553 * gdb.threads/linux-dp.exp: Read thread table before and after
16554 creating each philosopher and verify it.
16555
697bc68d
NS
165562006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16557 Paul Brook <paul@codesourcery.com>
16558 Daniel Jacobowitz <dan@codesourcery.com>
16559
16560 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 16561 main to remove duplication. Add start function of the form
697bc68d
NS
16562 '_*start[1-9]*'. Add RVDS start function.
16563
29d73ae4
DJ
165642006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16565
16566 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
16567
c1d88655
UW
165682006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16569
16570 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
16571 * gdb.asm/spu.inc: New file.
16572 * gdb.base/term.exp: Disable if [target_info exists noargs].
16573 * gdb.gdb/complaints.exp: Disable if ![isnative].
16574 * gdb.gdb/selftest.exp: Likewise.
16575 * gdb.gdb/observer.exp: Likewise.
16576 * gdb.gdb/xfullpath.exp: Likewise.
16577 * gdb.base/attach.exp: Disable on SPU target.
16578 * gdb.cp/bs145503.exp: Likewise.
16579 * gdb.cp/exception.exp: Likewise.
16580 * gdb.cp/userdef.exp: Likewise.
16581
32a13b1a
DJ
165822006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16583
16584 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
16585
d8295fe9
VP
165862006-11-10 Vladimir Prus <vladimir@codesourcery.com>
16587
16588 * gdb.base/completion.exp: Fix completion tests for
16589 'info' and 'info '.
16590 * gdb.base/help.exp (help_test_raw, test_class_help)
16591 (test_prefix_command_help): Move...
16592 * lib/gdb.exp: Here.
16593 * gdb.base/main.exp: Adjust.
16594 * gdb.cp/maint.exp: Adjust.
16595 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 16596
8c394015
VP
165972006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16598
16599 * gdb.stabs/weird.exp (print_weird_var): Use
16600 gdb_test_multiple instead of gdb_expect.
16601
027fc1bc
VP
166022006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16603
16604 * gdb.base/help.exp (help_test_raw): New.
16605 (test_class_help): New.
16606 (test_prefix_command_help): New.
16607 Adjust testcases.
16608
67609209
FR
166092006-11-09 Christophe Lyon <christophe.lyon@st.com>
16610
16611 * gdb.base/constvars.c (main): Write to crass and crips, so that
16612 they are allocated by the compiler.
16613
f73adfeb
AS
166142006-10-27 Andreas Schwab <schwab@suse.de>
16615
16616 * gdb.base/multi-forks.exp: Use "detach fork" instead of
16617 "detach-fork".
16618
2f83a18e
DJ
166192006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
16620
16621 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
16622 of patterns.
16623
94277a38
DJ
166242006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
16625
16626 * gdb.base/sepdebug.exp: Remove debug format test.
16627 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
16628 Handle no-symtab.
16629 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
16630
5bd2f6e2
DJ
166312006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
16632
16633 * gdb.threads/manythreads.c (thread_function, main): Don't cast
16634 int to pointer or pointer to int.
16635 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
16636
8c008720
DJ
166372006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
16638
16639 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
16640
9e35dae4
DJ
166412006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16642
16643 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
16644
d9639e13
DJ
166452006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16646
16647 PR c++/2116
16648 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
16649
390a1bd0
JB
166502006-10-06 Joel Brobecker <brobecker@adacore.com>
16651
16652 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
16653 the corresponding bug has been fixed in GDB (PR/2018).
16654
dd920c33
JB
166552006-10-06 Joel Brobecker <brobecker@adacore.com>
16656
16657 * gdb.base/subst.exp: New testcase.
16658
53bbefe9
JB
166592006-10-06 Joel Brobecker <brobecker@adacore.com>
16660
16661 * gdb.ada/array_return/pck.ads: Add copyright notice.
16662 * gdb.ada/array_return/pck.adb: Likewise.
16663 * gdb.ada/array_return/p.adb: Likewise.
16664 * gdb.ada/exec_changed/first.adb: Likewise.
16665 * gdb.ada/exec_changed/second.adb: Likewise.
16666
09851417
JB
166672006-10-06 Joel Brobecker <brobecker@adacore.com>
16668
16669 * gdb.ada/watch_arg/watch.adb: New file.
16670 * gdb.ada/watch_arg.exp: New testcase.
16671
041bf30d
VP
166722006-10-02 Vladimir Prus <vladimir@codesourcery.com>
16673
16674 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 16675 via string_to_regexp.
041bf30d 16676 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 16677
f286fbdd 166782006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
16679
16680 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
16681 Remove unused / obsolete files.
16682
7c07f349
NR
166832006-09-19 Nick Roberts <nickrob@snap.net.nz>
16684
16685 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
16686
cd5ff84a
VP
166872006-09-17 Vladimir Prus <vladimir@codesourcery.com>
16688
16689 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
16690 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 16691 the number of frames.
cd5ff84a 16692
ae018d1a
DJ
166932006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
16694
16695 * gdb.base/args.c (main): Add breakpoint marker.
16696 * gdb.base/args.exp: Use args_test for tests. Add new tests which
16697 really test empty arguments.
16698 (args_load): Delete.
16699 (args_test): New.
16700
b399c549
NR
167012006-09-13 Nick Roberts <nickrob@snap.net.nz>
16702
16703 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 16704 check for one file.
b399c549 16705
2ab1eb7a
VP
167062006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
16707
16708 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
16709 HIGH_FRAME argument to -stack-list-locals can be larger than
16710 the number of frames.
a9c64011 16711
476308bf
FF
167122006-08-18 Fred Fish <fnf@specifix.com>
16713
16714 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
16715 '$' in front of skip_vmx_tests_saved when setting that.
16716
8625200f
AS
167172006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
16718
16719 * gdb.base/trace-commands.exp: New file.
16720
089ec8f1
DJ
167212006-08-10 Joel Brobecker <brobecker@adacore.com>
16722 Daniel Jacobowitz <dan@codesourcery.com>
16723
16724 * gdb.base/step-bt.exp: Make hexadecimal address optional in
16725 expected output of the backtrace commands.
16726
b60f0898
JB
167272006-08-09 Joel Brobecker <brobecker@adacore.com>
16728
16729 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
16730 untested followed by return combination.
16731 * gdb.arch/altivec-regs.exp: Likewise.
16732 * gdb.arch/e500-abi.exp: Likewise.
16733 * gdb.arch/e500-regs.exp: Likewise.
16734 * gdb.arch/gdb1291.exp: Likewise.
16735 * gdb.arch/gdb1431.exp: Likewise.
16736 * gdb.arch/gdb1558.exp: Likewise.
16737 * gdb.arch/i386-prologue.exp: Likewise.
16738 * gdb.arch/i386-unwind.exp: Likewise.
16739 * gdb.asm/asm-source.exp: Likewise.
16740 * gdb.base/a2-run.exp: Likewise.
16741 * gdb.base/advance.exp: Likewise.
16742 * gdb.base/all-bin.exp: Likewise.
16743 * gdb.base/annota1.exp: Likewise.
16744 * gdb.base/annota3.exp: Likewise.
16745 * gdb.base/args.exp: Likewise.
16746 * gdb.base/arithmet.exp: Likewise.
16747 * gdb.base/assign.exp: Likewise.
16748 * gdb.base/async.exp: Likewise.
16749 * gdb.base/attach.exp: Likewise.
16750 * gdb.base/bang.exp: Likewise.
16751 * gdb.base/bigcore.exp: Likewise.
16752 * gdb.base/bitfields.exp: Likewise.
16753 * gdb.base/bitfields2.exp: Likewise.
16754 * gdb.base/break.exp: Likewise.
16755 * gdb.base/call-sc.exp: Likewise.
16756 * gdb.base/call-strs.exp: Likewise.
16757 * gdb.base/callfuncs.exp: Likewise.
16758 * gdb.base/checkpoint.exp: Likewise.
16759 * gdb.base/chng-syms.exp: Likewise.
16760 * gdb.base/code-expr.exp: Likewise.
16761 * gdb.base/commands.exp: Likewise.
16762 * gdb.base/completion.exp: Likewise.
16763 * gdb.base/cond-expr.exp: Likewise.
16764 * gdb.base/condbreak.exp: Likewise.
16765 * gdb.base/consecutive.exp: Likewise.
16766 * gdb.base/constvars.exp: Likewise.
16767 * gdb.base/corefile.exp: Likewise.
16768 * gdb.base/cvexpr.exp: Likewise.
16769 * gdb.base/dbx.exp: Likewise.
16770 * gdb.base/define.exp: Likewise.
16771 * gdb.base/detach.exp: Likewise.
16772 * gdb.base/display.exp: Likewise.
16773 * gdb.base/dump.exp: Likewise.
16774 * gdb.base/ena-dis-br.exp: Likewise.
16775 * gdb.base/ending-run.exp: Likewise.
16776 * gdb.base/environ.exp: Likewise.
16777 * gdb.base/eval-skip.exp: Likewise.
16778 * gdb.base/exprs.exp: Likewise.
16779 * gdb.base/fileio.exp: Likewise.
16780 * gdb.base/finish.exp: Likewise.
16781 * gdb.base/float.exp: Likewise.
16782 * gdb.base/foll-exec.exp: Likewise.
16783 * gdb.base/foll-fork.exp: Likewise.
16784 * gdb.base/foll-vfork.exp: Likewise.
16785 * gdb.base/freebpcmd.exp: Likewise.
16786 * gdb.base/funcargs.exp: Likewise.
16787 * gdb.base/gcore.exp: Likewise.
16788 * gdb.base/gdb1090.exp: Likewise.
16789 * gdb.base/gdb1250.exp: Likewise.
16790 * gdb.base/huge.exp: Likewise.
16791 * gdb.base/info-proc.exp: Likewise.
16792 * gdb.base/interrupt.exp: Likewise.
16793 * gdb.base/jump.exp: Likewise.
16794 * gdb.base/langs.exp: Likewise.
16795 * gdb.base/lineinc.exp: Likewise.
16796 * gdb.base/list.exp: Likewise.
16797 * gdb.base/logical.exp: Likewise.
16798 * gdb.base/long_long.exp: Likewise.
16799 * gdb.base/macscp.exp: Likewise.
16800 * gdb.base/maint.exp: Likewise.
16801 * gdb.base/mips_pro.exp: Likewise.
16802 * gdb.base/miscexprs.exp: Likewise.
16803 * gdb.base/multi-forks.exp: Likewise.
16804 * gdb.base/opaque.exp: Likewise.
16805 * gdb.base/overlays.exp: Likewise.
16806 * gdb.base/pc-fp.exp: Likewise.
16807 * gdb.base/pointers.exp: Likewise.
16808 * gdb.base/printcmds.exp: Likewise.
16809 * gdb.base/psymtab.exp: Likewise.
16810 * gdb.base/ptype.exp: Likewise.
16811 * gdb.base/recurse.exp: Likewise.
16812 * gdb.base/relational.exp: Likewise.
16813 * gdb.base/relocate.exp: Likewise.
16814 * gdb.base/remote.exp: Likewise.
16815 * gdb.base/reread.exp: Likewise.
16816 * gdb.base/restore.exp: Likewise.
16817 * gdb.base/return.exp: Likewise.
16818 * gdb.base/return2.exp: Likewise.
16819 * gdb.base/scope.exp: Likewise.
16820 * gdb.base/sect-cmd.exp: Likewise.
16821 * gdb.base/sep.exp: Likewise.
16822 * gdb.base/sepdebug.exp: Likewise.
16823 * gdb.base/setshow.exp: Likewise.
16824 * gdb.base/setvar.exp: Likewise.
16825 * gdb.base/sigall.exp: Likewise.
16826 * gdb.base/sigbpt.exp: Likewise.
16827 * gdb.base/signals.exp: Likewise.
16828 * gdb.base/signull.exp: Likewise.
16829 * gdb.base/sizeof.exp: Likewise.
16830 * gdb.base/solib.exp: Likewise.
16831 * gdb.base/step-line.exp: Likewise.
16832 * gdb.base/step-test.exp: Likewise.
16833 * gdb.base/structs.exp: Likewise.
16834 * gdb.base/structs2.exp: Likewise.
16835 * gdb.base/term.exp: Likewise.
16836 * gdb.base/twice.exp: Likewise.
16837 * gdb.base/until.exp: Likewise.
16838 * gdb.base/varargs.exp: Likewise.
16839 * gdb.base/volatile.exp: Likewise.
16840 * gdb.base/watchpoint.exp: Likewise.
16841 * gdb.base/whatis-exp.exp: Likewise.
16842 * gdb.base/whatis.exp: Likewise.
16843 * gdb.cp/ambiguous.exp: Likewise.
16844 * gdb.cp/annota2.exp: Likewise.
16845 * gdb.cp/annota3.exp: Likewise.
16846 * gdb.cp/bool.exp: Likewise.
16847 * gdb.cp/breakpoint.exp: Likewise.
16848 * gdb.cp/casts.exp: Likewise.
16849 * gdb.cp/class2.exp: Likewise.
16850 * gdb.cp/classes.exp: Likewise.
16851 * gdb.cp/cplusfuncs.exp: Likewise.
16852 * gdb.cp/ctti.exp: Likewise.
16853 * gdb.cp/derivation.exp: Likewise.
16854 * gdb.cp/exception.exp: Likewise.
16855 * gdb.cp/gdb1355.exp: Likewise.
16856 * gdb.cp/hang.exp: Likewise.
16857 * gdb.cp/inherit.exp: Likewise.
16858 * gdb.cp/local.exp: Likewise.
16859 * gdb.cp/m-data.exp: Likewise.
16860 * gdb.cp/m-static.exp: Likewise.
16861 * gdb.cp/member-ptr.exp: Likewise.
16862 * gdb.cp/method.exp: Likewise.
16863 * gdb.cp/misc.exp: Likewise.
16864 * gdb.cp/namespace.exp: Likewise.
16865 * gdb.cp/overload.exp: Likewise.
16866 * gdb.cp/ovldbreak.exp: Likewise.
16867 * gdb.cp/pr-1023.exp: Likewise.
16868 * gdb.cp/pr-1210.exp: Likewise.
16869 * gdb.cp/pr-574.exp: Likewise.
16870 * gdb.cp/printmethod.exp: Likewise.
16871 * gdb.cp/psmang.exp: Likewise.
16872 * gdb.cp/ref-params.exp: Likewise.
16873 * gdb.cp/ref-types.exp: Likewise.
16874 * gdb.cp/rtti.exp: Likewise.
16875 * gdb.cp/templates.exp: Likewise.
16876 * gdb.cp/try_catch.exp: Likewise.
16877 * gdb.cp/userdef.exp: Likewise.
16878 * gdb.cp/virtfunc.exp: Likewise.
16879 * gdb.disasm/am33.exp: Likewise.
16880 * gdb.disasm/h8300s.exp: Likewise.
16881 * gdb.disasm/mn10300.exp: Likewise.
16882 * gdb.disasm/sh3.exp: Likewise.
16883 * gdb.disasm/t01_mov.exp: Likewise.
16884 * gdb.disasm/t02_mova.exp: Likewise.
16885 * gdb.disasm/t03_add.exp: Likewise.
16886 * gdb.disasm/t04_sub.exp: Likewise.
16887 * gdb.disasm/t05_cmp.exp: Likewise.
16888 * gdb.disasm/t06_ari2.exp: Likewise.
16889 * gdb.disasm/t07_ari3.exp: Likewise.
16890 * gdb.disasm/t08_or.exp: Likewise.
16891 * gdb.disasm/t09_xor.exp: Likewise.
16892 * gdb.disasm/t10_and.exp: Likewise.
16893 * gdb.disasm/t11_logs.exp: Likewise.
16894 * gdb.disasm/t12_bit.exp: Likewise.
16895 * gdb.disasm/t13_otr.exp: Likewise.
16896 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
16897 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
16898 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16899 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
16900 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
16901 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16902 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16903 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16904 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
16905 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
16906 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16907 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16908 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16909 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16910 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16911 * gdb.mi/gdb701.exp: Likewise.
16912 * gdb.mi/gdb792.exp: Likewise.
16913 * gdb.mi/mi-basics.exp: Likewise.
16914 * gdb.mi/mi-break.exp: Likewise.
16915 * gdb.mi/mi-cli.exp: Likewise.
16916 * gdb.mi/mi-console.exp: Likewise.
16917 * gdb.mi/mi-disassemble.exp: Likewise.
16918 * gdb.mi/mi-eval.exp: Likewise.
16919 * gdb.mi/mi-file.exp: Likewise.
16920 * gdb.mi/mi-read-memory.exp: Likewise.
16921 * gdb.mi/mi-regs.exp: Likewise.
16922 * gdb.mi/mi-return.exp: Likewise.
16923 * gdb.mi/mi-simplerun.exp: Likewise.
16924 * gdb.mi/mi-stack.exp: Likewise.
16925 * gdb.mi/mi-stepi.exp: Likewise.
16926 * gdb.mi/mi-syn-frame.exp: Likewise.
16927 * gdb.mi/mi-until.exp: Likewise.
16928 * gdb.mi/mi-var-block.exp: Likewise.
16929 * gdb.mi/mi-var-child.exp: Likewise.
16930 * gdb.mi/mi-var-cmd.exp: Likewise.
16931 * gdb.mi/mi-var-display.exp: Likewise.
16932 * gdb.mi/mi-watch.exp: Likewise.
16933 * gdb.mi/mi2-basics.exp: Likewise.
16934 * gdb.mi/mi2-break.exp: Likewise.
16935 * gdb.mi/mi2-cli.exp: Likewise.
16936 * gdb.mi/mi2-console.exp: Likewise.
16937 * gdb.mi/mi2-disassemble.exp: Likewise.
16938 * gdb.mi/mi2-eval.exp: Likewise.
16939 * gdb.mi/mi2-file.exp: Likewise.
16940 * gdb.mi/mi2-read-memory.exp: Likewise.
16941 * gdb.mi/mi2-regs.exp: Likewise.
16942 * gdb.mi/mi2-return.exp: Likewise.
16943 * gdb.mi/mi2-simplerun.exp: Likewise.
16944 * gdb.mi/mi2-stack.exp: Likewise.
16945 * gdb.mi/mi2-stepi.exp: Likewise.
16946 * gdb.mi/mi2-syn-frame.exp: Likewise.
16947 * gdb.mi/mi2-until.exp: Likewise.
16948 * gdb.mi/mi2-var-block.exp: Likewise.
16949 * gdb.mi/mi2-var-child.exp: Likewise.
16950 * gdb.mi/mi2-var-cmd.exp: Likewise.
16951 * gdb.mi/mi2-var-display.exp: Likewise.
16952 * gdb.mi/mi2-watch.exp: Likewise.
16953 * gdb.stabs/exclfwd.exp: Likewise.
16954 * gdb.stabs/weird.exp: Likewise.
16955 * gdb.threads/gcore-thread.exp: Likewise.
16956 * gdb.trace/actions.exp: Likewise.
16957 * gdb.trace/backtrace.exp: Likewise.
16958 * gdb.trace/circ.exp: Likewise.
16959 * gdb.trace/collection.exp: Likewise.
16960 * gdb.trace/deltrace.exp: Likewise.
16961 * gdb.trace/infotrace.exp: Likewise.
16962 * gdb.trace/limits.exp: Likewise.
16963 * gdb.trace/packetlen.exp: Likewise.
16964 * gdb.trace/passc-dyn.exp: Likewise.
16965 * gdb.trace/passcount.exp: Likewise.
16966 * gdb.trace/report.exp: Likewise.
16967 * gdb.trace/save-trace.exp: Likewise.
16968 * gdb.trace/tfind.exp: Likewise.
16969 * gdb.trace/tracecmd.exp: Likewise.
16970 * gdb.trace/while-dyn.exp: Likewise.
16971 * gdb.trace/while-stepping.exp: Likewise.
16972
f4b618d1
JB
169732006-08-08 Joel Brobecker <brobecker@adacore.com>
16974
16975 * gdb.base/step-bt.c: New file.
16976 * gdb.base/step-bt.exp: New testcase.
16977
3d00d119
DJ
169782006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
16979
16980 * config/monitor.exp (gdb_load): Remove support for obsolete
16981 download-write-size.
16982 * gdb.base/remote.exp: Likewise. Update all callers of
16983 gdb_timed_load.
16984
017b5bd4
DJ
169852006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
16986
16987 * cursal.exp: Pass binfile to gdb_load.
16988
837c599d
DJ
169892006-08-01 Nathan Sidwell <nathan@codesourcery.com>
16990
16991 * gdb.base/cursal.exp: Add "" to gdb_load call.
16992
8dd4540b
MK
169932006-07-29 Mark Kettenis <kettenis@gnu.org>
16994
16995 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
16996 NetBSD/ELF targets.
16997
ab5c9f60
DJ
169982006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
16999
17000 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
17001 operator*.
17002
4c42eaff
DJ
170032006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
17004
17005 * gdb.base/completion.exp: Update for change in "file" behavior.
17006 * gdb.stabs/weird.exp: Likewise.
17007 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
17008 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
17009
0155cc76
NS
170102006-07-24 Nathan Sidwell <nathan@codesourcery.com>
17011
17012 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
17013 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
17014
16026cd7
AS
170152006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
17016
17017 * gdb.base/default.exp: Update source command error message.
17018 * gdb.base/help.exp: Update 'help source' message.
17019
16963cb6
DJ
170202006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
17021
17022 * gdb.cp/bs15503.exp: Update comment for no longer crashing
17023 test.
17024
6d7fd486
AS
170252006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
17026
17027 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
17028
29e8a844
DJ
170292006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
17030
17031 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
17032
6afcfa39
DJ
170332006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
17034
17035 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
17036
267a692b
MK
170372006-07-17 Mark Kettenis <kettenis@gnu.org>
17038
17039 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
17040 *-*-openbsd* from targets for wich we expect ARM FPA floating
17041 point format.
17042
85d2fec4
NR
170432006-07-17 Nick Roberts <nickrob@snap.net.nz>
17044
17045 * gdb.cp/annota3.exp: Expect frame-begin annotation.
17046
170472006-07-17 Mark Kettenis <kettenis@gnu.org>
17048
17049 * gdb.base/annota3.exp: Expect frame-begin annotation.
17050
85b4c6e8
JB
170512006-07-14 Joel Brobecker <brobecker@adacore.com>
17052
17053 * gdb.base/help.exp: Adjust "help unset" test to accept
17054 any list of unset commands.
17055
fb933624
DJ
170562006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
17057 Daniel Jacobowitz <dan@codesourcery.com>
17058
17059 * gdb.cp/ref-params.exp: New test.
17060 * gdb.cp/ref-params.cc: New source file.
17061 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
17062
1dff4b64
MK
170632006-07-08 Mark Kettenis <kettenis@gnu.org>
17064
17065 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
17066 spaces/tabs in regular expressions since they might not be there.
17067
40d2e0e3
AS
170682006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
17069
17070 * gdb.base/ifelse.exp: New file.
17071
f6c957d2
NS
170722006-07-04 Nathan Sidwell <nathan@codesourcery.com>
17073
17074 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
17075 line.
17076 * gdb.base/huge.exp: Loop over compilation to find a size that
17077 is acceptable.
17078 * gdb.base/remote.exp: Correct expected strings.
17079 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
17080
b9c5a23d
DJ
170812006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17082
17083 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
17084
9af2e58d
DJ
170852006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17086
17087 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
17088 native.
17089
30930ca5
DJ
170902006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17091
17092 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
17093 enable stabs testing.
17094
aa32fa1d
DJ
170952006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17096
bd4a4c80 17097 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
17098 gdb_test_multiple does.
17099
321fef15
DJ
171002006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17101
17102 * Makefile.in (host_alias): Remove.
17103 (target_alias): Use @target_noncanonical@.
17104 (site.exp): Don't set host_alias.
17105 * aclocal.m4: Remove contents. Include acx.m4.
17106 * configure: Regenerated.
17107 * configure.ac: Use ACX_NONCANONICAL_TARGET.
17108
e1c2defa
NS
171092006-06-13 Nathan Sidwell <nathan@codesourcery.com>
17110
e63b55d1
NS
17111 * lib/gdb.exp (gdb_load_cmd): New.
17112
5600ea19
NS
17113 * gdb.base/fileio.c: Add system(NULL) test.
17114 * gdb.base/fileio.exp: Check it.
17115
e1c2defa
NS
17116 * gdb.base/break.c: Add 10a breakpoint at }
17117 * gdb.base/break.exp: Add test for breakpoint at }
17118 * gdb.cp/anon-union.cc: Add code at end of function.
17119 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
17120 * gdb.mi/var-cmd.c: Add code at end of function.
17121 * gdb.mi/mi-var-display.exp: Adjust end of next.
17122 * gdb.mi/mi2-var-display.exp: Likewise.
17123 * gdb.base/fileio.c: Add stop function and insert calls at
17124 stopping places.
17125 * gdb.base/fileio.exp: Breakpoint stop function and remove
17126 explicit line number references.
17127
6c0112ec
JB
171282006-05-19 Joel Brobecker <brobecker@adacore.com>
17129
a9c64011
AS
17130 * gdb.base/del.exp (test_delete_alias): New function.
17131 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 17132
154189a4
FF
171332006-05-18 Fred Fish <fnf@specifix.com>
17134
17135 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
17136 required. Check for spurious output after program exits normally.
17137
582e64c2
FF
171382006-05-17 Fred Fish <fnf@specifix.com>
17139
17140 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
17141 gdb_load, so it works in the simulator.
17142
8ef6493a
FF
171432006-05-11 Fred Fish <fnf@specifix.com>
17144
17145 * gdb.base/bang.exp: Ignore unexpected output between the
17146 "program exited normally" and the gdb prompt, as many other
17147 tests do.
17148
692b141c
MK
171492006-05-07 Mark Kettenis <kettenis@gnu.org>
17150
17151 * gdb.base/help.exp: Make "delete checkpoint" part option for
17152 "help d" and "help delete" tests.
17153
540b8a30
UW
171542006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17155
a9c64011 17156 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
17157 expected output in some mi_gdb_test statements.
17158 * gdb.mi/mi2-basics.exp: Likewise.
17159
9b6462d9
JB
171602006-05-05 Joel Brobecker <brobecker@adacore.com>
17161
17162 * gdb.base/del.c: New file.
17163 * gdb.base/del.exp: New testcase.
17164
954de43b
DM
171652006-05-05 David S. Miller <davem@sunset.davemloft.net>
17166
17167 * gdb.base/break.exp: Do not assume a breakpoint on
17168 main will actually be in $srcfile when optimizing.
1303f75e
DM
17169 * gdb.base/savedregs.exp: Do not require that the dummy
17170 frame location match up to a symbol and source file location.
c3242428
DM
17171 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
17172 will get printed without a mi_cmd_data_list_register_values prefix.
17173 (*-data-list-register-*): Correct regular expressions to expect the new
17174 pseudo d? floating point registers.
17175 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 17176
c7e64c9a
DJ
171772006-05-05 Christophe Lyon <christophe.lyon@st.com>
17178
17179 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
17180 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
17181 is allocated by the compiler.
17182 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
17183 anons, e, anone to force their allocation by the compiler.
17184
171852006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
17186
17187 * gdb.base/help.exp: Update expected text for help d and
17188 help delete.
17189
27ce9a6d
MK
171902006-05-02 Mark Kettenis <kettenis@gnu.org>
17191
17192 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
17193 NetBSD/ELF targets.
17194
8608915f
MK
171952006-04-30 Mark Kettenis <kettenis@gnu.org>
17196
17197 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
17198 single-step breakpoint fails; make this a KFAIL on
17199 sparc*-*-openbsd*.
17200 * gdb.base/siginfo.exp: Likewise.
17201 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17202
b8db102d
MS
172032006-04-26 Michael Snyder <msnyder@redhat.com>
17204
17205 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
17206 which may have to consume output from other forks.
17207 Add tests to make sure that "delete fork" succeeded.
17208
c702009a
MS
172092006-04-20 Michael Snyder <msnyder@redhat.com>
17210
17211 * 2006-03-22 Jim Blandy <jimb@redhat.com>
17212 Add support for the Renesas M32C and M16C.
17213
17214 * gdb.asm/asm-source.exp: Add m32c target.
17215 * gdb.asm/m32c.inc: Support for m32c target.
17216
e28493f2
AS
172172006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
17218
17219 * gdb.base/commands.exp (recursive_source_test): New test.
17220
880da185
DM
172212006-04-04 David S. Miller <davem@sunset.davemloft.net>
17222
17223 * gdb.base/float.exp: Add pattern for sparc targets.
17224
61d9b92f
DJ
172252006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17226
17227 * gdb.base/commands.exp (stray_arg0_test): New test.
17228
bd717df8
PB
172292006-03-30 Paul Brook <paul@codesourcery.com>
17230
17231 * gdb.mi/mi-until.exp: kfail broken until command.
17232 * gdb.mi/mi2-until.exp: Ditto.
17233
ec793d3c
NR
172342006-03-27 Nick Roberts <nickrob@snap.net.nz>
17235
17236 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
17237
831004b7
AO
172382006-03-08 Alexandre Oliva <aoliva@redhat.com>
17239
17240 * gdb.base/prelink.exp: Anchor tested-for regular expression
17241 on gdb prompt.
17242
effe49a0
PB
172432006-03-07 Paul Brook <paul@codesourcery.com>
17244
17245 * gdb.base/assign.exp: Correct fail message.
17246
e5461016
PB
172472006-03-07 Paul Brook <paul@codesourcery.com>
17248
17249 * lib/compiler.c: Extract armcc version number.
17250 * lib/compiler.cc: Ditto.
17251
fc91c6c2
PB
172522006-03-07 Paul Brook <paul@codesourcery.com>
17253
17254 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
17255 additional_flags=-w.
17256 * gdb.arch/altivec-regs.exp: Ditto.
17257 * gdb.arch/e500-abi.exp: Ditto.
17258 * gdb.arch/e500-regs.exp: Ditto.
17259 * gdb.base/all-bin.exp: Ditto.
17260 * gdb.base/annota1.exp: Ditto.
17261 * gdb.base/annota3.exp: Ditto.
17262 * gdb.base/args.exp: Ditto.
17263 * gdb.base/arithmet.exp: Ditto.
17264 * gdb.base/assign.exp: Ditto.
17265 * gdb.base/async.exp: Ditto.
17266 * gdb.base/bang.exp: Ditto.
17267 * gdb.base/break.exp: Ditto.
17268 * gdb.base/call-rt-st.exp: Ditto.
17269 * gdb.base/completion.exp: Ditto.
17270 * gdb.base/cond-expr.exp: Ditto.
17271 * gdb.base/condbreak.exp: Ditto.
17272 * gdb.base/consecutive.exp: Ditto.
17273 * gdb.base/define.exp: Ditto.
17274 * gdb.base/display.exp: Ditto.
17275 * gdb.base/ena-dis-br.exp: Ditto.
17276 * gdb.base/environ.exp: Ditto.
17277 * gdb.base/eval-skip.exp: Ditto.
17278 * gdb.base/info-proc.exp: Ditto.
17279 * gdb.base/jump.exp: Ditto.
17280 * gdb.base/logical.exp: Ditto.
17281 * gdb.base/long_long.exp: Ditto.
17282 * gdb.base/maint.exp: Ditto.
17283 * gdb.base/miscexprs.exp: Ditto.
17284 * gdb.base/pc-fp.exp: Ditto.
17285 * gdb.base/pointers.exp: Ditto.
17286 * gdb.base/relational.exp: Ditto.
17287 * gdb.base/reread.exp: Ditto.
17288 * gdb.base/sect-cmd.exp: Ditto.
17289 * gdb.base/sep.exp: Ditto.
17290 * gdb.base/sepdebug.exp: Ditto.
17291 * gdb.base/until.exp: Ditto.
17292 * gdb.base/whatis-exp.exp: Ditto.
17293 * gdb.cp/annota2.exp: Ditto.
17294 * gdb.cp/annota3.exp: Ditto.
17295 * gdb.trace/actions.exp: Ditto.
17296 * gdb.trace/backtrace.exp: Ditto.
17297 * gdb.trace/circ.exp: Ditto.
17298 * gdb.trace/collection.exp: Ditto.
17299 * gdb.trace/deltrace.exp: Ditto.
17300 * gdb.trace/infotrace.exp: Ditto.
17301 * gdb.trace/limits.exp: Ditto.
17302 * gdb.trace/packetlen.exp: Ditto.
17303 * gdb.trace/passc-dyn.exp: Ditto.
17304 * gdb.trace/passcount.exp: Ditto.
17305 * gdb.trace/report.exp: Ditto.
17306 * gdb.trace/save-trace.exp: Ditto.
17307 * gdb.trace/tfind.exp: Ditto.
17308 * gdb.trace/tracecmd.exp: Ditto.
17309 * gdb.trace/while-dyn.exp: Ditto.
17310 * gdb.trace/while-stepping.exp: Ditto.
17311 * lib/gdb.exp: Ditto.
17312 (gdb_compile): Handle nowarning option.
17313
5f4a23d9
AO
173142006-03-07 Alexandre Oliva <aoliva@redhat.com>
17315
17316 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
17317 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
17318 Rename executable to prelinkt. Don't re-prelink if we didn't
17319 get a core file. Test prelink -u exit status to tell whether
17320 prelinking failed. Use gdb_test_multiple.
17321
9733fc94
DJ
173222006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
17323
17324 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
17325 (do_tests): Call it.
17326
cc10cae3
AO
173272006-02-28 Alexandre Oliva <aoliva@redhat.com>
17328
17329 * gdb.base/prelink.exp: New test.
17330 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
17331
15c46491
WZ
173322006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
17333
17334 * gdb.fortran/derived-type.f90: New file.
17335 * gdb.fortran/derived-type.exp: New testcase.
17336
5c9f7ded
DJ
173372006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
17338
17339 * gdb.base/default.exp: Allow ';' as a directory separator.
17340
5b96932b
AS
173412006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17342
17343 * gdb.base/help.exp (help add-symbol-file): Update.
17344
1986bccd
AS
173452006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17346
17347 * gdb.base/help.exp (help load): Update expected results.
17348
a8b7528f
FF
173492006-02-19 Fred Fish <fnf@specifix.com>
17350
17351 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
17352 specifix hex value as part of results.
17353 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 17354
f8261448
FF
173552006-02-16 Fred Fish <fnf@specifix.com>
17356
17357 * gdb.base/whatis.c: Define variables using typedefs char_addr,
17358 ushort_addr, and slong_addr, so the typedefs are not optimized
17359 away.
17360 * gdb.base/whatis.exp: Add tests using type name for struct type,
17361 union type, enum type, and typedef.
a9c64011 17362
31d8bdd2
MK
173632006-02-13 Mark Kettenis <kettenis@gnu.org>
17364
17365 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
17366
34e41e63
JB
173672006-02-13 Jim Blandy <jimb@redhat.com>
17368
17369 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
17370 case where it takes two "next" commands to skip past the init
17371 call.
17372
ac6e4f31
FF
173732006-02-12 Fred Fish <fnf@specifix.com>
17374
17375 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
17376 to handle cases where it takes two "next" commands to skip
17377 past the init call.
17378
2db2d571
JB
173792006-02-07 Joel Brobecker <brobecker@adacore.com>
17380
17381 * gdb.ada/array_return.exp: Mark the last test as expected to fail
17382 on hppa32 targets.
17383
38fcd64c
DJ
173842006-02-06 Vladimir Prus <ghost@cs.msu.su>
17385
17386 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
17387 field.
17388
1315ad46
MK
173892006-01-29 Mark Kettenis <kettenis@gnu.org>
17390
17391 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
17392
5625b943
DJ
173932006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17394
17395 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
17396 files.
17397
80df1bbe
DJ
173982006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17399
17400 * gdb.cp/maint.exp: Set complaints to a positive value.
17401
9078e690
DJ
174022006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17403
17404 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
17405 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
17406 function name.
17407
9c903399
DJ
174082006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17409
17410 * gdb.base/checkpoint.c: Update copyright notice. Include
17411 <stdlib.h>.
17412
761ae4d6
JB
174132006-01-04 Jim Blandy <jimb@redhat.com>
17414
17415 * gdb.asm/asm-source.exp: Independently provide default values for
17416 asm-flags and debug-flags. Use 'string equal' to do the
17417 comparison, not the implicit expr's '==' operator. Remove
17418 now-unneeded assignments to asm-flags. In h8300 case, place
17419 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
17420
099ac3dd
MS
174212006-01-04 Michael Snyder <msnyder@redhat.com>
17422
17423 * gdb.base/checkpoint.c: New file.
17424 * gdb.base/checkpoint.exp: New file.
17425 * gdb.base/multi-fork.c: New file.
17426 * gdb.base/multi-fork.exp: New file.
17427 * gdb.base/pi.txt: New file (data for checkpoint.c test).
17428
f4d85314
FF
174292006-01-04 Fred Fish <fnf@specifix.com>
17430
17431 * gdb.base/ptype.c (foo): Add typedef.
17432 (intfoo): Add function.
17433 * gdb.base/ptype1.c: New file.
17434 * gdb.base/ptype.exp: Handle compilation and linking with two
17435 source files. Test that proper type for "foo" is found based
17436 on source context rather than first match found in symtabs.
17437
a1b06f35
MK
174382005-12-28 Mark Kettenis <kettenis@gnu.org>
17439
17440 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
17441 * gdb.asm/openbsd.inc: Indent commands.
17442
d082a1e2
MK
174432005-12-26 Mark Kettenis <kettenis@gnu.org>
17444
c65016bd
MK
17445 * gdb.base/freebpcmd.exp: Increase timeout.
17446
d082a1e2
MK
17447 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
17448
d3c32a0e
DJ
174492005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
17450
17451 * gdb.base/default.exp: Update check for "show version".
17452
9fdb1f50
RC
174532005-12-09 Randolph Chung <tausq@debian.org>
17454
17455 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
17456 * gdb.asm/pa64.inc: New file.
17457
5f2c56f7
RC
174582005-12-09 Randolph Chung <tausq@debian.org>
17459
17460 * gdb.asm/common.inc: Indent commands.
17461 * gdb.asm/asmsrc1.s: Likewise.
17462 * gdb.asm/asmsrc2.s: Likewise.
17463
8117349c
RC
174642005-12-09 Randolph Chung <tausq@debian.org>
17465
17466 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
17467 (get_addr_of_sym): Remove duplicate print.
17468 (gen_core): xfail hppa*-*-hpux*, update expected output.
17469 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
17470 * gdb.arch/pa64-nullify.s: New file.
17471
8f07f25a
RC
174722005-12-09 Randolph Chung <tausq@debian.org>
17473
17474 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
17475
55b39184
DJ
174762005-12-07 Christophe Lyon <christophe.lyon@st.com>
17477
17478 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
17479 code generation for these functions.
17480 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
17481 error message.
17482
31e2b00f
AS
174832005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
17484
17485 * gdb.base/help.exp (help b, help br, help bre, help brea)
17486 (help break): Update the expected message.
17487
c3d0b56e
SC
174882005-11-11 Stephane Carrez <stcarrez@nerim.fr>
17489
17490 * gdb.asm/m68hc11.inc: Setup the data section.
17491 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
17492 script for this test.
17493 (m6812-*-*): Likewise.
17494
36ae0ea9
RC
174952005-11-09 Randolph Chung <tausq@debian.org>
17496
17497 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
17498
9d6f42e9
WZ
174992005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
17500
17501 * gdb.base/break.exp: Fix a comment typo.
17502
e2126a14
EZ
175032005-11-03 Jim Blandy <jimb@redhat.com>
17504
a9c64011
AS
17505 Checked in by Elena Zannoni <ezannoni@redhat.com>
17506
889bf7c5 17507 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 17508
e0ac7199
CV
175092005-11-02 Corinna Vinschen <vinschen@redhat.com>
17510
17511 * gdb.arch/gdb1558.c: Include stdio.h.
17512
31d3fb18
MK
175132005-10-31 Mark Kettenis <kettenis@gnu.org>
17514
17515 * gdb.asm/asm-source.exp: Use -e instead of --entry.
17516
e52b687c
MK
175172005-10-31 Mark Kettenis <kettenis@gnu.org>
17518
17519 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
17520
f4711d79
PG
175212005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
17522
a9c64011
AS
17523 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17524 vscr" tests to better match output.
f4711d79 17525
987a9106
JB
175262005-10-12 Jim Blandy <jimb@redhat.com>
17527
17528 * gdb.base/structs.exp (any): New function.
17529 (test_struct_returns): Don't make any assumptions at all about
17530 what value the function returns when GDB can't set the return
17531 value.
17532
2336bb58
JB
175332005-10-09 Joel Brobecker <brobecker@adacore.com>
17534
17535 * gdb.ada/arrayidx/p.adb: New file.
17536 * gdb.ada/arrayidx.exp: New testcase
17537
175382005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
17539
17540 * gdb.ada/array_return/pck.ads: New file.
17541 * gdb.ada/array_return/pck.adb: New file.
17542 * gdb.ada/array_return/p.adb: New file.
17543 * gdb.ada/array_return.exp: New testcase.
17544
705335ea
JB
175452005-10-03 Joel Brobecker <brobecker@adacore.com>
17546
a9c64011
AS
17547 * gdb.base/arrayidx.c: New file.
17548 * gdb.base/arrayidx.exp: New testcase.
705335ea 17549
11ee9940
NR
175502005-09-29 Nick Roberts <nickrob@snap.net.nz>
17551
17552 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
17553 frames-invalid and breakpoints-invalid are no longer generated
17554 with level 3 so don't expect them in the output.
17555
39fb8e9e
BR
175562005-09-27 Bob Rossi <bob@brasko.net>
17557
a9c64011 17558 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
17559 from test. Escape the | in mi_gdb_test call.
17560 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
17561 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
17562 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
17563 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
17564 expected regex's in mi_gdb_test calls.
17565 * lib/mi-support.exp: Remove arbitrary .* from tests.
17566 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
17567 Fully anchor GDB/MI expected results in mi_gdb_test.
17568 * lib/gdb.exp (string_to_regexp): Escape the ] character.
17569 * gdb.base/sizeof.exp: Remove escape character. Correct test.
17570
2af48f68
PB
175712005-09-26 Paul Brook <paul@codesourcery.com>
17572
17573 * long_long.exp: Exclude eabi targets from arm FPA float format test.
17574
f34502bc
WZ
175752005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17576
17577 * bfp-test.c: New file.
17578 * bfp-test.exp: New testcase.
17579
ca929517
WZ
175802005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17581
17582 * gdb.fortran/subarray.exp: New testcase to test the evaluation
17583 of subarray and substring variable.
17584 * gdb.fortran/subarray.f: New source file for the test of subarray
17585 and substring variable evaluation.
17586 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
17587 of string constant.
17588
c761af65
DJ
175892005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
17590
17591 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
17592 copyright dates.
17593
561d7a1d
PG
175942005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
17595
17596 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
17597 powerpc altivec' test with an almost identical 'info vector' test.
17598
b2b64cc9
PG
175992005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17600
a9c64011
AS
17601 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17602 vscr" tests to match output.
b2b64cc9 17603
6ac4d15a
PG
176042005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17605
a9c64011
AS
17606 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
17607 output.
6ac4d15a 17608
40e55bef
BR
176092005-09-11 Bob Rossi <bob@brasko.net>
17610
889bf7c5
PA
17611 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
17612 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
17613 commands that return an MI output command and an asyncronous MI output
17614 command.
40e55bef
BR
17615 * gdb.mi/mi-console.exp: Ditto.
17616
3c7385ec
BR
176172005-09-11 Bob Rossi <bob@brasko.net>
17618
17619 * gdb.mi/mi-var-child.c: Include <string.h>.
17620
a6cd0eb3
DJ
176212005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
17622
17623 * killed.exp: Correct gdb_expect syntax.
17624
2f168eed
CV
176252005-08-09 Corinna Vinschen <vinschen@redhat.com>
17626
17627 * lib/mi-support.exp (mi_gdb_load): Fix typo.
17628
ecd3fd0f
BR
176292005-08-02 Bob Rossi <bob@brasko.net>
17630
17631 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
17632 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
17633 Change tests to inferior-tty-set/show.
17634 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
17635 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
17636 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
17637 inferior. Use mi_gdb_test to get GDB and Inferior output.
17638 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
17639 descriptor.
17640 (mi_inferior_tty_name): Add inferior PTY file name.
17641 (mi_gdb_start): Add INFERIOR_PTY parameter.
17642 (mi_gdb_test): Add IPATTERN parameter.
17643
f1ea48cb 176442005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 17645
f1ea48cb
BR
17646 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
17647 parameter to mi_gdb_test.
17648 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
17649
6e650a67
DJ
176502005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17651
17652 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
17653 struct_declarations.
17654 * gdb.mi/mi-var-child.exp: Step over the initialization of
17655 struct_declarations.
17656
8be260b6
DJ
176572005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17658
17659 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
17660 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
17661 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
17662 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
17663 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
17664 file.
17665
4e660f07
NR
176662005-07-27 Nick Roberts <nickrob@snap.net.nz>
17667
17668 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
17669 (do_children_tests): Assign values to the extra elements.
17670
17671 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
17672 them for tests for "-var-update --no-values" and
a9c64011 17673 "-var-update --all-values".
4e660f07
NR
17674 Add test for "-var-list-children --simple-values".
17675
17676 * gdb.mi/basics.c (callee4): Add integer array D[3]...
17677
17678 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
17679 "-stack-list-locals --simple-values" Improve doc strings and
17680 comments.
17681
6bdae935
MK
176822005-07-18 Mark Kettenis <kettenis@gnu.org>
17683
598b7a6f
MK
17684 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
17685 *-*-openbsd*.
17686 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
17687
6bdae935
MK
17688 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
17689 sigaltsatck'.
17690
1323e929 176912005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 17692
1323e929
BR
17693 * gdb.base/default.exp (tty): Changed output of command.
17694 * gdb.base/help.exp (help tty): Ditto.
17695
b1a9c082
MK
176962005-07-12 Mark Kettenis <kettenis@gnu.org>
17697
17698 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
17699
10a844a2
MK
177002005-07-10 Mark Kettenis <kettenis@gnu.org>
17701
17702 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
17703 -stack-select-frame without arguments.
17704 (test_stack_frame_listing): Add test for newly implemented command
17705 -stack-info-frame.
17706
3cb3b8df
BR
177072005-07-06 Bob Rossi <bob@brasko.net>
17708
17709 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
17710 command.
17711 (Copyright): Update copyright.
17712
a0c5fbcf
WZ
177132005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
17714
17715 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
17716 tests to evaluate exponentiation expression.
17717
984971d0
AS
177182005-06-29 Andreas Schwab <schwab@suse.de>
17719
17720 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
17721 main to avoid warnings.
17722
17723 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
17724
fe03833f
NR
177252005-06-20 Nick Roberts <nickrob@snap.net.nz>
17726
17727 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
17728 -stack-select-frame without arguments.
17729 (test_stack_frame_listing): Add test for newly implemented command
17730 -stack-info-frame.
a9c64011 17731
7a55f279
WZ
177322005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
17733
0ffa0ea5
DJ
17734 * gdb.fortran/array-element.f: New file.
17735 * gdb.fortran/array-element.exp: New testcase.
7a55f279 17736
26585198
DJ
177372005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17738
17739 * gdb.base/bigcore.exp: Correct checks for systems which can
17740 not dump a large core file.
17741
c1bd25fd
DJ
177422005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17743
17744 * gdb.base/relocate.c: Add a copyright notice.
17745 (dummy): Remove.
17746 * gdb.base/relocate.exp: Test printing the values of variables
17747 from a relocatable file.
17748
589e074d
DJ
177492005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17750
17751 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
17752 excess MI output after an error.
17753
0915f927
JB
177542005-05-29 Joel Brobecker <brobecker@adacore.com>
17755
17756 * gdb.arch/alpha-step.c: New file.
17757 * gdb.arch/alpha-step.exp: New testcase.
17758
76ff342d
DJ
177592005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
17760 Dennis Brueni <dennis@slickedit.com>
17761
17762 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
17763 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
17764 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
17765 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
17766 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
17767 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
17768 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
17769
96b0c7ac
DJ
177702005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
17771 Wu Zhou <woodzltc@cn.ibm.com>
17772
17773 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
17774 IBM's xlc compiler.
17775 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
17776 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
17777
f21565d2
JB
177782005-05-13 Jim Blandy <jimb@redhat.com>
17779
17780 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
17781 calling gdb_suppress_entire_file.
17782 * gdb.base/charset.exp: Same.
17783 * gdb.base/call-rt-st.exp: Same.
17784
6006a3a1
BR
177852005-05-05 Bob Rossi <bob_rossi@cox.net>
17786
17787 * lib/gdb.exp (fullname_syntax): Added global regex.
17788 (fullname_syntax_POSIX): Ditto.
17789 (fullname_syntax_UNC): Ditto.
17790 (fullname_syntax_DOS_CASE): Ditto.
17791 (fullname_syntax_DOS): Ditto.
17792 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
17793 fullname_syntax variable to scope and use it.
17794 (test_file_list_exec_source_files): Ditto.
17795 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
17796
c3b69c04
DJ
177972005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
17798
17799 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
17800
3c95e6af
PG
178012004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
17802
a9c64011
AS
17803 * lib/gdb.exp (skip_altivec_tests): New function, based on
17804 check_vmx_hw_available from the GCC testsuite.
17805 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
17806 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 17807
78df6c56
JB
178082005-05-02 Jim Blandy <jimb@redhat.com>
17809
17810 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
17811 calling gdb_suppress_entire_file.
17812
1690f9cf
DJ
178132005-04-30 Randolph Chung <tausq@debian.org>
17814
17815 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
17816 Slightly relax "sem_post" name checking.
17817
5ea106f7
PG
178182005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17819
17820 * gdb.base/unload.exp: Use new shared library infrastructure.
17821
bf7234cf
PG
178222005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17823
17824 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 17825 infrastructure.
bf7234cf 17826
547b869a
CV
178272005-04-29 Corinna Vinschen <vinschen@redhat.com>
17828
17829 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
17830 * gdb.asm/h8300.inc: New file.
17831
f07e55f0
PG
178322005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17833
17834 * gdb.base/shlib-call.exp: Change to use new shared library
17835 infrastructure.
17836
3cbba3d1
PG
178372005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17838
a9c64011
AS
17839 * gdb.base/pending.exp: Change to use new shared library
17840 infrastructure.
3cbba3d1 17841
ed6df200
PG
178422005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17843
a9c64011
AS
17844 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
17845 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 17846
8c8f4ebe
PG
178472005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
17848
a9c64011
AS
17849 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
17850 shared objects being adjusted and update copyright years.
8c8f4ebe 17851
607fbc54
DJ
178522005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
17853
17854 * ChangeLog: Correct some 2003-01-13 dates.
17855 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
17856 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
17857 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
17858 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
17859 gdb.trace/tfind.exp: Update copyright years.
17860
57bf0e56
DJ
178612005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
17862 Daniel Jacobowitz <dan@codesourcery.com>
17863
17864 * lib/gdb.exp (gdb_compile): Handle shlib=.
17865 (gdb_compile_shlib): New function.
17866
9b593790
PG
178672005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
17868
a9c64011 17869 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 17870
9494c6a5
DJ
178712005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17872
17873 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
17874 gdb.server.
17875 * configure.ac: Likewise.
17876 * configure: Regenerated.
17877 * gdb.gdbserver/Makefile.in: Moved to...
17878 * gdb.server/Makefile.in: ... here.
17879 * gdb.gdbserver/server.c: Moved to...
17880 * gdb.server/server.c: ... here.
17881 * gdb.gdbserver/server-run.exp: Moved to...
17882 * gdb.server/server-run.exp: ... here.
17883
6f8eac0e
DJ
178842005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17885
17886 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
17887 * configure.ac: Create gdb.gdbserver/Makefile.
17888 * configure: Regenerated.
17889 * lib/gdbserver-support.exp: New file, derived from
17890 config/gdbserver.exp.
17891 * config/gdbserver.exp: Use gdbserver-support.exp.
17892 * gdb.gdbserver/Makefile.in: New file.
17893 * gdb.gdbserver/server.c: New file.
17894 * gdb.gdbserver/server-run.exp: New file.
17895
6e87504d
PG
178962005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
17897
a9c64011
AS
17898 * lib/gdb.exp (test_compiler_info): Return compiler_info
17899 if no arguments are given.
6e87504d 17900
d1779be4
PG
179012005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
17902
17903 * gdb.arch/altivec-abi.exp: Check for compiler and set
17904 use altivec' flag accordingly.
17905 * gdb.arch/altivec-regs.exp: Likewise.
17906
88750304
DJ
179072005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
17908
17909 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
17910
f3fb768d
AS
179112005-03-27 Andreas Schwab <schwab@suse.de>
17912
17913 * gdb.base/bigcore.c (main): Add missing mode argument in open
17914 call.
17915
7e813ac5
DJ
179162005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
17917
17918 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
17919 downloads.
17920 * config/gdbserver.exp (gdb_load): Likewise.
17921
8e3049aa
PB
179222005-03-14 Paul Brook <paul@codesourcery.com>
17923
17924 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
17925 targets.
17926
a9df7c44
JB
179272005-03-09 Joel Brobecker <brobecker@adacore.com>
17928
17929 * gdb.dwarf2/dup-psym.S: New file.
17930 * gdb.dwarf2/dup-psym.exp: New testcase.
17931
9f0d94e8
JB
179322005-03-09 Joel Brobecker <brobecker@adacore.com>
17933
17934 * gdb.ada/exec_changed/first.adb: New file.
17935 * gdb.ada/exec_changed/second.adb: New file.
17936 * gdb.ada/exec_changed.exp: New testcase.
17937
5f579bc5
NS
179382005-03-08 Nathan Sidwell <nathan@codesourcery.com>
17939
36e9969c
NS
17940 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
17941 (A2): New class.
17942 (main): Test operator+.
17943 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
17944 breakpoint test.
17945
5f579bc5
NS
17946 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
17947 * gdb.base/signull.exp: Disable if gdb,nosignals.
17948 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
17949 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
17950 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
17951 * gdb.mi/mi2-console.exp: Likewise.
17952 * gdb.trace/collection.exp (run_trace_experiment): Consume the
17953 continue output at start.
17954 (gdb_collect_locals_test): Robustify regexp.
17955 * gdb.trace/passc-dyn.exp: Fix comment typo.
17956 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
17957
be46087e
CV
179582005-03-08 Corinna Vinschen <vinschen@redhat.com>
17959
17960 * gdb.asm/asm-source.exp: Add iq2000 case.
17961 * gdb.asm/iq2000.inc: New file.
17962
384e1a61 179632005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 17964
384e1a61
MI
17965 * gdb.base/command.exp: Change hardcoded value to regular expression.
17966 * gdb.base/float.exp: Add powerpc to the list of targets checked.
17967
584b6e9e
DJ
179682005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
17969
17970 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
17971 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
17972 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
17973 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
17974 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
17975
ab5b5d61
MK
179762005-03-05 Mark Kettenis <kettenis@gnu.org>
17977
17978 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
17979 changes.
17980
ae051c1b
PG
179812004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
17982
a9c64011
AS
17983 * lib/compiler.c: Add test for IBM's xlc compiler.
17984 * lib/compiler.cc: Likewise.
ae051c1b 17985
3f0f6ed2
JB
179862004-02-24 Joel Brobecker <brobecker@adacore.com>
17987
17988 * gdb.ada/fixed_points.exp: Create compilation object directory
17989 before running the test.
17990 * gdb.ada/null_record.exp: Likewise.
17991 * gdb.ada/packed_array.exp: Likewise.
17992 * gdb.ada/start.exp: Likewise.
17993
724f452b
JB
179942005-02-15 Joel Brobecker <brobecker@adacore.com>
17995
17996 * gdb.ada/packed_array/pa.adb: New file.
17997 * gdb.ada/packed_array.exp: New testcase.
17998
57f5cdfb 179992005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 18000
1f393151
MK
18001 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
18002 files.
18003
ebdda337
MK
18004 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
18005 on *-*-openbsd*. Correctly match whitespace in regukar
18006 expressions.
18007
cf309262
DJ
180082005-02-10 Daniel Jacobowitz <dan@debian.org>
18009
18010 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
18011 PR exp/1821
18012 * gdb.base/gdb1821.c: New test file.
18013 * gdb.base/gdb1821.exp: New test file.
18014
3be49e7a
JB
180152005-02-09 Joel Brobecker <brobecker@adacore.com>
18016
18017 * gdb.base/start.c: New file.
18018 * gdb.base/start.exp: New testcase.
18019
e292e67d
JB
180202005-02-09 Joel Brobecker <brobecker@adacore.com>
18021
18022 * gdb.ada/start/dummy.adb: New file.
18023 * gdb.ada/start.exp: New testcase.
18024
dbdfa66c
CV
180252005-02-09 Corinna Vinschen <vinschen@redhat.com>
18026
18027 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
18028 for printing symbols and statistics.
18029 Add test for using relative pathnames in "maint print msymbols" test.
18030 Mark "maint info sections DATA" XFAIL on Cygwin.
18031 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
18032 tests.
18033
d7941671
AC
180342005-02-09 Andreas Schwab <schwab@suse.de>
18035
18036 Committed by Andrew Cagney <cagney@gnu.org>
18037 * gdb.base/remotetimeout.exp: New file.
18038
74e5ef44
MK
180392005-02-07 Mark Kettenis <kettenis@gnu.org>
18040
18041 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
18042
464dd14d
JB
180432005-02-03 Joel Brobecker <brobecker@adacore.com>
18044
18045 * gdb.ada/gnat_ada.gpr: New file.
18046 * gdb.ada/gnat_ada.gin: Delete, no longer used.
18047 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
18048 * configure.ac: No longer generate gnat_ada.gpr.
18049 * configure: Regenerate.
18050 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
18051 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
18052 * gdb.ada/null_record/bar.ads: Likewise.
18053 * gdb.ada/null_record/bar.adb: Likewise.
18054 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
18055 * gdb.ada/null_record.exp (testdir): New variable.
18056 (testfile): executable is now in testdir subdirectory.
18057 (srcfile): Use full path to the main compilation unit.
18058 * gdb.ada/fixed_points.exp: Same changes as above.
18059
30d756ae
NR
180602005-02-03 Nick Roberts <nickrob@snap.net.nz>
18061
18062 * gdb.base/interp.exp: New test.
18063
9d799f85
AC
180642005-01-24 Andrew Cagney <cagney@gnu.org>
18065
18066 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
18067
15656118
AC
180682005-01-19 Andrew Cagney <cagney@gnu.org>
18069
a892c31b
AC
18070 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
18071 configure.ac not configure.in.
18072
15656118
AC
18073 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
18074 of powerpc*-*-*.
18075 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 18076 * gdb.base/list.exp (test_list_function)
15656118
AC
18077 (test_list_filename_and_function): Ditto.
18078 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
18079
a7b01baf
AC
180802005-01-16 Andrew Cagney <cagney@gnu.org>
18081
17d92a02
AC
18082 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
18083
a7b01baf
AC
18084 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
18085
bc8332bb
AC
180862005-01-14 Andrew Cagney <cagney@gnu.org>
18087
18088 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
18089 * gdb.mi/mi2-var-cmd.exp: Ditto.
18090
4d074752
CV
180912005-01-10 Corinna Vinschen <vinschen@redhat.com>
18092
18093 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
18094
bec39cab
AC
180952005-01-07 Andrew Cagney <cagney@gnu.org>
18096
18097 * configure.ac: Rename configure.in, require autoconf 2.59.
18098 * configure: Re-generate.
18099 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
18100 * gdb.stabs/configure: Re-generate.
18101 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
18102 * gdb.hp/configure: Re-generate.
18103 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
18104 autoconf 2.59.
18105 * gdb.hp/gdb.objdbg/configure: Re-generate.
18106 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
18107 autoconf 2.59.
18108 * gdb.hp/gdb.defects/configure: Re-generate.
18109 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
18110 autoconf 2.59.
18111 * gdb.hp/gdb.compat/configure: Re-generate.
18112 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
18113 autoconf 2.59.
18114 * gdb.hp/gdb.base-hp/configure: Re-generate.
18115 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
18116 autoconf 2.59.
18117 * gdb.hp/gdb.aCC/configure: Re-generate.
18118
f10b16d4
JB
181192004-12-15 Jim Blandy <jimb@redhat.com>
18120
18121 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
18122 under NPTL when there is debugging info available for libpthread.
18123
fb6e1814
JG
181242004-12-13 Jerome Guitton <guitton@gnat.com>
18125
18126 * gdb.ada/fixed_points.c: New file.
18127 * gdb.ada/fixed_points.exp: New file.
18128
fe46cd3a
RC
181292004-12-03 Randolph Chung <tausq@debian.org>
18130
18131 * gdb.arch/pa-nullify.exp: New file.
18132 * gdb.arch/pa-nullify.s: New file.
18133
8de0841b
RC
181342004-11-30 Randolph Chung <tausq@debian.org>
18135
18136 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
18137 instead of "tbug". Fix regexp to work properly with gdb_test.
18138
c8170782
PH
181392004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
18140
18141 * gdb.base/bitfields2.exp: New test.
18142 * gdb.base/bitfields2.c: New file.
18143
954269c2
RE
181442004-11-28 Richard Earnshaw <rearnsha@arm.com>
18145
18146 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
18147
0107feed
RC
181482004-11-16 Randolph Chung <tausq@debian.org>
18149
18150 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
18151
f073ae8c
DJ
181522004-11-14 Daniel Jacobowitz <dan@debian.org>
18153
18154 * gdb.threads/threadapply.exp: Correct "macro details" test.
18155
19ad59e7
JJ
181562004-11-11 Jeff Johnston <jjohnstn@redhat.com>
18157
18158 * gdb.threads/threadapply.exp: New test.
18159 * gdb.threads/threadapply.c: New file.
18160
9cf0961b
MK
181612004-11-07 Mark Kettenis <kettenis@gnu.org>
18162
18163 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
18164 frames.
18165
c789492a
FL
181662004-11-05 Felix Lee <felix+log1@specifixinc.com>
18167
18168 * gdb.base/cursal.exp: New file.
18169 * gdb.base/cursal.c: New file.
18170
a1e167bb
AC
181712004-11-03 Andrew Cagney <cagney@gnu.org>
18172
18173 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
18174
b7cbf173
MK
181752004-10-30 Mark Kettenis <kettenis@gnu.org>
18176
18177 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
18178 NetBSD/ELF targets.
18179
88f9d34f
JB
181802004-10-29 Joel Brobecker <brobecker@gnat.com>
18181
18182 * gdb.threads/bp_in_thread.c: New file, copied from
18183 pthread_cond_wait.c.
18184 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
18185 file, rather than reusing the .c file from another testcase.
18186
ca7d6a0c
JB
181872004-10-20 Joel Brobecker <brobecker@gnat.com>
18188
18189 * gdb.ada/null_record.exp: Check where we stopped after
18190 sending the start command, instead of where the associated
18191 temporary breakpoint was inserted.
18192
0d863d03
AC
181932004-10-14 Andrew Cagney <cagney@gnu.org>
18194
18195 * gdb.mi/gdb701.c (main): Return 0.
18196
d11e72cb
DJ
181972004-10-13 Daniel Jacobowitz <dan@debian.org>
18198
d40539a4 18199 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 18200
e1923096
JJ
182012004-10-12 Jeff Johnston <jjohnstn@redhat.com>
18202
18203 * gdb.threads/schedlock.c: Add comment markers to use to find
18204 line numbers.
18205 * gdb.threads/schedlock.exp: Adjust regex to handle the new
18206 comments.
18207 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
18208 breakpoint lines.
18209
ec8ba2c9
DJ
182102004-10-12 Daniel Jacobowitz <dan@debian.org>
18211
18212 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
18213
0eb3658b
DJ
182142004-10-12 Daniel Jacobowitz <dan@debian.org>
18215
18216 * configure.in: Add gdb.dwarf2.
18217 * configure: Regenerated.
18218 * Makefile.in: Add gdb.dwarf2.
18219 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
18220 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
18221 gdb.dwarf2/file1.txt: New files.
18222
a271cc33
OF
182232004-10-11 Orjan Friberg <orjanf@axis.com>
18224
a9c64011 18225 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
18226 of "run", since the latter doesn't work with remote targets. Adjust
18227 the breakpoint numbering accordingly.
18228 * gdb.threads/pthread_cond_wait.exp: Ditto.
18229
895ce074
MC
182302004-10-08 Michael Chastain <mec.gnu@mindspring.com>
18231
18232 * gdb.base/overlays.exp: Update copyright years.
18233
6be3092d
KI
182342004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
18235
18236 * gdb.base/overlays.exp: Disable if target is Linux.
18237
e05389b8
FL
182382004-10-06 Felix Lee <felix+log1@specifixinc.com>
18239
18240 * config/gdbserver.exp (gdb_load): Use right filename on remote.
18241
73cb587d
KI
182422004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
18243
18244 * gdb.asm/asm-source.exp: Add m32r-linux target.
18245 * gdb.asm/m32r-linux.inc: New file.
18246
3c0edcdc
AC
182472004-09-24 Andrew Cagney <cagney@redhat.com>
18248 David Anderson <anderson@redhat.com>
18249
18250 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
18251 command fails, assume things will work.
18252 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
18253 (_GNU_SOURCE): Define.
18254 (print_unsigned, print_hex): Change parameter to "long long".
18255 (print_byte_count): New function, use to print byte counts.
18256 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
18257 O_LARGEFILE.
18258 (main): Compute an upper bound on a corefile in max_core_size.
18259 Limit memory chunk size to max_core_size. Limit total memory
18260 allocated to max_core_size.
18261
4bb3667f
AC
182622004-09-23 Andrew Cagney <cagney@gnu.org>
18263
18264 * gdb.base/bigcore.exp: Replace the code that creates a corefile
18265 from a separate process with code that creates a corefile by
18266 making the inferior dump core.
18267
60fe1a51
MK
182682004-09-23 Mark Kettenis <kettenis@gnu.org>
18269
18270 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
18271 block.
18272
8e937346
MC
182732004-09-23 Michael Chastain <mec.gnu@mindspring.com>
18274
18275 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
18276 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
18277 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
18278 Likewise.
18279
7213f6d6
JJ
182802004-09-20 Jeff Johnston <jjohnstn@redhat.com>
18281
18282 * gdb.java/jprint.exp: New test case for java inferior call.
18283 * gdb.java/jprint.java: Ditto.
18284
eac69dca
JB
182852004-09-15 Joel Brobecker <brobecker@gnat.com>
18286
18287 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
18288
22227696
MC
182892004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18290
18291 * gdb.threads/killed.c: Include <stdlib.h>.
18292 * gdb.threads/pthreads.c: Likewise.
18293
7dd403a4
MC
182942004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18295
18296 * gdb.threads/killed.c: Add copyright notice.
18297
33f2d567
JM
182982004-09-10 Jason Molenda (jmolenda@apple.com)
18299
a9c64011
AS
18300 * gdb.base/define.exp: Two new tests to verify zero space chars
18301 after 'if' and 'while' commands in a user-defined command is correctly
18302 parsed.
33f2d567 18303
e05b62ac
AC
183042004-09-08 Andrew Cagney <cagney@gnu.org>
18305
18306 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
18307 delivery test with duplicate at end of file.
18308
9cbe82da
MK
183092004-09-06 Mark Kettenis <kettenis@jive.nl>
18310
18311 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
18312
564803d9
MC
183132004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18314
18315 * config/hppro.exp: Removed.
18316
7c6807ce
MC
183172004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18318
18319 * config/sparclet.exp: Removed.
18320
bf7e26dd
MC
183212004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18322
18323 * config/udi.exp: Removed.
18324
714e341b
MC
183252004-09-02 Michael Chastain <mec.gnu@mindspring.com>
18326
18327 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
18328 of "exp_continue".
18329 (advancei): Likewise.
18330
1236e623
JJ
183312004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18332
18333 * gdb.base/unload.exp: Fix so messages aren't duplicated.
18334
3bdcad15
MI
183352004-09-01 Manoj Iyer <manjo@austin.ibm.com>
18336
228af206 18337 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
18338 to check for nodebug in executable.
18339 * gdb.gdb/observer.exp (setup_test): Likewise.
18340 * gdb.gdb/selftest.exp (test_with_self): Likewise.
18341 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
18342
c72b934c
AC
183432004-09-01 Andrew Cagney <cagney@gnu.org>
18344
18345 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18346 files.
18347
edd9b715
JJ
183482004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18349
18350 * gdb.base/unload.exp: Fix expected warning message to match
18351 latest format.
18352
fb4ce06b
CV
183532004-09-01 Corinna Vinschen <vinschen@redhat.com>
18354
18355 * gdb.base/call-rt-st.exp: Fix typos.
18356
ce78e7c3
MI
183572004-08-31 Manoj Iyer <manjo@austin.ibm.com>
18358
18359 * gdb.threads/thread_check.exp: New testcase.
18360 * gdb.threads/thread_check.c: New testcase.
18361
2dedb159
AC
183622004-08-31 Andrew Cagney <cagney@gnu.org>
18363
18364 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
18365 (skip_to_handler_entry): New procedures. Test stepping into a
18366 handler when the breakpoint is at the handler's entry point.
18367
68f53502
AC
183682004-08-30 Andrew Cagney <cagney@gnu.org>
18369
18370 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
18371 gdb/1757.
18372
3e3ffd2b
MC
183732004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18374
18375 With code from Manoj Iyer <manjo@austin.ibm.com>:
18376 * lib/gdb.exp (gdb_file_cmd): Return more information in the
18377 return value. Add an arm for "no debugging symbols found".
18378 Change a stray "error" to "perror".
18379 (gdb_run_cmd): Adapt to new return value.
18380 * gdb.base/remote.exp: Adapt to new return value.
18381 * gdb.gdb/complaints.exp: Likewise.
18382 * gdb.gdb/observer.exp: Likewise.
18383 * gdb.gdb/selftest.exp: Likewise.
18384 * gdb.gdb/xfullpath.exp: Likewise.
18385
4b6f5fd2
JB
183862004-08-27 Joel Brobecker <brobecker@gnat.com>
18387
18388 * gdb.threads/bp_in_thread.exp: New testcase.
18389
e5b25496
MC
183902004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18391
18392 Fix PR testsuite/1735.
18393 * gdb.threads/schedlock.c (thread_function): Add a cast
18394 to suppress a gcc warning.
18395 * gdb.threads/thread-specific.c (thread_function): Likewise.
18396
934353d6
MC
183972004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18398
18399 * gdb.base/unload.c: Include <stdlib.h>.
18400
f98a0aef 184012004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 18402
f98a0aef 18403 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
18404 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
18405 synchronized after the "return".
18406
5a2e8882
MC
184072004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18408
18409 * gdb.mi/basics.c: Include <stdio.h>.
18410 * gdb.mi/pthreads.c: Include <stdlib.h>.
18411 * gdb.mi/var-cmd.c: Include <stdlib.h>.
18412
a9640423
MC
184132004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18414
18415 * gdb.threads/schedlock.c: Add copyright notice.
18416
b04e311d
AC
184172004-08-25 Andrew Cagney <cagney@gnu.org>
18418
18419 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
18420 (skip_over_handler, breakpoint_over_hander): New test procedures.
18421 (advance, advancei): Add a proper prefix, do not use
18422 rerun_to_main.
18423 * gdb.base/sigstep.c (main): Change to use an infinite loop.
18424
7c27f15b
MC
184252004-08-24 Michael Chastain <mec.gnu@mindspring.com>
18426
18427 * gdb.mi/basics.c: Add copyright notice.
18428 * gdb.mi/var-cmd.c: Add copyright notice.
18429
fffc87ae
MC
184302004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18431
18432 * lib/gdb.exp: Remove signed_keyword_not_used.
18433 * lib/compiler.c: Likewise.
18434 * lib/compiler.cc: Likewise.
18435
d782e0bf
MC
184362004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18437
18438 * gdb.base/whatis.c: Remove conditional disabling of "signed".
18439 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
18440
96033e83
MC
184412004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18442
18443 * gdb.base/whatis.c: Add copyright notice.
18444
cf38c229
MK
184452004-08-20 Mark Kettenis <kettenis@gnu.org>
18446
18447 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
18448 it to skip the breakpoints encoded in the inline assembly.
18449
f4b49756
MC
184502004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18451
18452 * Makefile.in: Add gdb.fortran.
18453
2f193b69
MC
184542004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18455
18456 * gdb.base/call-sc.exp (test_scalar_returns):
18457 Fix cut-and-paste glitch in "Make fun return now".
18458
89a237cb
MC
184592004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18460
18461 * configure.in: Add gdb.fortran.
18462 * configure: Regenerate.
18463 * gdb.fortran/Makefile.in: New file.
18464 * lib/gdb.exp (skip_fortran_tests): New procedure.
18465
469aff8e
MC
184662004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18467
18468 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
18469 reference to bug-gnu@prep.ai.mit.edu.
18470 * gdb.mi/mi-var-child.exp: Likewise.
18471 * gdb.mi/mi-var-cmd.exp: Likewise.
18472 * gdb.mi/mi-var-display.exp: Likewise.
18473 * gdb.mi/mi2-var-block.exp: Likewise.
18474 * gdb.mi/mi2-var-child.exp: Likewise.
18475 * gdb.mi/mi2-var-cmd.exp: Likewise.
18476 * gdb.mi/mi2-var-display.exp: Likewise.
18477
00b51b9f
MK
184782004-08-15 Mark Kettenis <kettenis@gnu.org>
18479
18480 * gdb.base/unload.c (main): Make local variable msg const.
18481
45f07fef
MC
184822004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18483
18484 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
18485 to bug-gnu@prep.ai.mit.edu.
18486 * gdb.mi/mi-disassemble.exp: Likewise.
18487 * gdb.mi/mi-eval.exp: Likewise.
18488 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
18489 default line number.
18490 * gdb.mi/mi-return.exp: Likewise.
18491 * gdb.mi/mi-simplerun.exp: Likewise.
18492 * gdb.mi/mi-stack.exp: Likewise.
18493 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
18494 number with explicit range test.
18495 * gdb.mi/mi-watch.exp: Likewise.
18496 * gdb.mi/mi2-break.exp: Likewise.
18497 * gdb.mi/mi2-cli.exp: Likewise.
18498 * gdb.mi/mi2-disassemble.exp: Likewise.
18499 * gdb.mi/mi2-eval.exp: Likewise.
18500 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
18501 default line number.
18502 * gdb.mi/mi2-return.exp: Likewise.
18503 * gdb.mi/mi2-simplerun.exp: Likewise.
18504 * gdb.mi/mi2-stack.exp: Likewise.
18505 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
18506 number with explicit range test.
18507 * gdb.mi/mi2-watch.exp: Likewise.
18508
dd8c8ee7
MC
185092004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18510
18511 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
18512 * gdb.cp/m-static.exp: Likewise.
18513 * gdb.cp/rtti.exp: Likewise.
18514
4e838464
MK
185152004-08-14 Mark Kettenis <kettenis@gnu.org>
18516
18517 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
18518
8d8cb839
EZ
185192004-08-14 Eli Zaretskii <eliz@gnu.org>
18520
18521 * ChangeLog: Prefix Local Variables with semi-colons and indent
18522 the reference to older ChangeLog files, to fix fontification in
18523 Emacs.
18524
deea8bb0
MC
185252004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18526
18527 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
18528 * gdb.mi/mi2-break.exp: Likewise.
18529
c3297504
MC
185302004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18531
18532 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
18533
25808999
MC
185342004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18535
18536 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
18537
226a8d71
MC
185382004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18539
18540 * gdb.cp/classes.exp: Remove unused declarations. Just let
18541 test names default instead of providing special names. Remove
18542 extraneous demangler test.
18543
37fdf854
JJ
185442004-08-12 Jeff Johnston <jjohnstn@redhat.com>
18545
18546 * gdb.base/unload.exp: New test for breakpoints in dynamically
18547 loaded libraries.
18548 * gdb.base/unload.c: Ditto.
18549 * gdb.base/unloadshr.c: Ditto.
18550
2d3a7986
MC
185512004-08-12 Michael Chastain <mec.gnu@mindspring.com>
18552
18553 * gdb.cp/classes.exp (test_ptype_class_objects): Call
18554 cp_test_ptype_class.
18555 (test_enums): Likewise.
18556
c72b934c
AC
185572004-08-10 Andrew Cagney <cagney@gnu.org>
18558
18559 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18560 files.
18561
cc503c8a
AC
185622004-08-10 Andrew Cagney <cagney@gnu.org>
18563
18564 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
18565 init_malloc call.
18566
902f2ccb
MC
185672004-08-10 Michael Chastain <mec.gnu@mindspring.com>
18568
18569 * ChangeLog: Add copyright notice. The notice is copied
18570 from emacs 21.3 top level ChangeLog.
18571
78c90502
MC
185722004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18573
18574 * lib/cp-support.exp: New file.
18575 * lib/cp-support.exp (cp_test_type_class): New function.
18576 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
18577 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
18578 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
18579 cp_test_ptype_class.
18580
88e5ea78
MC
185812004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18582
18583 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
18584 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
18585 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
18586 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
18587 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
18588 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
18589 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
18590 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
18591 gdb.mi/mi2-watch.exp: Update copyright years.
18592
6a89fc9c
MK
185932004-08-09 Mark Kettenis <kettenis@gnu.org>
18594
18595 * gdb.base/sigaltstack.exp: Provide proper anchoring.
18596
1482e0de
MC
185972004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18598
18599 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
18600 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
18601 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
18602 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
18603 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
18604 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
18605 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
18606 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
18607 gdb.mi/mi-watch.exp: Update copyright years.
18608
1a5ce3f3
DJ
186092004-08-08 Daniel Jacobowitz <dan@debian.org>
18610
18611 PR gdb/1738
18612 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
18613 from a breakpoint with a pending signal.
18614
04f6ecf2
DJ
186152004-08-08 Daniel Jacobowitz <dan@debian.org>
18616
18617 PR gdb/1736
18618 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
18619 * gdb.base/sigaltstack.exp (finish_test): Consume output until
18620 the prompt.
18621 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
18622
54d90d35
DJ
186232004-08-08 Daniel Jacobowitz <dan@debian.org>
18624
18625 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
18626
d2f6abb0
DJ
186272004-08-08 Daniel Jacobowitz <dan@debian.org>
18628
18629 PR gdb/1736
18630 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
18631 for i?86-*-linux*.
18632
5598c03d
DJ
186332004-08-08 Daniel Jacobowitz <dan@debian.org>
18634
18635 * gdb.arch/i386-prologue.exp: Compile without debug information.
18636
c6fee705
MC
186372004-08-08 Michael Chastain <mec.gnu@mindspring.com>
18638
18639 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
18640 rather than asking gdb to search.
18641
dd90efdb
MC
186422004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18643
18644 * gdb.base/gcore.c: Include <string.h>.
18645
1e84bec1
MC
186462004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18647
18648 * gdb.base/gcore.c: Add copyright notice.
18649
e425eb2b
MC
186502004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18651
18652 * gdb.base/freebpcmd.c: Include <stdio.h>.
18653 * gdb.base/long_long.c: Include <string.h>.
18654 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
18655 * gdb.base/siginfo.c: Include <string.h>.
18656 * gdb.base/sigstep.c: Include <string.h>.
18657
cb9aaed5
MC
186582004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18659
18660 * gdb.base/complex.c: Include <stdlib.h>.
18661
55944f3d
MC
186622004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18663
18664 * gdb.base/complex.c: Add copyright notice.
18665
7b2953d9
MC
186662004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18667
18668 * gdb.base/charset.c: Include <stdlib.h>.
18669
c9133d23
MC
186702004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18671
18672 * gdb.base/auxv.c: Include <stdlib.h>.
18673
0a8490ad
MC
186742004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18675
18676 * gdb.base/auxv.c: Add copyright notice.
18677
3426d5ec
MC
186782004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18679
18680 * gdb.base/coremaker.c: Add copyright notice.
18681 * gdb.base/coremaker2.c: Add copyright notice.
18682
8da195dd
AC
186832004-08-04 Andrew Cagney <cagney@gnu.org>
18684
18685 * gdb.base/store.exp: Update copyright.
18686 (check_set, up_set, check_struct, up_struct): Add a prefix to test
18687 names, do not import gdb_prompt.
18688
8d394f98
AC
186892004-08-01 Andrew Cagney <cagney@gnu.org>
18690
18691 Fix PR testsuite/1729.
18692 * gdb.base/dump.exp: Add test name to callers of capture_value, do
18693 not use capture_value with value 4.
18694 (capture_value): Add optional test name parameter.
18695 (test_reload_saved_value, test_restore_saved_value): Use $msg as
18696 the prefix, pass to capture_value.
18697
b6702b23
MK
186982004-08-01 Mark Kettenis <kettenis@gnu.org>
18699
18700 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
18701 * gdb.arch/i386-prologue.c (standard): New prototype and function.
18702 (main): Call new function.
18703
c203e0ca
MC
187042004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18705
18706 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
18707
a7995a30
MC
187082004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18709
18710 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
18711
9366563b
MC
187122004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18713
b6eeaf26 18714 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
18715 Accept more values of vtbl pointer. Remove some messages
18716 about "obsolete gcc or gdb".
18717
2fc1f950
MC
187182004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18719
18720 * gdb.cp/classes.exp: Accept more varieties of ptype output.
18721
c724d49b
MC
187222004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18723
18724 * gdb.base/asm-source.exp: Properly convert target board
18725 debug flags from gcc format to binutils format.
18726
736b0fce
MK
187272004-07-28 Mark Kettenis <kettenis@gnu.org>
18728
18729 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
18730 gdb1718". PR backtrace/1718 partially fixed.
18731
5633ea5c
JJ
187322004-07-27 Jeff Johnston <jjohnstn@redhat.com>
18733
18734 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
18735
575eebb1
NC
187362004-07-26 Nick Clifton <nickc@redhat.com>
18737
18738 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
18739 good default value for a specific architecture is available then
18740 set it to that value. Otherwise default to the -gstabs switch.
18741 Remove the -g... switches from the asm-flags variable. Allow the
18742 target board info to override the value if it wants to. Pass the
18743 switch on the assembler command line.
18744
62104619
MK
187452004-07-23 Mark Kettenis <kettenis@gnu.org>
18746
18747 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
18748 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
18749 (main): Call new function.
18750
4a1135b8
MC
187512004-07-22 Michael Chastain <mec.gnu@mindspring.com>
18752
18753 Test for PR exp/1715.
18754 * gdb.base/radix.exp: Refactor common procedures. Make all
18755 test names unique. Change XFAIL to KFAIL.
18756
8a12c1f0
MC
187572004-07-20 Michael Chastain <mec.gnu@mindspring.com>
18758
18759 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
18760 * gdb.ada/gnat_ada.gin: ... to here.
18761 * configure.in: Use gnat_ada.gin.
18762 * configure: Regenerate.
18763
23b451cf
AC
187642004-07-20 Andrew Cagney <cagney@gnu.org>
18765
18766 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
18767 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
18768 XFAILs. Clean up test messages and comments. Check backtraces.
18769 Delete re-sync code.
18770
ab618a02
MC
187712004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18772
18773 Fix PR cli/740.
18774 * gdb.base/annota1.exp: Honor gdb,nosignals.
18775 * gdb.base/annota3.exp: Likewise.
18776
46dad340
MC
187772004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18778
18779 * lib/java.exp: Update copyright notice.
18780
756d8c70
AC
187812004-07-19 Andrew Cagney <cagney@gnu.org>
18782
18783 * gdb.base/selftest.exp: Copy file from here ...
18784 * gdb.gdb/selftest.exp: ... to here.
18785
586027e6
AC
187862004-07-16 Andrew Cagney <cagney@redhat.com>
18787
18788 * lib/insight-support.exp: Delete file.
18789 * lib/java.exp (java_init): Fix copyright.
18790
029d2200
AC
187912004-07-16 Andrew Cagney <cagney@gnu.org>
18792
18793 * gdb.base/restore.c: Append "prologue" to comments marking the a
18794 function's prologue.
18795 * gdb.base/restore.exp: Update copyright, re-indent.
18796 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
18797 callerN" prefix where needed. Update patterns that match a
18798 function's prologue.
18799
653b62c5
MC
188002004-07-16 Michael Chastain <mec.gnu@mindspring.com>
18801
18802 * gdb.base/restore.c: Add copyright notice.
18803
f7d690e5
AC
188042004-07-16 Andrew Cagney <cagney@gnu.org>
18805
18806 * gdb.base/logical.exp: Update copyright.
18807 (evaluate): New procedure. Use to re-implement tests using
18808 several tables.
18809
d629a7cb
MH
188102004-07-14 Martin Hunt <hunt@redhat.com>
18811
18812 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
18813 which fixes some problems where init.tcl was not found.
18814
9c7bb332
AC
188152004-07-13 Andrew Cagney <cagney@gnu.org>
18816
6bf46641
AC
18817 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
18818 (check_sizeof, check_valueof): Do not include the output in the
18819 test name. Use gdb_test.
18820 (get_valueof): Use gdb_test_multiple.
18821
c4ffd4c0
AC
18822 * gdb.base/step-test.exp: Update copyright. Use
18823 gdb_test_multiple. Ensure that test names do not include
18824 architecture dependent output.
18825
ab89363a
AC
18826 * gdb.gdb/observer.exp: Update copyright.
18827 (setup_test): Use gdb_test_multiple.
18828 (attach_first_observer, attach_second_observer)
18829 (attach_third_observer, detach_first_observer)
18830 (detach_second_observer, detach_third_observer)
18831 (reset_counters, check_counters): Make $message a prefix.
18832 (test_normal_stop_notifications): Add "args" parameter - a list of
18833 init functions to be called. Make $message a prefix,
18834 (test_observer_normal_stop): Change the message prefixes so that
18835 they are unique, pass the attach / detach procedures to
18836 test_normal_stop_notifications.
18837
ec58997a
AC
18838 * gdb.base/signull.exp (test_segv): Prefix all tests with
18839 "${name}". Clean up test messages.
18840
b475183b
AC
18841 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
18842
9c7bb332
AC
18843 * gdb.base/ena-dis-br.exp: Update copyright.
18844 (break_at): New function. Replace send_gdb with gdb_test,
18845 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
18846 ignore count, not stopped at bpt", with KFAIL.
18847
2dd95497
CV
188482004-07-13 Corinna Vinschen <vinschen@redhat.com>
18849
18850 * gdb.base/attach.exp: Remove cleanupfile handling.
18851
419e626b
AC
188522004-07-12 Andrew Cagney <cagney@gnu.org>
18853
18854 * gdb.base/annota1.exp: Cleanup corefile test name.
18855 * gdb.base/annota3.exp: Ditto.
18856
8b1b3228
AC
188572004-07-12 Andrew Cagney <cagney@gnu.org>
18858
78650829
AC
18859 * gdb.base/signals.exp: Clean up copyright, re-indent.
18860
8b1b3228
AC
18861 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
18862 gdb_test and gdb_test_multiple.
18863
935c2760
JJ
188642004-07-08 Jeff Johnston <jjohnstn@redhat.com>
18865
18866 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 18867 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
18868 provide line number info for first statement in main.
18869
1544280f
AC
188702004-07-08 Andrew Cagney <cagney@gnu.org>
18871
1279f4ff
AC
18872 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
18873
1544280f
AC
18874 * gdb.base/sigbpt.exp: Make the common part of each test name a
18875 prefix instead of suffix.
18876
bcc82369
BR
188772004-07-07 Bob Rossi <bob_rossi@cox.net>
18878
18879 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
18880 test from test_tbreak_creation_and_listing to
18881 test_file_list_exec_source_file
18882 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
18883 Changed name of test from test_tbreak_creation_and_listing to
18884 test_file_list_exec_source_file
18885
23f4b0aa
JJ
188862004-07-07 Jeff Johnston <jjohnstn@redhat.com>
18887
18888 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
18889 the jmisc() constructor instead of <init>.
18890 * gdb.java/jmisc1.exp: Ditto.
18891
56401cd5
AC
188922004-07-07 Andrew Cagney <cagney@gnu.org>
18893
18894 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
18895 corrupting the PC.
18896
44ae2f6a
MC
188972004-07-06 Michael Chastain <mec.gnu@mindspring.com>
18898
18899 * gdb.cp/templates.exp: Accept whitespace change in demangler
18900 output.
18901
45a83408
AC
189022004-07-06 Andrew Cagney <cagney@gnu.org>
18903
18904 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
18905
d205ad70
MC
189062004-07-02 Michael Chastain <mec.gnu@mindspring.com>
18907
18908 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
18909 * lib/compiler.cc: Likewise.
18910
06ea1a61
MC
189112004-06-30 Michael Chastain <mec.gnu@mindspring.com>
18912
18913 * lib/compiler.cc: Work around string preprocessing problem
18914 with old hp c++ compiler.
18915 * lib/compiler.c: Likewise.
18916
daab1251
CV
189172004-06-29 Corinna Vinschen <vinschen@redhat.com>
18918
18919 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
18920 directives to conditionalize symbol prefixing.
18921 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
18922 additional_flags handling. Add underscore prefix for Cygwin.
18923 * gdb.arch/i386-unwind.c: Use preprocessor directives to
18924 conditionalize symbol prefixing.
18925 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
18926 additional_flags handling. Add underscore prefix for Cygwin.
18927
cc984116
CV
189282004-06-29 Corinna Vinschen <vinschen@redhat.com>
18929
18930 * gdb.base/bigcore.exp: Skip test on Cygwin.
18931
c279b077
MC
189322004-06-28 Michael Chastain <mec.gnu@mindspring.com>
18933
18934 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
18935 formats for "info register". Use gdb_test_multiple. Fix
18936 the "invalid register" test.
18937
0e915747
CV
189382004-06-28 Corinna Vinschen <vinschen@redhat.com>
18939
18940 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
18941 PID for Cygwin. Add Cygwin specific strings to check for in some
18942 tests.
18943 (do_attach_tests): Add a test for user interaction when attaching
18944 to a process with no matching symbol table already loaded.
18945
11422c86
AC
189462004-06-26 Andrew Cagney <cagney@gnu.org>
18947
18948 Test PR java/1567 and PR java/1565.
18949 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
18950 * gdb.java/jmisc2.exp: Delete file.
18951
cefbce26
MC
189522004-06-26 Michael Chastain <mec.gnu@mindspring.com>
18953
18954 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
18955
e19f872c
CV
189562004-06-25 Corinna Vinschen <vinschen@redhat.com>
18957
18958 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
18959 attach process.
18960
d931ba3b
MC
189612004-06-23 Michael Chastain <mec.gnu@mindspring.com>
18962
18963 * gdb.cp/pr-1553.exp: Remove.
18964
aef68c48
MC
189652004-06-22 Michael Chastain <mec.gnu@mindspring.com>
18966
18967 * gdb.cp/pr-1553.cc: Remove.
18968 * gdb.cp/pr-1553.exp: Disable this test.
18969
8d5df71a
JB
189702004-06-20 Jim Blandy <jimb@redhat.com>
18971
a9c64011 18972 Fix PR testsuite/1680.
8d5df71a
JB
18973 * gdb.arch/i386-sse.exp: Properly quote curly braces in
18974 regular expressions.
18975
4ac6f39d
MC
189762004-06-19 Michael Chastain <mec.gnu@mindspring.com>
18977
18978 Fix PR testsuite/1679.
18979 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
18980 Issue an UNSUPPORTED result instead.
18981
1b413552
JB
189822004-06-18 Jim Blandy <jimb@redhat.com>
18983
18984 * gdb.base/charset.exp: Only send a control-C if we see a new
18985 prompt and incomplete command.
18986
6daa6ebd
MC
189872004-06-18 Michael Chastain <mec.gnu@mindspring.com>
18988
18989 * gdb.cp/pr-574.cc: Add copyright notice.
18990
51fa4ae0
JB
189912004-06-17 Jim Blandy <jimb@redhat.com>
18992
18993 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
18994 cases where the regexp has no groups; this grabs random text from
18995 the previous test suite, whatever that was.
18996
8fea26c5
MC
189972004-06-17 Michael Chastain <mec.gnu@mindspring.com>
18998
18999 * gdb.cp/printmethod.cc: Add copyright notice.
19000
1e3aeb41
MC
190012004-06-16 Michael Chastain <mec.gnu@mindspring.com>
19002
19003 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
19004
9d9030bc
AC
190052004-06-16 Andrew Cagney <cagney@gnu.org>
19006
19007 * gdb.base/signull.c: Update copyright. Include <string.h>.
19008 (bowler): Replace data_pointer with data_read
19009 and data_write cases. Add code_descriptor case.
19010 (zero, desc): New array and pointer.
19011 (data, code): Change to simple pointers.
19012 * gdb.base/signull.exp: Fix probe pattern matching a function
19013 descriptor SIGSEGV. Replace data_pointer with data_read and
19014 data_write tests.
19015
acd4ad44
AC
190162004-06-16 Andrew Cagney <cagney@gnu.org>
19017
19018 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
19019
08fd625c
MC
190202004-06-15 Michael Chastain <mec.gnu@mindspring.com>
19021
19022 * gdb.base/long_long.c: Add copyright notice.
19023
1903502c
MC
190242004-06-15 Michael Chastain <mec.gnu@mindspring.com>
19025
19026 * gdb.base/long_long.exp: Remove reference to
19027 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
19028 to gdb_breakpoint and gdb_continue_to_breakpoint.
19029
83313cb1
JB
190302004-06-14 Jim Blandy <jimb@redhat.com>
19031
19032 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
19033 endian case.
19034
1bf404ef
AC
190352004-06-14 Andrew Cagney <cagney@gnu.org>
19036
19037 * gdb.base/gcore.exp (capture_command_output): Delete the always
19038 passing tests containing inferior values.
19039 * gdb.base/ending-run.exp: Do not include the breakpoint address
19040 in the test message. Update copyright.
19041 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
19042 size in the test name, use gdb_test_multiple. Update copyright.
19043
ef220b33
MC
190442004-06-14 Michael Chastain <mec.gnu@mindspring.com>
19045
19046 * gdb.cp/ref-types.cc: Add copyright notice.
19047
4f70a4c9
MC
190482004-06-14 Michael Chastain <mec.gnu@mindspring.com>
19049
19050 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
19051 hp_aCC_compiler.
19052 * lib/compiler.cc: Likewise.
19053 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
19054 'set' commands. Log diagnostics for other lines. Set
19055 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
19056
335928ac
MC
190572004-06-13 Michael Chastain <mec.gnu@mindspring.com>
19058
19059 * gdb.cp/try_catch.cc: Add copyright notice.
19060
2efb12e8
MC
190612004-06-12 Michael Chastain <mec.gnu@mindspring.com>
19062
19063 * gdb.cp/userdef.cc: Add copyright notice.
19064
0bbed51a
MC
190652004-06-11 Michael Chastain <mec.gnu@mindspring.com>
19066
19067 * gdb.cp/virtfunc.cc: Add copyright notice.
19068
e12a46c9
RC
190692004-06-11 Randolph Chung <tausq@debian.org>
19070
19071 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
19072 problem.
19073
338e05af
AC
190742004-06-10 Andrew Cagney <cagney@gnu.org>
19075
19076 * lib/compiler.cc, lib/compiler.c: Append either
19077 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
19078 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
19079 instead of gcc-3-3.
19080
dc3f10cb
AC
190812004-06-09 Andrew Cagney <cagney@gnu.org>
19082
b4d946af
AC
19083 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
19084 gdb/1455, bug is specific to "long long" and "double".
a9c64011 19085
dc3f10cb
AC
19086 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
19087 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
19088 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
19089 fixed.
19090
b5c0bfa2
AC
190912004-06-09 Andrew Cagney <cagney@gnu.org>
19092
19093 * gdb.base/structs.exp (test_struct_returns): Replace
19094 "return_value_unknown" and "finish_value_unknown" by
19095 "return_value_known" and "finish_value_known". Instead of
19096 "return_value_unknown" iff "finish_value_unknown", check
19097 "return_value_known" implies "finish_value_known".
19098
caeb605f
MH
190992004-06-08 Martin Hunt <hunt@redhat.com>
19100
19101 * gdb.base/float.exp: Add pattern for mips targets.
19102
c892bb64
RC
191032004-06-08 Randolph Chung <tausq@debian.org>
19104
19105 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
19106 message for unknown architectures more clear.
19107
48306d3e
JB
191082004-06-08 Joel Brobecker <brobecker@gnat.com>
19109
19110 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
19111 start the execution of the program.
19112
83ecb59f
JB
191132004-06-07 Jim Blandy <jimb@redhat.com>
19114
19115 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
19116 * gdb.arch/i386-cpuid.h: New helper file.
19117
55264cb4
RC
191182004-06-07 Randolph Chung <tausq@debian.org>
19119
19120 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
19121 has started.
19122
23cadb28
RM
191232004-06-04 Roland McGrath <roland@redhat.com>
19124
19125 Fix PR gdb/1647.
19126 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
19127 differently to be robust to output buffering differences.
19128
51d01eda
MC
191292004-06-04 Michael Chastain <mec.gnu@mindspring.com>
19130
19131 * gdb.threads/pthreads.exp: Update copyright years.
19132 (check_control_c): Change asynchronous 'after' to synchronous.
19133
f4fc3b93
RM
191342004-06-04 Roland McGrath <roland@redhat.com>
19135
19136 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
19137 next gdb prompt.
19138
4013522b
MC
191392004-06-02 Michael Chastain <mec.gnu@mindspring.com>
19140
19141 Fix PR gdb/1636.
19142 * gdb.threads/manythreads.exp: Change asynchronous 'after'
19143 calls to synchronous.
19144
7a8f1e6b
JB
191452004-05-26 Jim Blandy <jimb@redhat.com>
19146
19147 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
19148
81bb3443
RC
191492004-05-24 Randolph Chung <tausq@debian.org>
19150
19151 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
19152 * gdb.asm/pa.inc: New file.
19153
8f5a3103
MK
191542004-05-22 Mark Kettenis <kettenis@gnu.org>
19155
19156 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
19157
734b8fe8 191582004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 19159 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
19160
19161 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
19162 GDB prompt.
19163
725603e1
UW
191642004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19165
f4fc3b93 19166 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
19167 setjmp/longjmp. Use sigaction instead of signal.
19168
8b923272 191692004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 19170 Michael Snyder <msnyder@redhat.com>
8b923272
JB
19171
19172 * gdb.threads/pthread_cond_wait.c: New file.
19173 * gdb.threads/pthread_cond_wait.exp: New testcase.
19174
8bfabb04
AC
191752004-05-13 Andrew Cagney <cagney@redhat.com>
19176
19177 * gdb.base/signull.exp, gdb.base/signull.c: New files.
19178 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
19179
42edda50
AC
191802004-05-11 Andrew Cagney <cagney@redhat.com>
19181
19182 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
19183 fixed but revealed gdb/1639.
19184
d303a6c7
AC
191852004-05-10 Andrew Cagney <cagney@redhat.com>
19186
19187 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
19188 func1" and "next to 2nd alarm", kernel bug avoided.
19189
bf08c2a1
DJ
191902004-05-10 Daniel Jacobowitz <dan@debian.org>
19191
19192 PR external/1568
19193 * gdb.base/bigcore.exp: Check the size of the dumped core file.
19194 XFAIL if it is smaller than bytes_allocated.
19195 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
19196 (main): Make chunks_allocated unsigned. Correct comment.
19197
c0586a34
JB
191982004-05-07 Joel Brobecker <brobecker@gnat.com>
19199
19200 * gdb.arch/powerpc-aix-prologue.c: New file.
19201 * gdb.arch/powerpc-aix-prologue.exp: New file.
19202
f2785d12
JB
192032004-05-07 Jim Blandy <jimb@redhat.com>
19204
19205 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
19206 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
19207
bd7f6e30
JB
192082004-05-06 Joel Brobecker <brobecker@gnat.com>
19209
19210 * gdb.base/sep.exp: No longer setup_kfail when the program was
19211 built with dwarf2.
19212
0a5e7efe
JI
192132004-05-05 Jim Ingham <jingham@apple.com>
19214
19215 * gdb.base/pending.exp: Make sure pending breakpoints
19216 preserve the ignore count.
f4fc3b93 19217
a8958849
MK
192182004-04-27 Jerome Guitton <guitton@gnat.com>
19219
19220 * i386-prologue.exp: Add testcase for jump instruction as first
19221 instruction of the real code.
19222 * i386-prologue.c (jump_at_beginning): New function.
19223
7e103f5b
MK
192242004-04-28 Mark Kettenis <kettenis@gnu.org>
19225
19226 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
19227 x86_64-*-*.
19228
5d38b224
MK
192292004-04-28 Mark Kettenis <kettenis@gnu.org>
19230
19231 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
19232 i*86-*-*.
19233
0ef32fd9
MK
192342004-04-25 Mark Kettenis <kettenis@gnu.org>
19235
19236 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
19237 expression that checks the return type.
19238
71d7dd7c
AC
192392004-04-23 Andrew Cagney <cagney@redhat.com>
19240
19241 * gdb.base/call-sc.exp: New test of scalar call/return values.
19242 * gdb.base/call-sc.c: Ditto.
19243
1e9f977e
JJ
192442004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19245
19246 * gdb.threads/manythreads.c: Reduce thread stack size.
19247
899d9e3a
JJ
192482004-04-23 Jeff Johnston <jjohnstn@redhat.com>
19249
19250 * gdb.threads/manythreads.c: Add copyright notice.
19251
61bcae62
AC
192522004-04-23 Andrew Cagney <cagney@redhat.com>
19253
19254 * gdb.base/siginfo.exp: Better handle step out of signal.
19255 * gdb.base/sigstep.exp: Ditto.
19256
7339a42e 192572004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 19258 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
19259
19260 * gdb.threads/manythreads.c: New testcase.
19261 * gdb.threads/manythreads.exp: Ditto.
19262
5c98409b
JB
192632004-04-22 Jim Blandy <jimb@redhat.com>
19264
19265 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
19266 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
19267
3b611f1a
MC
192682004-04-21 Michael Chastain <mec.gnu@mindspring.com>
19269
19270 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
19271
f0fd9238
AC
192722004-04-21 Andrew Cagney <cagney@redhat.com>
19273
19274 * gdb.base/sigstep.c: New file.
19275 * gdb.base/sigstep.exp: New file.
19276
90990674
JB
192772004-04-16 Joel Brobecker <brobecker@gnat.com>
19278
19279 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
19280 call to observer_notify_normal_stop.
19281
78cef34b
AC
192822004-04-15 Andrew Cagney <cagney@redhat.com>
19283
19284 * gdb.base/siginfo.c: New file.
19285 * gdb.base/siginfo.exp: New file.
19286
d2343407
JB
192872004-04-12 J. Brobecker <brobecker@gnat.com>
19288
19289 * gdb.base/sep.exp: Fix typo in comment.
19290
a2dba3c8
JB
192912004-04-12 J. Brobecker <brobecker@gnat.com>
19292
19293 * gdb.base/sep.c: New file.
19294 * gdb.base/sep-proc.c: New file.
19295 * gdb.base/sep.exp: New testcase.
19296
15f7b60e
MK
192972004-04-09 Mark Kettenis <kettenis@gnu.org>
19298
19299 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
19300 support.
19301
44f4de1a
AC
193022004-04-05 Andrew Cagney <cagney@redhat.com>
19303
19304 * gdb.base/sigaltstack.c: New file.
19305 * gdb.base/sigaltstack.exp: New file.
19306
ef04f396
JB
193072004-04-04 Joel Brobecker <brobecker@gnat.com>
19308
19309 * gdb.base/foll-fork.exp: Update the expected output for
19310 "help set follow-fork-mode", to match a change that was made
19311 to the help of this variable on 2004-01-13.
19312
d40d2c92
JB
193132004-04-01 Joel Brobecker <brobecker@gnat.com>
19314
19315 * lib/ada.exp: Add copyright notice.
19316 * bar.ads: Likewise.
19317 * bar.adb: Likewise.
19318 * null_record.adb: Likewise.
19319 * null_record.exp: Likewise.
19320 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
19321
f86ef5a3
JB
193222004-04-01 Joel Brobecker <brobecker@gnat.com>
19323
19324 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
19325 * configure: Regenerate.
19326
414e70e3
JB
193272004-04-01 Joel Brobecker <brobecker@gnat.com>
19328
19329 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
19330 to build the application. Remove the message printed when in
19331 verbose mode, redundant with the UNSUPPORTED message above.
19332
f0aaee49
JB
193332004-03-31 Joel Brobecker <brobecker@gnat.com>
19334
19335 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
19336 * gdb.ada (null_record.exp): New testcase.
19337
ac81cb54
JB
193382004-03-31 Joel Brobecker <brobecker@gnat.com>
19339
19340 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
19341
854af2f7
JB
193422004-03-31 Joel Brobecker <brobecker@gnat.com>
19343
19344 * gdb.ada: New subdirectory.
19345 * gdb.ada/Makefile.in: New file.
19346 * gdb.ada/gnat_ada.gpr.in: New file.
19347
034cb681
JB
193482004-03-31 Joel Brobecker <brobecker@gnat.com>
19349
19350 * lib/ada.exp: New file.
19351
78a1a894
DJ
193522004-03-24 Daniel Jacobowitz <drow@mvista.com>
19353
19354 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
19355 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
19356
4b2b3b3e
AC
193572004-03-22 Andrew Cagney <cagney@redhat.com>
19358
19359 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
19360 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
19361 Problem identified by Ulrich Weigand.
19362
23c73aa3
DC
193632004-03-17 David Carlton <carlton@kealia.com>
19364
19365 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
19366 PR c++/826.
19367
d63a86f8
RM
193682004-03-16 Roland McGrath <roland@redhat.com>
19369
19370 * gdb.base/auxv.exp: New file.
19371 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
19372
0e02aa50
DC
193732004-03-12 David Carlton <carlton@kealia.com>
19374
19375 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
19376 * gdb.cp/pr-1553.cc: Ditto.
19377 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
19378 pass branch.
19379
c20b71be
MC
193802004-03-12 Michael Chastain <mec.gnu@mindspring.com>
19381
19382 * gdb.cp/templates.exp: Accept more template types.
19383
c7414a01
MC
193842004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19385
19386 From Corinna Vinschen with modifications.
19387 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
19388 local variable obj_with_enum.
19389 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
19390 results with obj_with_enum.
19391
ed69573c
MC
193922004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19393
19394 * gdb.cp/classes.cc: New file, copied from misc.cc.
19395 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
19396
28301461
MC
193972004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19398
19399 * gdb.cp/misc.cc: Add copyright notice.
19400
1198ecbe
DC
194012004-03-05 David Carlton <carlton@kealia.com>
19402
19403 * gdb.cp/rtti.exp: Add 'print *obj3' test.
19404 * gdb.cp/rtti.h: Update copyright.
19405 (namespace n2::n3): New.
19406 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
19407 (n2::n3::func3): New.
19408 (main): Call n2::n3::func3.
19409 * gdb.cp/rtti2.cc: Update copyright.
19410 (n2::create3): New.
19411
9e08c470
MK
194122004-03-04 Mark Kettenis <kettenis@gnu.org>
19413
19414 * gdb.asm/openbsd.inc: Fix typo.
19415
4bebc3aa
FF
194162004-03-03 Fred Fish <fnf@redhat.com>
19417
19418 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
19419 "val" instead of unused "size". Update copyright year.
19420
6ea9fb37
DJ
194212004-02-29 Daniel Jacobowitz <drow@mvista.com>
19422
19423 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
19424 to use unsigned char.
19425 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
19426 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
19427
23b23974
DJ
194282004-02-29 Daniel Jacobowitz <drow@mvista.com>
19429
19430 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
19431 line of output.
19432
7574fd53
DJ
194332004-02-28 Daniel Jacobowitz <drow@mvista.com>
19434
19435 * gdb.base/relocate.c (dummy): Initialize.
19436
a195357f
DJ
194372004-02-28 Daniel Jacobowitz <drow@mvista.com>
19438
19439 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
19440 a breakpoint at exit.
19441
72fd54a9
FF
194422004-02-27 Fred Fish <fnf@redhat.com>
19443
19444 * gdb.base/chng-syms.exp: Add expect condition to match failing
19445 case that isn't a timeout.
19446
b9d23137
AC
194472004-02-27 Andrew Cagney <cagney@redhat.com>
19448
19449 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
19450 support.
19451
15d208f6 194522004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 19453
15d208f6
FF
19454 * gdb.arch/gdb1431.c: Remove.
19455 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
19456 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
19457 of "until" incorrectly.
19458
98f9cd2d
JB
194592004-02-26 J. Brobecker <brobecker@gnat.com>
19460
19461 * gdb.cp/class2.cc (empty): New class.
19462 (refer): New function.
19463 (main): Declare an object of type empty and use it.
19464 * gdb.cp/class2.exp: Print the value of an object of type empty.
19465
9b50c11b
JJ
194662004-02-26 Jeff Johnston <jjohnstn@redhat.com>
19467
19468 * gdb.base/langs.exp: Update query string to match the
19469 new nquery format used for pending breakpoints.
19470
0dcd613f
AC
194712004-02-26 Andrew Cagney <cagney@redhat.com>
19472
19473 Fix PR i18n/1570.
19474 * gdb.base/charset.c: Update copyright notice.
19475 (main, init_string): Remove the escape character '\e' tests.
19476 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
19477 * gdb.base/charset.exp (valid_host_charset): Ditto.
19478 * gdb.base/setvar.exp: Ditto.
19479
b8a56647
AC
194802004-02-24 Andrew Cagney <cagney@redhat.com>
19481
90d59e34
AC
19482 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
19483 mmapped data in core file" PASS and FAIL messages consistent.
19484
b8a56647
AC
19485 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
19486 setting a breakpoint. Work around PR java/1565.
19487
9f27c604
JJ
194882004-02-23 Jeff Johnston <jjohnstn@redhat.com>
19489
19490 * lib/gdb.exp (gdb_breakpoint): Update query string to match
19491 new nquery format.
19492 * gdb.base/pending.exp: Ditto.
19493
3224a706
MK
194942004-02-22 Mark Kettenis <kettenis@gnu.org>
19495
19496 * configure.in: Run stabs tests on *BSD.
19497 * configure: Regenerated.
19498
41e0a9ca
MK
194992004-02-21 Mark Kettenis <kettenis@gnu.org>
19500
19501 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
19502
1e1b3428
FF
195032004-02-20 Fred Fish <fnf@redhat.com>
19504
19505 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
19506 blank in test for "returns short", for consistency with other
19507 "returns xxx" tests. Update copyright year.
19508
f9a7572a
FF
195092004-02-19 Fred Fish <fnf@redhat.com>
19510
19511 New testcase for PR breakpoint/1558.
19512 * gdb.arch/gdb1558.exp: New file.
19513 * gdb.arch/gdb1558.c: New file.
19514
b2ce2854
EZ
195152004-02-19 Elena Zannoni <ezannoni@redhat.com>
19516
19517 * gdb.base/nodebug.exp: Fix typo.
19518
e7c9ff01
JB
195192004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19520
19521 Committed by Jim Blandy <jimb@redhat.com>.
19522
62f4b920
JB
19523 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
19524
2db536a1
JB
19525 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
19526
e7c9ff01
JB
19527 * gdb.base/float.exp: Support s390*-*-* targets.
19528
f3205b34
AF
195292004-02-17 Adam Fedor <fedor@gnu.org>
19530
19531 * gdb.base/gdb1555.exp: New file.
19532 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
19533
9d62932d
EZ
195342004-02-17 Elena Zannoni <ezannoni@redhat.com>
19535
19536 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
19537
344c9711
FF
195382004-02-16 Fred Fish <fnf@redhat.com>
19539
19540 * gdb.arch/gdb1291.c: Remove
19541 * gdb.arch/gdb1291.s: New test input file.
19542 * gdb.arch/gdb1291.exp: Expand test to check case that should not
19543 fail. Test for correct result, known incorrect result, other
19544 failures and timeouts.
19545
2d822687
AC
195462004-02-16 Andrew Cagney <cagney@redhat.com>
19547
19548 * gdb.base/bigcore.exp: New file.
19549 * gdb.base/bigcore.c: New file.
19550
dac15b66
AC
195512004-02-13 Andrew Cagney <cagney@redhat.com>
19552
19553 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
19554 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
19555 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
19556 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
19557 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
19558 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
19559 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
19560 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
19561 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
19562 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
19563
6bdfc2c4
JJ
195642004-02-11 Jeff Johnston <jjohnstn@redhat.com>
19565
19566 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
19567 executed is an alloc instruction.
19568
87b3ede8
DC
195692004-02-11 David Carlton <carlton@kealia.com>
19570
19571 * gdb.cp/breakpoint.exp: New.
19572 * gdb.cp/breakpoint.cc: New.
19573
6e19e2bf
MC
195742004-02-11 Michael Chastain <mec.gnu@mindspring.com>
19575
19576 Partial fix for PR gdb/1543.
19577 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
19578 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
19579 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
19580 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
19581 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
19582 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
19583 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
19584 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
19585 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
19586 to bug-gdb@prep.ai.mit.edu .
19587 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
19588 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
19589 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
19590 Likewise.
19591
5c5455dc
AC
195922004-02-10 Andrew Cagney <cagney@redhat.com>
19593
19594 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
19595 using gdb_internal_error_resync.
19596
9cf689d7
DJ
195972004-02-09 Daniel Jacobowitz <drow@mvista.com>
19598
19599 * gdb.threads/thread-specific.exp: Stop early if no threads are
19600 found.
19601
d2dc51db
MC
196022004-02-09 Michael Chastain <mec.gnu@mindspring.com>
19603
19604 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
19605
14b1a056
DJ
196062004-02-08 Daniel Jacobowitz <drow@mvista.com>
19607
19608 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
19609 breakpoints.
19610
83f66e8f
DJ
196112004-02-07 Daniel Jacobowitz <drow@mvista.com>
19612
19613 * config/sim.exp (gdb_load): Handle $arg == "".
19614 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
19615 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
19616
30fc0091
EZ
196172004-02-07 Elena Zannoni <ezannoni@redhat.com>
19618
a9c64011
AS
19619 * gdb.base/maint.exp: Update test to reflect
19620 obstack changes.
30fc0091 19621
4d806929
JJ
196222004-02-04 Jeff Johnston <jjohnstn@redhat.com>
19623
19624 * gdb.base/pendshr.c (pendfunc): New function that calls
19625 pendfunc1.
19626 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
19627
7bfdd688
FF
196282004-02-04 Fred Fish <fnf@redhat.com>
19629
19630 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
19631 function symbols and update copyright years.
19632 * gdb.arch/gdb1291.c: Ditto.
19633
aaa08ee4
MC
196342004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19635
19636 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
19637
dbad7755
MC
196382004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19639
19640 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
19641
ec4646ef
MC
196422004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19643
19644 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
19645
1b802196
FF
196462004-02-02 Fred Fish <fnf@redhat.com>
19647
19648 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
19649 remote targets. Update copyright years.
19650
18fe2033
JJ
196512004-02-02 Jeff Johnston <jjohnstn@redhat.com>
19652
19653 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
19654 support.
19655 * gdb.base/langs.exp: Fix test which attempts to create
19656 breakpoint on non-existent function to handle new pending
19657 support.
19658 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
19659 a breakpoint.
19660 * gdb.base/pending.exp: New test.
19661 * gdb.base/pending.c: New file.
19662 * gdb.base/pendshr.c: Ditto.
19663
8d577d32
DC
196642004-02-02 David Carlton <carlton@kealia.com>
19665
19666 * gdb.cp/overload.exp: Add overloadNamespace tests.
19667 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
19668 (overloadNamespace, XXX): New.
19669 (main): Call XXX::marker2.
19670
3ad13771
FF
196712004-02-01 Fred Fish <fnf@redhat.com>
19672
19673 * gdb.base/dump.exp: Use runto_main instead of "runto main".
19674 * gdb.base/finish.exp: Ditto.
19675 * gdb.base/gcore.exp: Ditto.
19676 * gdb.base/huge.exp: Ditto.
19677 * gdb.base/info-proc.exp: Ditto.
19678 * gdb.base/return2.exp: Ditto.
19679 * gdb.threads/gcore-thread.exp: Ditto.
19680
44c75849
DJ
196812004-02-01 Daniel Jacobowitz <drow@mvista.com>
19682
19683 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
19684
005bc093
MK
196852004-02-01 Mark Kettenis <kettenis@gnu.org>
19686
19687 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
19688 that opening the file succeeds on OpenBSD.
19689
c47cebdb
DJ
196902004-02-01 Daniel Jacobowitz <drow@mvista.com>
19691
19692 * gdb.threads/thread-specific.c: New file.
19693 * gdb.threads/threads-specific.exp: New test script.
19694 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
19695 to expect_out.
19696
5a01311c
MK
196972004-02-01 Mark Kettenis <kettenis@gnu.org>
19698
19699 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
19700 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
19701 only on the "print_small_structs from print_long_arg_list" test.
19702
ce22a4f1
DJ
197032004-02-01 Daniel Jacobowitz <drow@mvista.com>
19704
19705 * gdb.base/completion.exp: Kill a stray backslash.
19706
19707 From Jim Ingham <jingham@apple.com>:
19708 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
19709 agrees with the result from sending a tab.
19710
abbab9d3
DJ
197112004-01-31 Daniel Jacobowitz <drow@mvista.com>
19712
19713 * gdb.base/chng-syms.exp: Remove stray newline.
19714
53904d1e
MK
197152004-01-31 Mark Kettenis <kettenis@gnu.org>
19716
19717 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
19718 *-*-openbsd*.
19719 * gdb.asm/openbsd.inc: New file.
19720
3a4b3aac
MK
197212004-01-30 Mark Kettenis <kettenis@gnu.org>
19722
19723 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
19724 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
19725 *-*solaris2*. Remove commented out default settings for
19726 asm-flags. Replace gdb_compile with target_link.
19727
ebac27b4
MC
197282004-01-29 Michael Chastain <mec.gnu@mindspring.com>
19729
19730 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
19731 for all tests. Remove old hp-ux and cygnus xfail cases.
19732
d8679d84
PH
197332004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
19734
19735 * gdb.base/chng-syms.exp: New file.
19736 * gdb.base/chng-syms.c: New file.
19737
0a55bc22
MC
197382004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19739
19740 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
19741 Provide arms for current output in all my configurations.
19742
94b8e876
MC
197432004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19744
19745 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
19746 * lib/compiler.cc: Likewise.
19747 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
19748 get the right preprocessor. Eval the output directly. Remove
19749 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
19750 hp_f77_compiler and hp_f90_compiler completely.
19751 (gdb_preprocess): Delete.
19752 (get_compiler): Delete.
19753
7cf03d44
MK
197542004-01-24 Mark Kettenis <kettenis@gnu.org>
19755
19756 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
19757 <string.h>.
19758
68b6dce9
NR
197592004-01-24 Nick Roberts <nick@nick.uklinux.net>
19760
19761 * gdb.mi/mi-stack.exp: Update copyright.
19762
b368761e
DC
197632004-01-23 David Carlton <carlton@kealia.com>
19764
19765 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
19766 test for cp_lookup_transparent_type.
19767 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
19768 call them.
19769
f2061b53
DJ
197702004-01-23 Daniel Jacobowitz <drow@mvista.com>
19771
19772 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
19773 after -var-update.
19774
37fc574a
DC
197752004-01-23 David Carlton <carlton@kealia.com>
19776
19777 * gdb.cp/namespace.cc (C::ensureRefs): New.
19778 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
19779
8e94b928
NR
197802004-01-20 Nick Roberts <nick@nick.uklinux.net>
19781
19782 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
19783 case "-stack-list-locals 2".
19784 * gdb.mi/mi-var-child.exp: Test for case
19785 "-var-list-children --all-values NAME".
19786
997b0952
MC
197872004-01-18 Michael Chastain <mec.gnu@mindspring.com>
19788
19789 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
19790
52470da3
MK
197912004-01-18 Mark Kettenis <kettenis@gnu.org>
19792
7049b4b8
MK
19793 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
19794 used with gdb_test_multiple.
19795
52470da3
MK
19796 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
19797 read at address 0. This fixes PR testsuite/1504.
19798
da6012e5
DJ
197992004-01-18 Daniel Jacobowitz <drow@mvista.com>
19800
19801 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
19802 Remove downloading, guessing the host executable, the calls to
19803 gdb_file_cmd and gdb_target_cmd, and "load" support.
19804 (infer_host_exec): New function broken out from gdb_load.
19805 (gdb_load): New wrapper for gdbserver_gdb_load.
19806 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
19807 gdb_target_cmd. Use -target-select.
19808 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
19809 Download binaries to the host. Clear last_mi_remote_file when
19810 we load a new binary.
19811 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
19812 call gdbserver_gdb_load and mi_gdb_target_cmd.
19813
32c70722
MC
198142004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19815
19816 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
19817 type patterns.
19818
b0cecf36
MC
198192004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19820
19821 * gdb.cp/templates.exp: Fix typo in test name of
19822 "print Foo<volatile char*>::foo".
19823
4120d7e6
MC
198242004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19825
19826 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
19827
f679e530
BE
198282004-01-16 Ben Elliston <bje@wasabisystems.com>
19829
19830 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
19831 (clean mostlyclean): Remove empty rm.
19832
091c48f6
MC
198332004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19834
19835 * gdb.base/setvar.exp: Add copyright years.
19836
3e5fc8d2
DC
198372004-01-14 David Carlton <carlton@bactrian.org>
19838
19839 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
19840 PR c++/1511 and update coment.
19841 * gdb.cp/templates.exp: Update patterns to match current output.
19842 If changes involve something other than whitespace, KFAIL
19843 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
19844
63d06c5c
DC
198452004-01-14 David Carlton <carlton@kealia.com>
19846
19847 * gdb.cp/namespace.exp: Add tests involving classes defined within
19848 namespaces.
19849 * gdb.cp/namespace.cc (C::CClass): New.
19850 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
19851
a51dab88
EZ
198522004-01-14 Elena Zannoni <ezannoni@redhat.com>
19853
19854 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
19855 what debug info we have. Print a better message if something goes
19856 wrong while producing the separate debug info file.
19857
a476ccc9
MC
198582004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19859
19860 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
19861
f453692c
MC
198622004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19863
19864 * gdb.base/callfuncs.c: Add copyright notice.
19865
f40063a5
MC
198662004-01-13 Michael Chastain <mec.gnu@mindspring.com>
19867
19868 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
19869 inheritance. PR gdb/1498, PR gcc/13539.
19870
19ac3974
EZ
198712004-01-13 Elena Zannoni <ezannoni@redhat.com>
19872
a9c64011
AS
19873 * gdb.threads/gcore-thread.exp: Prefix name of binary with
19874 test specific name.
19875 * gdb.mi/gdb669.exp: Ditto.
19876 * gdb.mi/mi-pthreads.exp: Ditto.
19877 * gdb.mi/mi1-pthreads.exp: Ditto.
19878 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 19879
56c97c6e
MC
198802004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19881
19882 * gdb.cp/member-ptr.cc: Add copyright notice.
19883
a0644324
MC
198842004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19885
19886 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
19887 some patterns for recent versions of gcc and hpacc. Delete
19888 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
19889 Delete tests that access a NULL pointer-to-member-data. This
19890 script is still disabled for gcc.
19891
32fabe09
EZ
198922004-01-12 Elena Zannoni <ezannoni@redhat.com>
19893
19894 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 19895 escaped correctly.
32fabe09 19896
1f8a6abb
EZ
198972004-01-12 Elena Zannoni <ezannoni@redhat.com>
19898
19899 * gdb.base/sepdebug.exp: New file.
19900 * gdb.base/sepdebug.c: New file.
19901 * lib/gdb.exp (separate_debug_filename): New procedure.
19902 (gdb_gnu_strip_debug): New procedure.
19903
48efe704
AC
199042004-01-12 Andrew Cagney <cagney@redhat.com>
19905
19906 * gdb.mi/ChangeLog: Delete file. Renamed to ...
19907 * gdb.mi/ChangeLog-1999-2003: New file.
19908
a9415475
AC
199092004-01-12 Andrew Cagney <cagney@redhat.com>
19910
19911 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
19912 "Renaming a directory to a non-empty directory returns ENOTEMPTY
19913 or EEXIST", treat EBUSY as an XFAIL.
19914
83b8cf9d
MC
199152004-01-11 Michael Chastain <mec.gnu@mindspring.com>
19916
19917 * gdb.base/scope.exp: Remove obsolete setup_xfail for
19918 hp_cc_compiler.
19919
9939d2a8
MC
199202004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19921
19922 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
19923 decorations.
19924
1ff8cadf
MC
199252004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19926
19927 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
19928 and "(aCC)" decorations. Remove obsolete doco about old
19929 test results.
19930
6fa9022e
MC
199312004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19932
19933 * gdb.cp/exception.exp: Fix typo in doco.
19934
209721fe
MK
199352004-01-09 Mark Kettenis <kettenis@gnu.org>
19936
19937 * gdb.base/gdb1476.exp: Fix typo.
19938
ef11303e
MC
199392004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19940
19941 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
19942 file.
19943
041ab88c
MC
199442004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19945
19946 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
19947 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
19948 Use gdb_compile. Remove restriction on gcc. Add some patterns
19949 for recent version of gdb. Delete second half, which was a copy
19950 of the first half with different build flags. This test is
19951 still disabled because it is still not ready for production.
19952
e36d075a
MC
199532004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19954
19955 * gdb.cp/exception.cc: Add copyright notice.
19956 * gdb.cp/exception.exp: Add a notice that this file is broken
19957 because of line number changes caused by addition of copyright
19958 notice.
19959
42b190ad
MC
199602004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19961
19962 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
19963 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
19964
8f25f06b
MC
199652004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19966
19967 * gdb.cp/classes.exp: Accept gnu abi 2.
19968 * gdb.cp/derivation.exp: Likewise.
19969 * gdb.cp/overload.exp: Likewise.
19970 * gdb.cp/virtfunc.exp: Likewise.
19971
06ded8b8
MC
199722004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19973
19974 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
19975 semicolon after end of function.
19976
77c26ae3
MC
199772004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19978
19979 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
19980 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
19981 boilerplate code for compiling and running the program under
19982 test. Add some string method tests.
19983
20757486
MC
199842004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19985
19986 * gdb.cp/bs15503.cc: Add copyright notice.
19987 * gdb.cp/bs15503.exp: Adjust line number.
19988
0fd3b503
MC
199892004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19990
19991 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
19992 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
19993
10d1bea8
MC
199942004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19995
19996 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
19997 hp_cc_compiler.
19998
2789202a
MC
199992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20000
20001 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
20002 * gdb.cp/ctti.exp: Use the marker instead of "next".
20003 With gcc, run further before bailing.
20004
b862f14c
MC
200052004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20006
20007 * gdb.cp/cttiadd.cc: Add copyright notice.
20008 * gdb.cp/cttiadd1.cc: Likewise.
20009 * gdb.cp/cttiadd2.cc: Likewise.
20010 * gdb.cp/cttiadd3.cc: Likewise.
20011
96da2469
MC
200122004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20013
20014 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
20015 Use gdb_test, gdb_test_multiple. Use floating-point values that
20016 have exact representations in IEEE-ish formats.
20017
053248ff
MC
200182004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20019
20020 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
20021 compilers. Delete duplicate call to get_compiler_info.
20022 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
20023 * gdb.base/volatile.exp: Likewise.
20024
84acecdd
MK
200252004-01-07 Mark Kettenis <kettenis@gnu.org>
20026
20027 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
20028 memory at address 0.
20029
fe11a27f
MC
200302004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20031
20032 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
20033 to test for hp-ux assembler. Fix copyright years.
20034
60ad077b
AC
200352004-01-07 Andrew Cagney <cagney@redhat.com>
20036
20037 * gdb.base/fileio.c (strerrno): Add "EBUSY".
20038
1c9b8f33
AC
200392004-01-07 Andrew Cagney <cagney@redhat.com>
20040
20041 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
20042 when creating the read-only file. From analysis by Roland McGrath
20043 and Elena Zannoni.
20044
753ccc7a
MC
200452004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20046
20047 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
20048
eca3e36b
MC
200492004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20050
20051 * gdb.base/cvexpr.c: Be type-safe with function pointers and
20052 data pointers.
20053
f8d4bac4
MC
200542004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20055
20056 * gdb.cp/m-static.exp: Compile one source file at a time.
20057 Delete unused call to get_compiler_info.
20058
9b4e0f94
MC
200592004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20060
20061 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
20062 * gdb.base/call-rt-st.exp: Likewise.
20063 * gdb.base/nodebug.exp: Likewise.
20064 * gdb.base/volatile.exp: Likewise.
20065 * gdb.cp/ref-types.exp: Likewise.
20066 * gdb.cp/templates.exp: Likewise.
20067
023c1024
MK
200682004-01-05 Mark Kettenis <kettenis@gnu.org>
20069
20070 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
20071
19703c4a
MC
200722004-01-05 Michael Chastain <mec.gnu@mindspring.com>
20073
20074 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
20075 hppa*-hp-hpux*.
20076
18b67037
MK
200772004-01-04 Mark Kettenis <kettenis@gnu.org>
20078
ba6219c8
MK
20079 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
20080 x86_64-*-*.
20081
18b67037
MK
20082 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
20083 sparc64-*-* and sparc*-solaris2*.
20084
1bfbbb9d
MK
200852004-01-04 Mark Kettenis <kettenis@gnu.org>
20086
20087 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
20088 return ${tests}" test. The ${tests} already mentions the
20089 filename.
20090
06846494
MC
200912004-01-02 Michael Chastain <mec.gnu@mindspring.com>
20092
20093 * gdb.cp/local.exp: Accept gcc abi 2.
20094
3b0cb202
MC
200952004-01-02 Michael Chastain <mec.gnu@mindspring.com>
20096
20097 * gdb.cp/templates.exp: Accept gcc abi 2.
20098
0643ec3f
MC
200992004-01-02 Michael Chastain <mec.gnu@mindspring.com>
20100
20101 * lib/compiler.cc: Remove supports_template_debugging.
20102 * gdb.cp/templates.exp: Do not test supports_template_debugging.
20103
d231d0b1
MC
201042004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20105
20106 * gdb.cp/namespace.exp: Accept gcc abi 2.
20107
44ffb27c
MC
201082004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20109
20110 * gdb.cp/method.exp: Accept gcc abi 2.
20111
184ad485
MC
201122004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20113
20114 * gdb.cp/classes.exp: Generate identical results as old version.
20115 * gdb.cp/derivation.exp: Likewise.
20116 * gdb.cp/overload.exp: Likewise.
20117 * gdb.cp/virtfunc.exp: Likewise.
20118
116f09e7
MC
201192004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20120
20121 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
20122 mysterious bug with sourceware version of expect.
20123
b1379776
MC
201242004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20125
20126 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
20127 current versions of gcc, including gcc abi 2. Remove gratuitous
20128 restart of test program. Use gdb_test_multiple and gdb_test for
20129 all tests. Add patterns to xfail missing "const" in "const char *"
20130 and kfail PR gdb/1155.
20131
6b7a4c0e
MC
201322004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20133
20134 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
20135 current versions of gcc, including gcc abi 2. Remove gratuitous
20136 restart of test program. Use gdb_test_multiple and gdb_test for
20137 all tests. Add patterns to kfail PR gdb/1498.
20138
51615d72
MC
201392003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20140
20141 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
20142 current versions of gcc, including gcc abi 2. Use "breakpoint"
20143 and "continue" instead of restarting the target program. Use
20144 gdb_test_multiple and gdb_test for all tests.
20145
7b79a9d7
MK
201462004-01-01 Mark Kettenis <kettenis@gnu.org>
20147
20148 * gdb.asm/asm-source.exp: Update copyright year. Link statically
20149 for *-*-solaris2*.
20150
1cd3489f
MC
201512003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20152
20153 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
20154 current versions of gcc, including gcc abi 2. Use "breakpoint"
20155 and "continue" instead of restarting the target program several
20156 times. Use gdb_test_multiple and gdb_test for all tests.
20157
850742db
MC
201582003-12-18 Michael Chastain <mec.gnu@mindspring.com>
20159
20160 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
20161 source files.
20162
eb4bbda8
MC
201632003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20164
20165 * gdb.base/environ.exp: Handle compiling test case from multiple
20166 source files.
20167
e42c7771
MC
201682003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20169
20170 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
20171
80e4b428
JB
201722003-12-17 Jim Blandy <jimb@redhat.com>
20173
5f06973a
JB
20174 * gdb.base/freebpcmd.c: Add copyright notice.
20175
80e4b428
JB
20176 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
20177
0ab84fb7
MC
201782003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20179
20180 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
20181
1b3bb3d0
JB
201822003-12-13 Jim Blandy <jimb@redhat.com>
20183
20184 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
20185
3a4c9371
KB
201862003-12-12 Kevin Buettner <kevinb@redhat.com>
20187
20188 * gdb.asm/frv.inc: New file.
20189 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
20190
a1dea79a
FF
201912003-12-09 Fred Fish <fnf@redhat.com>
20192
20193 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
20194 functions to break1.c and leave prototypes behind. Add more
20195 "set breakpoint NN here" comments.
20196 * gdb.base/break1.c: New file.
20197
20198 * gdb.base/break.exp: Handle compiling test case from multiple
20199 source files and change source file references as needed.
20200 * gdb.base/completion.exp: Ditto.
20201 * gdb.base/condbreak.exp: Ditto.
20202 * gdb.base/define.exp: Ditto.
20203 * gdb.base/ena-dis-br.exp: Ditto.
20204 * gdb.base/info-proc.exp: Ditto.
20205 * gdb.base/maint.exp: Ditto.
20206 * gdb.base/until.exp: Ditto.
20207
20208 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
20209 hardcoded line numbers.
20210 * gdb.base/define.exp: Ditto.
20211 * gdb.base/ena-dis-br.exp: Ditto.
20212 * gdb.base/maint.exp: Ditto.
20213 * gdb.base/until.exp: Ditto.
20214
20215 * gdb.base/completion.exp: Use "break1" for completion tests since
20216 "break" is no longer a unique prefix.
20217
5266b69c
AC
202182003-12-06 Andrew Cagney <cagney@redhat.com>
20219
20220 * gdb.base/structs.exp (test_struct_returns): When applicable, set
20221 "return_value_unimplemented". When an unimplemented struct return
20222 architecture, report incorrect values as a KFAIL
20223
374451f0
MC
202242003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20225
20226 * gdb.cp/rtti.exp: Accept new wording of warning from
20227 cp_lookup_rtti_type.
20228
ba9b20a7
MC
202292003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20230
20231 Partial fix for PR testsuite/1456.
20232 * gdb.base/scope.exp (test_at_main): Replace references to
20233 gcc_compiled with calls to test_compiler_info.
20234 (test_at_foo): Likewise.
20235 (test_at_bar): Likewise.
20236
b74b6d0b
MC
202372003-12-04 Michael Chastain <mec.gnu@mindspring.com>
20238
20239 Partial fix for PR testsuite/1456.
20240 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
20241 to test_compiler_info.
20242
ccfa3402
MC
202432003-12-03 Michael Chastain <mec.gnu@mindspring.com>
20244
20245 * gdb.base/so-impl-ld.exp: Update copyright notice.
20246
f6246aba
MC
202472003-12-02 Michael Chastain <mec.gnu@mindspring.com>
20248
20249 Partial fix for PR testsuite/1456.
20250 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
20251 to test_compiler_info.
20252
13ae734a
MC
202532003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20254
20255 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
20256 from current versions of gdb. Clean up regular expressions.
20257 Delete redundant timeout case.
20258
d8e1cdee
MC
202592003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20260
20261 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
20262 from current versions of gdb. Clean up regular expressions.
20263 Delete redundant timeout case.
20264
96457b64
MC
202652003-12-01 Michael Chastain <mec.gnu@mindspring.com>
20266
20267 Partial fix for PR testsuite/1456.
20268 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
20269 gcc_compiled with call to test_compiler_info.
20270
f35309fc
MC
202712003-11-30 Michael Chastain <mec.gnu@mindspring.com>
20272
20273 Partial fix for PR testsuite/1456.
20274 * gdb.base/list.exp (test_list_function): Delete unused declaration
20275 of gcc_compiled.
20276
d7afdf9b
MC
202772003-11-29 Michael Chastain <mec.gnu@mindspring.com>
20278
20279 Partial fix for PR testsuite/1456.
20280 * gdb.base/complex.exp: Replace reference to gcc_compiled with
20281 call to test_compiler_info.
20282
71507b56
MK
202832003-11-29 Mark Kettenis <kettenis@gnu.org>
20284
20285 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
20286 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
20287 it to create the appropriate note.inc.
20288 * gdb.asm/asmsrc1.s: Include "note.inc".
20289 * gdb.asm/netbsd.inc: New file.
20290 * gdb.asm/empty.inc: New file.
20291
f81f93f7
MC
202922003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20293
20294 Partial fix for PR testsuite/1456.
20295 * gdb.base/constvars.exp: Replace references to gcc_compiled with
20296 calls to test_compiler_info.
20297
9a77938e
MC
202982003-11-27 Michael Chastain <mec.gnu@mindspring.com>
20299
20300 Partial fix for PR testsuite/1456.
20301 * gdb.base/volatile.exp: Replace references to gcc_compiled with
20302 calls to test_compiler_info.
20303
e8367dc7
MK
203042003-11-27 Mark Kettenis <kettenis@gnu.org>
20305
20306 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
20307 pattern for the KFAILs.
20308
526c61ee
AF
203092003-11-25 Adam Fedor <fedor@gnu.org>
20310
20311 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
20312 * gdb.objc/objcdecode.m: New file.
20313
28f2d600
AF
203142003-11-25 Adam Fedor <fedor@gnu.org>
20315
20316 * gdb.objc/nondebug.exp: Test for PR objc/1236.
20317 * gdb.objc/nondebug.m: New file.
20318
a3895cee
BE
203192003-11-26 Ben Elliston <bje@wasabisystems.com>
20320
20321 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20322 NetBSD as it does on FreeBSD. Modelled on a similar change by
20323 Mark Kettenis on 2003-05-30.
20324 (link-flags): Set to "--entry _start" regardless of target.
20325 Special linker flags are to be appended to $link-flags.
20326 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
20327
c9f2c8a3
MC
203282003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20329
20330 * gdb.cp/method.exp: Accept output of new demangler.
20331
15a0587a 203322003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
20333
20334 * gdb/class2.exp: New file.
20335 * gdb/class2.cc: New file.
20336
3c00b570
MC
203372003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20338
20339 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
20340 of new demangler.
20341
7027acc7
MK
203422003-11-23 Mark Kettenis <kettenis@gnu.org>
20343
20344 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
20345 of gdb_test "run".
20346
b0e1598a
MK
203472003-11-23 Mark Kettenis <kettenis@gnu.org>
20348
20349 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
20350 "continue" into "run".
20351
4d9eda44
MC
203522003-11-23 Michael Chastain <mec.gnu@mindspring.com>
20353
20354 Partial fix for PR testsuite/1456.
20355 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
20356 call to test_compiler_info.
20357 * gdb.cp/ctti.exp: Likewise.
20358 * gdb.cp/derivation.exp: Likewise.
20359 * gdb.cp/member-ptr.exp: Likewise.
20360 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
20361 reference to gcc_compiled.
20362
203632003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
20364
20365 Fix PR testsuite/1463.
20366 * gdb.base/structs.exp (start_structs_test): Call
20367 get_debug_format before using the debug format.
20368
d422fe19
AC
203692003-11-22 Andrew Cagney <cagney@redhat.com>
20370
20371 * lib/gdb.exp (gdb_test_multiple): Add simple example.
20372 * gdb.base/structs.exp: Use gdb_test_multiple.
20373
039cf96d
AC
203742003-11-20 Andrew Cagney <cagney@redhat.com>
20375
6882279b
AC
20376 * gdb.base/structs.exp: Handle and recover from internal errors.
20377 Replace "foo${n}" with "foo<n>" in test messages.
20378
e53890ae
AC
20379 * gdb.base/structs.exp: Update copyright. Rewrite.
20380 * gdb.base/structs.c: Update copyright. Rewrite.
20381
2b211c59
AC
20382 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
20383 resync count exceeded.
d63a86f8 20384
039cf96d
AC
20385 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
20386 from the internal error.
20387 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
20388 Original from Jim Blandy.
20389 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 20390
eac98b22
AC
203912003-11-19 Andrew Cagney <cagney@redhat.com>
20392
20393 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
20394 KFAIL.
20395
67455b2a
MK
203962003-11-17 Mark Kettenis <kettenis@gnu.org>
20397
20398 New testcase for PR backtrace/1435.
20399 * gdb.arch/i386-unwind.exp: New file.
20400 * gdb.arch/i386-unwind.c: New file.
20401
853d6e5b
AC
204022003-11-17 Andrew Cagney <cagney@redhat.com>
20403
20404 * lib/gdb.exp (compiler_info): New global.
20405 (test_compiler_info): New function.
20406 (get_compiler_info): Set compiler_info.
20407 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
20408 "compiler_info" to gcc-<major>-<minor>.
20409
38cf6e11
MC
204102003-11-15 Michael Chastain <mec.gnu@mindspring.com>
20411
20412 * gdb.trace/configure: Remove.
20413
a50d3602
EZ
204142003-11-13 Elena Zannoni <ezannoni@redhat.com>
20415
20416 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 20417 breakpoints.
a50d3602
EZ
20418 * gdb.base/break.exp: Remove all references to explicit line
20419 numbers.
20420
d9407aaa
NC
204212003-11-11 Nick Clifton <nickc@redhat.com>
20422
20423 * gdb.base/shreloc.exp: Do not run for targets which do not
20424 support shared objects.
20425
db488fc1
CV
204262003-11-10 Corinna Vinschen <vinschen@redhat.com>
20427
20428 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
20429 Don't run tests if nofileio flag is given.
20430
6a90a18e
EZ
204312003-11-07 Elena Zannoni <ezannoni@redhat.com>
20432
20433 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 20434 as well as 'Watchpoint'.
6a90a18e 20435
0b915e9c
EZ
204362003-11-06 Elena Zannoni <ezannoni@redhat.com>
20437
20438 Reported by Jim Ingham <jingham@apple.com>:
20439 * gdb.base/annota1.exp: Match at least one occurrence of the
20440 signal handler annotation.
20441
d7e4b55f
EZ
204422003-11-06 Elena Zannoni <ezannoni@redhat.com>
20443
a9c64011
AS
20444 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
20445 as well as 'Watchpoint'.
d7e4b55f 20446
2fe4e8d0
MC
204472003-11-05 Michael Chastain <mec@shout.net>
20448
20449 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
20450
6ef88553
KW
204512003-11-03 Kris Warkentin <kewarken@qnx.com>
20452
20453 * gdb.arch/gdb1291.c: New test file.
20454 * gdb.arch/gdb1291.exp: New test script.
20455 * gdb.arch/gdb1431.c: New test file.
20456 * gdb.arch/gdb1431.exp: New test script.
20457
ae7dc4d8
MC
204582003-10-22 Michael Chastain <mec@shout.net>
20459
20460 * gdb.mi/pthreads.c: Add copyright notice.
20461
c39d7427
MC
204622003-10-22 Michael Chastain <mec@shout.net>
20463
20464 * gdb.threads/pthreads.c: Add copyright notice.
20465
8b7d96c1
MC
204662003-10-20 Michael Chastain <mec@shout.net>
20467
20468 * gdb.base/gdb1056.exp: New test script.
20469
d1d69fdd
DJ
204702003-10-13 Daniel Jacobowitz <drow@mvista.com>
20471
20472 * gdb.threads/killed.exp: Use gdb_run_cmd.
20473
7d605576
DJ
204742003-10-13 Daniel Jacobowitz <drow@mvista.com>
20475
20476 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
20477 create a core file.
20478 * gdb.threads/gcore-thread.exp: Likewise.
20479
618ec112
CV
204802003-10-13 Corinna Vinschen <vinschen@redhat.com>
20481
20482 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
20483 type, based on char type.
20484 (struct bit_flags_short_t): New bitfield type, based on short type.
20485 (init_bit_flags_char): New fuction.
20486 (init_bit_flags_short): Ditto.
20487 (print_bit_flags_char): Ditto.
20488 (print_bit_flags_short): Ditto.
20489 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
20490
9367a73c
MC
204912003-10-11 Michael Chastain <mec@shout.net>
20492
20493 * gdb.base/call-rt-st.exp: Update copyright year.
20494
1decf120
KI
204952003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
20496
20497 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
20498 * gdb.disasm/sh3.s: Ditto.
20499
5445b2ae
DJ
205002003-10-07 Daniel Jacobowitz <drow@mvista.com>
20501
20502 * gdb.threads/switch-threads.exp: New test.
20503 * gdb.threads/switch-threads.c: New source file.
20504
aec24853
CV
205052003-10-07 Corinna Vinschen <vinschen@redhat.com>
20506
20507 * gdb.base/ending-run.exp: Add sh specific case.
20508
adc7428d
AC
205092003-10-06 Andrew Cagney <cagney@redhat.com>
20510
20511 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
20512 * gdb.disasm/mn10200.exp: Delete obsolete file.
20513
c9d37158
DJ
205142003-09-29 Daniel Jacobowitz <drow@mvista.com>
20515
20516 * ChangeLog: Correct an entry command.exp -> commands.exp.
20517 * gdb.base/commands.exp (bp_deleted_in_command_test)
20518 (temporary_breakpoint_commands): Check noargs.
20519
79c2c32d
DC
205202003-09-25 David Carlton <carlton@kealia.com>
20521
20522 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
20523 of some print tests, where appropriate. Add tests for C::D::cd,
20524 E::ce, F::cXfX, G::XgX.
20525 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
20526
594e6d67
RE
205272003-09-25 Richard Earnshaw <rearnsha@arm.com>
20528
20529 * lib/java.exp (java_init): Import target_alias before using it.
20530
10f0d451
DC
205312003-09-25 David Carlton <carlton@kealia.com>
20532
20533 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
20534
274bcba0
EZ
205352003-09-23 Elena Zannoni <ezannoni@redhat.com>
20536
d63a86f8 20537 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 20538 weirdness.
274bcba0 20539
cdbf20f7
MC
205402003-09-17 Michael Chastain <mec@shout.net>
20541
20542 * gdb.cp/gdb1355.exp: New file.
20543 * gdb.cp/gdb1355.c: New file.
20544
71e06f80
CV
205452003-09-15 Corinna Vinschen <vinschen@redhat.com>
20546
20547 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
20548 * gdb.asm/sh.inc: New file.
20549
5c4e30ca
DC
205502003-09-11 David Carlton <carlton@kealia.com>
20551
bd45b7af
DC
20552 * gdb.cp/namespace.exp: Add tests for namespace types.
20553 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
20554 (test_namespace): New.
20555
1c199746
EZ
205562003-09-11 Elena Zannoni <ezannoni@redhat.com>
20557
a9c64011 20558 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 20559 * gdb.stabs/weird.exp: Ditto.
1c199746 20560
04ed252f
MC
205612003-09-08 Michael Chastain <mec@shout.net>
20562
20563 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
20564
d8a2d9e7
MC
205652003-09-07 Michael Chastain <mec@shout.net>
20566
20567 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
20568 'parse error'.
20569
161afb24
MK
205702003-09-07 Mark Kettenis <m.kettenis@osp.nl>
20571
20572 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
20573
49f2741a
MC
205742003-08-30 Michael Chastain <mec@shout.net>
20575
20576 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
20577 * gdb.gdb/observer.exp: Ditto.
20578 * gdb.gdb/xfullpath.exp: Ditto.
20579
8afa723e
MK
205802003-08-29 Mark Kettenis <kettenis@gnu.org>
20581
20582 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
20583 *-*-*bsd*.
20584
f31dfe3b
JJ
205852003-08-28 Jeff Johnston <jjohnstn@redhat.com>
20586
20587 * gdb.base/dump.exp: Skip for ia64.
20588
4630e498
JJ
205892003-08-25 Jeff Johnston <jjohnstn@redhat.com>
20590
20591 * gdb.asm/asm-source.exp: Add ia64 support.
20592 * gdb.asm/ia64.inc: New file.
20593
1105b7ef
MC
205942003-08-22 Michael Chastain <mec@shout.net>
20595
20596 * gdb.cp: New directory.
20597 * gdb.cp/*: Copy from gdb.c++/*.
20598 * gdb.c++/*: Remove.
20599 * Makefile.in: Change gdb.c++ to gdb.cp.
20600 * configure.in: Ditto.
20601 * configure: Regnerate.
20602
c945b932
MK
206032003-08-18 Mark Kettenis <kettenis@gnu.org>
20604
20605 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
20606 * gdb.arch/i386-prologue.c (gdb1338): Add function.
20607
2b66634b
DJ
206082003-08-17 Daniel Jacobowitz <drow@mvista.com>
20609
20610 * mi-var-display.exp (-var-list-children weird): Accept function
20611 pointers with argument types.
20612 * mi1-var-display.exp (-var-list-children weird): Likewise.
20613 * mi2-var-display.exp (-var-list-children weird): Likewise.
20614
a356f73b
DJ
206152003-08-17 Daniel Jacobowitz <drow@mvista.com>
20616
20617 * gdb.base/annota3.exp: Add missing newline.
20618
483417b8
MC
206192003-08-06 Michael Chastain <mec@shout.net>
20620
20621 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
20622
c99c59c3
MS
206232003-08-12 Michael Snyder <msnyder@redhat.com>
20624
20625 * gdb.base/float.exp: Add test for SH.
20626
55ed7501
MK
206272003-08-10 Mark Kettenis <kettenis@gnu.org>
20628
20629 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
20630
1a371f2e
EZ
206312003-08-07 Elena Zannoni <ezannoni@redhat.com>
20632
20633 * gdb.base/completion.exp: Remove reduntant completion test
20634 on filename.
20635
e0f353ce
EZ
206362003-08-07 Elena Zannoni <ezannoni@redhat.com>
20637
a9c64011
AS
20638 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
20639 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
20640 gdb.trace/save-trace.exp: Make sure that full pathnames are
20641 escaped correctly.
e0f353ce 20642
5710a1af 206432003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 20644
a9c64011
AS
20645 * configure.in: Don't generate config.h from config.hin.
20646 * configure: Regenerate.
20647 * config.hin: Remove file.
20648 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
20649 * gdb.threads/pthreads.c: Ditto.
5710a1af 20650
dcd81ce9
DJ
206512003-08-07 Daniel Jacobowitz <drow@mvista.com>
20652
20653 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20654 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
20655 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
20656 Replace ld24 with seth/add3.
20657
6009d884
AC
206582003-08-02 Andrew Cagney <cagney@redhat.com>
20659
20660 * gdb.base/annota3.exp: New file.
20661 * gdb.base/annota3.c: New file.
20662 * gdb.c++/annota3.exp: New file.
20663 * gdb.c++/annota3.cc: New file.
20664
51514e06
MC
206652003-07-29 Michael Chastain <mec@shout.net>
20666
20667 * gdb.threads/tls.c (spin): Check errno only if sem_wait
20668 actually failed.
20669 (do_pass): Likewise.
20670 * gdb.threads/tls.exp: Always initialize no_of_threads.
20671
4ee6625b
DJ
206722003-07-27 Daniel Jacobowitz <drow@mvista.com>
20673
20674 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
20675 pattern.
20676 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
20677 * gdb.threads/tls.exp: Recognize one case of the host library not
20678 supporting TLS.
20679
225f2bf6
AC
206802003-07-27 Andrew Cagney <cagney@redhat.com>
20681
20682 * gdb.base/fileio.exp: Use SH when running commands using
20683 remote_exec.
20684
bcb27c9f
DJ
206852003-07-24 Daniel Jacobowitz <drow@mvista.com>
20686
20687 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20688 * gdb.base/relocate.c (dummy): New padding array.
20689
3d67be83
MS
206902003-07-22 Michael Snyder <msnyder@redhat.com>
20691
d63a86f8 20692 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
20693
20694 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
20695 patterns to be more general, accepting old and new output.
20696 Some output chars (such as '+') also must be quoted.
d63a86f8 20697 Some addresses are displayed numerically instead of
3d67be83
MS
20698 symbolically.
20699
57ba3b85
MS
207002003-07-23 Michael Snyder <msnyder@redhat.com>
20701
686d097c
MS
20702 * gdb.base/return2.exp: Don't test long-long return.
20703
57ba3b85
MS
20704 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
20705 * gdb.disasm/t01_mov.exp: Ditto.
20706 * gdb.disasm/t02_mova.s: Ditto.
20707 * gdb.disasm/t02_mova.exp: Ditto.
20708 * gdb.disasm/t03_add.s: Ditto.
20709 * gdb.disasm/t03_add.exp: Ditto.
20710 * gdb.disasm/t04_sub.s: Ditto.
20711 * gdb.disasm/t04_sub.exp: Ditto.
20712 * gdb.disasm/t05_cmp.s: Ditto.
20713 * gdb.disasm/t05_cmp.exp: Ditto.
20714 * gdb.disasm/t06_ari2.s: Ditto.
20715 * gdb.disasm/t06_ari2.exp: Ditto.
20716 * gdb.disasm/t07_ari3.s: Ditto.
20717 * gdb.disasm/t07_ari3.exp: Ditto.
20718 * gdb.disasm/t08_or.s: Ditto.
20719 * gdb.disasm/t08_or.exp: Ditto.
20720 * gdb.disasm/t09_xor.s: Ditto.
20721 * gdb.disasm/t09_xor.exp: Ditto.
20722 * gdb.disasm/t10_and.s: Ditto.
20723 * gdb.disasm/t10_and.exp: Ditto.
20724 * gdb.disasm/t11_logs.s: Ditto.
20725 * gdb.disasm/t11_logs.exp: Ditto.
20726 * gdb.disasm/t12_bit.s: Ditto.
20727 * gdb.disasm/t12_bit.exp: Ditto.
20728 * gdb.disasm/t13_otr.s: Ditto.
20729 * gdb.disasm/t13_otr.exp: Ditto.
20730
e00759ef
EZ
207312003-07-22 Elena Zannoni <ezannoni@redhat.com>
20732
20733 * gdb.threads/tls.exp :Add kfail for 'info address' case.
20734
8bc2021f
EZ
207352003-07-22 Elena Zannoni <ezannoni@redhat.com>
20736
a9c64011
AS
20737 * gdb.threads/tls.c : New file.
20738 * gdb.threads/tls.exp : New file.
20739 * gdb.threads/tls-main.c : New file.
20740 * gdb.threads/tls-shared.c : New file.
20741 * gdb.threads/tls-shared.exp : New file.
8bc2021f 20742
89320c4c
AS
207432003-07-22 Andreas Schwab <schwab@suse.de>
20744
20745 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
20746
180dea7c
AS
207472003-07-20 Andreas Schwab <schwab@suse.de>
20748
20749 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
20750 due to insn reordering.
20751
0714963c
AC
207522003-07-15 Andrew Cagney <cagney@redhat.com>
20753
20754 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
20755
98a23b3f
MC
207562003-07-15 Michael Chastain <mec@shout.net>
20757
20758 * gdb.base/gdb1250.exp: New file.
20759 * gdb.base/gdb1250.c: New file.
20760
27e417a2
ML
207612003-07-09 Michal Ludvig <mludvig@suse.cz>
20762
20763 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
20764 expansion of size_t to 'unsigned long', not only to 'unsigned'.
20765
8bc2021f
EZ
207662003-07-09 Elena Zannoni <ezannoni@redhat.com>
20767
a9c64011
AS
20768 * gdb.threads/tls.c: New file.
20769 * gdb.threads/tls.exp: New file.
20770 * gdb.threads/tls-main.c: New file.
20771 * gdb.threads/tls-shared.c: New file.
20772 * gdb.threads/tls-shared.exp: New file.
8bc2021f 20773
d99968dc
EZ
207742003-07-09 Elena Zannoni <ezannoni@redhat.com>
20775
20776 * gdb.base/annota1.exp: Make sure that we properly escape the
20777 full path of the source file. Xfail more permissive patterns,
d63a86f8 20778 due to a compiler debug info problem.
d99968dc 20779
83876b3b
AS
207802003-07-07 Andreas Schwab <schwab@suse.de>
20781
2705e972
AS
20782 * gdb.asm/m68k.inc: New file.
20783 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
20784
83876b3b
AS
20785 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
20786 arguments"): Also match negative number.
20787
20788 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
20789
3a871b37
DJ
207902003-07-03 Daniel Jacobowitz <drow@mvista.com>
20791
20792 * gdb.base/store.c (charest): New typedef.
20793 (add_char): Rename to add_charest, update.
20794 (wack_char): Rename to wack_charest, update types. Return l + r
20795 to keep r live across the call.
20796 (wack_short, wack_int, wack_long, wack_longest, wack_float)
20797 (wack_double, wack_doublest): Return l + r to keep r live across
20798 the call.
20799 * gdb.base/store.exp: Accomodate store.c changes.
20800
b2a7f303
DC
208012003-06-30 David Carlton <carlton@kealia.com>
20802
20803 * gdb.c++/maint.exp (test_invalid_name): New.
20804 (test_first_component): Add tests for invalid names.
20805
3c6cb4a1
MC
208062003-06-29 Michael Chastain <mec@shout.net>
20807
20808 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
20809 output of '<VTT for class>' for virtual base classes.
20810
f1c2644b
DJ
208112003-06-29 Daniel Jacobowitz <drow@mvista.com>
20812
20813 * gdb.base/completion.exp: Tab-complete "complet" instead of
20814 "compl".
20815 * gdb.base/complex.exp, gdb.base/complex.c: New files.
20816
18080350
DJ
208172003-06-29 Daniel Jacobowitz <drow@mvista.com>
20818
20819 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
20820 * gdb.base/volatile.exp: Likewise.
20821
f56973f8
DJ
208222003-06-29 Daniel Jacobowitz <drow@mvista.com>
20823
20824 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
20825 gdb/1265.
20826
208272003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
20828 Daniel Jacobowitz <drow@mvista.com>
20829
20830 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
20831 initial line count of 'captured_main' from 26 to 32.
20832 (test_with_self): Allow xmalloc call to be interleaved with the
20833 preceding two lines.
20834
e766d4d6
JB
208352003-06-24 Joel Brobecker <brobecker@gnat.com>
20836
20837 * gdb.base/bang.exp: New testcase.
20838
f125c9a4
JB
208392003-06-23 Joel Brobecker <brobecker@gnat.com>
20840
20841 * gdb.base/langs.exp: Add some tests for the "minimal" language
20842 support.
20843
6e25beaf
EZ
208442003-06-23 Elena Zannoni <ezannoni@redhat.com>
20845
20846 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
20847 the testcase.
20848
2f816dda
DJ
208492003-06-22 Daniel Jacobowitz <drow@mvista.com>
20850
20851 * gdb.base/relocate.exp: Test add-symbol-file with a variable
20852 offset.
20853
db5a5748
DJ
208542003-06-22 Daniel Jacobowitz <drow@mvista.com>
20855
20856 * gdb.c++/pr-1210.cc: New file.
20857 * gdb.c++/pr-1210.exp: New file.
20858
1df0c130
DJ
208592003-06-21 Daniel Jacobowitz <drow@mvista.com>
20860
20861 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
20862 000-exec-continue.
20863
a92feac0
MK
208642003-06-15 Mark Kettenis <kettenis@gnu.org>
20865
20866 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
20867 on *-*-*bsd* instead of *-*-freebsd*.
20868
81a58f5b
AC
208692003-06-14 Andrew Cagney <cagney@redhat.com>
20870
20871 * gdb.base/store.exp: Test longest and doublest. Test all
20872 parameters. Weaken return statement match.
20873 * gdb.base/store.c: Add longest and doublest - aka long long and
20874 long double functions. Put all parameters into local register
20875 variables. Use negative values.
20876
b257a0d3
AC
208772003-06-14 Andrew Cagney <cagney@redhat.com>
20878
20879 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
20880 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
20881 exit status.
20882 * gdb.base/fileio.exp: Disable target when nointerrupts and
20883 noinferiorio, instead of limiting it to remote. Use remote_exec
20884 instead of system.
d63a86f8 20885
21c38304
JJ
208862003-06-12 Jeff Johnston <jjohnstn@redhat.com>
20887
20888 * gdb.base/float.exp: Add ia64 support.
20889
1bcdb424
CV
208902003-06-12 Corinna Vinschen <vinschen@redhat.com>
20891
20892 * gdb.base/fileio.exp: Run only on remote targets.
20893
6aeb981f
CV
208942003-06-10 Corinna Vinschen <vinschen@redhat.com>
20895
20896 * gdb.base/fileio.c: New file, testing File-I/O.
20897 * gdb.base/fileio.exp: Ditto.
20898
53df362e
RG
208992003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
20900
20901 * gdb.base/shreloc.exp: New file, check symbol values obtained from
20902 shared objects after relocation at load time (gdb PR/1132).
20903 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 20904 as above, part of the shared object relocation test.
53df362e 20905
ffee1b46
MK
209062003-06-08 Mark Kettenis <kettenis@gnu.org>
20907
b5ca3722
MK
20908 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
20909 fully filled history list.
20910 * gdb.base/gdb_history: New file.
20911
03ed860d
MK
20912 * gdb.base/signals.exp: XFAIL "continue to func1" on
20913 i*86-*-freebsd*.
20914
ffee1b46
MK
20915 * gdb.base/attach.exp: When trying to attach to a nonexistent
20916 process, make it possible to specify the PID based on the target,
20917 and do so for *-*-freebsd*.
20918
d80dbb52
RH
209192003-06-02 Richard Henderson <rth@redhat.com>
20920
20921 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
20922
6dd77b81
RH
209232003-06-02 Richard Henderson <rth@redhat.com>
20924
20925 * gdb.base/selftest.exp: Next over lim_at_start initialization.
20926
f6347e16
RH
209272003-06-02 Richard Henderson <rth@redhat.com>
20928
20929 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
20930
2c161407
DJ
209312003-06-01 Daniel Jacobowitz <drow@mvista.com>
20932
20933 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
20934 of globalvar.
20935
572eb746
MK
209362003-06-01 Mark Kettenis <kettenis@gnu.org>
20937
20938 * gdb.asm/asm-source.exp: Check for memory read errors in
20939 disassembler test on *BSD too.
20940
9e9617a5
RH
209412003-06-01 Richard Henderson <rth@redhat.com>
20942
20943 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
20944 for .frame.
20945 (gdbasm_call): Lose ldgp.
20946 (gdbasm_startup): Add frame information.
20947 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
20948
7b34ad4e
MK
209492003-05-31 Mark Kettenis <kettenis@gnu.org>
20950
20951 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
20952 i?86-*-*.
20953
10059fdf
MK
209542003-05-30 Mark Kettenis <kettenis@gnu.org>
20955
20956 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20957 FreeBSD.
20958
acf4b816
RH
209592003-05-29 Richard Henderson <rth@redhat.com>
20960
20961 * gdb.asm/alpha.inc: New file.
20962 * gdb.asm/asm-source.exp: Use it.
20963
e9ecd949
JB
209642003-05-29 Jim Blandy <jimb@redhat.com>
20965
20966 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
20967 'core.PID'.
20968
e3e5a4f3
JB
209692003-05-22 Jim Blandy <jimb@redhat.com>
20970
20971 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
20972 backtrace.
d63a86f8 20973
72fe3d25
DC
209742003-05-20 David Carlton <carlton@math.stanford.edu>
20975
20976 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
20977 this time.
20978
58da2eb2
DC
209792003-05-19 David Carlton <carlton@bactrian.org>
20980
20981 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
20982 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
20983
1fcb5155
DC
209842003-05-19 David Carlton <carlton@bactrian.org>
20985
20986 * gdb.c++/namespace.exp: Add namespace scope and anonymous
20987 namespace tests.
20988 Bump copyright date.
20989 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
20990 (main): Call C::D::marker2.
20991 * gdb.c++/namespace1.cc: New file.
20992
85e85163
JJ
209932003-05-14 Jeff Johnston <jjohnstn@redhat.com>
20994
20995 Roland McGrath <roland@redhat.com>
d63a86f8 20996 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
20997 there is no manager thread.
20998
a25fbfec
JJ
209992003-05-08 Jeff Johnston <jjohnstn@redhat.com>
21000
d63a86f8
RM
21001 * gdb.threads/schedlock.exp: Remove assumption that all threads
21002 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
21003 in one of the child threads rather than the main thread.
21004
be375bae
JB
210052003-05-07 Jim Blandy <jimb@redhat.com>
21006
09bf6082
JB
21007 Add support for assembly source testing on the s390x.
21008 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
21009 architecture.
21010 * gdb.asm/s390x.inc: New file.
21011
be375bae
JB
21012 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
21013 succession of 'if' statements.
21014
00905d52
AC
210152003-05-05 Andrew Cagney <cagney@redhat.com>
21016
21017 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
21018
b1e29e33
AC
210192003-05-05 Andrew Cagney <cagney@redhat.com>
21020
21021 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
21022 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
21023
e33d66ec
EZ
210242003-05-02 Elena Zannoni <ezannoni@redhat.com>
21025
21026 * gdb.base/charset.exp: Update based on new behavior of set/show
21027 charset commands.
21028
2b6fd0d8
AC
210292003-05-01 Andrew Cagney <cagney@redhat.com>
21030
21031 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
21032 variable do not give memory errors.
21033
130cacce
AF
210342003-04-30 Adam Fedor <fedor@gnu.org>
21035
21036 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
21037 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
21038 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
21039 gdb.objc/basicclass.m: : New files
21040
21041 * lib/gdb.exp (gdb_compile_objc): New procedure.
21042
bea71854
DJ
210432003-04-27 Daniel Jacobowitz <drow@mvista.com>
21044
21045 * gdb.base/signals.exp: Make backtrace tests more specific.
21046
0f20eeea
DC
210472003-04-23 David Carlton <carlton@bactrian.org>
21048
21049 * gdb.c++/maint.exp (test_first_component): Add tests for
21050 'operator' in more locations.
21051
c8c4d8dc
KB
210522003-04-16 Kevin Buettner <kevinb@redhat.com>
21053
21054 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
21055
3fe60e3c
EZ
210562003-04-16 Elena Zannoni <ezannoni@redhat.com>
21057
21058 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 21059 func marke' instead. Update test name.
3fe60e3c 21060
9219021c
DC
210612003-04-15 David Carlton <carlton@math.stanford.edu>
21062
21063 * gdb.c++/maint.exp: New file.
21064
5dd55bdd
EZ
210652003-04-14 Elena Zannoni <ezannoni@redhat.com>
21066
21067 * gdb.threads/schedlock.c: Change type of thread function argument
21068 to long, to avoid warnings on 64-bit platforms.
21069
00890572
EZ
210702003-04-14 Elena Zannoni <ezannoni@redhat.com>
21071
a9c64011
AS
21072 * gdb.base/attach.exp: Add new message from ptrace in case of
21073 attaching to nonexistent process.
d63a86f8 21074
93201743
JB
210752003-04-11 Jim Blandy <jimb@redhat.com>
21076
21077 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21078 gdb.c++/userdef.cc: Place comments on the lines to which the
21079 marker function might return.
21080 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21081 gdb.c++/userdef.exp: Look for those comments to check that we've
21082 returned to the right place, instead of checking line numbers.
21083
2a11c64d
EZ
210842003-04-11 Elena Zannoni <ezannoni@redhat.com>
21085
a9c64011
AS
21086 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
21087 match on sourcefile name, instead of directory name.
2a11c64d 21088
68ab8fc5
EZ
210892003-04-10 Elena Zannoni <ezannoni@redhat.com>
21090
d63a86f8 21091 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
21092 working directory name.
21093
5624293a
JB
210942003-04-09 Jim Blandy <jimb@redhat.com>
21095
21096 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21097 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
21098 after an inferior function call, report the failure, but allow the
21099 test to continue.
21100
f1f02ee4
SC
211012003-04-05 Stephane Carrez <stcarrez@nerim.fr>
21102
21103 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
21104 with -DPROTOTYPES.
21105
6eb79af0
SC
211062003-04-05 Stephane Carrez <stcarrez@nerim.fr>
21107
21108 * gdb.base/break.exp: Revert last patch.
21109
8dfb4cf0
SC
211102003-04-04 Stephane Carrez <stcarrez@nerim.fr>
21111
21112 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
21113 with -DPROTOTYPES.
21114
ed4c619a
AC
211152003-04-02 Andrew Cagney <cagney@redhat.com>
21116
21117 * gdb.base/callfuncs.exp: Make "print add" messages unique.
21118 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
21119 matching directories by the name breakpoint.
21120 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
21121 Make "continue to marker1" consistent.
21122 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
21123 message consistent.
21124 * lib/gdb.exp: Put "the program is no longer running", and "the
21125 program exited" in parenthesis.
21126 * lib/mi-support.exp: Ditto.
d63a86f8 21127
4e35d5f0 211282003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 21129
4e35d5f0
BR
21130 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
21131
71900fe8
AC
211322003-03-29 Andrew Cagney <cagney@redhat.com>
21133
21134 * gdb.base/sizeof.c (main): Print the value of '\377'.
21135 * gdb.base/sizeof.exp: Check the sign of '\377'.
21136
c0655a16
MC
211372003-03-27 Michael Chastain <mec@shout.net>
21138
21139 * gdb.base/gdb1090.exp: New file.
21140 * gdb.base/gdb1090.cc: New file.
21141
5b2a3989
JB
211422003-03-27 J. Brobecker <brobecker@gnat.com>
21143
21144 * gdb.gdb/observer.exp: New regression test.
21145
79876890
MC
211462003-03-27 Michael Chastain <mec@shout.net>
21147
21148 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
21149 * gdb.base/ptype.exp: Likewise.
21150
6eac95e3
CV
211512003-03-27 Corinna Vinschen <vinschen@redhat.com>
21152
21153 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
21154
e8c71839
MC
211552003-03-26 Michael Chastain <mec@shout.net>
21156
21157 * gdb.base/ptype.exp: Actually use some typedef'd types.
21158
71b10041
SC
211592003-03-21 Stephane Carrez <stcarrez@nerim.fr>
21160
21161 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
21162 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
21163
2512cf80
CV
211642003-03-20 Corinna Vinschen <vinschen@redhat.com>
21165
21166 * gdb.base/default.exp: Fix regular expression.
21167
0d195a4f
CV
211682003-03-20 Corinna Vinschen <vinschen@redhat.com>
21169
21170 * gdb.base/args.exp: Fix regular expression.
21171
8a2dbca8
CV
211722003-03-20 Corinna Vinschen <vinschen@redhat.com>
21173
21174 * gdb.base/help.exp: Allow Win32 child process.
21175
bf028682
CV
211762003-03-20 Corinna Vinschen <vinschen@redhat.com>
21177
21178 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
21179 when stepping out of main().
21180
182dbe85
CV
211812003-03-20 Corinna Vinschen <vinschen@redhat.com>
21182
21183 * gdb.base/default.exp: Check for win32 specific message when calling
21184 "run" without executable.
21185
d67a6ba5
CV
211862003-03-20 Corinna Vinschen <vinschen@redhat.com>
21187
21188 * gdb.base/args.exp: Expect .exe in output.
21189
a955b5bb
CV
211902003-03-20 Corinna Vinschen <vinschen@redhat.com>
21191
21192 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
21193 Cygwin native.
21194
bf6bad4b
AC
211952003-03-17 Andrew Cagney <cagney@redhat.com>
21196
21197 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
21198 vector registes.
21199 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
21200 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
21201
293e9a31
DC
212022003-03-17 David Carlton <carlton@math.stanford.edu>
21203
21204 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
21205 test, for PR breakpoints/38.
21206 Call test_watchpoint_and_breakpoint.
21207 * gdb.base/watchpoint.c (func3): New function.
21208 (main): Call func3.
21209
5330f2db
DC
212102003-03-04 David Carlton <carlton@math.stanford.edu>
21211
21212 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
21213 Garply<Garply<char> >:: garply".
21214 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
21215 with respect to PR c++/1111; note also PR c++/1113.
21216 (test_template_breakpoints): KFAIL "constructor breakpoint" with
21217 respect to PR c++/1062.
21218 KFAIL "destructor breakpoint" with respect to PR c++/1112.
21219
6ece72da
DC
212202003-03-03 David Carlton <carlton@math.stanford.edu>
21221
21222 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
21223 with respect to PR c++/57.
21224 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
21225 c++/826.
21226 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
21227 respect to PR c++/57.
21228
85ca1584
DC
212292003-03-03 David Carlton <carlton@math.stanford.edu>
21230
21231 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
21232 respect to PR c++/33 into FAILs.
21233
98e9c5b8
MC
212342003-03-03 Michael Chastain <mec@shout.net>
21235
7bedbf27
MC
21236 * configure.in: Update copyright years.
21237
212382003-03-03 Michael Chastain <mec@shout.net>
21239
21240 * Makefile.in: Update copyright years.
98e9c5b8 21241
f683e100
DC
212422003-02-28 David Carlton <carlton@math.stanford.edu>
21243
21244 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
21245 print class instead of struct and/or superfluous protection
21246 specifiers, as long as the resulting output is equivalent to the
21247 source code.
21248 Delete FIXME from end of messages on tests that don't need
21249 fixing.
21250
a9e0cf2c
DC
212512003-02-28 David Carlton <carlton@math.stanford.edu>
21252
21253 * gdb.c++/templates.exp (do_tests): Allow const in the two
21254 Foo<volatile char *>::foo tests.
21255
e8d359df
MS
212562003-02-27 Michael Snyder <msnyder@redhat.com>
21257
d63a86f8 21258 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
21259 will be consistant.
21260
0b71dc91
DC
212612003-02-26 David Carlton <carlton@math.stanford.edu>
21262
21263 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
21264 char *>::foo" test with respect to PR c++/33. Create a new test
21265 which is identical to that one except that it doesn't put the
21266 space between the "char" and the "*"; KFAIL it, too.
21267
dd14ab43
DC
212682003-02-26 David Carlton <carlton@math.stanford.edu>
21269
21270 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
21271 template types into either PASSes or KFAILs (corresponding to PR
21272 c++/57). Tweak indentation. Update copyright.
21273
1146c7f1
SC
212742003-02-23 Stephane Carrez <stcarrez@nerim.fr>
21275
21276 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
21277
74641dfb
MC
212782003-02-13 Michael Chastain <mec@shout.net>
21279
21280 * gdb.base/exprs.exp: Remove i960 remnants.
21281 * gdb.base/funcargs.exp: Likewise.
21282 * gdb.base/list.exp: Likewise.
21283 * gdb.base/ptype.exp: Likewise.
21284
559cd2d0
DC
212852003-02-14 David Carlton <carlton@math.stanford.edu>
21286
21287 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
21288 pEe->D::vg()" from XFAIL to KFAIL.
21289
c4f90d87
JM
212902003-02-13 Jason Molenda (jmolenda@apple.com)
21291
21292 * gdb.base/maint.exp: Update maint print statistics regexp to include
21293 new entries.
21294
cbc4d97c
MC
212952003-02-13 Michael Chastain <mec@shout.net>
21296
21297 * gdb.c++/inherit.exp: Remove call to get_debug_format.
21298
40f235b7
MC
212992003-02-12 Michael Chastain <mec@shout.net>
21300
21301 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
21302 * gdb.c++/inherit.exp: Likewise.
21303 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
21304 * gdb.c++/templates.exp: Likewise.
21305 * gdb.c++/virtfunc.exp: Likewise.
21306
c56716b0
JM
213072003-02-06 Jason Molenda (jason-cl@molenda.com)
21308
21309 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
21310 why the code is written that way.
21311
070afcf8
MC
213122003-02-05 Michael Chastain <mec@shout.net>
21313
21314 * gdb.base/dump.exp: Add missing copyright line.
21315
5d0331e5
JM
213162003-02-05 Jason Molenda (jason-cl@molenda.com)
21317
f7ae6d3e 21318 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
21319 at the beginning so the breakpoint doesn't get set on the loop.
21320
92851186
MC
213212003-02-05 Michael Chastain <mec@shout.net>
21322
21323 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
21324 output for configurations with gcc 2.95.3.
21325
cbf1e085
AC
213262003-02-05 Keith Seitz <keiths@redhat.com>
21327 Andrew Cagney <ac131313@redhat.com>
21328
21329 * gdb.mi/mi-cli.exp: New file.
d63a86f8 21330
29518e1e
MC
213312003-02-04 Michael Chastain <mec@shout.net>
21332
21333 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
21334 Call perror and then continue.
21335
5af1d5f3
MC
213362003-02-03 Michael Chastain <mec@shout.net>
21337
21338 * gdb.c++/pr-1023.cc: New file.
21339 * gdb.c++/pr-1023.exp: New file.
21340
6b549786
JB
213412003-02-05 Jim Blandy <jimb@redhat.com>
21342
21343 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
21344 it's local to foobar. Check for it there, and check that it's not
21345 present in main.
21346 * gdb.c++/local.cc (marker2): New function.
21347 (foobar): Call marker1.
21348 (main): Call marker2 instead of marker1.
21349
67f16606
AC
213502003-02-04 Andrew Cagney <ac131313@redhat.com>
21351
21352 * gdb.disasm/mn10200.exp: Obsolete file.
21353 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
21354 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
21355 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
21356
1c5cb38e
DC
213572003-02-04 David Carlton <carlton@math.stanford.edu>
21358
21359 * gdb.c++/overload.exp: Test intToChar(1).
21360 * gdb.c++/overload.cc (intToChar): New.
21361 (main): Call intToChar.
21362
d1fe6965
DC
213632003-02-03 David Carlton <carlton@math.stanford.edu>
21364
21365 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
21366 'might_kfail' arg.
21367 KFAIL some of the continue_to_bp_overloaded calls, according to
21368 PR c++/1025.
21369
9ba61c5d
MC
213702003-02-01 Michael Chastain <mec@shout.net>
21371
21372 * gdb.base/advance.c (marker1): New marker function.
21373 * gdb.base/advance.exp: When the 'advance' command lands on the
21374 return breakpoint, it can legitimately stop on either the
21375 current line or the next line. Accommodate both outcomes.
21376 * gdb.base/until.exp: Likewise.
21377
e7494ffb
AC
213782003-02-02 Andrew Cagney <ac131313@redhat.com>
21379
21380 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
21381 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
21382 now a list, not a tuple.
21383 * gdb.mi/mi-var-display.exp: Ditto.
21384 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 21385
075559bc
AC
213862003-02-01 Andrew Cagney <ac131313@redhat.com>
21387
21388 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
21389 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
21390 stack backtraces.
21391 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 21392
2bd4c7b1
MK
213932003-02-01 Mark Kettenis <kettenis@gnu.org>
21394
21395 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21396 gdb.mi/mi1-pthreads.exp: Return instead of calling
21397 gdb_suppress_entire_file.
21398
eabd8992
MS
213992003-02-01 Mark Salter <msalter@redhat.com>
21400
21401 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
21402
71469e2f
MS
214032003-01-31 Mark Salter <msalter@redhat.com>
21404
21405 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
21406 Support empty arg.
21407
38a94d44
MC
214082003-01-30 Michael Chastain <mec@shout.net>
21409
21410 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
21411 This was a workaround for a UTF-8 bug in readline 4.3. The bug
21412 has been fixed in gdb/readline on 2003-01-09.
21413
19ea9e73
MS
214142003-01-29 Michael Snyder <msnyder@redhat.com>
21415
e8d359df
MS
21416 * gdb.base/maint.exp: Allow for leading underscore in symbol.
21417 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
21418 * gdb.base/args.exp: Skip if target does not support args passing.
21419
2307bd6a
DJ
214202003-01-22 Daniel Jacobowitz <drow@mvista.com>
21421
19ea9e73 21422 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
21423 gdb_test. Accept a list of expect arguments as the third
21424 parameter.
21425 (gdb_test): Use it.
21426
f2dd3617
EZ
214272003-01-20 Elena Zannoni <ezannoni@redhat.com>
21428
21429 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
21430 allow for different test tree configurations. Update some
21431 tescases accordingly.
21432 * gdb.arch/altivec-regs.exp: Ditto.
21433 * gdb.asm/asm-source.exp: Ditto.
21434 * gdb.base/advance.exp: Ditto.
21435 * gdb.base/display.exp: Ditto.
d63a86f8 21436 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
21437 * gdb.base/mips_pro.exp: Ditto.
21438 * gdb.base/overlays.exp: Ditto.
21439 * gdb.base/relocate.exp: Ditto.
21440 * gdb.base/setshow.exp: Ditto.
21441 * gdb.base/step-line.exp: Ditto.
21442 * gdb.base/step-test.exp: Ditto.
21443 * gdb.base/until.exp: Ditto.
21444 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
21445
c71cdefd
DC
214462003-01-17 David Carlton <carlton@math.stanford.edu>
21447
21448 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
21449 corresponding to PR c++/945.
21450 Update copyright.
21451
fdba05d7
DC
214522003-01-17 David Carlton <carlton@math.stanford.edu>
21453
21454 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
21455 corresponding to PR c++/68.
21456
214572003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
21458
21459 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
21460 (test_paddr_hairy_functions): Call print_addr_2_kfail for
21461 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
21462
c362c33a
EZ
214632003-01-15 Elena Zannoni <ezannoni@redhat.com>
21464
0fbc361c
EZ
21465 * gdb.base/break.exp: Fix change of default location, because of
21466 removal of until tests.
21467 * gdb.base/help.exp: Update test for new 'until' help message.
21468 Add test for help on 'advance'.
a9c64011 21469 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 21470
dabf8a35
MK
214712003-01-15 Mark Kettenis <kettenis@gnu.org>
21472
21473 * gdb.base/default.exp: Adapt "info float" test for recent changes
21474 to that command. Add test for "info vector".
21475 * gdb.base/float.exp: New file. Add test for "info float" that
21476 resembles the old test in gdb.base/default.exp.
21477
a1769aca
DC
214782003-01-15 David Carlton <carlton@math.stanford.edu>
21479
21480 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
21481
82025e13
EZ
214822003-01-15 Elena Zannoni <ezannoni@redhat.com>
21483
21484 * gdb.base/break.exp: Move the tests of until command from here...
21485 * gdb.base/until.exp: ... to here. New file. Add other tests.
21486 * gdb.base/advance.c: New file.
21487 * gdb.base/advance.exp: New file.
21488
8f9ab801
EZ
214892003-01-14 Elena Zannoni <ezannoni@redhat.com>
21490
a9c64011
AS
21491 * gdb.base/args.c: New file.
21492 * gdb.base/args.exp: New file.
8f9ab801 21493
9ae66589
DJ
214942003-01-14 Daniel Jacobowitz <drow@mvista.com>
21495
21496 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
21497
8d77e5c3
DJ
214982003-01-14 Daniel Jacobowitz <drow@mvista.com>
21499
21500 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
21501
12d2f0a1
DJ
215022003-01-14 Daniel Jacobowitz <drow@mvista.com>
21503
21504 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
21505 dates.
21506
6ca37014
DJ
215072003-01-13 Daniel Jacobowitz <drow@mvista.com>
21508
21509 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
21510
b0023472
DJ
215112003-01-13 Daniel Jacobowitz <drow@mvista.com>
21512
21513 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
21514 (ptype &*"foo").
21515 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
21516
607fbc54 215172003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
21518
21519 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
21520 * gdb.mi/mi1-console.exp: Likewise.
21521
607fbc54 215222003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
21523
21524 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
21525 * gdb.mi/mi1-console.exp: Likewise.
21526
a1fb14a2
DJ
215272003-01-13 Daniel Jacobowitz <drow@mvista.com>
21528
21529 * gdb.c++/overload.exp: Remove some fixed XFAILs.
21530
c4cf40b7
DJ
215312003-01-09 Daniel Jacobowitz <drow@mvista.com>
21532
21533 * gdb.base/detach.exp: New test.
21534
696d5a5b
DJ
215352003-01-09 Daniel Jacobowitz <drow@mvista.com>
21536
21537 * Makefile.in (ALL_SUBDIRS): New variable.
21538 (subdirs, clean, distclean): Use it.
21539 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
21540 regenerating Makefile, since it is generated from the top level.
21541 * gdb.asm/Makefile.in: Likewise.
21542 * gdb.base/Makefile.in: Likewise.
21543 * gdb.c++/Makefile.in: Likewise.
21544 * gdb.disasm/Makefile.in: Likewise.
21545 * gdb.java/Makefile.in: Likewise.
21546 * gdb.mi/Makefile.in: Likewise.
21547 * gdb.threads/Makefile.in: Likewise.
21548 * gdb.trace/Makefile.in: Likewise.
21549
754533e4
DC
215502003-01-09 David Carlton <carlton@math.stanford.edu>
21551
21552 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
21553 Add copyright year 2003.
21554
d8b3e9ee
MC
215552003-01-06 Michael Chastain <mec@shout.net>
21556
21557 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
21558 When selecting a thread, 'line' and 'file' are optional.
21559 * gdb.mi/mi1-pthreads.exp: Likewise.
21560
8e9e0fe6
AS
215612003-01-06 Andreas Schwab <schwab@suse.de>
21562
21563 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
21564 failures.
21565
b5ab8ff3
DJ
215662003-01-04 Daniel Jacobowitz <drow@mvista.com>
21567
21568 Fix PR gdb/844
21569 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
21570 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
21571
21572 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
21573 instead of calling gdb_suppress_entire_file.
21574 * gdb.threads/print-threads.exp: Likewise.
21575 * gdb.threads/schedlock.exp: Likewise.
21576
21577 * gdb.threads/killed.exp: Return instead of calling
21578 gdb_suppress_entire_file.
21579 * gdb.threads/linux-dp.exp: Likewise.
21580 * gdb.threads/pthreads.exp: Likewise.
21581
1e698235
DJ
215822003-01-04 Daniel Jacobowitz <drow@mvista.com>
21583
21584 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
21585 stabs.
21586 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
21587 * gdb.base/whatis.exp: Always allow (void) after function names.
21588
147ff08c
DJ
215892003-01-04 Daniel Jacobowitz <drow@mvista.com>
21590
21591 * gdb.c++/casts.exp: Correct regexp.
21592
dc62bfc2
MK
215932003-01-04 Mark Kettenis <kettenis@gnu.org>
21594
21595 * configure.in: Call AC_CONFIG_HEADER. Don't call
21596 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
21597 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
21598 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
21599 aforementioned directories in the AC_OUPUT call.
21600 * config.hin: New file.
21601 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21602 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
21603 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
21604 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
21605 pass -I$objdir instead of -I$objdir/$subdir in compilation.
21606 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
21607 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
21608 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
21609 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
21610 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
21611 gdb.threads/configure.in, gdb.threads/configure,
21612 gdb.threads/config.in, gdb.trace/configure.in,
21613 gdb.trace/configure: Removed.
21614
77afa639
MC
216152003-01-03 Michael Chastain <mec@shout.net>
21616
21617 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
21618 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
21619
7634bb6e
DJ
216202003-01-03 Daniel Jacobowitz <drow@mvista.com>
21621
21622 * gdb.base/store.exp: Fix regular expressions.
21623
b39c905e
MK
216242002-12-28 Mark Kettenis <kettenis@gnu.org>
21625
21626 * configure.in: Rewrite.
21627 * configure: Regenerated.
21628
0a8551dd
DC
216292003-01-03 David Carlton <carlton@math.stanford.edu>
21630
21631 * gdb.base/psymtab.exp: New file.
21632 * gdb.base/psymtab1.c: Ditto.
21633 * gdb.base/psymtab2.c: Ditto.
21634
c60b7188
AF
216352002-12-23 Adam Fedor <fedor@gnu.org>
21636
21637 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
21638
ee73db83
DC
216392002-12-23 David Carlton <carlton@math.stanford.edu>
21640
21641 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
21642 and current_directory initialization.
21643
d6c1774e
JB
216442002-12-22 Jim Blandy <jimb@redhat.com>
21645
f0a847b8
JB
21646 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
21647 rather than as part of the output file name.
21648
d6c1774e
JB
21649 * gdb.base/attach.exp: There's no need to copy the test program to
21650 /tmp; that was only ever necessary on HP/UX, and this test is
21651 entirely disabled there anyway.
21652
f0708dbb
JB
216532002-12-21 Jim Blandy <jimb@redhat.com>
21654
4c2acfea
JB
21655 * gdb.c++/psmang.exp: Doc fix.
21656
f0708dbb
JB
21657 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
21658 test.
21659
9579e000
DC
216602002-12-20 David Carlton <carlton@math.stanford.edu>
21661
21662 * gdb.c++/annota2.exp: KFAIL annotate-quit.
21663
d1810171
MC
216642002-12-18 Michael Chastain <mec@shout.net>
21665
21666 * gdb.c++/annota2.exp: Add copyright year 2002.
21667
76565097
DC
216682002-12-17 David Carlton <carlton@math.stanford.edu>
21669
21670 * gdb.c++/try_catch.cc: Add marker comments.
21671 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
21672 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
21673 * gdb.c++/m-static.cc: Ditto.
21674 * gdb.c++/m-static1.cc: Ditto.
21675 * gdb.c++/try_catch.cc: Ditto.
21676
da81390b
JJ
216772002-12-16 Jeff Johnston <jjohnstn@redhat.com>
21678
21679 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
21680 to see whether we are using the new -environment-directory
21681 command which resets via -r or the old version of the command
21682 which may prompt the user. Part of fix for gdb/741.
21683
b304d130
AC
216842002-12-13 Andrew Cagney <ac131313@redhat.com>
21685
21686 * gdb.fortran/types.exp: Update obsolete comment.
21687 * gdb.fortran/exprs.exp: Ditto.
21688 * lib/gdb.exp: Delete obsolete code.
21689 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
21690 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
21691 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
21692 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
21693 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
21694 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
21695 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
21696 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
21697 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
21698 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
21699 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
21700 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
21701 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
21702 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
21703 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
21704 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
21705 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
21706 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
21707 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
21708 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
21709 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
21710 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
21711 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
21712 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
21713 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
21714 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
21715 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
21716 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
21717 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
21718 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
21719 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
21720 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
21721 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
21722 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
21723 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
21724 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
21725 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
21726
a23b6e6a
DC
217272002-12-11 David Carlton <carlton@math.stanford.edu>
21728
21729 * gdb.c++/m-data.exp: Add test for members that shadow global
21730 variables: see PR gdb/804.
21731 * gdb.c++/m-data.cc: Ditto.
21732
6604731b
DJ
217332002-12-10 Daniel Jacobowitz <drow@mvista.com>
21734
21735 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
21736
de46ecd7
DC
217372002-12-06 David Carlton <carlton@math.stanford.edu>
21738
21739 * gdb.base/store.c: Don't declare functions static.
21740
27e829d0
AC
217412002-12-04 Andrew Cagney <ac131313@redhat.com>
21742
21743 * gdb.base/store.exp, gdb.base/store.c: New files.
21744
92806416
DJ
217452002-12-03 Daniel Jacobowitz <drow@mvista.com>
21746
21747 * gdb.base/selftest.exp: Update for current gdb.
21748
3bcbaac5
DJ
217492002-12-03 Daniel Jacobowitz <drow@mvista.com>
21750
21751 * gdb.base/maint.exp: Only dump symbols from one source file
21752 or objfile.
21753
f4f00b1f
DJ
217542002-12-03 Daniel Jacobowitz <drow@mvista.com>
21755
21756 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
21757 function call.
21758
f1c8a949
JB
217592002-11-25 Jim Blandy <jimb@redhat.com>
21760
21761 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
21762 function appearing in error message.
21763
9e297a97
DJ
217642002-11-21 Daniel Jacobowitz <drow@mvista.com>
21765
21766 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
21767
1f312e79
JJ
217682002-11-08 Jeff Johnston <jjohnstn@redhat.com>
21769
d63a86f8
RM
21770 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
21771 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
21772 should be in mi console format. This is part of fix for PR gdb/604.
21773
83c31e7d
FN
217742002-09-18 Fernando Nasser <fnasser@redhat.com>
21775
21776 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
21777 which explicitly prints the zero offset as "+0".
21778
322b3f65
DJ
217792002-10-22 Daniel Jacobowitz <drow@mvista.com>
21780
21781 * gdb.threads/schedlock.c (args): Make unsigned.
21782
217832002-10-21 Daniel Jacobowitz <drow@mvista.com>
21784
21785 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
21786 numbers. Allow "foo2|selected stack frame".
21787 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
21788 * gdb.asm/asmsrc2.s: Likewise.
21789 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
21790 comments.
21791 * gdb.asm/mips.inc: New file.
21792
5e2fe5b8
AF
217932002-10-18 Adam Fedor <fedor@gnu.org>
21794
21795 * gdb.base/default.exp: Update expected output to include 'ObjC'.
21796 * gdb.base/help.exp: Likewise.
21797
abe1a5d0
KB
217982002-10-17 Kevin Buettner <kevinb@redhat.com>
21799
21800 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
21801 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
21802
10abb1d4
JB
218032002-10-02 Jim Blandy <jimb@redhat.com>
21804
21805 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
21806
1f609b42
AC
218072002-10-01 Andrew Cagney <ac131313@redhat.com>
21808
21809 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
21810 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
21811 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
21812 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
21813 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
21814 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
21815 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
21816
0aee02e4
AC
218172002-09-29 Andrew Cagney <ac131313@redhat.com>
21818
21819 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
21820 * mi0-disassemble.exp, mi0-eval.exp: Delete.
21821 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
21822 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
21823 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
21824 * mi0-var-block.exp, mi0-var-child.exp: Delete.
21825 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 21826
6fde09ad
KB
218272002-09-27 Kevin Buettner <kevinb@redhat.com>
21828
21829 * gdb.base/annota1.exp (info break): Make directory components of
21830 path optional since not all compilers emit this debug information.
21831
889bf7c5
PA
21832 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
21833 step ends up stepping out of the function instead of stopping on
21834 the epilogue.
6fde09ad 21835
9e8aab75
KS
218362002-09-26 Keith Seitz <keiths@redhat.com>
21837
21838 * lib/insight-support.exp (gdbtk_start): Figure out where
21839 the insight executable is based on where gdb is. Use this
21840 executable to start insight instead of gdb.
21841
e36180d7
AC
218422002-09-25 Andrew Cagney <cagney@redhat.com>
21843
21844 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
21845
9dd34b2b
AC
218462002-09-24 Andrew Cagney <ac131313@redhat.com>
21847
21848 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
21849 test_isolated_complaints.
21850 (test_empty_complaint): New function.
21851 (test_empty_complaints): New function. Check no output when no
21852 complaints.
d63a86f8 21853
dea97812
KB
218542002-09-19 Jim Blandy <jimb@redhat.com>
21855
a9c64011 21856 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 21857
54951bd7
AC
218582002-09-19 Andrew Cagney <ac131313@redhat.com>
21859
21860 * gdb.gdb/complaints.exp: New file.
21861
dec43320
AC
218622002-09-18 Andrew Cagney <ac131313@redhat.com>
21863
21864 * gdb.base/maint.exp: Check `help maint internal-warning'.
21865
e70d6e3f
DC
218662002-09-18 David Carlton <carlton@math.stanford.edu>
21867
21868 * gdb.c++/m-static.exp: Remove breakpoints depending on line
21869 numbers, and replace them by a single breakpoint after the
21870 constructors are all finished.
21871 Add test 4.
21872 * gdb.c++/m-static.cc: Add test 4.
21873 * gdb.c++/m-static.h: New file.
21874 * gdb.c++/m-static1.cc: New file.
21875
21876 * gdb.c++/printmethod.exp: New file.
21877 * gdb.c++/printmethod.cc: New file.
21878
21879 * gdb.c++/pr-574.exp: New file.
21880 * gdb.c++/pr-574.cc: New file.
21881
afb5c968
CV
218822002-09-18 Corinna Vinschen <vinschen@redhat.com>
21883
21884 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
21885 embedded targets which never actually exit.
21886
31e45dee
FN
218872002-09-18 Fernando Nasser <fnasser@redhat.com>
21888
21889 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
21890 "don't step after run" as unresolved or unsupported, instead of xfail.
21891
a283c5a1
CV
218922002-09-18 Corinna Vinschen <vinschen@redhat.com>
21893
21894 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
21895 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
21896 Add newline to expected string in "step out of main (status wrapper)"
21897 case.
21898
11350d2a
CV
218992002-09-18 Corinna Vinschen <vinschen@redhat.com>
21900
21901 * lib/gdb.exp (rerun_to_main): Allow restarting application.
21902 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
21903
0deec7d6
TT
219042002-09-17 Tom Tromey <tromey@redhat.com>
21905
21906 * gdb.base/printcmds.exp (test_print_string_constants): Expect
21907 \000, not \0, in double-quoted string.
21908
b2b4a1b5
CV
219092002-09-14 Corinna Vinschen <vinschen@redhat.com>
21910
c9d37158 21911 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
21912 string after running the commands execution on breakpoint tests.
21913
1c56143a
CV
219142002-09-13 Corinna Vinschen <vinschen@redhat.com>
21915
21916 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
21917
37f8da45
JB
219182002-09-12 Joel Brobecker <brobecker@gnat.com>
21919
21920 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
21921
08b468e0
KS
219222002-09-10 Keith Seitz <keiths@redhat.com>
21923
21924 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
21925 runto proc.
21926 (mi_run_to_main): Use mi_runto.
21927 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
21928
dc360f58
KS
219292002-09-10 Keith Seitz <keiths@redhat.com>
21930
21931 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
21932 regexp for stopping at main. Could have multiple event notifications.
21933 Don't assume that main was declared with no parameters.
21934 (mi_next): Use mi_step_to.
21935 (mi_step): Use mi_next_to.
21936
ce3abcfb
CV
219372002-09-09 Corinna Vinschen <vinschen@redhat.com>
21938
21939 * gdb.base/default.exp: Fix expected string in `info float' test.
21940
d1f5b980
BE
219412002-09-09 Ben Elliston <bje@redhat.com>
21942
21943 * config/mips.exp: Update comments.
21944 * config/mips-idt.exp: Likewise.
21945 * config/nind.exp: Likewise.
21946 * config/slite.exp: Likewise.
21947 * config/sparclet.exp: Likewise.
21948 * config/udi.exp: Likewise.
21949 * config/vx.exp: Likewise.
21950 * config/vxworks29k.exp: Likewise.
21951
2f71430b
JB
219522002-09-05 Jim Blandy <jimb@redhat.com>
21953
21954 * gdb.threads/killed.exp: Fix test failure message.
21955
7ddebc7e
KS
219562002-09-04 Keith Seitz <keiths@redhat.com>
21957
21958 * lib/mi-support.exp: Update copyright.
21959 (mi_gdb_test): Increase the priority of the expected pattern
21960 so that it matches gdb_test.
21961
0ae67eb3
KS
219622002-09-03 Keith Seitz <keiths@redhat.com>
21963
21964 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
21965 Use integer comparison instead of string comparison for testing
21966 whether binary was built.
21967
38fc42c8
JB
219682002-09-03 Jim Blandy <jimb@redhat.com>
21969
21970 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
21971
b6ff0e81
JB
219722002-08-29 Jim Blandy <jimb@redhat.com>
21973
21974 * gdb.threads/pthreads.exp: Move the portable thread compilation
21975 code into a function in lib/gdb.exp, and call that from here.
21976 * lib/gdb.exp (gdb_compile_pthreads): New function.
21977
07c98896
KS
219782002-08-29 Keith Seitz <keiths@redhat.com>
21979
21980 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
21981 expect_out so that callers can get at it.
21982
0312286c
DJ
219832002-08-23 Daniel Jacobowitz <drow@mvista.com>
21984
21985 * gdb.threads/print-threads.c: New file.
21986 * gdb.threads/print-threads.exp: New file.
21987 * gdb.threads/schedlock.c: New file.
21988 * gdb.threads/schedlock.exp: New file.
21989
dd039bc4
EZ
219902002-08-22 Elena Zannoni <ezannoni@redhat.com>
21991
a9c64011
AS
21992 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
21993 not altivec.c.
dd039bc4 21994
1f36144c
MK
219952002-08-17 Mark Kettenis <kettenis@gnu.org>
21996
21997 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
21998 targets. The problem should be fixed now.
21999
16057ec7 220002002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
22001
22002 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
22003 2002-07-24 change that removes final dots from error messages.
22004
3c1499ad
TT
220052002-08-13 Tom Tromey <tromey@redhat.com>
22006
22007 * gdb.base/readline.exp: New file.
22008
a20ce2c3
AC
220092002-08-01 Andrew Cagney <ac131313@redhat.com>
22010
22011 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
22012 supress message.
22013
db034ac5
AC
220142002-08-01 Andrew Cagney <cagney@redhat.com>
22015
22016 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
22017 CHILL_FOR_TARGET and CHILL_LIB.
22018 * configure.in (configdirs): Remove gdb.chill.
22019 * configure: Regenerate.
22020 * lib/gdb.exp: Obsolete references to chill.
22021 * gdb.fortran/types.exp: Ditto.
22022 * gdb.fortran/exprs.exp: Ditto.
22023
3e000b18
KB
220242002-07-30 Kevin Buettner <kevinb@redhat.com>
22025
22026 * gdb.base/shlib-call.exp (additional_flags): Conditionally
22027 set Irix-specific compile and link flags.
22028
28f4966b
KB
220292002-07-29 Kevin Buettner <kevinb@redhat.com>
22030
22031 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
22032 source files. The ``-o'' option doesn't work with the ``-E'' option
22033 when using the Irix compiler.
22034
46c0d5a6
DJ
220352002-07-19 Daniel Jacobowitz <drow@mvista.com>
22036
22037 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
22038 Improve support for reusing an exec file. Copy exec file
22039 to target, and run gdbserver on the target instead of on the host.
22040
eecf4bed
JB
220412002-07-18 Jim Blandy <jimb@redhat.com>
22042
0f815cdf
JB
22043 * gdb.base/ending-run.exp: Don't expect to see the program end in
22044 some orderly fashion when we're running on a real stand-alone
22045 board.
22046
eecf4bed
JB
22047 * gdb.base/interrupt.exp: Correct logic for skipping tests on
22048 targets that don't support interrupts.
22049
52d309e4
JB
220502002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
22051
22052 * gdb.base/attach.exp: Add patterns to match output from /proc-based
22053 systems.
22054 Move comments in expect statements to inside the actions, so that they
22055 don't get matched against.
22056
ff683d9e
MK
220572002-07-10 Mark Kettenis <kettenis@gnu.org>
22058
22059 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
22060 function when asleep" test.
22061
b5356753
AC
220622002-07-10 Andrew Cagney <ac131313@redhat.com>
22063
22064 * gdb.base/page.exp: Rewrite to handle problems with very long
22065 `info set' output. Update copyright.
22066
6aa4d13a
AC
220672002-06-26 Andrew Cagney <ac131313@redhat.com>
22068
22069 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
22070 gdb.threads-hp.
22071 * gdb.hp/configure: Regenerate.
22072 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
22073 * gdb.hp/gdb.threads-hp/configure: Delete file.
22074 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
22075
8cf8c2b8
AC
220762002-06-22 Andrew Cagney <ac131313@redhat.com>
22077
22078 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
22079 setlocale, bindtextdomain and textdomain.
22080
6827a8f8
JB
220812002-06-11 Jim Blandy <jimb@redhat.com>
22082
919d772c
JB
22083 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
22084 preprocessor macro information is present.
22085
6827a8f8
JB
22086 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
22087 tests.
22088
c15b0d21
MS
220892002-06-06 Michael Snyder <msnyder@redhat.com>
22090
c5984d70
MS
22091 * gdb.base/overlays.exp: Record addresses of overlay
22092 functions in TCL variables rather than in GDB variables,
22093 to avoid having GDB convert them to pointers (with loss
22094 of information).
22095
d63a86f8 22096 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 22097 default linker script changes.
c15b0d21
MS
22098 * gdb.base/long_long.exp: Add check for sizeof (long double).
22099
be26fe0d
ML
221002002-06-06 Michal Ludvig <mludvig@suse.cz>
22101
22102 * gdb.asm/asm-source.exp: Add x86-64 target.
22103 * gdb.asm/x86_64.inc: New.
d63a86f8 22104
258093ca 221052002-05-30 Michael Chastain <mec@shout.net>
258093ca 22106
4b3153f1 22107 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
22108 * gdb.c++/m-static.cc: New file.
22109 * gdb.c++/m-static.exp: New file.
22110
241264c6
MS
221112002-05-28 Michael Snyder <msnyder@redhat.com>
22112
22113 * gdb.base/call-ar-st.exp: Allow for reduced floating point
22114 precision.
22115
9bba8c8f 221162002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 22117
4b3153f1 22118 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
22119 * gdb.c++/m-data.cc: New file.
22120 * gdb.c++/m-data.exp: New file.
22121
221222002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 22123
4b3153f1 22124 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 22125 * gdb.c++/try_catch.cc: New file.
d63a86f8 22126 * gdb.c++/try_catch.exp: New file.
9bba8c8f 22127
def1b996
MC
221282002-05-27 Michael Chastain <mec@shout.net>
22129
22130 * gdb.c++/local.exp: Accept more nested types in output.
22131
522ba268
MC
221322002-05-26 Michael Chastain <mec@shout.net>
22133
22134 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
22135
277254ba
MS
221362002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
22137
22138 * lib/gdb.exp (gdb_wrapper_init): Just because
22139 gdb_wrapper_file exists, this does not mean that the file
22140 should not be rebuilt. That is what gdb_wrapper_initialized
22141 is for.
22142 (default_gdb_init): Reset gdb_wrapper_initialized.
22143
b61a8733
MS
221442002-05-23 Michael Snyder <msnyder@redhat.com>
22145
d63a86f8 22146 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
22147 the precision of the floating point test results.
22148 * gdb.base/call-rt-st.exp: Ditto.
22149
b61a8733
MS
22150 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
22151 * gdb.base/call-rt-st.exp: Ditto.
22152
56f6e910
MC
221532002-05-19 Michael Chastain <mec@shout.net>
22154
22155 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
22156
ad0b0016
EZ
221572002-05-19 Elena Zannoni <ezannoni@redhat.com>
22158
a9c64011
AS
22159 * configure.in (configdirs): Add gdb.arch.
22160 * configure: Regenerate.
ad0b0016 22161
f617d2b6
JB
221622002-05-17 Jim Blandy <jimb@redhat.com>
22163
22164 * gdb.base/completion.exp: Recognize the more detailed error
22165 messages produced by the macro expander's lexical analyzer.
22166
eac2a696
EZ
221672002-05-14 Elena Zannoni <ezannoni@redhat.com>
22168
a9c64011
AS
22169 * gdb.arch/altivec-abi.c: New file.
22170 * gdb.arch/altivec-abi.exp: New file.
22171 * gdb.arch/altivec-regs.c: New file.
22172 * gdb.arch/altivec-regs.exp: New file.
eac2a696 22173
2fdde8f8
DJ
221742002-05-14 Daniel Jacobowitz <drow@mvista.com>
22175
22176 * gdb.base/maint.exp (maint print type): Update for new type
22177 structure.
d63a86f8 22178
e31f1a7c
EZ
221792002-05-14 Elena Zannoni <ezannoni@redhat.com>
22180
22181 * gdb.arch: New directory.
22182 * gdb.arch/configure.in: New file.
22183 * gdb.arch/configure: New file.
22184 * gdb.arch/Makefile.in: New file.
22185
db589741
CV
221862002-05-13 Corinna Vinschen <vinschen@redhat.com>
22187
22188 * gdb.asm/asm-source.exp: Add v850 as supported target.
22189 * gdb.asm/v850.inc: New file.
22190
8ce2a7dc
DJ
221912002-05-13 Daniel Jacobowitz <drow@mvista.com>
22192
22193 * gdb.c++/annota2.exp (annotate-quit): Add comment.
22194
df763c7f
DJ
221952002-05-12 Daniel Jacobowitz <drow@mvista.com>
22196
22197 * gdb.base/break.exp: Check 'break "marker2"'.
22198
377daeed
MS
221992002-05-10 Michael Snyder <msnyder@redhat.com>
22200
22201 * gdb.base/long_long.exp: Fix typo.
22202
c4b7bc2b
JB
222032002-05-10 Jim Blandy <jimb@redhat.com>
22204
ecac9a4e
JB
22205 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
22206 a bug.
22207
c4b7bc2b
JB
22208 * gdb.base/printcmds.exp (test_integer_literals_rejected):
22209 Recognize more detailed error message produced by the macro
22210 expander's lexical analyzer.
22211 * lib/gdb.exp (test_print_reject): Same.
22212
e71019a1
MK
222132002-05-09 Mark Kettenis <kettenis@gnu.org>
22214
22215 * gdb.c++/method.exp: Fix typo.
22216
fedfc8e6
MS
222172002-05-08 Michael Snyder <msnyder@redhat.com>
22218
166a1957
MS
22219 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
22220 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 22221 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
22222 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
22223 Add iftarget clause for strongarm.
d63a86f8 22224
f1c47eb2
MS
222252002-05-06 Michael Snyder <msnyder@redhat.com>
22226
cb9a9d3e
MS
22227 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
22228 (gdb_continue_to_end): Accept output from status wrapper.
22229 * gdb.base/ending-run.exp: Add case for output from status wrapper.
22230 Clean up fail messages to match pass messages.
22231
f1c47eb2
MS
22232 Enable the "needs_status_wrapper" testsuite feature.
22233 * lib/gdb.exp (gdb_wrapper_init): New procedure.
22234 (gdb_compile): Conditionally call gdb_wrapper_init.
22235 * gdb.base/a2-run.exp: Recognize output from status wrapper.
22236 * gdb.c++/method.exp: Recognize output from status wrapper.
22237
6079c749
BE
222382002-05-06 Ben Elliston <bje@redhat.com>
22239From Graydon Hoare <graydon@redhat.com>
22240
22241 * config/sid.exp: Include support for "rawsid" protocol.
22242
188baff3
JB
222432002-05-03 Jim Blandy <jimb@redhat.com>
22244
22245 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
22246 * gdb.c++/hang3.C: New file.
22247
b9c07f0f
AC
222482002-05-04 Andrew Cagney <ac131313@redhat.com>
22249
22250 * gdb.base/default.exp: Remove obsolete code.
22251 * gdb.c++/misc.exp: Ditto. Update copyright.
22252 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
22253 * gdb.base/whatis.exp: Ditto. Update copyright.
22254 * gdb.base/scope.exp: Ditto. Update copyright.
22255 * gdb.base/ptype.exp: Ditto. Update copyright.
22256 * gdb.base/printcmds.exp: Ditto. Update copyright.
22257 * gdb.base/opaque.exp: Ditto. Update copyright.
22258 * gdb.base/list.exp: Ditto.
22259 * gdb.base/funcargs.exp: Ditto. Update copyright.
22260 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
22261 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
22262 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
22263 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
22264 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
22265 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
22266
5c7a0397
MS
222672002-05-02 Michael Snyder <msnyder@redhat.com>
22268
d6dcc264 22269 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
22270 * gdb.base/long_long.exp: Add xscale target.
22271 * gdb.base/default.exp: Add xscale target.
22272
eb7f1c48
JB
222732002-05-01 Jim Blandy <jimb@redhat.com>
22274
22275 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
22276 gdb.c++/hang.exp: New test.
22277
a6befae8
FF
222782002-05-01 Fred Fish <fnf@redhat.com>
22279
22280 * gdb.base/completion.exp: Handle completions of "./Make" for
22281 more than one completion possibility, as is the case when we
22282 build and test in the source tree.
22283
0a310277
AG
222842002-04-29 Anthony Green <green@redhat.com>
22285
22286 * gdb.java/jmisc1.exp: New file.
22287 * gdb.java/jmisc2.exp: New file.
22288
6ff9af88
DJ
222892002-04-24 Daniel Jacobowitz <drow@mvista.com>
22290
22291 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
22292
96b3d632
EZ
222932002-04-23 Elena Zannoni <ezannoni@redhat.com>
22294
22295 * gdb.base/help.exp: Change 'help status' to allow for target
22296 dependent output differences.
22297
5019bb54
MC
222982002-04-22 Michael Chastain <mec@shout.net>
22299
22300 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
22301
a805a116
MC
223022002-04-22 Michael Chastain <mec@shout.net>
22303
22304 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
22305
a1706bfd
DM
223062002-04-17 David S. Miller <davem@redhat.com>
22307
22308 * gdb.asm/sparc64.inc: New file.
22309 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
22310
a73a20a2
EZ
223112002-04-19 Elena Zannoni <ezannoni@redhat.com>
22312
22313 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
22314 instruction file directly into the build tree. Clean up at end of
22315 test.
22316
ba678339
DM
223172002-04-18 David S. Miller <davem@redhat.com>
22318
22319 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
22320 handle 64-bit platforms correctly.
22321 * gdb.base/maint.exp: Likewise.
22322
b03399da
KB
223232002-04-18 Kevin Buettner <kevinb@redhat.com>
22324
22325 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
22326 ``-fpic'' when compiling files comprising a shared library, but
22327 it does need additional linker flags in order to find shared
22328 libraries at run time.
22329
e2004992
KB
223302002-04-18 Kevin Buettner <kevinb@redhat.com>
22331
22332 * gdb.base/cvexpr.c (use): New function.
22333 (main): Invoke use() on all global variables to prevent
22334 some linkers from deleting these otherwise unused symbols.
22335
d8937120
MC
223362002-04-17 Michael Chastain <mec@shout.net>
22337From David S. Miller <davem@redhat.com>
22338
22339 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
22340 handle 64-bit platforms correctly.
22341
ffd61a58
MS
223422002-04-12 Michael Snyder <msnyder@redhat.com>
22343From Jim Blandy <jimb@redhat.com>
a9c64011 22344 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
22345 script can handle this instead.
22346 * gdb.base/bar.c (barx): Same.
22347 * gdb.base/baz.c (bazx): Same.
22348 * gdb.base/grbx.c (grbxx): Same.
22349
22350 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
22351 manager doesn't automatically unmap overlays unnecessarily.
22352
6b8426a6
MH
223532002-04-10 Martin M. Hunt <hunt@redhat.com>
22354
22355 * gdb.base/ending-run.exp: Fix pattern for Mips targets
22356 stepping out of main.
22357
34af4875
MC
223582002-04-09 Michael Chastain <mec@shout.net>
22359
22360 * gdb.c++/local.cc (main): Move call to marker1() inside nested
22361 scope so that the nested scope tests will make sense.
22362 * gdb.c++/local.exp: Write patterns that actually work with gcc
22363 (the HP patterns "were never known to work with gcc").
22364 Keep the old aCC patterns too.
22365
2d1676a0
DJ
223662002-04-09 Daniel Jacobowitz <drow@mvista.com>
22367
22368 * gdb.base/attach.exp: Correct target board test.
22369
3a63e3f9
MC
223702002-04-08 Michael Chastain <mec@shout.net>
22371
22372 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
22373 in a const method. Add some xfail and fail cases for configurations
22374 that do not emit the "const ...".
22375
f18dabd2
MC
223762002-04-07 Michael Chastain <mec@shout.net>
22377
22378 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
22379 Accept "A * const" and "const A * const" as type of "this".
22380 Fix spelling of getFunky throughout. Make messages uniform.
22381
0fcddd82
EZ
223822002-04-07 Elena Zannoni <ezannoni@redhat.com>
22383
a9c64011 22384 Work around for PR gdb/285:
0fcddd82
EZ
22385 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
22386
16a8534a
EZ
223872002-04-07 Elena Zannoni <ezannoni@redhat.com>
22388
22389 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
22390 instructions file at run time instead of configure time.
22391 Sometimes we run the test in a directory that is not the one we
22392 configured in.
22393 * gdb.asm/configure.in: Delete creation of symlink.
22394 * gdb.asm/configure: Regenerate.
22395
24181d81
JB
223962002-04-05 J. Brobecker <brobecker@gnat.com>
22397
22398 * gdb.gdb/xfullpath.exp: New test, to exercise the new
22399 xfullpath () function.
22400
7cdb7107
DJ
224012002-04-04 Daniel Jacobowitz <drow@mvista.com>
22402
22403 * gdb.asm/Makefile.in: Correct dependencies.
22404
22405 * gdb.asm/powerpc.inc: New file.
22406 * gdb.asm/asm-source.exp: Add PowerPC.
22407 * gdb.asm/configure.in: Likewise.
22408 * gdb.asm/configure: Regenerated.
22409
a7d17088
DJ
224102002-04-04 Daniel Jacobowitz <drow@mvista.com>
22411
22412 * gdb.base/relocate.exp: New file.
22413 * gdb.base/relocate.c: New file.
22414
cd721503
FF
224152002-04-04 Fred Fish <fnf@redhat.com>
22416
22417 * gdb.base/step-test.exp: Update comment regarding stopping in
22418 memcpy/bcopy calls inserted as part of the compiler runtime.
22419
b22ad7a7
MS
224202002-04-04 Michael Snyder <msnyder@redhat.com>
22421
22422 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
22423
5f279fa6
DJ
224242002-04-03 Daniel Jacobowitz <drow@mvista.com>
22425
22426 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
22427 (gdb_expect): Remove $notransfer hack.
22428
dd0fd3ce
DJ
224292002-04-02 Daniel Jacobowitz <drow@mvista.com>
22430
22431 * gdb.c++/classes.exp ("calling method for small class"): Match
22432 updated register output.
22433
1e50cda1
DJ
224342002-03-30 Daniel Jacobowitz <drow@mvista.com>
22435
22436 Fix PR gdb/452
22437 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
22438 when finished. Make gdb_file_cmd send "exec-file" when
22439 appropriate.
22440
24015922
DJ
224412002-03-30 Daniel Jacobowitz <drow@mvista.com>
22442
22443 * gdb.base/attach.exp: Remove extra setup_xfail.
22444
dd7dfd64
MS
224452002-03-26 Michael Snyder <msnyder@redhat.com>
22446
22447 * gdb.base/default.exp: Add tests for dump, append, and restore.
22448 * gdb.base/help.exp: Add tests for dump, append, and restore.
22449 * gdb.base/dump.exp: New file, test dump, append and restore.
22450 * gdb.base/dump.c: New file.
22451
48b2f8d7
MS
224522002-03-27 Michael Snyder <msnyder@redhat.com>
22453
d63a86f8 22454 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
22455 clean-ups in help messages.
22456
05b4d525
FF
224572002-03-26 Fred Fish <fnf@redhat.com>
22458
22459 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
22460 have debugging info for those functions and the compiler uses them
22461 internally to copy structs around.
22462
d7679631
FF
224632002-03-26 Fred Fish <fnf@redhat.com>
22464
22465 * gdb.base/list.exp: Revert the change made yesterday and add note
22466 about why we don't list the default lines for remote targets.
22467
523ac3f9
MS
224682002-03-25 Michael Snyder <msnyder@redhat.com>
22469
22470 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
22471
754b2b8d
FF
224722002-03-25 Fred Fish <fnf@redhat.com>
22473
22474 * gdb.base/list.exp: This test works on remote targets so remove
22475 the short circuit for remote targets. Update copyright.
22476
33c3e192
FF
224772002-03-25 Fred Fish <fnf@redhat.com>
22478
22479 * gdb.base/attach.exp: Fix logic error that was suppressing this
22480 test for all non hppa*-*-hpux* targets, instead of the hp target.
22481 Move comments closer to the suppression point. Also now need to
22482 check that we are running natively.
22483
d43e73ee
MS
224842002-03-22 Michael Snyder <msnyder@redhat.com>
22485
882c8f02
MS
22486 * gdb.base/default.exp: Add test for gcore. Update copyright.
22487 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 22488
04c12f60
FF
224892002-03-06 Fred Fish <fnf@redhat.com>
22490
22491 * gdb.base/funcargs.c: Remove extraneous ';' character.
22492 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
22493
b43df995
MC
224942002-03-04 Michael Chastain <mec@shout.net>
22495
22496 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
22497 accommodate gcc v3 function signature.
22498 * gdb.mi/mi0-var-cmd-exp: Ditto.
22499
92362027
AC
225002002-02-24 Andrew Cagney <ac131313@redhat.com>
22501
22502 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
22503 ``GNU/Linux'' or ``Linux kernel''
22504 * testsuite/gdb.threads/pthreads.c: Ditto.
22505
258ad32d
MC
225062002-02-24 Michael Chastain <mec@shout.net>
22507
22508 * gdb.threads/pthreads.c (thread1): Add a return statement.
22509 (thread2): Likewise.
22510 (foo): Likewise.
22511
04c3b3d4
MC
225122002-02-23 Michael Chastain <mec@shout.net>
22513
22514 * gdb.threads/linux-dp.c (philosopher): Add a return statement
22515 to placate gcc.
22516
5a2a0a20
MC
225172002-02-23 Michael Chastain <mec@shout.net>
22518
22519 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
22520 test "ptype bint". The test passes on all my stabs configurations.
22521
a640f7fc
JB
225222002-02-21 Jim Blandy <jimb@redhat.com>
22523
27924826
JB
22524 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
22525 filename at a time, and watch for the ones we want to see.
22526
a640f7fc
JB
22527 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
22528 types of pointers to prototyped functions.
22529
edcc8c75
AC
225302002-02-20 Andrew Cagney <ac131313@redhat.com>
22531
22532 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
22533 signed, unsigned and straight char.
22534 (padding_char, padding_short, padding_int, padding_long,
22535 padding_long_long, padding_float, padding_double,
22536 padding_long_double): New global variables.
22537 (fill, fill_structs): New functions.
22538
22539 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
22540 for correctly sized writes. Update copyright.
22541 (get_valueof): New procedure.
22542 (get_sizeof): Call get_valueof.
22543 (check_valueof): New procedure.
22544 (check_padding): New procedure.
22545
ac57ea44
MC
225462002-02-20 Michael Chastain <mec@shout.net>
22547
22548 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
22549 to setup_xfail. Document some of the remaining calls.
22550
7a10c941
MC
225512002-02-18 Michael Chastain <mec@shout.net>
22552
22553 * gdb.c++/userdef.exp: Update copyright year.
22554
fb8acdcc
DJ
225552002-02-18 Daniel Jacobowitz <drow@mvista.com>
22556
22557 * gdb.c++/userdef.exp: Test overloaded operators properly.
22558 Remove xfails.
22559
fda6ae12
MS
225602002-02-14 Michael Snyder <msnyder@redhat.com>
22561
22562 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
22563
676a0442
DJ
225642002-02-14 Daniel Jacobowitz <drow@mvista.com>
22565
22566 * gdb.base/a2-run.exp: Check for a remote target properly.
22567 * gdb.base/annota1.exp: Likewise.
22568 * gdb.base/list.exp: Likewise.
22569 * gdb.base/reread.exp: Likewise.
22570 * gdb.base/scope.exp: Likewise.
22571 * gdb.base/shlib-call.exp: Likewise.
22572 * gdb.base/term.exp: Likewise.
22573 * gdb.c++/annota2.exp: Likewise.
22574
78b4f468
RE
225752002-02-13 Richard Earnshaw <rearnsha@arm.com>
22576
22577 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
22578
9a81ba51
MC
225792002-02-10 Michael Chastain <mec@shout.net>
22580
22581 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
22582 (call_after_alloca): Ditto.
22583
004af6c7
DJ
225842002-02-10 Daniel Jacobowitz <drow@mvista.com>
22585
22586 * gdb.base/ending-run.exp: Guard "cont" test with
22587 gdb_skip_stdio_test.
22588
37225f62
JB
225892002-02-06 Jim Blandy <jimb@redhat.com>
22590
22591 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
22592 from here...
22593 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
22594 To here. Disable this test on non-HP platforms. Add big comment.
22595
fe6fdd96
MS
225962002-02-04 Michael Snyder <msnyder@redhat.com>
22597
22598 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
22599 other than d10v and m32r.
22600
036fad3f
RE
226012002-02-02 Richard Earnshaw <rearnsha@arm.com>
22602
22603 * gdb.base/default.exp: Rewrite test patterns to reduce time
22604 taken to match them.
22605
7148ab62
DJ
226062002-01-30 Daniel Jacobowitz <drow@mvista.com>
22607
22608 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
22609 Allow a start function above main.
22610 * gdb.threads/linux-dp.exp: Fix copyright date.
22611
396cc255
DJ
226122002-01-30 Daniel Jacobowitz <drow@mvista.com>
22613
a9c64011
AS
22614 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
22615 (check_philosopher_stack): Check for manager thread before checking
22616 for a just-starting thread.
396cc255 22617
f038d31b
DJ
226182002-01-30 Daniel Jacobowitz <drow@mvista.com>
22619
22620 From Neil Booth <neil@daikokuya.demon.co.uk>:
22621 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
22622 warnings.
22623
b3ff9d9a
FF
226242002-01-21 Fred Fish <fnf@redhat.com>
22625
22626 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
22627 not caller.
22628
39ad761d
JB
226292002-01-21 Jim Blandy <jimb@redhat.com>
22630
22631 * gdb.base/reread.exp: Check that GDB properly re-reads the
22632 executable file when it changes while no inferior is running.
22633
aaf320fa
FF
226342002-01-21 Fred Fish <fnf@redhat.com>
22635
a9c64011
AS
22636 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
22637 optionally accept the "shlib events" variation.
aaf320fa 22638
808a31f5
JB
226392002-01-21 Jim Blandy <jimb@redhat.com>
22640
22641 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
22642 call `fflush' after every `printf', so that the output is produced
22643 at predictable points, regardless of whatever buffering does (or
22644 doesn't) take place.
22645 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
22646 at different points.
22647
4420d5e2
DJ
226482002-01-20 Daniel Jacobowitz <drow@mvista.com>
22649
22650 * gdb.c++/inherit.exp: Update copyright years.
22651 * gdb.c++/method.exp: Likewise.
22652
3e36a0f4
DJ
226532002-01-20 Daniel Jacobowitz <drow@mvista.com>
22654
22655 * gdb.c++/classes.exp: Update for improved v3 support and skipping
22656 artificial methods/arguments.
22657 * gdb.c++/derivation.exp: Likewise.
22658 * gdb.c++/inherit.exp: Likewise.
22659 * gdb.c++/method.exp: Likewise.
22660 * gdb.c++/virtfunc.exp: Likewise.
22661
b4ceaee6
AC
226622002-01-18 Andrew Cagney <ac131313@redhat.com>
22663
22664 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
22665 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
22666 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
22667 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
22668 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
22669 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
22670
ecace851
JB
226712002-01-17 Jim Blandy <jimb@redhat.com>
22672
22673 * gdb.asm/asm-source.exp (info symbol): Take another shot at
22674 anchoring the pattern matching the entry point symbol's name.
22675
375fc983
AC
226762002-01-17 Andrew Cagney <ac131313@redhat.com>
22677
22678 * gdb.base/maint.exp: Update ``maint internal-error'' to match
22679 continue/quit query. Update copyright.
22680
fe6fdd96
MS
226812002-01-14 Michael Snyder <msnyder@redhat.com>
22682
22683 * gdb.base/gcore.exp: Remove extra debugging output.
22684
e017c81f
DJ
226852002-01-13 Daniel Jacobowitz <drow@mvista.com>
22686
22687 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
22688 for slightly dubious v2 mangled string.
22689
37ab3bf8
DJ
226902002-01-13 Daniel Jacobowitz <drow@mvista.com>
22691
22692 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
22693
1bc05c3a 226942002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 22695
1bc05c3a 22696 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 22697
1bc05c3a
JM
22698 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
22699 constructors.
22700 * gdb.c++/derivation.exp: Likewise.
22701 * gdb.c++/templates.exp: Likewise.
22702 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 22703
1bc05c3a
JM
227042002-01-10 Michael Snyder <msnyder@redhat.com>
22705
22706 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 22707
a911c360
MS
227082002-01-08 Michael Snyder <msnyder@redhat.com>
22709
22710 * gdb.base/gcore.exp: New test for generate-core-file command.
22711 * gdb.base/gcore.c: Testcase for above.
22712 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
22713
ea2119ec
JM
227142002-01-08 Jason Merrill <jason@redhat.com>
22715
22716 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
22717
68203136
FF
227182002-01-07 Fred Fish <fnf@redhat.com>
22719
22720 * gdb.c++/overload.exp: Remove unconditional xfails for:
22721 print foo_instance1.overloadargs(1)
22722 print foo_instance1.overloadargs(1, 2)
22723 print foo_instance1.overloadargs(1, 2, 3)
22724 print foo_instance1.overloadargs(1, 2, 3, 4)
22725 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
22726 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
22727 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
22728 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
22729 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
22730 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
22731 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
22732 print foo_instance1.overload1arg()
22733 print foo_instance1.overload1arg((char)arg2)
22734 print foo_instance1.overload1arg((signed char)arg3)
22735 print foo_instance1.overload1arg((unsigned char)arg4)
22736 print foo_instance1.overload1arg((int)arg7)
22737 print foo_instance1.overload1arg((unsigned int)arg8)
22738 print foo_instance1.overload1arg((float)arg11)
22739 print foo_instance1.overload1arg((double)arg12)
d63a86f8 22740
21b9b5b1
MS
227412002-01-07 Michael Snyder <msnyder@redhat.com>
22742
22743 * gdb.base/huge.exp: New test. Print a very large target data object.
22744 (skip_huge_test): New test variable. Define if you want to skip this
22745 test. The test reads an 8 megabyte data object from the target, so it
22746 might be very time consuming on remote targets with a slow connection.
22747 * gdb.base/huge.c: New file. Test case for above.
22748
725f922e
FF
227492002-01-07 Fred Fish <fnf@redhat.com>
22750
22751 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
22752 g_instance.bfoo, and g_instance.cfoo.
22753
889bf7c5 227542002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 22755
889bf7c5
PA
22756 * gdb.base/break.c (multi_line_if_conditional): New function.
22757 (multi_ilne_while_conditional): Likewise.
22758 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
22759 IF or WHILE condition puts the breakpoint at the start of
22760 the condition.
f286b2c3 22761
634d57ec
JL
22762 * gdb.base/selftest.exp (backtrace through signal handler): Remove
22763 hppa*-*-hpux* expected failure.
22764 * gdb.base/structs.exp (do_function_calls): Similarly.
22765
22766 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
22767 watchpoints.
22768
9fbfe2dc
AC
227692002-01-06 Andrew Cagney <ac131313@redhat.com>
22770
22771 Fix PR gdb/66.
22772 * gdb.base/structs.exp: Replace skip for a29k with skip for
22773 gdb,cannot_call_functions.
22774 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
22775 * gdb.base/callfuncs.exp: Ditto.
22776 * gdb.base/call-rt-st.exp: Ditto.
22777 * gdb.base/call-strs.exp: Ditto.
22778 * gdb.base/callfwmall.exp: Ditto.
22779 * gdb.base/scope.exp: Obsolete xfail a29k.
22780 * gdb.c++/misc.exp: Ditto.
22781 * gdb.c++/cplusfuncs.exp: Ditto.
22782 * gdb.base/ptype.exp: Ditto.
22783 * gdb.base/printcmds.exp: Ditto.
22784 * gdb.base/opaque.exp: Ditto.
22785 * gdb.base/list.exp: Ditto.
22786 * gdb.base/funcargs.exp: Ditto.
22787 * gdb.base/default.exp: Ditto.
22788
8ddad156
MS
227892002-01-04 Michael Snyder <msnyder@redhat.com>
22790
ca4976a6 22791 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
22792 * gdb.base/maint.exp: Add tests for maint info sections options.
22793
1b074332
JL
22794Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
22795
22796 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
22797
7d159115
CV
227982001-12-20 Corinna Vinschen <vinschen@redhat.com>
22799
22800 * gdb.asm/arm.inc: New file.
22801 * gdb.asm/asm-source.exp: Add arm targets.
22802 * gdb.asm/configure.in: Ditto.
22803 * gdb.asm/configure: Recreated from configure.in.
22804
8fb87725
JL
22805Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
22806
afabe08c
JL
22807 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
22808 with HP's compiler.
22809 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
22810 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
22811 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
22812 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
22813
22814 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
22815 either HP's compilers or GCC.
22816
db521deb
JL
22817 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
22818 a SIGBUS or SIGSEGV.
22819
22820 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
22821
22822 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
22823 can be compiled with either HP's compiler or GCC.
22824
cfa88ab7
JL
22825 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
22826 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
22827 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
22828
ca344dff
JL
22829 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
22830 to match current gdb output. Update due to using auto-solib-limit
22831 for limiting instead of overloading auto-solib-add.
22832 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
22833 test program.
22834
3f3c6e55 22835 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
22836 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
22837 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
22838 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
22839 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
22840 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
22841 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
22842 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
22843 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
22844 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
22845 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
22846 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
22847 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 22848
8fb87725
JL
22849 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
22850 a SIGTRAP to the inferior.
22851
cf599fa7
CV
228522001-12-19 Corinna Vinschen <vinschen@redhat.com>
22853
22854 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
22855 Substitute call to target_link by call to gdb_compile.
22856
2cd045cd
JL
22857Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
22858
a9c64011
AS
22859 * gdb.base/break.exp: Fix HP specific search string when testing
22860 backtracing in a called function.
2cd045cd 22861
a9c64011
AS
22862 * gdb.base/constvars.exp: Only set lang to C++ if we're
22863 compiling the test with HP's compilers.
22864 * gdb.base/volatile.exp: Similarly.
2cd045cd 22865
99ebe9ac
JB
228662001-12-19 Jim Blandy <jimb@redhat.com>
22867
22868 * gdb.base/printcmds.exp: Expect the null character to be printed
22869 as '\0', and the '\013' to be printed as '\v'.
22870 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
22871 * gdb.base/setvar.exp: Same.
22872
b9891b29
JB
228732001-12-17 Jim Blandy <jimb@redhat.com>
22874
0eba65ab
JB
22875 * gdb.base/completion.exp: Rather than completing very long
22876 filenames, which can make the readline library produce output we
22877 don't recognize, cd to the directory first, and then complete
22878 using nice, short relative paths.
22879
6970b5b1
JB
22880 * gdb.base/completion.exp: On some systems, there is, in fact, a
22881 variable named `b' in scope, since GDB treats all static
a9c64011
AS
22882 variables as being in scope. So use `no_var_named_this'
22883 instead of `b'.
6970b5b1 22884
b9891b29 22885 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 22886 can't find the core file's registers as a failure.
b9891b29 22887
e6ccd35f
JSC
228882001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
22889
a9c64011
AS
22890 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
22891 test expect string more specific.
e6ccd35f 22892
105ba819
CV
228932001-12-13 Corinna Vinschen <vinschen@redhat.com>
22894
22895 * gdb.asm/asm-source.exp: Add support for xstormy16.
22896 * gdb.asm/configure.in: Ditto.
22897 * gdb.asm/configure: Rebuild.
22898 * gdb.asm/xstormy16.inc: New file.
22899
e9e79dd9
FF
229002001-12-10 Fred Fish <fnf@redhat.com>
22901
22902 * gdb.base/maint.exp: Update to match changes in type dumping code.
22903
347dc97d
JB
229042001-12-10 Jim Blandy <jimb@redhat.com>
22905
22906 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
22907 matching the entry point symbol's name at the beginning of the
22908 line.
347dc97d 22909
5178b9d6
DJ
229102001-12-07 Daniel Jacobowitz <drow@mvista.com>
22911
22912 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
22913 gdb.c++/inherit.exp, gdb.c++/method.exp,
22914 gdb.c++/namespace.exp, gdb.c++/templates.exp,
22915 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
22916 and class layout support.
22917
af890c52
DJ
229182001-12-07 Daniel Jacobowitz <drow@mvista.com>
22919
22920 * gdb.c++/classes.exp: Add test for static member function.
22921 * gdb.c++/misc.cc: Add class with static member function.
22922
7a345fb3
JB
229232001-12-07 Jim Blandy <jimb@redhat.com>
22924
f2e54a80 22925 If GDB says it can't find the struct the function returned, report
8032bf31
JB
22926 those tests as `unsupported'.
22927 * gdb.base/call-rt-st.exp (print_struct_call): New function.
22928 Rewrite subsequent tests to use it.
22929
22930 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
22931 those tests as `unsupported'.
22932 * gdb.base/structs.exp (call_struct_func): New function.
22933 (do_function_calls): Use call_struct_func to call the functions
22934 returning structs.
22935
0bc69509
JB
22936 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
22937 whether functions are prototyped or not, so we can't possibly pass
22938 arguments to t_float_values2 properly.
22939
7a345fb3
JB
22940 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
22941 value of `timeout' for targets other than the mips*tx39-*.
22942
edb6ede1
MS
229432001-12-06 Michael Snyder <msnyder@redhat.com>
22944
d63a86f8 22945 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
22946 and detect whether the start symbol has a leading underscore.
22947
2d842f13
JB
229482001-12-04 Jim Blandy <jimb@redhat.com>
22949
22950 * gdb.base/completion.exp: Clarify indentation.
22951
68550daf
JB
229522001-12-03 Jim Blandy <jimb@redhat.com>
22953
22954 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
22955 variables on the S/390, not `.word'.
22956
cd5195a8
JB
229572001-11-30 Jim Blandy <jimb@redhat.com>
22958
22959 Add assembly-source tests for s390-ibm-linux.
22960 * gdb.asm/s390.inc: New file.
22961 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
22962 the S/390 architecture.
a9c64011 22963 * gdb.asm/configure: Regenerated.
cd5195a8 22964
ca9efc90
MS
229652001-11-30 Michael Snyder <msnyder@redhat.com>
22966
22967 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
22968 next, info source, info sources, info line, global and static
22969 variables, and static functions.
22970 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
22971 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
22972 * gdb.asm/asmsrc1.s: Add a static function and some variables.
22973 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
22974 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
22975 (gdbasm_leave): Restore frame pointer.
22976 (gdbasm_startup): Copy stack set-up from crt0.S.
22977
d0e66976
FN
229782001-11-26 Fernando Nasser <fnasser@redhat.com>
22979
22980 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
22981 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
22982 to a local (non-static) variable. Copy tstruct.a to a static buffer
22983 and return a pointer to that buffer.
22984 * gdb.base/callfwmall.c (t_structs_a): Ditto.
22985
e2334072
MK
229862001-11-24 Mark Kettenis <kettenis@gnu.org>
22987
22988 * gdb.asm/configure.in: Fix recognition of ix86 target.
22989 * gdb.asm/configure: Regenerate.
22990
756caa3d
MS
229912001-11-21 Michael Snyder <msnyder@redhat.com>
22992
22993 * gdb.asm/sparc.inc: New file.
22994 * gdb.asm/asm-source.exp: Recognize sparc target.
22995 * gdb.asm/configure.in: Recognize sparc target.
22996 * gdb.asm/configure: Regenerate.
d63a86f8 22997
9a4d72d5
MS
229982001-11-21 Michael Snyder <msnyder@redhat.com>
22999
23000 * gdb.asm/m32r.inc: New file.
23001 * gdb.asm/asm-source.exp: Recognize m32r target.
23002 * gdb.asm/configure.in: Recognize m32r target.
23003 * gdb.asm/configure: Regenerate.
23004
a773d1cd
MS
230052001-11-20 Michael Snyder <msnyder@redhat.com>
23006
017ac23d
MS
23007 * gdb.asm/i386.inc: New file.
23008 * gdb.asm/asm-source.exp: Recognize ix86 target.
23009 * gdb.asm/configure.in: Recognize ix86 target.
23010 * gdb.asm/configure: Regenerate.
23011
a773d1cd
MS
23012 * gdb.c++/namespace.exp: Fix quotes in output messages.
23013
bb632afb
MS
230142001-11-14 Michael Snyder <msnyder@redhat.com>
23015
25d559ca 23016 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
23017 qualifier in a type cast expression, to designate an address
23018 in the instruction space (Harvard architecture).
23019
4749e309
MS
230202001-11-13 Michael Snyder <msnyder@redhat.com>
23021
23022 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
23023 Tests for expressions using 'const' and 'volatile'.
23024
25050984
CV
230252001-11-13 Corinna Vinschen <vinschen@redhat.com>
23026
23027 * gdb.asm/asm-sources.exp: Allow defining linker flags.
23028
1902c51f
DJ
230292001-11-12 Daniel Jacobowitz <drow@mvista.com>
23030
23031 * lib/mi-support.exp (mi_run_to_helper): Move comments
23032 outside of gdb_expect.
23033
dcf95b47
DJ
230342001-11-11 Daniel Jacobowitz <drow@mvista.com>
23035
23036 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
23037 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
23038 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
23039 mi0_run_to): New functions.
23040 * gdb.mi/mi-simplerun.exp: Use them.
23041 * gdb.mi/mi0-simplerun.exp: Likewise.
23042 * gdb.mi/mi-var-cmd.exp: Likewise.
23043 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 23044
45b074e1
AC
230452001-11-10 Andrew Cagney <ac131313@redhat.com>
23046
23047 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
23048 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
23049
bf50d346
AC
230502001-11-09 Andrew Cagney <ac131313@redhat.com>
23051
23052 * gdb.base/restore.exp: Include $expected value in restored test
23053 message.
23054
9383332c
AC
230552001-11-09 Andrew Cagney <ac131313@redhat.com>
23056
23057 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
23058 implemented.
23059
db62520a
MS
230602001-11-08 Michael Snyder <msnyder@redhat.com>
23061
23062 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
23063 Add pass/fail message for stop at breakpoint in call dummy function.
23064
b5703437
MS
230652001-11-07 Michael Snyder <msnyder@redhat.com>
23066
d63a86f8
RM
23067 * gdb.c++/templates.exp (test_template_breakpoints):
23068 If we get an overload menu, but it does not match what
760f6330 23069 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
23070 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
23071 making the whitespace optional. Argument for "new" may be
23072 "unsigned" as well as "unsigned int/long".
d63a86f8 23073 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
23074 making the whitespace optional. Also replace "(void) with
23075 "((void|)), making the keyword "void" optional.
d63a86f8 23076 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
23077 making the whitespace optional. Also replace "(void) with
23078 "((void|)), making the keyword "void" optional.
3bf40917
MS
23079 * gdb.base/callfuncs.c (t_float_values): This function must
23080 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 23081 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
23082 can be tested against both cases. Usually one case involves
23083 promotion of float to double, while the other does not.
23084 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
23085 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
23086 includes a stack frame for "start".
23087
c8ab4e6d
JB
230882001-11-05 Jim Blandy <jimb@redhat.com>
23089
23090 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
23091 pointers are 32 bits long, and that offsets of relocs are always
23092 stored in the data (REL-style), and not in the reloc entry itself
23093 (RELA-style).
23094 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
23095 stabs.
23096
3f08ced9
MS
230972001-11-01 Michael Snyder <msnyder@redhat.com>
23098
23099 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
23100 and regular expression operators by using quoting.
23101
cbfa24cd
MS
231022001-10-31 Michael Snyder <msnyder@redhat.com>
23103
23104 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
23105 depending on what the symbol table contains.
23106 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
23107 the output of the ptype command. Similarly, accept both "const &"
23108 and "const&".
23109
aaa68313
CV
231102001-10-31 Corinna Vinschen <vinschen@redhat.com>
23111
23112 * gdb.base/miscexprs.c (main): Add usage of preprocessor
23113 symbol `STORAGE' to allow to choose the storage class of
23114 the local datastructures.
23115 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
23116 compiler directive.
23117
91740388
MS
231182001-10-30 Michael Snyder <msnyder@redhat.com>
23119
23120 * gdb.base/jump.exp: Allow it to run for all targets.
23121
1b7c05e7
CV
231222001-10-29 Corinna Vinschen <vinschen@redhat.com>
23123
23124 * gdb.base/call-ar-st.c (print_double_array): Match for loop
23125 with new double_array size.
23126 (main): Change storage class of all local variables to static.
23127 Reduce size of double_array to 9.
23128 * gdb.base/call-ar-st.exp: Increase timeout value.
23129 Change expected output for double array to match new size in
23130 call-ar-st.c.
23131
36a22261
CV
231322001-10-29 Corinna Vinschen <vinschen@redhat.com>
23133
23134 * gdb.base/ending-run.exp: Create identical output when passing
23135 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 23136 Stormy16 target.
36a22261 23137
92b8ae91
MK
231382001-10-28 Mark Kettenis <kettenis@gnu.org>
23139
23140 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
23141 that we catch the expected failure under Linux/x86.
23142
cb135b83
OF
231432001-10-29 Orjan Friberg <orjanf@axis.com>
23144
23145 * gdb.base/setvar.exp: Escape curly braces.
23146 * gdb.stabs/weird.exp: Ditto.
23147
6884aa54
DJ
231482001-10-27 Daniel Jacobowitz <drow@mvista.com>
23149
23150 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
23151 * gdm.mi/mi0-hack-cli.exp: Likewise.
23152
0398c9aa
AC
231532001-10-25 Andrew Cagney <ac131313@redhat.com>
23154
23155 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
23156 messages.
23157
d20bf2e8
AC
231582001-10-21 Andrew Cagney <ac131313@redhat.com>
23159
23160 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
23161 checking MI enabled.
23162
03dd63aa
CV
231632001-10-09 Corinna Vinschen <vinschen@redhat.com>
23164
23165 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
23166
1d9d99f3
FCE
231672001-10-04 Frank Ch. Eigler <fche@redhat.com>
23168
23169 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
23170 if gdb child process crashes, just signal an error.
23171
838ae6c4
JB
231722001-10-02 Jim Blandy <jimb@redhat.com>
23173
23174 * lib/gdb.exp (test_xfail_format): Simplify.
23175
23176 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
23177 front of the variable name `format'. Simplify `if'.
23178
8f0cbc1c
DJ
231792001-10-01 Daniel Jacobowitz <drow@mvista.com>
23180
23181 * gdb.threads/pthreads.exp: Wait for output and delay
23182 before sending ^C.
23183
1f08dafd
DJ
231842001-10-01 Daniel Jacobowitz <drow@mvista.com>
23185
23186 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
23187 some incorrect output instead of timing out.
23188 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
23189
674f90ff
CV
231902001-09-28 Corinna Vinschen <vinschen@redhat.com>
23191
23192 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
23193 check to allow additional `int'.
23194
9b284272
DJ
231952001-09-27 Daniel Jacobowitz <drow@mvista.com>
23196
23197 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
23198 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
23199
b55a4771
MS
232002001-09-27 Michael Snyder <msnyder@redhat.com>
23201
23202 * lib/gdb.exp (test_debug_format): New proc.
23203 (setup_xfail_format): Use new proc test_debug_format.
23204 * gdb.base/constvars.exp (local_compiler_xfail_check): New
23205 proc; use new service proc test_debug_format.
23206 Replace all other "gcc_compiled" tests with this test.
23207 * gdb.base/volatile.exp (local_compiler_xfail_check): New
23208 proc; use new service proc test_debug_format.
23209 Replace all other "gcc_compiled" tests with this test.
23210
232112001-09-27 Michael Snyder <msnyder@redhat.com>
23212
23213 * gdb.base/cvexpr.exp: New file.
23214 * gdb.base/cvexpr.c: New file
23215 Test for expressions using const and volatile keywords.
23216
4e6667ac
CV
232172001-09-26 Corinna Vinschen <vinschen@redhat.com>
23218
23219 * gdb.base/constvars.exp: Check for different orders of keywords
23220 and additional "int" strings in output.
23221
4f337972
AC
232222001-09-22 Andrew Cagney <ac131313@redhat.com>
23223
23224 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
23225 responses from "help maint".
23226
2015650d
FCE
232272001-09-19 Frank Ch. Eigler <fche@redhat.com>
23228
23229 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
23230 to localhost:NNN instead of :NNN, in case Xvfb is listening
23231 only on TCP.
23232
f3bcedc1
CV
232332001-09-19 Corinna Vinschen <vinschen@redhat.com>
23234
23235 * gdb.base/recurse.exp: When checking leaving the watchpoint
23236 scope, recognize when gdb is in function's epilogue and pass.
23237
6b819c92
KS
232382001-09-18 Keith Seitz <keiths@redhat.com>
23239
23240 * lib/insight-support.exp (_gdbtk_export_target_info): Add
23241 support for running tests against sid targets.
23242 (gdbtk_done): Ditto.
23243
a10c9419
CV
232442001-09-18 Corinna Vinschen <vinschen@redhat.com>
23245
23246 * gdb.base/ending-run.c (main): Set stdout buffersize
23247 to the same reasonable value for any target.
23248 * gdb.base/ending-run.exp: Add a regular expression
23249 to make testsuite happy on Sanyo Stormy16 target.
23250
739d0d99
CV
232512001-09-17 Corinna Vinschen <vinschen@redhat.com>
23252
23253 * gdb.base/display.c (do_loops): Add float variable `f'.
23254 Increment f in loop.
23255 * gdb.base/display.exp: Increment timeout by 60 seconds.
23256 Change float display test to use variable `f'.
23257
1b8947f0
JB
232582001-09-17 Jim Blandy <jimb@redhat.com>
23259
23260 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
23261 overflowing the limited breakpoint tables on some ROM monitors
23262 (like the ROM68K).
23263
9890ac81
FCE
232642001-09-15 Frank Ch. Eigler <fche@redhat.com>
23265
23266 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
23267 the "-ac" (disable access control) flag.
23268
6db765ea
JH
232692001-08-30 Jeff Holcomb <jeffh@redhat.com>
23270
23271 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
23272 ints.
23273
4c32cc04
KS
232742001-08-30 Keith Seitz <keiths@redhat.com>
23275
23276 * lib/gdb.exp: Move all insight-related functionality into
23277 separate file.
23278 * lib/insight-support.exp: New file.
23279
8d6e6f81
FCE
232802001-08-29 Frank Ch. Eigler <fche@redhat.com>
23281
23282 * config/sid.exp (sid_start): Never set sid verbosity; disable
23283 expect_background {} that consumed its stdout; tolerate </dev/null.
23284 Attempt to set endianness override in "sid" protocol mode. Cleanup.
23285
6a90e1d0
AC
232862001-08-18 Andrew Cagney <ac131313@redhat.com>
23287
23288 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
23289 CLI jump command to start it.
23290 (mi_run_to_main): Fail immediatly when unexpected output.
23291
1759b3c3
AC
232922001-08-18 Andrew Cagney <ac131313@redhat.com>
23293
23294 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
23295 beginning of function. Fix PR gdb/191.
23296
61d11d80
FCE
232972001-08-16 Frank Ch. Eigler <fche@redhat.com>
23298
23299 * config/sid.exp (sid_start): Don't warn if we cannot figure out
23300 what to force sid endianness to.
23301
942a4df2
KS
233022001-08-15 Keith Seitz <keiths@redhat.com>
23303
23304 * lib/gdb.exp (gdbtk_start): Don't set environment
23305 variables for TCL_LIBRARY and friends. Insight will
23306 now figure these out for itself.
23307
0521c418
MS
233082001-08-02 Michael Snyder <msnyder@redhat.com>
23309
23310 * gdb.base/completion.exp: Remove the symbol "a64l" from
23311 the expect string; this is target-specific, and not related
23312 to what is being tested.
23313
74a9a58a
DB
233142001-08-02 Dave Brolley <brolley@redhat.com>
23315
23316 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
23317
c70819fa
MS
233182001-07-25 Michael Snyder <msnyder@redhat.com>
23319
c2b8fa57
MS
23320 * gdb.base/consecutive.exp: New file. Test stepping over
23321 breakpoints on consecutive instructions.
23322 * gdb.base/consecutive.c: New file.
23323
c70819fa
MS
23324 * gdb.base/call-rt-st.exp: Use double-backslash to quote
23325 curly braces in regular expressions.
23326
2b1a1355
MS
233272001-07-25 Michael Snyder <msnyder@redhat.com>
23328
23329 * gdb.base/ending-run.exp: Accept "Program exited normally" as
23330 legitimate output from stepping out of main.
23331
413eca6f
KS
233322001-07-22 Keith Seitz <keiths@redhat.com>
23333
23334 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
23335 the empty string, do not run the tests.
23336
7e5a9322
SC
233372001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23338
23339 * gdb.base/long_long.exp: Detect size of pointer. Take into
23340 account 2-byte pointers when testing for p/a results.
23341
de58f10f
SC
233422001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23343
d63a86f8 23344 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
23345 and defined to 1K for m68hc11.
23346 (random_data): Reduce table to 1K for embedded platforms (68hc11).
23347 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
23348 (sizeof_random_data): New variable to tell the size of the data table;
23349 don't test past this size; always run to main.
23350
d6f5fea1
SC
233512001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23352
23353 * gdb.base/return2.exp: return of long long and double fails for
23354 68HC11; don't execute these tests on that platform.
23355 * gdb.base/return.exp: Return of a double fails for 68hc11.
23356
c477543d
SC
233572001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23358
23359 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
23360 tests that print a float.
23361 * call-rt-st.exp: Likewise.
23362
63cf1c79
MK
233632001-07-12 Mark Kettenis <kettenis@gnu.org>
23364
23365 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
23366 running this test on Linux.
23367
112f9ab5
MC
233682001-06-24 Michael Chastain <chastain@redhat.com>
23369
23370 * gdb.base/arithmet.exp: Remove some tests to make all test names
23371 unique.
23372
4970cb0f
MS
233732001-07-03 Michael Snyder <msnyder@redhat.com>
23374
23375 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
23376 the output of the ptype command.
23377
d85da69f
MS
233782001-07-02 Michael Snyder <msnyder@redhat.com>
23379
4c8a82de
MS
23380 * gdb.base/completion.exp: Don't assume that break.c is the only
23381 source file that may contain functions named "marker".
d85da69f
MS
23382 * gdb.base/corefile.exp: Quote the curly braces in regexp.
23383
8afc772b
AC
233842001-06-28 Andrew Cagney <ac131313@redhat.com>
23385
23386 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
23387 of files to delete.
23388
23389 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
23390 * gdb.disasm/h8300s.exp: New file.
23391 gdb.disasm/h8300s.s: Likewise.
23392
cff22675
AC
233932001-06-27 Andrew Cagney <ac131313@redhat.com>
23394
23395 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
23396 empty breakpoint tables.
23397
68c81b54
AC
233982001-06-25 Andrew Cagney <ac131313@redhat.com>
23399
23400 * lib/mi-support.exp: Update args=... part of stop-reason
23401 patterns. Accept either a list or a tuple.
23402
2dd62704
AC
234032001-06-23 Andrew Cagney <ac131313@redhat.com>
23404
23405 * lib/mi-support.exp: Remove local emacs variable defining
23406 change-log-default-name.
23407
b4127474
MC
234082001-06-22 Michael Chastain <chastain@redhat.com>
23409
23410 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
23411 This is operationally compatible with the previous version.
23412
8dbfb380
JB
234132001-06-13 Jim Blandy <jimb@redhat.com>
23414
23415 * lib/gdb.exp (gdb_test): Doc fix.
23416
f2d8c86d
MC
234172001-06-10 Michael Chastain <chastain@redhat.com>
23418
23419 * gdb.base/exprs.exp: Remove a duplicate test.
23420
81564d34
JB
234212001-06-06 Jim Blandy <jimb@redhat.com>
23422
23423 * gdb.base/return2.exp (main): Use values to test float and double
23424 returns that are not NaN's, to avoid being confused by IEEE
23425 comparison rules.
23426
da55addb
MS
234272001-06-04 Michael Snyder <msnyder@redhat.com>
23428
23429 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 23430 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
23431 rather than wait for 12 more tests to time out.
23432
42c65987
JB
234332001-06-06 Jim Blandy <jimb@redhat.com>
23434
b18bced9 23435 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 23436 Don't forget to match the GDB prompt.
b18bced9 23437
42c65987
JB
23438 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
23439
5b41e5f0
JB
234402001-06-04 Jim Blandy <jimb@redhat.com>
23441
23442 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
23443 command.
23444
015e046f
KB
234452001-05-31 Kevin Buettner <kevinb@redhat.com>
23446
23447 * gdb.base/annota1.exp (info break): Match four or more spaces
23448 after "Address".
23449
fb1ffbbe
MC
234502001-05-31 Michael Chastain <chastain@redhat.com>
23451
23452 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
23453 (dm_type_int_star): Likewise.
23454 (dm_type_long_star): Likewise.
23455 (dm_type_void_star): Likewise.
23456
5ea2a32c
KB
234572001-05-29 Kevin Buettner <kevinb@redhat.com>
23458
23459 * gdb.base/completion.exp (INPUTRC): Set this environment variable
23460 to a known value in order to get consistent results regardless
23461 of the setting of INPUTRC or the presence or contents of .inputrc.
23462
ae23c492
MS
234632001-05-24 Michael Snyder <msnyder@redhat.com>
23464
ac55707e
MS
23465 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
23466 Don't require that the main thread and the manager thread are the
23467 first in the list.
23468
ae23c492
MS
23469 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
23470 debugging. If test fails, issue an "unsupported" not a "fail".
23471
400071f1
JB
234722001-05-24 Jim Blandy <jimb@redhat.com>
23473
23474 Don't assume that short is shorter than int.
23475 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
23476 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 23477 this isn't true.
400071f1
JB
23478 ("print unsigned char == (~0)"): Add test that verifies that ~0,
23479 an int, is not equal to ~0 stored in an unsigned char. This tests
23480 the same thing that the previous test meant to, but works on
23481 16-bit machines, too.
23482 ("print unsigned char != (~0)"): Same test, complemented.
23483
0816a3e5
MS
234842001-05-24 Michael Snyder <msnyder@redhat.com>
23485
23486 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 23487 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
23488 and prevents dejagnu getting out of step.
23489
f6dc23a9
KB
234902001-05-23 Kevin Buettner <kevinb@redhat.com>
23491
23492 * gdb.base/finish.exp (finish_void): Revise pattern for
23493 stopping on the call statement to not permit stopping at
23494 the start of the instructions comprising the call sequence.
23495
7dbd117d
MC
234962001-05-19 Michael Chastain <chastain@redhat.com>
23497
23498 * gdb.base/callfuncs.exp: Make all test names unique.
23499 * gdb.base/commands.exp: Make all test names unique.
23500 * gdb.base/condbreak.exp: Make all test names unique.
23501 * gdb.base/dbx.exp: Make all test names unique.
23502 * gdb.base/default.exp: Make all test names unique.
23503 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
23504 and TIMEOUT messages to their corresponding PASS message.
23505 * gdb.base/ending-run.exp: Make all test names unique.
23506 * gdb.base/long_long.exp: Remove duplicate test.
23507
6b0b0a9e
KB
235082001-05-21 Kevin Buettner <kevinb@redhat.com>
23509
23510 * gdb.base/finish.exp (finish_void): Allow "finish" command to
23511 stop on the call statement as well as the statement after the
23512 call.
23513
2caa35cb
MS
235142001-05-21 Michael Snyder <msnyder@redhat.com>
23515
23516 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
23517
40713331
EZ
235182001-05-10 Elena Zannoni <ezannoni@redhat.com>
23519
a9c64011
AS
23520 * gdb.base/completion.exp: Revamp test. Make it execute on all
23521 platforms.
40713331 23522
c2c1be8d
EZ
235232001-05-10 Elena Zannoni <ezannoni@redhat.com>
23524
a9c64011
AS
23525 * config/gdbserver.exp (gdb_load): Handle the case
23526 in which the arguments to gdbserver are given in the
23527 baseboard configuration file.
23528 Also handle the case in which the server needs to do a
23529 load.
2c9cd303 23530
9671de48
KS
235312001-05-07 Keith Seitz <keiths@cygnus.com>
23532
a9c64011
AS
23533 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
23534 set up the display for testing.
23535 (gdbtk_start): Convert all paths to paths that tcl will like.
23536 Export target information to environment.
23537 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
23538 necessary.
23539 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
23540 (to_tcl_path): New proc to convert a given pathname into
23541 a path acceptible as an argument to a tcl command.
23542 (_gdbtk_export_target_info): New proc to export target info
23543 into the environment for gdbtk testing.
23544 (gdbtk_done): New proc to signal end-of-test.
9671de48 23545
5a360f47
JB
235462001-05-06 Jim Blandy <jimb@redhat.com>
23547
23548 * restore.c: Make the code of caller0 correspond to its comment.
23549
66c756c6
MS
235502001-05-03 Michael Snyder <msnyder@redhat.com>
23551
23552 * config/sid.exp (gdb_target_sid): Check for error messages.
23553 On error or timeout, don't make expect exit (which will terminate
23554 all subsequent tests); instead just make gdb exit.
d63a86f8 23555 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
23556 return a negative value.
23557
a966fde5
JB
235582001-04-24 Jim Blandy <jimb@redhat.com>
23559
851c18e0
JB
23560 * gdb.c++/templates.exp: If we see the prompt for the overload
23561 list, but we haven't recognized any of the longer patterns,
23562 arrange for this test to fail, not hang.
23563
a966fde5
JB
23564 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
23565 variations.
23566
db144853
MC
235672001-04-22 Michael Chastain <chastain@redhat.com>
23568
23569 * gdb.c++/local.exp: Use the 'runto' library function.
23570 * gdb.c++/namespace.exp: Likewise.
23571 * gdb.c++/overload.exp: Likewise.
23572
3207ec21
KB
235732001-03-26 Kevin Buettner <kevinb@redhat.com>
23574
23575 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
23576 * gdb.base/step-line.exp: New file. Test step/next in presence of
23577 #line directives.
23578 * gdb.base/step-line.c: New file. Test program for the above.
23579 * gdb.base/step-line.inp: New file. We pretend that this file has
23580 been transformed by some other tool into step-line.c.
23581
13b57657
JB
235822001-03-21 Jim Blandy <jimb@redhat.com>
23583
23584 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
23585 unmangled operator names.
23586
754cbe1c
JB
235872001-03-20 Jim Blandy <jimb@redhat.com>
23588
23589 * gdb.threads/linux-dp.exp: Recognize an additional message
23590 generated by GDB when it doesn't understand how to debug threads
23591 on the target system.
23592
177495c9
AC
235932001-03-19 Andrew Cagney <ac131313@redhat.com>
23594
23595 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
23596
f266096b
MC
235972001-03-12 Michael Chastain <chastain@redhat.com>
23598
23599 * gdb.c++/derivation.exp: Use the 'runto' library function.
23600
cac3c2ff
MC
236012001-03-12 Michael Chastain <chastain@redhat.com>
23602
23603 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
23604
b6c11a24
MC
236052001-02-24 Michael Chastain <chastain@redhat.com>
23606
23607 * gdb.c++/ref-types.exp: Change handwritten code to library
23608 function 'runto'.
23609
6bae5bce
OF
236102001-03-16 Orjan Friberg <orjanf@axis.com>
23611
23612 * gdb.base/signals.exp: Set count to 0 explicitly.
23613
0015fd9a
MS
236142001-03-15 Mark Salter <msalter@redhat.com>
23615
23616 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
23617 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
23618 (gdb_load): Add support for additional target_info: gdb_download_size
23619 and gdb_load_timeout.
0015fd9a 23620
fc33412a
DT
23621Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
23622
23623 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
23624 file -- to prevent failing when the compile fails but we have no
23625 intention of running the tests anyway.
fc33412a
DT
23626
23627 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
23628 tests if set.
23629
23630 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 23631 integers.
fc33412a
DT
23632
23633 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
23634 * gdb.c++/namespace.exp: Ditto.
23635
115f06de
OF
236362001-03-07 Orjan Friberg <orjanf@axis.com>
23637
23638 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
23639 * gdb.base/pointers.exp: Relax pattern match of decimals.
23640
b6ba6518
KB
236412001-03-06 Kevin Buettner <kevinb@redhat.com>
23642
23643 * Makefile.in, config/abug.exp, config/cfdbug.exp,
23644 config/cpu32bug.exp, config/dve.exp, config/est.exp,
23645 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
23646 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
23647 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
23648 config/sh.exp, config/sid.exp, config/slite.exp,
23649 config/sparclet.exp, config/udi.exp, config/unknown.exp,
23650 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
23651 config/vxworks.exp, config/vxworks29k.exp,
23652 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
23653 gdb.base/all-bin.exp, gdb.base/annota1.exp,
23654 gdb.base/arithmet.exp, gdb.base/assign.exp,
23655 gdb.base/async.exp, gdb.base/attach.exp,
23656 gdb.base/bitfields.exp, gdb.base/bitops.exp,
23657 gdb.base/break.exp, gdb.base/call-ar-st.exp,
23658 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
23659 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
23660 gdb.base/commands.exp, gdb.base/completion.exp,
23661 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
23662 gdb.base/constvars.exp, gdb.base/corefile.exp,
23663 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
23664 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
23665 gdb.base/ending-run.exp, gdb.base/environ.exp,
23666 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
23667 gdb.base/finish.exp, gdb.base/foll-exec.exp,
23668 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
23669 gdb.base/funcargs.exp, gdb.base/help.exp,
23670 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
23671 gdb.base/logical.exp, gdb.base/long_long.exp,
23672 gdb.base/maint.exp, gdb.base/mips_pro.exp,
23673 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
23674 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
23675 gdb.base/pointers.exp, gdb.base/printcmds.exp,
23676 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
23677 gdb.base/regs.exp, gdb.base/relational.exp,
23678 gdb.base/remote.exp, gdb.base/reread.exp,
23679 gdb.base/restore.exp, gdb.base/return2.exp,
23680 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
23681 gdb.base/selftest.exp, gdb.base/setshow.exp,
23682 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
23683 gdb.base/sigall.exp, gdb.base/signals.exp,
23684 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
23685 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
23686 gdb.base/step-test.exp, gdb.base/structs.c,
23687 gdb.base/structs.exp, gdb.base/structs2.exp,
23688 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
23689 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
23690 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
23691 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
23692 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
23693 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
23694 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
23695 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
23696 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
23697 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
23698 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
23699 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
23700 gdb.fortran/types.exp, gdb.java/jmisc.exp,
23701 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
23702 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
23703 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
23704 gdb.trace/circ.exp, gdb.trace/collection.exp,
23705 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
23706 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
23707 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
23708 gdb.trace/report.exp, gdb.trace/save-trace.exp,
23709 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
23710 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
23711 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
23712 notices.
23713
dc96c6c7 237142001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
23715
23716 * gdb.base/varargs.c (find_max_double): Fix printf format string:
23717 first arg is int not float.
23718
dc96c6c7 237192001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
23720
23721 * gdb.base/reread.exp: Unsupported for non-native targets;
23722 doesn't work for remote debugging.
23723
9b0c4aeb
FN
237242001-02-19 Fernando Nasser <fnasser@redhat.com>
23725
23726 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
23727 * gdb.base/ending-run.exp: Properly handle the BSP state when
23728 stepping past the end of main.
9b0c4aeb 23729
02aa71d5
MC
237302001-02-19 John Moore <jmoore@redhat.com>
23731
23732 * gdb.base/commands.exp (infrun_breakpoint_command_test):
23733 Converted HPUX fix for non-expected items following multiple
23734 step commands into general solution for all platforms.
23735
1fa449a4
MC
237362001-02-18 Michael Chastain <chastain@redhat.com>
23737
23738 * gdb.c++/classes.exp (do_tests): Change runto statements
23739 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23740 statements demangler agnostic.
23741 * gdb.c++/virtfunc.exp (do_tests): Likewise.
23742 (gdb_virtfunc_restart): Likewise.
23743
b2f9ec70
MC
237442001-02-14 Michael Chastain <chastain@redhat.com>
23745
23746 * gdb.c++/inherit.exp (do_tests): Change runto statements
23747 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23748 statements demangler agnostic.
23749
cf74b8ca
AC
23750Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
23751
23752 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
23753 ``continue to bkpt at common_routine in thread 2'' and ``stopped
23754 before calling common_routine 15 times'' tests.
cf74b8ca 23755
99f78f56
MC
237562001-02-11 Michael Chastain <chastain@redhat.com>
23757
23758 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
23759 Helps the test script figure out which demangler is in use.
23760 (dm_type_foo_ref): Ditto.
23761 (dm_type_int_star): Ditto.
23762 (dm_type_long_star): Ditto.
23763 (dm_type_unsigned_int): Ditto.
23764 (dm_type_void): Ditto.
23765 (dm_type_void_star): Ditto.
99707966 23766 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
23767 Probe the gdb demangler and set variables to accommodate
23768 formatting differences.
23769 (info_func_regexp): New function. Same as info_func, but
23770 matches against a regexp.
23771 (info_func): Match against a literal string.
23772 (print_addr_2): New function. Match against a literal string,
23773 which can be different from the input to gdb.
23774 (print_addr): Simply call print_addr_2 with the same argument twice.
23775 (test_lookup_operator_functions): Use demangler formatting variables.
23776 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
23777 the tests in the same order as the C++ class declaration.
23778 (test_paddr_operator_functions): Ditto.
23779 (test_paddr_overloaded_functions): Ditto.
23780 (test_paddr_hairy_functions): Use demangler formatting variables.
23781 Add reference to gdb/19 for related tests.
23782 (do_tests): Call probe_demangler.
23783
1de8f023
KB
237842001-01-30 Kevin Buettner <kevinb@redhat.com>
23785
23786 * gdb.c++/templates.cc (printf): Remove unused function definition.
23787
ca3f91ed
MS
237882001-01-26 Felix Lee <flee@redhat.com>
23789
23790 * sid.exp (sid_exit): Pass host, not target, to remote_close.
23791
237922001-01-25 matthew green <mrg@redhat.com>
23793
23794 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
23795 up sid.
23796 (sid_exit): Call `remote_pop_conn' after GDB is gone.
23797
237982001-01-25 matthew green <mrg@redhat.com>
23799
23800 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 23801 Deprecate $sid_spawn_id.
ca3f91ed
MS
23802 (sid_exit): Remove code necessary only for `spawn.'
23803
238042001-01-25 matthew green <mrg@redhat.com>
23805
23806 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
23807
fb18ec4a
MC
238082001-01-28 Michael Chastain <chastain@redhat.com>
23809
23810 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
23811 to call when tests fail. It takes gdb out of the overloaded
23812 function choice menu back to the main prompt, so that the test
23813 program stays synchronized.
23814 (set_bp_overloaded): New proc to collect all the common
23815 code for setting a breakpoint on an overloaded name. Calls
23816 take_gdb_out_of_choice_menu when needed.
23817 (menu_overload1arg): New variable to collect the repeated
23818 instances of the expected menu for an overloaded name. Change
23819 the regular expression to handle changes in g++ type encoding:
23820 "void" can be either "void" or "", and "unsigned int" can be
23821 either "unsigned int" or "unsigned".
23822 (continue_to_bp_overloaded): Change regular expressions to handle
23823 changes in g++ type encoding.
23824 (no proc): Call take_gdb_out_of_choice_menu when needed.
23825 Remove redundant calls to "info break". Accept either "canceled"
23826 or "cancelled". Change regular expressions in "info break"
23827 calls to handle changes in g++ type encoding. Give all tests
23828 unique strings.
23829
9c646a6e
BE
238302001-01-17 Ben Elliston <bje@redhat.com>
23831
23832 * config/sid.exp: New file.
23833
9549d9c1
AC
23834Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
23835
23836 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
23837
dc96c6c7 238382000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
23839
23840 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
23841 Add a RE to accept a non-ascii char if one is ever presented.
23842
b4df4f68
FN
238432000-12-20 Fernando Nasser <fnasser@redhat.com>
23844
297dd0fd 23845 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 23846
dc96c6c7 238472000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 23848
d63a86f8 23849 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
23850 in regexp. One '\' does not suffice on Linux.
23851
4a7bddb6
MC
238522000-12-09 Michael Chastain <chastain@redhat.com>
23853
23854 * gdb.base/break.exp (test_clear_command): Use a marker function
23855 rather than 'main' for the test function. Also move this
23856 test to an execution point where the marker function names are
23857 guaranteed to be bound to functions. (Executing tests after a
23858 'finish' from main runs into name conflicts with local names
23859 in __libc_start_main).
23860
dc96c6c7 238612000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
23862
23863 * gdb.base/finish.exp: New test for gdb's "finish" command.
23864 * gdb.base/return2.exp: New test for gdb's "return" command.
23865 * gdb.base/return2.c: New source file for above.
23866
dc96c6c7 238672000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
23868
23869 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
23870 * gdb.base/miscexprs.exp: Ditto.
23871 * gdb.base/pointers.exp: Ditto.
23872 * gdb.c++/derivation.exp: Ditto.
23873 * gdb.c++/local.exp: Ditto.
23874 * gdb.c++/namespace.exp: Ditto.
23875 * gdb.c++/overload.exp: Ditto.
23876 * gdb.c++/ref-types.exp: Ditto.
23877
dc96c6c7 238782000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
23879
23880 * gdb.base/constvars.exp: Test result of "up" command.
23881 * gdb.base/miscexprs.exp: Ditto.
23882 * gdb.base/pointers.exp: Ditto.
23883 * gdb.base/scope.exp: Ditto.
23884 * gdb.c++/derivation.exp: Ditto.
23885 * gdb.c++/local.exp: Ditto.
23886 * gdb.c++/namespace.exp: Ditto.
23887 * gdb.c++/overload.exp: Ditto.
23888 * gdb.c++/ref-types.exp: Ditto.
23889
44097287
FN
238902000-11-22 Michael Chastain <chastain@redhat.com>
23891
23892 * mips_pro.exp: Accept either "middle -> top -> main" or
23893 "middle -> main" in the backtrace, because gcc can optimize
23894 tail calls to jumps. Remove setup_xfail for the hppa case.
23895 Add a comment with the original warning messages from PR 3016,
23896 which was filed in 1993, to preserve them for posterity.
23897
9d2e1bab
ND
238982000-11-17 Nick Duffek <nsd@redhat.com>
23899
23900 * lib/gdb.exp (gdb_test): Override timeout with board info.
23901
1aca8eb7
ND
239022000-11-17 Nick Duffek <nsd@redhat.com>
23903
23904 * gdb.base/display.exp: Don't kill running stub. Add "again" to
23905 the second kill and detach messages.
23906
93076499
ND
239072000-11-17 Nick Duffek <nsd@redhat.com>
23908
23909 * configure.in: Add AC_EXEEXT.
23910 * configure: Regenerate.
23911 * Makefile.in (just-check): Export EXEEXT.
23912 * lib/gdb.exp ($EXEEXT): Import from environment.
23913 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
23914 expect "maint dump-me" on Cygwin.
23915 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
23916 $EXEEXT.
23917
30e87cd3
ND
239182000-11-17 Nick Duffek <nsd@redhat.com>
23919
23920 * gdb.base/break.exp: Test backtrace and finish from called
23921 function on all platforms, not just HP-UX.
23922
dc96c6c7 239232000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
23924
23925 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
23926 code from gdb_target_monitor, so it can be used independantly
23927 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 23928
dc96c6c7 239292000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
23930
23931 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
23932 * gdb.base/corefile.exp: Expect the message "Program is being
23933 debugged already" when we send the "corefile" command, since
23934 the preceeding gdb_load may have connected gdb to a remote target.
23935 * gdb.base/display.exp: Disable hardware watchpoints if new
23936 board info variable "no_hardware_watchpoints" is true.
23937 Replace single-letter commands with more readable ones.
23938 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
23939 if new board info variable "no_hardware_watchpoints" is true.
23940 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
23941 to see if stdio (printf) testing is possible.
23942 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
23943 board info variable "no_hardware_watchpoints" is true. Use new
23944 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
23945
39124dea
FN
239462000-11-13 Fernando Nasser <fnasser@redhat.com>
23947
23948 From Orjan Friberg <orjanf@axis.com>:
23949 * gdb.base/printcmds.exp: Escape curly braces followed by a number
23950 in array print pattern match.
23951
a9e2e984
FN
239522000-11-09 Fernando Nasser <fnasser@redhat.com>
23953
23954 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
23955 spelling "cancelled" to U.S. spelling "canceled" to match changes
23956 made to gdb.
23957 * gdb.c++/ovldbreak.exp: Ditto.
23958
c7db355b
PS
239592000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23960
23961 * gdb.base/callfuncs.c (main): Moved to end of file, call
23962 t_double_values to initialize the FPU before inferior calls are made.
23963 * gdb.base/callfuncs.exp: Test for register preservation after calling
23964 inferior functions. Add tests for continuining, finishing and
23965 returning from a stop in a call dummy.
23966
dc96c6c7 239672000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
23968
23969 * gdb.base/commands.exp: Break up long lines, and re-indent.
23970
dc96c6c7 239712000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
23972
23973 * config/gdbserver.exp: Rewritten from the ground up, to make it
23974 compatible with the current dejagnu tree, and to make it work with
23975 the new "gdbserver" in libremote.
23976
dc96c6c7 239772000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
23978
23979 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
23980 * gdb.base/varargs.exp: Skip entire test if no printf support.
23981 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
23982 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
23983
dc96c6c7 239842000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
23985
23986 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
23987 no floating point support.
23988 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
23989 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
23990 * gdb.base/call-rt-st.exp: Ditto.
23991 * gdb.base/call-strs.exp: Ditto.
23992
bac5fc66
JG
239932000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
23994
23995 * gdb.base/sizeof.c: include <stdio.h>.
23996
23997 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
23998 'finish', otherwise uncaptured gdb_prompt would potentially
23999 throw remaining test points out of sync.
bac5fc66 24000
b22a6027
SB
240012000-07-26 Scott Bambrough <scottb@netwinder.org>
24002
24003 * gdb.base/recurse.exp: Run tests for all targets.
24004 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
24005 gnu-oldld case on ARM.
24006 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
24007 for ARM targets.
d63a86f8 24008
d8231941
AG
24009Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
24010
24011 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
24012 * gdb.java/configure: Rebuild.
24013
8caabe69
AG
24014Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
24015
24016 * gdb.java/jv-exp.exp: New file.
24017
9d273ca3
AG
24018Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
24019
24020 * configure: Rebuilt.
24021 * configure.in (configdirs): Add gdb.java.
24022 * gdb.java/jmisc.java: New file.
24023 * gdb.java/jmisc.exp: New file.
24024 * gdb.java/Makefile.in: New file.
24025 * gdb.java/configure: Rebuilt.
24026 * gdb.java/configure.in: New file.
24027 * lib/java.exp: New file.
24028
4f823a66
AC
24029Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
24030
24031 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 24032 underflow.
4f823a66 24033
2391e11d
AC
24034Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
24035
24036 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 24037 and the compilers sizes.
2391e11d 24038
54602222
ND
240392000-07-09 Nick Duffek <nsd@redhat.com>
24040
24041 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
24042 (use_methods): New function.
24043 (main): Call use_methods().
24044 * gdb.c++/classes.exp (test_method_param_class): New procedure.
24045 (do_tests): Call test_method_param_class.
24046
2bec0572
ND
240472000-07-09 Nick Duffek <nsd@redhat.com>
24048
24049 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
24050 spelling.
24051 (test_enums): New procedure. Move enum tests from end of script
24052 to here. Set breakpoint on function name instead of line number.
24053 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
24054 (enums2): New marker function.
24055 (enums1): New function.
24056 (main): Call enums1(). Move enum tests to enums1().
24057
78492fde
AC
24058Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
24059
24060 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 24061 compile/link program. Update line numbers.
78492fde
AC
24062 * gdb.asm/d10v.inc: Define ``startup''.
24063 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 24064
49a2cef8
AC
24065Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
24066
24067 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
24068
3e6c8688
EZ
240692000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24070
24071 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 24072 of 'help maint print' command.
3e6c8688 24073
9ff5cbe9
AC
24074Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
24075
24076 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 24077 they use gdb_expect_list.
9ff5cbe9 24078
17c579bd
AC
24079Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
24080
24081 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
24082 memory-read-packet-size'' instead of ``set endian big'' to test
24083 long commands.
17c579bd 24084
e6d71bf3
DB
240852000-06-03 Daniel Berlin <dan@cgsoftware.com>
24086
24087 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 24088 g++, and stop skipping them.
e6d71bf3
DB
24089
24090 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
24091 work under g++.
24092
d63a86f8 24093 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
24094 initialization.
24095
dc96c6c7 240962000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
24097
24098 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
24099 the regular expression: accept an (almost) arbitrary sequence of
24100 "frames-invalid" and "breakpoints-invalid" messages both before
24101 and after the "starting" message.
24102
dc96c6c7 241032000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
24104
24105 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 24106
dc96c6c7 241072000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
24108
24109 * gdb.base/annota1.exp (annotate-signal-handler-caller):
24110 Relax the regular expression a little, make it pass on Solaris 8.
24111
8216cda9
KB
241122000-05-12 Kevin Buettner <kevinb@redhat.com>
24113
24114 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 24115 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
24116 Instead, it is permissible for gdb to stop on the line of the
24117 call itself.
24118
1a570b2f
MS
241192000-05-12 Michael Snyder <msnyder@.cygnus.com>
24120
24121 * gdb.base/break.exp (bp on small function, optimized file):
24122 Add a second pass pattern. The behavior differs here between stabs
24123 and dwarf for one-line functions. Stabs preserves two line symbols
24124 (one before the prologue and one after) with the same line number,
24125 but dwarf regards these as duplicates and discards one of them.
24126 Therefore the address after the prologue (where the breakpoint is)
24127 has no exactly matching line symbol, and GDB reports the breakpoint
24128 as if it were in the middle of a line rather than at the beginning.
24129
dc96c6c7 241302000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 24131
d63a86f8 24132 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
24133 rather than "send_gdb" (for consistancy).
24134
7d418785
AC
24135Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
24136
24137 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
24138 * gdb.c++/templates.cc: Properly check for GCC version number.
24139 * lib/compiler.cc: Likewise
24140
dc96c6c7 241412000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 24142
d63a86f8 24143 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
24144 gdb may not stop at the first line of main, due to code motion.
24145
dc96c6c7 241462000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
24147
24148 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
24149 This test depends on parsing the printf output from the target.
24150 Since the sparclet stub doesn't do stdio, this will never work.
24151 * gdb.base/call-rt-st.exp: ditto.
24152 * gdb.base/call-strs: ditto.
24153
dc96c6c7 241542000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
24155
24156 * gdb.base/miscexprs.exp: make sizeof long array test portable.
24157
24158 * gdb.base/ending-run.exp: After connecting to a remote target,
24159 but before running, the target will appear to be in a random
24160 location. Specify both a file and a line for breakpoints.
24161 Also, the function that calls main may be called 'init'
24162 rather than 'start'.
24163
a5a51225
EZ
241642000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24165
24166 * gdb.base/help.exp: Update output for add-symbol-file command.
24167
7930cc7c
FN
241682000-04-10 Fernando Nasser <fnasser@cygnus.com>
24169
24170 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24171 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
24172
23e37ab1
C
241732000-04-07 J.T. Conklin <jtc@redback.com>
24174
e93c542c
C
24175 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
24176
23e37ab1
C
24177 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
24178
591b8fa3
PDM
24179Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
24180
24181 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 24182 values that can be represented exactly.
591b8fa3
PDM
24183 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
24184 above change, and to not check against the directory part of the source
24185 file name.
24186 (step into print_long_arg_list): Likewise.
24187 (print print_small_structs from print_long_arg_list): Likewise.
24188 (print print_long_arg_list): Likewise.
24189
7a495180
EZ
241902000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24191
30b53638 24192 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 24193
beb998c6
AC
24194Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
24195
24196 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
24197
1c689132
DB
241982000-03-25 Daniel Berlin <dan@cgsoftware.com>
24199
24200 * gdb.base/commands.exp (deprecated_command_test): Add test for
24201 deprecate with no arguments.
24202
c1790a9d
JL
242032000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
24204
24205 * gdb.base/break.exp: Add new test for setting breakpoints on
24206 optimized code so we can test breakpoints work even when function
24207 prologues may be optimized away
24208
003ba290
FN
242092000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
24210
24211 From David Whedon <dwhedon@gordian.com>
a9c64011 24212 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 24213
6837a0a2
DB
242142000-03-22 Daniel Berlin <dan@cgsoftware.com>
24215
24216 * gdb.base/help.exp: Added test for new apropos command.
24217
b9593231
KB
242182000-03-21 Kevin Buettner <kevinb@redhat.com>
24219
24220 * gdb.base/pointers.c (usevar): New function.
24221 (main): Make sure that global variables v_int_pointer2, rptr,
24222 and y are all referenced someplace in the program by calling
24223 usevar() on them. [Some linkers delete symbols which are
24224 never referenced. The space remains, but there's no way to
24225 get a (symbolic) handle on the variable from the debugger.]
24226
751a959b
EZ
242272000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24228
24229 * gdb.base/printcmds.c: Add typedeffed arrays.
24230
24231 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 24232 procedure to test arrays that are typedef'd.
751a959b 24233
73a93a32
JI
242342000-03-13 James Ingham <jingham@leda.cygnus.com>
24235
24236 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 24237 the library directories.
73a93a32 24238
fb40c209
AC
24239Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
24240
24241 * configure.in (configdirs): Add sub directory gdb.mi.
24242 * configure: Re-generate.
24243
24244 * gdb.mi: New directory.
d63a86f8 24245
ee4dd2c9
AC
242462000-02-25 Scott Bambrough <scottb@netwinder.org>
24247
24248 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 24249 a long long value as a double on ARM platforms.
ee4dd2c9 24250
70f0cc22
JB
242512000-02-16 Jim Blandy <jimb@redhat.com>
24252
24253 * gdb.base/break.exp ("breakpoint line number"): Make sure the
24254 default source file is set properly before running this test.
24255
853819b8
EZ
242562000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24257
24258 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 24259 gdbtk/library directory, not in gdbtcl2.
853819b8 24260
dfcd3bfb
JM
242612000-02-04 Jim Blandy <jimb@redhat.com>
24262
24263 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
24264 backslash from regexp pattern.
24265
24266 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
24267 procedure. Use it to run all the "continue to bp overloaded"
24268 tests. Note that this changes the names of the tests slightly.
24269 If the breakpoint hit message includes a hex PC value, because
24270 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
24271 from the real source code, still consider that a pass.
24272
24273 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
24274 XFAIL here if the breakpoint message contains a hex address. Note
24275 similar change on 1999-11-02.
24276
24277 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
24278
24279 * gdb.base/ptype.exp: Establish a default source file before
24280 calling get_debug_format.
24281
242822000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
24283
24284 * gdb.base/watchpoint.exp: Remove duplication of test messages.
24285
8b93c638
JM
242862000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24287
24288 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
24289 of successive stepi commands -- while in the prologue we should see
24290 the function entry bracket.
24291
242922000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24293
24294 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
24295 reach __change_mode() when stepping through the end of main().
24296
c5394b80
JM
242972000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
24298
24299 * gdb.base/default.exp: Fix expected pattern.
24300 * gdb.base/help.exp: Same.
24301
0d06e24b
JM
243022000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24303
24304 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 24305 Don't use xfail's because that affects only the following test.
d63a86f8 24306
0d06e24b 24307 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 24308 solaris or linux.
0d06e24b
JM
24309
24310 * gdb.base/selftest.exp: Update to reflect changes to main.c.
24311
dc96c6c7 243122000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 24313
d63a86f8 24314 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
24315 "A syntax error" rather than "A parse error". Accept both.
24316
243172000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
24318
24319 * gdb.base/default.exp: Remove OS dependent string from "target
24320 remote" test.
24321 * gdb.base/help.exp: Same for "help target remote" test.
24322
c3f6f71d
JM
243232000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24324
24325 From Jim Kingdon <kingdon@redhat.com>:
24326
24327 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
24328 prompt (cleanup rather than necessity, but still might keep output
24329 from spilling to next test).
c3f6f71d
JM
24330
243312000-01-02 Fred Fish <fnf@cygnus.com>
24332
24333 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
24334 AIX, which defines them in <sys/types.h>.
24335
ed9a39eb 243361999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 24337
ed9a39eb 24338 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 24339 float" test.
ed9a39eb
JM
24340
243411999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 24342
ed9a39eb 24343 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
24344
24345 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
24346 outermost frame disallowed".
24347
243481999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
24349
24350 * gdb.base/setvar.exp: New tests for setting the value of a struct
24351 with a constant list.
24352
243531999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24354
24355 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
24356 require the user to type a cast before setting the value of a struct.
24357
de57eccd
JM
243581999-12-06 Jim Blandy <jimb@cygnus.com>
24359
24360 * gdb.base/default.exp: Expect the new 'info float' command on
24361 all i386 platforms.
24362
24363 * gdb.threads/linux-dp.exp: Expand our ability to recognize
24364 LinuxThreads libraries that don't support debugging.
24365
c2d11a7d
JM
24366Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24367
24368 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
24369 Change the buffer type to ``unsigned char'' to simplify size
24370 arithmetic.
c2d11a7d
JM
24371
24372 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
24373 stub only handles 400-1 byte packets. Verify that the download
24374 worked.
c2d11a7d
JM
24375
243761999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
24377
24378 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
24379 tests, using UNRESOLVED for the untested cases. Also, does not wait
24380 for a timeout if the prompt was received before a recognizable pattern.
24381
243821999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
24383
24384 * lib/gdb.exp (gdb_expect_list): Fix spelling.
24385
243861999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24387
24388 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 24389 watchpoints.
c2d11a7d
JM
24390
243911999-11-24 Jason Merrill <jason@casey.cygnus.com>
24392
24393 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
24394
24395 * gdb.c++/local.exp: Be more flexible in recognizing local class
24396 name mangling. Don't allow horribly truncated method names.
24397 * gdb.c++/derivation.exp: Expect protected inheritance.
24398 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
24399 * gdb.c++/virtfunc.exp: Likewise.
24400 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
24401 when printing a nested enum.
24402
244031999-11-22 Jim Blandy <jimb@cygnus.com>
24404
24405 * gdb.base/step-test.exp: Properly await GDB's response to setting
24406 a breakpoint on the call to large_struct_by_value.
24407
24408 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
24409 just because we have debug info for the `start' function.
24410
244111999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
24412
24413 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
24414 "Unknown signal" messages, which indicate (on LinuxThreads) that
24415 GDB doesn't know how to debug threads on this system. This is
24416 better than hanging while philosopher 0 dumps chatter into gdb.log.
24417
244181999-11-18 Tom Tromey <tromey@cygnus.com>
24419
24420 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
24421
244221999-11-18 Fred Fish <fnf@cygnus.com>
24423
24424 * gdb.base/coremaker2.c: Add sample program for generating
24425 cores that is more self contained than coremaker.c. Eventually
24426 I'll add more code to this and tie it into the testsuite.
24427
4ce44c66
JM
244281999-11-12 Stan Shebs <shebs@andros.cygnus.com>
24429
24430 * gdb.base/dollar.exp: Remove, now in gdb.hp.
24431
244321999-11-10 Jimmy Guo <guo@cup.hp.com>
24433
24434 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 24435 from $srcdir/lib/.
4ce44c66 24436 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 24437 and gdb.c++/.
4ce44c66
JM
24438
24439 * gdb.c++/derivation.exp: remove redundant get compiler info code.
24440
d63a86f8 24441 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
24442 'continue with watch' test point.
24443
244441999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
24445
24446 Merged from p2linux-990323-branch:
d63a86f8 24447
4ce44c66
JM
24448 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
24449
11cf8741
JM
24450Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
24451
24452 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 24453 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
24454
24455Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
24456
24457 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 24458 gdb_expect_list.
11cf8741
JM
24459
24460Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
24461
24462 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
24463
244641999-11-03 Mark Salter <msalter@cygnus.com>
24465
24466 * gdb.base/break.exp: Fix "stub continue" pattern.
24467
244681999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
24469
24470 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
24471
244721999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
24473
24474 * gdb.base/display.exp ("finish"): Add timeout clause.
24475
24476 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
24477 plain prompt clause, so this doesn't have to time out in order to
24478 fail.
24479
24480 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 24481 breakpoint hit messages include an address.
11cf8741
JM
24482
24483 * gdb.base/display.exp: Don't forget to escape parens in regular
24484 expressions. Unix regexp notatation sucks.
24485
244861999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24487
24488 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 24489 order for 'signalled' message.
11cf8741 24490
5c44784c
JM
244911999-11-01 Stan Shebs <shebs@andros.cygnus.com>
24492
24493 From Jimmy Guo <guo@cup.hp.com>:
24494 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
24495 * gdb.base/annota1.c: Add code for tests to work with.
24496
244971999-10-26 Frank Ch. Eigler <fche@cygnus.com>
24498
24499 * gdb.base/remote.exp: New test for remote downloading settings.
24500 * gdb.base/remote.c: New file with large .data.
24501
917317f4
JM
245021999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
24503
24504 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
24505 for LinuxThreads support, merged from the Code Fusion branch.
24506
24507Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
24508
24509 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
24510 containing exp_continue into a while within an expect. Don't
24511 attempt a start more than three times. Check return value from
24512 gdb_load.
d63a86f8 24513
2df3850c
JM
24514Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
24515
24516 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 24517 a pass case.
2df3850c 24518
2acceee2
JM
245191999-10-01 Kevin Buettner <kevinb@cygnus.com>
24520
24521 * gdb.base/break.c (main): Added a statement that we can step
24522 off of.
24523 * gdb.base/break.exp: Added tests for setting a breakpoint
24524 at an offset and stepping onto a breakpoint.
24525
245261999-10-01 Fred Fish <fnf@cygnus.com>
24527
d63a86f8 24528 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
24529 gdb output.
24530
c2c6d25f
JM
245311999-09-18 Jim Blandy <jimb@cris.red-bean.com>
24532
24533 * gdb.base/break.exp: Code locations are in hex, don't forget!
24534 (For HP-UX.)
24535
245361999-09-17 Stan Shebs <shebs@andros.cygnus.com>
24537
24538 * condbreak.exp: Use break.c as test program.
24539 * condbreak.c: Remove, redundant with break.c.
24540
245411999-09-15 Stan Shebs <shebs@andros.cygnus.com>
24542
24543 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 24544 Z-packets if the target needs it.
c2c6d25f
JM
24545
245461999-09-13 James Ingham <jingham@leda.cygnus.com>
24547
24548 * gdb.c++/overload.exp: Added tests for listing overloaded
24549 functions with function pointers in the arg, explicitly calling
24550 out the version you want.
24551
cff3e48b
JM
245521999-09-09 Stan Shebs <shebs@andros.cygnus.com>
24553
24554 * long_long.exp: Add variations of test cases that work for
24555 targets with 16-bit ints and 32-bit doubles.
24556
d4f3574e
SS
245571999-09-08 Stan Shebs <shebs@andros.cygnus.com>
24558
24559 * break.c (main): Compare a possibly-uninitialized argc with an
24560 unlikely value that fits in 16 bits.
24561
245621999-09-07 Stan Shebs <shebs@andros.cygnus.com>
24563
24564 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
24565 0xfeeb, don't want negative numbers if ints are 16 bits.
24566
24567 * lib/gdb.exp (skip_cplus_tests): New proc.
24568 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
24569 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
24570 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
24571 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
24572 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
24573 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
24574 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
24575 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
24576
24577 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
24578
24579Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
24580
24581 * gdb.base/corefile.exp (up): Allow a parameter to appear
24582 in the frame that we're going up to.
24583
24584 From Jim Blandy <jimb@cygnus.com>:
24585
24586 * gdb.base/default.exp (info float): Expect some output now.
24587
24588 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
24589 returning floating-point values to fail on the x86.
24590 * gdb.base/callfwmall.exp (do_function_calls): Same.
24591
24592 * gdb.base/list.exp (test_listsize): Correct expectations for
24593 listing line 1 with listsize 2. Also, listing a single line
24594 works now, as does listing three lines. [Kevin's note: There
24595 were a number of other cases fixed too where the expectations
24596 differed...]
24597
245981999-09-02 Stan Shebs <shebs@andros.cygnus.com>
24599
24600 * gdb.base/selftest.exp: Add case for when version prints as
24601 constant string instead of char pointer.
24602
104c1213
JM
246031999-08-25 Stan Shebs <shebs@andros.cygnus.com>
24604
24605 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 24606 stepping out of main.
104c1213
JM
24607
24608 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
24609 G++ used.
24610
24611 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 24612 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
24613
24614 * gdb.c++/ovldbreak.exp: Update match string in test that
24615 includes a warning of multiple breakpoints.
24616
246171999-08-24 Stan Shebs <shebs@andros.cygnus.com>
24618
24619 * gdb.base/display.exp: Improve precision of step-after-finish
24620 added yesterday.
24621
24622 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 24623 test.
104c1213
JM
24624
24625 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
24626 configs when using G++, not just hppa*.
24627
246281999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24629
24630 * gdb.base/async.c: New file.
24631 * gdb.base/async.exp: New file.
24632
24633Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
24634
24635 * gdb.base/break.exp: Tweak PA specific tests to properly handle
24636 PA64.
24637
53a5351d
JM
24638Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
24639
104c1213
JM
24640 * gdb.base/display.exp: "finish" can leave us mid-line on many
24641 targets, deal with it. Add a small constant to main, instead of
24642 1000 since main+1000 may not be a valid address in the target.
24643
53a5351d
JM
24644 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
24645 on hpux11.
24646
24647 * gdb.base/attach.exp: Handle another hpux11 error message variant
24648 when attaching to a process that does not exist.
24649
246501999-08-19 J.T. Conklin <jtc@redback.com>
24651
24652 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 24653 characters in 'continue to 1241' test.
53a5351d
JM
24654
246551999-08-17 Stan Shebs <shebs@andros.cygnus.com>
24656
24657 * gdb.base/call-ar-st.exp: Add a shorter match case for the
24658 stop in print_long_arg_list, define and use a whitespace
24659 variable in print_small_structs test, add an XFAIL for Solaris.
24660 * gdb.base/dbx.exp: XFAIL func commands until somebody is
24661 interested enough to fix.
24662
7be570e7
JM
246631999-08-13 Keith Seitz <keiths@cygnus.com>
24664
24665 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
24666 (dbx_gdb_load): Remove. Use gdb_load instead, since that
24667 proc knows about targets other than the natives.
24668 (test_assign): Use "gdb_run_cmd" to "run" the target.
24669 Check that we've actually hit the breakpoint at main.
24670 When we attempt to assign a value to a local variable, check
24671 that the variable is in the current scope, i.e., don't use
24672 a test with an empty result.
24673
24674Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
24675
24676 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 24677 command.
7be570e7
JM
24678
246791999-08-09 Stan Shebs <shebs@andros.cygnus.com>
24680
24681 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24682 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
24683 gdb.compat, gdb.threads-hp.
24684 gdb.hp/configure, gdb.hp/configure.in: New files.
24685 gdb.hp/Makefile.in: Recurse into new subdirs.
24686 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
24687 gdb.hp/gdb.objdbg: New directory, tests for debugging info
24688 in object files.
24689 gdb.hp/tools: New directory, aux tools for HP-specific tests.
24690
96baa820
JM
246911999-08-05 Stan Shebs <shebs@andros.cygnus.com>
24692
24693 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 24694 funky printf, remove a bogus p/a test.
96baa820
JM
24695
246961999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24697
24698 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
24699 connected to the target. This is necessary when running not
24700 natively.
96baa820
JM
24701
247021999-08-03 Stan Shebs <shebs@andros.cygnus.com>
24703
24704 * gdb.base/step-test.exp: Removed some extraneous messages.
24705
24706 * gdb.base/long_long.exp: Don't run memory examination tests
24707 on little-endian targets (they will need a different set of
24708 results to match).
24709
247101999-08-02 Stan Shebs <shebs@andros.cygnus.com>
24711
24712 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
24713 until somebody decides to fix GDB.
24714
24715 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 24716 constant as "ULL".
96baa820
JM
24717 * gdb.base/long_long.exp: Loosen x/c test, add partial result
24718 matches for a couple x/2 commands.
24719
a0b3c4fd
JM
247201999-07-30 Stan Shebs <shebs@andros.cygnus.com>
24721
24722 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
24723 by merging in ref-types2 tests.
24724 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
24725
24726 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24727 * gdb.c++/Makefile.in: Add standard actions.
24728 (EXECUTABLES): Rename from PROGS, update list.
24729 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
24730 from gdb.hp.
24731 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
24732 foo and bar locals.
24733 * gdb.c++/anon-union.exp: Fix tests to match.
24734 * gdb.c++/classes.exp: Run if HP compiler used, add extra
24735 expect matches to handle output variations.
24736 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
24737 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 24738 output, add HP alternatives for new and delete prints.
a0b3c4fd 24739 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 24740 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
24741 * gdb.c++/demangle.exp: Use $style when reporting failure.
24742 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
24743 * gdb.c++/inherit.exp: Run if HP compiler used, add some
24744 match alternatives.
24745 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 24746 compilers.
a0b3c4fd
JM
24747 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
24748 * gdb.c++/method.exp: Add match alternatives.
24749 * gdb.c++/misc.cc: Add bool types.
24750 * gdb.c++/misc.exp: Add tests for bool types.
24751 * gdb.c++/overload.exp: Add xfails.
24752 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
24753 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
24754 add some more template parameter tests (only for HP currently).
24755 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
24756 * gdb.c++/virtfunc.cc: Add return type and value for main.
24757 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
24758 match alternatives.
d63a86f8 24759
a0b3c4fd
JM
247601999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24761
24762 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
24763
247641999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
24765
24766 * gdb.base/signals.exp: Don't expect getting a backtrace from
24767 within a signal handler to fail on Linux.
24768
247691999-07-29 Stan Shebs <shebs@andros.cygnus.com>
24770
24771 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24772 * lib/gdb.exp: Remove some gratuitious semicolons.
24773 (delete_breakpoints): Increase timeout.
24774 (gdb_expect): Add -notransfer option.
24775 (gdb_test): Use -notransfer option.
24776 (get_compiler_info): Add f77 case.
24777 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 24778 case.
a0b3c4fd
JM
24779 (gdb_preprocess): Call get_compiler.
24780
24781 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
24782 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
24783 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
24784 gdb.base/long_long.exp, gdb.base/printcmds.exp,
24785 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
24786 third arg to gdb_test.
a0b3c4fd
JM
24787 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
24788 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 24789 HP-UX xfails, add others.
a0b3c4fd
JM
24790 * gdb.base/completion.exp: Reflect name change of self-test.
24791 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
24792 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
24793 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
24794 HP failure number.
a0b3c4fd
JM
24795 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
24796 useless HP-UX 10.30 references.
24797 * gdb.base/maint.exp: Loosen matches.
24798 * gdb.base/pointers.c (main): Declare more_code.
24799 * gdb.base/pointers.exp: Match on output of a `next'.
24800 * gdb.base/structs.c: Add prototypes.
24801 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
24802 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
24803
248041999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24805
24806 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 24807 command.
a0b3c4fd
JM
24808
248091999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24810
24811 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
24812 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
24813
24814 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
24815 debug info. Deal with lack of signal hanlder info in stack.
24816
a9c64011 24817 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
24818 * gdb.base/annota1.exp: If printf has debug info, deal with it.
24819
5a2468f5
JM
248201999-07-19 Stan Shebs <shebs@andros.cygnus.com>
24821
24822 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 24823 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 24824
adf40b2e
JM
24825Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24826
24827 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 24828 a1-selftest.exp.
adf40b2e
JM
24829 * gdb.base/configure: Re-generate.
24830
248311999-07-12 Stan Shebs <shebs@andros.cygnus.com>
24832
24833 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
24834 in trying to run first and name is too long.
24835
24836 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
24837 pointers2.c and pointers2.exp, respectively.
24838 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
24839 doschk happier.
24840
43e526b9
JM
248411999-07-08 Stan Shebs <shebs@andros.cygnus.com>
24842
24843 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
24844 callfuncs2.c and callfuncs2.exp.
24845
24846 * gdb.base/list.exp: Remove mistaken xfails.
24847 * gdb.base/list0.h: Add optional prototypes.
24848
9846de1b
JM
24849Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
24850
a9c64011 24851 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 24852 calling malloc.
a9c64011
AS
24853 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
24854 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 24855 use.
9846de1b
JM
24856
248571999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24858
24859 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
24860 * gdb.base/annota2.cc, annota2.exp: Move from here.
24861 * gdb.c++/annota2.cc, annota2.exp: To here.
24862 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
24863
43ff13b4
JM
24864Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
24865
24866 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 24867 a consistent format.
43ff13b4 24868
085dd6e6
JM
248691999-06-25 Stan Shebs <shebs@andros.cygnus.com>
24870
24871 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24872 * lib/gdb.exp (get_compiler_info): Add detection for assorted
24873 HP compilers, also set the globals $true and $false.
24874
24875 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
24876 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
24877 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
24878 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
24879 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
24880 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
24881 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
24882 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
24883 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
24884 whatis.c} Add C++ compatible function definitions and return
24885 types, add includes for library functions.
085dd6e6
JM
24886 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
24887 * gdb.base/step-test.c (myglob): Rename from glob.
24888 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
24889 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
24890 files, move here from gdb.hp.
085dd6e6 24891 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
24892 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
24893 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
24894 Adjust line numbers in regexps.
085dd6e6
JM
24895
24896 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
24897 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
24898 instead of 0/1.
24899
24900 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
24901 foll-vfork.exp: New files, move here from gdb.hp.
24902 * gdb.base/page.exp: New file, test of pagination command.
24903
24904 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
24905 recursion test.
24906 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
24907
24908 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 24909 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
24910
24911 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 24912 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 24913 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 24914 watchpoint test.
085dd6e6
JM
24915 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
24916 them work.
24917 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
24918 expressions properly.
24919 * gdb.base/corefile.exp: Loosen the match slightly.
24920 * gdb.base/default.exp: Allow "Error accessing memory" message
24921 also.
24922 * gdb.base/display.exp: Skip over x/0 j if PA64.
24923 * gdb.base/funcargs.exp: Add xfails for HP-UX.
24924 * gdb.base/interrupt.exp: Ditto.
24925 * gdb.base/langs.exp: Add symbolic matches governed by compiler
24926 in use.
24927 * gdb.base/list.exp: Add xfails for HP-UX.
24928 * gdb.base/long_long.exp: Refine some of the numeric matches.
24929 * gdb.base/mips_pro.exp: Xfail on HP-UX.
24930 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
24931 * gdb.base/nodebug.exp: Succeed on more varieties of output.
24932 * gdb.base/opaque.exp: Remove some HP-UX xfails.
24933 * gdb.base/ptype.exp: Succeed on more varieties of output.
24934 * gdb.base/scope.exp: Add xfails for HP-UX.
24935 * gdb.base/sect-cmd.exp: Add more cases.
24936 * gdb.base/setvar.exp: Add xfails for HP-UX.
24937 * gdb.base/shlib-call.exp: Loosen some matches slightly.
24938 * gdb.base/signals.exp: Match on void symbolically.
24939 * gdb.base/step-test.exp: Add case for PA64.
24940 * gdb.base/term.exp: Add exit and restart.
24941 * gdb.base/twice.exp: Clean up after self.
24942 * gdb.base/varargs.exp: Disable overload resolution explicitly.
24943 * gdb.base/whatis.exp: Allow more ways to pass tests.
24944
24945 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 24946 no longer useful.
085dd6e6
JM
24947
24948Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
24949
24950 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 24951 list of patterns.
085dd6e6 24952 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
24953 print_double_array(double_array)", "continuing to breakpoint
24954 1018", "print print_double_array(array_d)" and "continuing to
24955 1034" tests.
d63a86f8 24956
085dd6e6
JM
249571999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
24958
a9c64011 24959 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
24960
249611999-06-24 Stan Shebs <shebs@andros.cygnus.com>
24962
24963 * config/mt-*: Remove, these haven't been used since 1996.
24964
249651999-06-22 Stan Shebs <shebs@andros.cygnus.com>
24966
24967 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 24968 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
24969 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
24970
9e0b60a8
JM
249711999-06-18 Stan Shebs <shebs@andros.cygnus.com>
24972
24973 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
24974 simpler match case for the ptype of the big class.
24975
249761999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24977
24978 * gdb.exp: Fix test for gdb_prompt existence.
24979
249801999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24981
24982 * gdb.exp (gdb_test): Add fail after calls to perror.
24983
249841999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24985
24986 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
24987
249881999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24989
24990 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
24991
0f71a2f6
JM
24992Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
24993
24994 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 24995 malloc() is linked in.
0f71a2f6
JM
24996
249971999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24998
24999 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
25000 step at end.
25001
25002 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
25003
250041999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
25005
25006 * gdb.java/jv-print.exp: New file. (Our first Java test!)
25007
cce74817
JM
25008Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
25009
25010 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
25011 * gdb.base/mips_pro.exp: Likewise.
25012
250131999-06-02 Keith Seitz <keiths@cygnus.com>
25014
25015 * gdb.c++/templates.cc: Change all "new" operators to throw
25016 an exception.
25017 * gdb.c++/cplusfuncs.cc: Likewise.
25018
25019 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
25020
25021Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
25022
25023 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
25024 * gdb.base/ending-run.exp: When stepping out of main, accept a
25025 step into an arbitrary assembler file.
cce74817 25026
392a587b
JM
250271999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25028
d63a86f8 25029 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 25030 "breakpoint-invalid" to be printed.
6fdff2c5
PA
25031 * gdb.base/annota2.exp: Revise line number for main
25032 breakpoint. Allow any number of "frames-invalid" and
25033 "breakpoint-invalid" to be printed.
392a587b
JM
25034 * gdb.base/annota2.cc: Initialize a.x to 0.
25035
9e086581
JM
250361999-05-17 Keith Seitz <keiths@cygnus.com>
25037
6fdff2c5
PA
25038 * gdb.base/call-ar-st.exp: Skip
25039 "print print_double_array (double_array)" when "skip_float_tests" set.
25040 Ditto for "print print_double_array(array_d)",
25041 "print print_small_structs", "print print_ten_doubles", and
25042 "step into print_long_arg_list".
25043 Don't assume we can step into "print_long_arg_list": we could step
25044 into memcpy.
25045 * gdb.base/call-rt-st.exp: Don't run float-related tests when
25046 "skip_float_tests" is set: "print print_one_double(*d1)"
25047 and "print print_two_floats(*f3)".
9e086581
JM
25048 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
25049 "skip_float_tests" is set.
6fdff2c5
PA
25050 * gdb.base/varargs.exp: Skip
25051 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
25052 "skip_float_tests" set.
d63a86f8 25053
cd0fc7c3
SS
250541999-05-06 Keith Seitz <keiths@cygnus.com>
25055
25056 * gdb.base/annota2.cc: Include stdio.h.
25057
25058Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
25059
25060 * gdb.base/crossload.exp: Remove, this has been disabled ever
25061 since BFD stopped including all targets, and cross-GDB gets
25062 plenty of testing anyway.
25063 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
25064 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
25065 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
25066 * gdb.base/README: Remove, was doc for this.
25067 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 25068 needed.
cd0fc7c3 25069
b83266a0
SS
250701999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25071
25072 * gdb.base/call-ar-st.exp: Fix one regular expression in test
25073 output.
25074
25075 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
25076 * gdb.base/annota2.exp: New file. More annotation tests.
25077 * gdb.base/annota1.c: New file. Source file for annota1.exp.
25078 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
25079
250801999-04-23 Angela Marie Thomas <angela@cygnus.com>
25081
25082 * config/cfdbug.exp: New file.
25083
7a292a7a
SS
250841999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
25085
25086 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
25087 Marcus Daniel's and Dale Hawkins's demangler crashes.
25088
25089 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
25090 test_lucid_style_demangling, test_arm_style_demangling,
25091 test_hp_style_demangling): Try Tom Tromey's core-dumping
25092 identifier under each demangling style.
7a292a7a
SS
25093
250941999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
25095
25096 * gdb.c++/demangle.exp: Include the current demangling style
25097 in all test names.
25098 (current_demangling_style): New global variable.
25099 (set_demangling_style, test_demangling_core, test_demangling,
25100 test_demangling_exact): New functions.
25101 (test_gnu_style_demangling, test_lucid_style_demangling,
25102 test_arm_style_demangling, test_hp_style_demangling): Use those,
25103 instead of calling gdb_test and gdb_test_exact directly.
25104 (catch_demangling_errors): New function, which reports errors
25105 signalled by the demangling test functions in an orderly way.
25106 (do_tests): Use catch_demangling_errors.
25107
251081999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
25109
25110 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 25111 grouping in expressions, not {}.
7a292a7a
SS
25112
25113 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 25114 initialized yet.
7a292a7a
SS
25115
251161999-04-01 Stan Shebs <shebs@andros.cygnus.com>
25117
25118 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
25119 are listed.
25120
251211999-03-26 Stan Shebs <shebs@andros.cygnus.com>
25122
25123 * gdb.stabs/weird.exp: Test for CC being defined before
25124 looking at its value.
25125
251261999-03-25 Stan Shebs <shebs@andros.cygnus.com>
25127
25128 * gdb.base/call-ar-st.exp: Remove stray '#'.
25129 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
25130 "short int" and "long int".
25131 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 25132 change, to mollify finicky HP compiler.
7a292a7a
SS
25133 * gdb.hp/reg-test.exp (testfile): Fix file name.
25134 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 25135
7a292a7a
SS
25136 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
25137 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
25138 alternate form of enum ptype.
25139
c906108c
SS
251401999-03-23 Stan Shebs <shebs@andros.cygnus.com>
25141
7a292a7a
SS
25142 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
25143 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
25144 passing skip_hp_tests, so as not to waste time on guaranteed
25145 failure.
7a292a7a 25146
c906108c
SS
25147 * gdb.c++/overload.cc: Pass string instead of char addr, always
25148 init ccpfoo.
25149 * gdb.c++/templates.cc: Fix syntax error.
25150
7a292a7a
SS
25151Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25152
25153 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 25154 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
25155 command.
25156
251571999-03-18 James Ingham <jingham@cygnus.com>
25158
25159 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
25160
25161 * gdb.c++/method.exp: It was testing an uninitialized int on the
25162 stack and assuming it was positive.
25163
25164 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
25165
25166 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 25167 keep it from killing the rest of the tests.
7a292a7a
SS
25168 Use gdb_continue_to_end.
25169
25170 * gdb.base/sigall.exp: use gdb_continue_to_end.
25171
25172 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
25173
25174 * gdb.base/display.exp: use runto_main, not run.
25175
d63a86f8
RM
25176 * gdb.base/default.exp: Check for the current error message in the
25177 r abbreviation test.
7a292a7a
SS
25178 Add strongarm to the targets that know info float.
25179
d63a86f8 25180 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
25181 run which doesn't work with monitors.
25182
6fdff2c5
PA
25183 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
25184 1034 test.
7a292a7a
SS
25185
25186 * gdb.base/break.exp: use the gdb_continue_to_end proc.
25187
6fdff2c5
PA
25188 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
25189 end of a program. Traps the case (in Cygmon) when the program
25190 never really exits. Same as Mark's continue_to_exit, but I had
25191 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
25192
25193 * config/monitor.exp (gdb_target_monitor): added another
25194 target_info parameter: remotebinarydownload. This will set the
25195 remotebinarydownload flag if this is causing some boards trouble.
25196
251971999-03-18 Mark Salter <msalter@cygnus.com>
25198
25199 * lib/gdb.exp (continue_to_exit): New function.
25200
25201 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
25202 * gdb.base/ending-run.exp: Ditto.
25203 * gdb.base/step-test.exp: Ditto.
25204
252051999-03-16 Stan Shebs <shebs@andros.cygnus.com>
25206
25207 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
25208 (suggested by Art Haas <ahaas@neosoft.com>).
25209
252101999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
25211
889bf7c5 25212 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
25213
25214Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
25215
25216 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 25217 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
25218
252191999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
25220
25221 * gdb.base/call-strs.exp: Don't assume that `step' will step over
25222 a call to strlen; sometimes we do have sources.
25223
252241999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
25225
25226 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 25227 character, so GDB won't print garbage after its end.
d63a86f8 25228
c906108c
SS
25229 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
25230 breakpoint there instead. Sometimes GCC emits memcpy to handle
25231 the large structures being passed by value, so we step into that
25232 instead of sum_array_print, which obscures what we're really testing.
25233 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
25234 the bizarre steps into memcpy, so do that here. Add check for
25235 stepping into function calls that pass large structures by value.
25236 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
25237 Remove all references to specific line numbers.
25238 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
25239 New type and function.
25240 (main): Call large_struct_by_value, passing it a large struct by value.
25241 * lib/gdb.exp (gdb_get_line_number): New function.
25242
25243 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
25244 more portable.
25245
7a292a7a
SS
252461999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
25247
c906108c
SS
25248 * lib/gdb.exp: Doc fixes.
25249
7a292a7a
SS
252501999-03-05 Nick Clifton <nickc@cygnus.com>
25251
d63a86f8 25252 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
25253
252541999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
25255
c906108c 25256 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
25257 commands. They're not germane to this test, and they don't work
25258 that way on remote targets.
c906108c 25259
3fc11d3e
JM
252601999-03-01 James Ingham <jingham@cygnus.com>
25261
25262 * Changelog entries merged over from gdb development branch.
25263
3fc11d3e
JM
25264 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
25265
25266 * lib/gdb.exp (gdbtk_analyze_results): Generic function
25267 for outputting results of test run.
25268
2d4a1622 25269 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
25270
25271 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 25272
7a292a7a
SS
252731999-02-25 Felix Lee <flee@cygnus.com>
25274
25275 * lib/gdb.exp (debug_format): initialize
25276
c906108c
SS
252771999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
25278
25279 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
25280 * gdb.base/call-rt-st.c: Ditto.
25281
c906108c
SS
252821999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
25283
25284 * gdb.threads/pthreads.exp (horiz): New variable.
25285 (test_startup): Fix regexps that capture thread numbers.
25286
252871999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
25288
25289 * gdb.base/smoke.exp: Disambiguate two test case names (both
25290 called ``print'').
25291
25292Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25293
25294 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 25295 compilation.
c906108c
SS
25296
252971999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25298
25299 * gdb.base/miscexprs.exp: Change patterns to match GDB's
25300 actual output formatting.
25301 * gdb.base/smoke.exp: GDB removes leading 0's.
25302 * gdb.base/volatile.exp: Don't check type of remuneration;
25303 that variable is no longer defined in constvars.c.
25304 * gdb.base/step-test.c (main): Exit with explicit exit code.
25305 * gdb.base/step-test.exp: Remove two nexti checks--they are
25306 not portable.
25307
253081999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25309
25310 * gdb.base/help.exp ("help delete display"): Fix test to match
25311 gdb's output.
25312
25313 * gdb.base/long_long.c (known_types): Initialize values to zero.
25314 * gdb.base/long_long.exp: Step one more line
25315 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
25316 leading zeros. Explicitly ask for hex formatting. Use
25317 unique test case names.
c906108c
SS
25318
25319Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25320
d63a86f8 25321 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
25322
25323 * gdb.c++/method.exp: Add missing close brace.
25324
253251999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
25326
25327 * gdb.base/maint.exp: Use 'set height 0' to disable page
25328 prompting, not 'set height 400'.
25329
25330 Fix a bunch of timeouts.
25331 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
25332 four separate tests, so expect doesn't take forever to match a ton
25333 of text against a regexp with lots of .* forms.
25334 ("maint print psymbols", "maint print symbols"): Make some of
25335 these greps more selective, so that expect doesn't try to wade
25336 through huge piles of output and time out.
25337
25338 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
25339
25340 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
25341 tests: one which doesn't expect shlib events to be reported, and
25342 another which does, but is XFAIL for all platforms other than
25343 HP/UX.
c906108c
SS
25344
25345 * gdb.base/break.exp: Teach the test suite that the `catch
25346 fork', `catch vfork', and `catch exec' commands produce error
25347 messages on platforms that don't provide these features.
25348
25349Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25350
25351 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
25352 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
25353 (shortening names from solib_threshold.exp etc), won't run on
25354 anything but HP-UX for the foreseeable future.
c906108c 25355 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 25356 reflect move.
c906108c
SS
25357
25358Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
25359
25360 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 25361 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
25362
25363Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
25364
25365 * gdb.base/shlib-call.exp: add test cases to verify that gdb
25366 successfully re-sets breakpoints in shared libraries.
25367 * gdb.base/shmain.c (main): return 0, don't fall off the end.
25368
25369Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25370
d63a86f8
RM
25371 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
25372 and compiled w/o GCC.
c906108c
SS
25373
25374 * gdb.hp/watch-cmd.exp: ditto.
25375
25376 * gdb.hp/watch-hp.exp: ditto.
25377
25378 * gdb.hp/xdb1.exp: ditto.
25379
25380 * gdb.hp/xdb2.exp: ditto.
25381
25382 * gdb.hp/dbx.exp: ditto.
25383
25384Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
25385
25386 * constvars.c: Remove C++-isms.
25387 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 25388 with GCC.
c906108c
SS
25389
25390Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
25391
25392 The following changes are part of the HP merge.
25393
25394 * gdb.base/break.exp: new tests to verify that catchpoints for
25395 fork, vfork, and exec don't trigger inappropriately.
25396
25397 * gdb.base/opaque.exp: compile one file at a time, then link.
25398
25399 * gdb.base/signals.exp: be more restrictive about which hppa
25400 systems receive a setup_xfail. new tests.
25401
25402 * gdb.base/solib_threshold.build: new file.
25403 * gdb.base/solib_threshold.exp: new file.
25404 * gdb.base/solib_threshold.link_opts: new file.
25405 * gdb.base/solib_threshold.mk: new file.
25406 * gdb.base/gen_solib_threshold.c: new file.
25407
25408 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
25409 tests. New tests for enums inside classes.
25410
25411 * gdb.c++/compiler.cc: indicate support of template debugging.
25412
25413 * gdb.c++/demangle.exp: run hp style demangling tests.
25414
25415 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
25416 tests.
25417
25418 * gdb.c++/misc.cc: changes to support new tests.
25419
25420 * gdb.c++/templates.cc: changes to support HP's compiler; changes
25421 to support new tests.
25422
25423 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
25424 gcc, then skip these tests.
25425
25426Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
25427
25428 The following files are part of the HP merge; some had longer
25429 names at HP, but have been renamed to be no more than 14
25430 characters in length.
25431
25432 * gdb.hp/ambiguous.cc: new file.
25433 * gdb.hp/ambiguous.exp: new file.
25434 * gdb.hp/attach.exp: new file.
25435 * gdb.hp/attach2.exp: new file.
25436 * gdb.hp/classes-hp.exp: new file.
25437 * gdb.hp/ctti.exp: new file.
25438 * gdb.hp/ctti-add.cc: new file.
25439 * gdb.hp/ctti-add1.cc: new file.
25440 * gdb.hp/ctti-add2.cc: new file.
25441 * gdb.hp/ctti-add3.cc: new file.
25442 * gdb.hp/dbx.exp: new file.
25443 * gdb.hp/exception.cc: new file.
25444 * gdb.hp/exception.exp: new file.
25445 * gdb.hp/foll-exec.c: new file.
25446 * gdb.hp/foll-exec.exp: new file.
25447 * gdb.hp/foll-fork.c: new file.
25448 * gdb.hp/foll-fork.exp: new file.
25449 * gdb.hp/foll-vfork.c: new file.
25450 * gdb.hp/foll-vfork.exp: new file.
25451 * gdb.hp/inherit-hp.exp: new file.
25452 * gdb.hp/more-steps.exp: new file.
25453 * gdb.hp/namespace.cc: new file.
25454 * gdb.hp/namespace.exp: new file.
25455 * gdb.hp/optimize.exp: new file.
25456 * gdb.hp/pxdb.c: new file.
25457 * gdb.hp/pxdb.exp: new file.
25458 * gdb.hp/quicksort.exp: new file.
25459 * gdb.hp/reg-test.exp: new file.
25460 * gdb.hp/reg-test.s: new file.
25461 * gdb.hp/sized-enum.c: new file.
25462 * gdb.hp/sized-enum.exp: new file.
25463 * gdb.hp/start-stop.exp: new file.
25464 * gdb.hp/templ-hp.cc: new file.
25465 * gdb.hp/templ-hp.exp: new file.
25466 * gdb.hp/thr-lib.c: new file.
25467 * gdb.hp/thr-lib.exp: new file.
25468 * gdb.hp/thr-lib.h: new file.
25469 * gdb.hp/thr-liblib.c: new file.
25470 * gdb.hp/virtfun-hp.c: new file.
25471 * gdb.hp/virtfun-hp.exp: new file.
25472 * gdb.hp/watch-cmd.exp: new file.
25473 * gdb.hp/watch-hp.exp: new file.
25474 * gdb.hp/xdb1.exp: new file.
25475 * gdb.hp/xdb2.exp: new file.
25476 * gdb.hp/xdb3.exp: new file.
25477
25478Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
25479
25480 The following files are part of the HP merge; some had longer
25481 names at HP, but have been renamed to be no more than 14
25482 characters in length.
25483
25484 * gdb.base/ss.h: new file.
25485 * gdb.base/call-ar-st.c: new file.
25486 * gdb.base/call-ar-st.exp: new file.
25487 * gdb.base/call-rt-st.c: new file.
25488 * gdb.base/call-rt-st-exp: new file.
25489 * gdb.base/call-strs.exp: new file.
25490 * gdb.base/ena-dis-br.exp: new file.
25491 * gdb.base/environ.exp: new file.
25492 * gdb.base/long_long.exp: new file.
25493 * gdb.base/sect-cmd.exp: new file.
25494 * gdb.base/shlib-cl2.exp: new file.
25495 * gdb.base/smoke.exp: new file.
25496 * gdb.base/so-impl-ld.c: new file.
25497 * gdb.base/so-impl-ld.exp: new file.
25498 * gdb.base/so-indr-cl.c: new file.
25499 * gdb.base/so-indr-cl.exp: new file.
25500 * gdb.base/varargs.exp: new file.
25501 * gdb.base/volatile.exp: new file.
25502 * gdb.base/whatis-exp.exp: new file.
7a292a7a 25503 * gdb.base/display.exp: new file.
c906108c
SS
25504 * gdb.c++/derivation.exp: new file.
25505 * gdb.c++/local.exp: new file.
25506 * gdb.c++/member-ptr.exp: new file.
25507 * gdb.c++/overload.exp: new file.
25508 * gdb.c++/ovldbreak.exp: new file.
25509 * gdb.c++/ref-types.exp: new file.
25510 * gdb.c++/ref-types2.exp: new file.
25511 * gdb.c++/userdef.exp: new file.
d63a86f8 25512
c906108c
SS
25513Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
25514
25515 * gdb.base/default.exp: Reflect wording change in remote.c.
25516
dc96c6c7 25517Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25518
25519 * gdb.base/help.exp: Update to reflect current text.
25520
25521Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
25522
25523 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
25524 they're stack variables and contain garbage.
25525 * gdb.c++/anon-union.exp: new file.
25526
25527 The following changes were made by David Taylor
889bf7c5
PA
25528 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25529 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25530 in changes by HP.
c906108c
SS
25531
25532 * gdb.base/bitops.exp: new file.
25533 * gdb.base/default.exp: change expected messages for catch and
25534 info catch tests to reflect HP merge changes.
25535 * gdb.base/enable-disable-break.exp
25536 * gdb.base/ending-run.c: new file.
25537 * gdb.base/long_long.c: new file.
25538 * gdb.base/maint.exp: new file.
25539 * gdb.base/pointers2.exp: new file.
25540 * gdb.base/shlib-call2.exp: new file.
25541 * gdb.base/solib.exp: new file.
25542 * gdb.base/step-test.c: new file.
25543 * gdb.c++/anon-union.cc: new file.
25544 * gdb.c++/local.cc: new file.
25545 * gdb.c++/member-pointer.cc: new file.
25546 * gdb.c++/method.cc: new file.
25547 * gdb.c++/ref-types.cc: new file.
25548 * gdb.c++/ref-types2.cc: new file.
25549 * gdb.c++/userdef.cc: new file.
d63a86f8 25550
c906108c
SS
25551 * gdb.base/scope.exp: compile one file at a time, then link.
25552 * gdb.base/langs.exp: ditto.
25553 * gdb.base/list.exp: ditto.
d63a86f8 25554
c906108c
SS
25555Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
25556
25557 The following changes were made by David Taylor
889bf7c5
PA
25558 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25559 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25560 in changes by HP.
d63a86f8 25561
c906108c
SS
25562 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
25563 skip tests. When compiling pass c++ flag to gdb_compile.
25564 * gdb.c++/
d63a86f8 25565
c906108c
SS
25566 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
25567 test for on hppa*-*-hpux*; use args to see if c++ was specified.
25568 (skip_hp_tests): new function.
25569 (gdb_preprocess): new function.
25570
25571 * configure.in (hpdir): decide whether to configure gdb.hp.
25572 * configure: regenerated.
25573
25574 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
25575 to delete on clean.
25576 (EXECUTABLES): update to reflect new additions.
25577 * gdb.base/commands.exp: update message expected.
25578 * gdb.base/default.exp: add copyright notice.
25579 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
25580 * gdb.base/help.exp: update messages to reflect current text.
25581 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
25582 targets for recurse tests.
25583 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
25584 skip this file.
25585
25586 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
25587 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
25588 compilation.
25589 * gdb.c++/misc.exp: ditto.
25590 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
25591 run the tests. tell gdb_compile that it's a c++ compilation.
25592
25593 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 25594
c906108c
SS
25595 * gdb.base/all-bin.exp: new file.
25596 * gdb.base/arithmet.exp: new file.
25597 * gdb.base/assign.exp: new file.
25598 * gdb.base/completion.exp: new file.
25599 * gdb.base/cond-expr.exp: new file.
25600 * gdb.base/condbreak.exp: new file.
25601 * gdb.base/define.exp: new file.
25602 * gdb.base/dollar.exp: new file.
25603 * gdb.base/environment.exp: new file.
25604 * gdb.base/eval-skip.exp: new file.
25605 * gdb.base/jump.exp: new file.
25606 * gdb.base/logical.exp: new file.
25607 * gdb.base/pointers.exp: new file.
25608 * gdb.base/relational.exp: new file.
25609 * gdb.base/section_command.exp: new file.
25610 * gdb.base/whatis-expr.exp: new file.
25611
25612 * gdb.base/all-types.c: new file.
25613 * gdb.base/call-array-struct.c: new file.
25614 * gdb.base/call-return-struct.c: new file.
25615 * gdb.base/call-strings.c: new file.
25616 * gdb.base/callfuncs2.c: new file.
25617 * gdb.base/condbreak.c: new file.
25618 * gdb.base/constvars.c: new file.
25619 * gdb.base/display.c: new file.
25620 * gdb.base/int-type.c: new file.
25621 * gdb.base/jump.c: new file.
25622 * gdb.base/miscexprs.c: new file.
25623 * gdb.base/pointers.c: new file.
25624 * gdb.base/pointers2.c: new file.
25625 * gdb.base/shmain.c: new file.
25626 * gdb.base/shr1.c: new file.
25627 * gdb.base/shr2.c: new file.
25628 * gdb.base/solib.c: new file.
25629 * gdb.base/solib1.c: new file.
25630 * gdb.base/solib2.c: new file.
25631 * gdb.base/varargs.c: new file.
25632 * gdb.c++/derivation.cc: new file.
25633 * gdb.c++/overload.cc: new file.
25634 * gdb.c++/ovldbreak.cc: new file.
25635 * gdb.hp/attach.c: new file.
25636 * gdb.hp/attach2.c: new file.
25637 * gdb.hp/average.c: new file.
25638 * gdb.hp/compiler.c: new file.
25639 * gdb.hp/compiler.cc: new file.
25640 * gdb.hp/execd-program.c: new file.
25641 * gdb.hp/follow-exec.c: new file.
25642 * gdb.hp/follow-fork.c: new file.
25643 * gdb.hp/follow-vfork-and-exec.c: new file.
25644 * gdb.hp/misc-hp.cc: new file.
25645 * gdb.hp/more-steps.c: new file.
25646 * gdb.hp/optimize.c: new file.
25647 * gdb.hp/quicksort.c: new file.
25648 * gdb.hp/run-hp.c: new file.
25649 * gdb.hp/start-stop.c: new file.
25650 * gdb.hp/sum.c: new file.
25651 * gdb.hp/templates-hp.cc: new file.
25652 * gdb.hp/thread-local-in-lib.c: new file.
25653 * gdb.hp/thread-local-in-lib.h: new file.
25654 * gdb.hp/thread-local-in-lib.lib.c: new file.
25655 * gdb.hp/vforked-program.c: new file.
25656 * gdb.hp/virtfunc-hp.cc: new file.
25657 * gdb.hp/watchpoint-hp.c: new file.
25658 * gdb.hp/xdb.c: new file.
25659 * gdb.hp/xdb0.c: new file.
25660 * gdb.hp/xdb0.h: new file.
25661 * gdb.hp/xdb1.c: new file.
25662
25663Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
25664
25665 The following change was made by Edith Epstein
889bf7c5
PA
25666 <eepstein@cygnus.com> as part of a project to merge in changes
25667 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
25668
25669 * gdb.c++/demangle.exp: changed the expected output for some
25670 ARM-style mangling -- removed second reference to datatype.
889bf7c5 25671 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 25672 T1<char>::~T1<char>(void)
c906108c 25673 becomes,
a9c64011
AS
25674 maint demangle __dt__11T1__pt__2_cFv
25675 T1<char>::~T1(void)
c906108c 25676
889bf7c5 25677 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 25678
c906108c
SS
25679Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
25680
25681 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
25682 * gdb.trace/backtrace.exp: Likewise.
25683 * gdb.trace/circ.exp: Likewise.
25684 * gdb.trace/collection.exp: Likewise.
25685 * gdb.trace/deltrace.exp: Likewise.
25686 * gdb.trace/infotrace.exp: Likewise.
25687 * gdb.trace/limits.exp: Likewise.
25688 * gdb.trace/packetlen.exp: Likewise.
25689 * gdb.trace/passc-dyn.exp: Likewise.
25690 * gdb.trace/passcount.exp: Likewise.
25691 * gdb.trace/report.exp: Likewise.
25692 * gdb.trace/save-trace.exp: Likewise.
25693 * gdb.trace/tfind.exp: Likewise.
25694 * gdb.trace/tracecmd.exp: Likewise.
25695 * gdb.trace/while-dyn.exp: Likewise.
25696 * gdb.trace/while-stepping.exp: Likewise.
25697
256981998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
25699
25700 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
25701
25702Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
25703
25704 From Brendan Kehoe:
25705 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
25706 int return types.
25707
25708Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
25709
25710 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 25711 remote dos host testing right.
c906108c
SS
25712
25713Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
25714
25715 * gdb.base/corefile.exp: remove some xfails.
25716
25717Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
25718
25719 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 25720 have different timestamps.
c906108c
SS
25721
25722Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
25723
25724 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 25725 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
25726
25727Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
25728
25729 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 25730 delta.
c906108c
SS
25731
25732Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
25733
25734 * gdb.base/default.exp: Add brace missing from previous delta.
25735
25736Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
25737
25738 * gdb.base/default.exp: Support test for info float for all
25739 varieties of arm toolchain.
25740
dc96c6c7 25741Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25742
25743 * gdb.trace/*.exp: remove "remote_download" command.
25744
dc96c6c7 25745Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25746
25747 * gdb.trace/*.exp: remove -gdwarf from compile.
25748
25749Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
25750
25751 * gdb.trace/configure.in(AC_INIT): typo
25752 * gdb.trace/configure: regenerated
25753
dc96c6c7 25754Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25755
25756 * config/m68k-emc.exp: New file.
25757 * lib/<emc-support.exp trace-support.exp}: New files.
25758 * configure.in: add new test directory gdb.trace.
25759 * gdb.trace/{configure configure.in Makefile.in}: New files.
25760 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
25761 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
25762 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
25763 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
25764 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
25765 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
25766 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 25767
dc96c6c7 25768Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25769
25770 * gdb.c++/classes.exp: Change all regular expressions to match
25771 arbitrary combinations of newline/carriage-return, so that they
25772 will work equally well on Unix and Windows.
25773 * gdb.c++/inherit.exp: ditto.
25774 * gdb.c++/virtfunc.exp: ditto.
25775
257761998-08-11 Dawn Perchik <dawn@cygnus.com>
25777
25778 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
25779
c2d11a7d
JM
25780Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
25781
25782 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
25783 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
25784 to use a0-a3/d0-d3 as needed.
25785
25786Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
25787
25788 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
25789 * gdb.disasm/am33.exp: Corresponding changes.
25790
c906108c
SS
257911998-07-11 Felix Lee <flee@cygnus.com>
25792
25793 * gdb.base/callfuncs.exp: add cmp10 test.
25794 * gdb.base/callfuncs.c (cmp10): new function.
25795
25796Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
25797
d63a86f8 25798 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
25799 into two parts to get around a synchronization problem in expect.
25800
3fc11d3e
JM
25801Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
25802
25803 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
25804
25805 * configure.in: Add options for gdbtk testsuite.
25806
25807 * configure: Regenerate.
25808
25809 * gdb.gdbtk: New directory to hold gdbtk tests.
25810
c906108c
SS
25811Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25812
25813 * gdb.fortran/types.exp: Escape brackets in expect patterns
25814 for test_float_literal_types_accepted tests.
25815 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
25816 before run test.
25817
c2d11a7d
JM
25818Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
25819
25820 * am33.exp: Just compile, do not link the testcase.
25821 * am33.s: Add ".am33" pseudoop to force am33 mode.
25822
c906108c
SS
258231998-06-25 Felix Lee <flee@cygnus.com>
25824
25825 * gdb.base/setshow.exp: make sure $pc is sane.
25826
25827 * gdb.stabs/weird.exp: split expect patterns properly.
25828
c2d11a7d
JM
25829Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
25830
25831 * gdb.disasm/am33.s: New disassembler testfile for the am33.
25832 * gdb.disasm/am33.exp: Run it.
25833
dc96c6c7 25834Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25835
25836 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
25837 match processing (and eliminate spurious timeouts when running).
25838
dc96c6c7 25839Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25840
25841 * gdb.base/signals.exp (test_handle_all_print): put back Mach
25842 exception test, but conditionalize it on target [mach | gnu].
25843
dc96c6c7 25844Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25845
25846 * gdb.base/overlays.exp: fixup compile line for linker script.
25847
25848Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
25849
25850 * gdb.fortran/types.exp: don't guess at float size.
25851
25852Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
25853
25854 * gdb.base/exprs.exp: delete test that depends on int size.
25855
25856Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
25857
25858 * config/sim.exp: Removed checks for target triplets.
25859 (gdb_target_sim): Use gdb,target_sim_options.
25860
25861Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
25862
25863 * gdb.base/reread.exp: New file.
25864 * gdb.base/reread1.c: New file.
25865 * gdb.base/reread2.c: New file.
25866
25867Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
25868
25869 * config/sim.exp: Use 'target sim -sparclite' when running
25870 SPARClite programs.
25871
25872Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
25873
25874 * gdb.base/structs2.exp: New file.
25875 * gdb.base/structs2.c: New file.
25876
25877Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
25878
25879 * gdb.asm/common.inc: New file.
25880 * gdb.asm/d10v.inc: New file.
25881 * asm-source.exp: Pass -I's to gas to find .inc files.
25882 Update line numbers in expected output.
25883 * asmsrc1.s: Rewrite.
25884 * asmsrc2.s: Rewrite.
25885 * configure.in: Create arch.inc symlink.
25886 * configure: Regenerate.
25887 * Makefile.in (distclean): Delete arch.inc.
25888
25889Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
25890
25891 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
25892 (t_enum_value2): ditto
25893 (t_enum_value3): ditto
25894 (main): ditto
c906108c
SS
25895Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25896
25897 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
25898 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
25899 change.
25900 Use gdb_test instead of send_gdb/gdb_expect sequences.
25901
25902Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
25903
25904 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
25905 not void.
25906
25907Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
25908
25909 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
25910 subroutines. Used to test gdbs ability to single step through PC
25911 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
25912
25913Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
25914
25915 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
25916 more rigorous EGCS C++ error checking.
25917
25918Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25919
a9c64011
AS
25920 * gdb.base/help.exp: Clean up `help set args' and `help show args'
25921 tests.
25922 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
25923 function when asleep.
25924 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
25925 for i*86 Linux and SVR4 signal handling problems.
25926 Remove linux xfail for `next to handler in signals_tests_1', fixed
25927 by recent infrun.c change.
25928 Limit backtrace to 10 frames to avoid timeout problems with infinite
25929 stack backtraces.
25930 Adjust expect pattern in `handle all print' test to match Apr 28 1997
25931 target.[ch] change.
c906108c
SS
25932
25933Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
25934
25935 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
25936 for a newline from gdb before continuing.
25937 (default_gdb_exit): Just look for y or n.
25938 (gdb_test): Detect abnormal exit from GDB running on DOS; if
25939 it does, fail the rests of the tests in the file.
25940
25941Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
25942
25943 * config/cygmon.exp: New file.
25944
25945Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
25946
25947 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 25948 main" test on remote targets.
c906108c
SS
25949
25950 * gdb.base/scope.exp: Fix problem with filelocal_bss before
25951 run test on remote targets.
25952
25953Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
25954
25955 * gdb.asm: New directory.
25956 * configure.in: Configure it.
25957 * configure: Regenerate.
25958 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
25959 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
25960
25961Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
25962
25963 * config/mn10300-eval.exp: New file to support MN10300 eval board.
25964
dc96c6c7 25965Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 25966
a9c64011
AS
25967 * gdb.base/overlays (several files): Merge the two overlay
25968 managers into one. Change variables (foox, barx, bazx, grbxx)
25969 back into ints but force them to load in their proper sections.
c906108c
SS
25970
25971Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
25972
25973 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 25974 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
25975 (D10VCopy): Handle memory regions crossing 16k boundaries.
25976 (D10VCopy): Transfer data in 32 bit chunks.
25977
25978Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
25979
25980 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 25981 correct.
c906108c
SS
25982
25983 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 25984 map. Include space for printf in .text segment.
c906108c
SS
25985
25986 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 25987 updated d10v memory VMA/LMA map.
c906108c 25988 (D10VCopy): Call D10VTranslate.
d63a86f8 25989
c906108c
SS
25990Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
25991
25992 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
25993
25994 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
25995 that it won't be put into the .sdata - small data -
25996 section. Update reference.
c906108c
SS
25997 * gdb.base/baz.c (bazx, baz): Ditto.
25998 * gdb.base/foo.c (foox, foo): Ditto.
25999 * gdb.base/grbx.c (grbxx, grbx): Ditto.
26000
26001 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 26002 to be arrays.
d63a86f8 26003
dc96c6c7 26004Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 26005
a9c64011
AS
26006 * gdb.base/overlays.exp: fix up and get working again.
26007 Add tests for backtraces from an overlay function.
d63a86f8 26008
c906108c
SS
26009Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
26010
26011 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
26012 "calling function with watchpoint enabled".
26013
26014Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
26015
26016 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 26017 gdb_suppress_tests for d10v-*-*.
c906108c
SS
26018 * lib/gdb.exp (gdb_suppress_tests): Disable this function
26019 pending review of whether it is useful or not.
26020
26021Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
26022
26023 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
26024
26025Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
26026
26027 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
26028 * config/dve.exp: New file to support Densan boards.
26029
26030Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
26031
26032 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 26033 reads and BSD.
c906108c
SS
26034
26035Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
26036
26037 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
26038 response.
26039
26040 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
26041
26042Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
26043
26044 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 26045 test.
c906108c
SS
26046
26047 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 26048 target_sizeof_long and target_bigendian_p.
c906108c 26049 (structs_by_value, structs_by_reference): Check values according
889bf7c5 26050 to targets word size and endianess.
d63a86f8 26051
c906108c
SS
26052Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
26053
26054 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 26055 output.
c906108c
SS
26056
26057Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
26058
26059 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 26060 Update test of set args help to match source change.
c906108c
SS
26061
26062Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
26063
26064 * gdb.base/default.exp: Expect help system output to be in
26065 alphabetical order.
26066 * gdb.base/help.exp: Ditto.
26067
26068Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
26069
26070 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
26071 "i*86-pc-linux-gnu*".
26072 * gdb.base/interrupt.exp: Ditto.
26073 * gdb.base/corefile.exp: Ditto.
26074
26075 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 26076 define vxworks when building the testcase.
c906108c
SS
26077
26078 * gdb.base/ptype.exp: Fix testnames to be unique.
26079 * gdb.base/radix.exp: Ditto.
26080 * gdb.base/term.exp: Ditto.
26081 * gdb.base/whatis.exp: Ditto.
26082 * gdb.c++/classes.exp: Ditto.
26083
26084Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
26085
26086 * gdb.base/callfuncs.exp: Fix indentation.
26087
26088 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
26089 suppress_flag has been set.
26090 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
26091 target feature.
26092
26093Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
26094
26095 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
26096 the testcase.
26097
26098 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 26099 set_debug_traps() and breakpoint().
c906108c
SS
26100 * gdb.c++/misc.cc (main): Ditto.
26101 * gdb.c++/templates.cc (main): Ditto.
26102 * gdb.c++/virtfunc.cc (main): Ditto.
26103
26104Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
26105
26106 * lib/gdb.exp(gdb_step_for_stub): New function.
26107 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
26108 exists, reload the executable and do a "continue" instead of
26109 doing a jump.
26110 (runto_main): Use gdb_step_for_stub.
d63a86f8 26111
c906108c 26112 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 26113 tests to have unique names.
c906108c
SS
26114 * gdb.base/callfuncs.exp: Ditto.
26115 * gdb.base/commands.exp: Ditto.
26116 * gdb.base/default.exp: Ditto.
26117 * gdb.base/help.exp: Ditto.
26118 * gdb.base/list.exp: Ditto.
26119 * gdb.base/opaque.exp: Ditto.
26120 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
26121 similar tests.
d63a86f8 26122
c906108c
SS
26123 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
26124 * gdb.c++/cplusfuncs.cc: Ditto.
26125 * gdb.c++/virtfunc.cc: Ditto.
26126
26127 * config/monitor.exp: Keep track of the last file we saw, rather
26128 than trying to get the info from gdb.
26129
26130 * gdb.fortran/types.exp: Move comment to previous line.
26131
26132Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
26133
26134 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 26135 target mode.
c906108c
SS
26136
26137Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
26138
26139 From Bob Manson:
26140 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 26141 string from GDB when it connects.
c906108c
SS
26142
26143 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
26144
26145Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
26146
26147 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
26148 if we can't get a debug format from GDB (we may be testing an
26149 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
26150
26151 * gdb.stabs/weird.exp: Fix quoting.
26152
26153 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
26154
26155Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
26156
26157 * config/arm-ice.exp: New file.
26158
26159Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
26160
26161 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 26162 until it has been modified to work with the new testsuite.
c906108c 26163
99707966 26164 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
26165 testcase won't compile, cause all of the testcases in the file to
26166 fail instead.
c906108c
SS
26167
26168 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
26169 (gdb_clear_suppressed): New procedure.
26170 (gdb_stop_suppressing_tests): Only clear suppress_flag if
26171 it contains a positive value.
26172
26173Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
26174
26175 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
26176
26177 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
26178
26179Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
26180
26181 * lib/gdb.exp (setup_xfail_format): New function.
26182 (get_debug_format): New function to get debug format.
26183 (debug_format): New global variable to hold last value set
26184 by get_debug_format.
26185 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 26186 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
26187 * gdb.c++/ptype.exp: Ditto.
26188 * gdb.c++/classes.exp: Ditto.
26189 * gdb.c++/cplusfuncs.exp: Ditto.
26190 * gdb.c++/inherit.exp: Ditto.
26191 * gdb.c++/templates.exp: Ditto.
26192 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 26193
c906108c
SS
26194Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
26195
26196 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
26197 host doesn't have a currently-open connection.
26198
26199 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
26200 any gdb stub target. Handle cases where gdb doesn't respond when
26201 interrupted in a sane fashion.
c906108c
SS
26202
26203 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 26204 same thing in a totally different way.
c906108c
SS
26205
26206 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 26207 setting "timeout".
c906108c 26208 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 26209 default_gdb_init now.
c906108c
SS
26210
26211Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
26212
26213 * gdb.base/printcmds.exp: Fix "check for floating addition"
26214 regexp to accept results within approx +/- .01 of exact value.
26215 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
26216
26217Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
26218
26219 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 26220 properly.
c906108c
SS
26221 (gdb_expect): Add optional timeout parameter, and add timeout
26222 value to various calls.
26223 (gdb_suppress_tests): Only give one warning message per group.
26224
26225Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
26226
26227 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
26228 global variables. Handle getting a value for $timeout more
26229 gracefully.
c906108c
SS
26230
26231Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26232
26233 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 26234 initialize.
c906108c 26235 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 26236 by a target configuration file.
c906108c
SS
26237 (gdb_expect): Pass the timeout to remote_expect.
26238
26239 * config/monitor.exp(gdb_load): Fix typo in regexp.
26240
26241Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
26242
26243 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
26244
26245Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
26246
26247 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
26248 here. Call gdb_target_exec before rebooting the target, to make
26249 sure the connection to the target is closed.
c906108c
SS
26250 (gdb_load): Pass the name of the executable to gdb_target_monitor.
26251 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
26252 Also detect "Timeout reading from remote" error.
26253
26254 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
26255 gdb_target_monitor. Don't call gdb_file_cmd here; let
26256 gdb_target_monitor do it.
c906108c
SS
26257
26258 * gdb.disasm/hppa.exp: Don't use exec_output.
26259
26260Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
26261
26262 * gdb.base/list.exp: If we're debugging a non-native target,
26263 try to set the pc register to point to the start of the
26264 program before doing the first list command.
26265
26266 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 26267 test_calls after restarting.
c906108c
SS
26268
26269 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 26270 reloading.
c906108c
SS
26271
26272 * gdb.base/watchpoint.exp: Fix typo.
26273
26274 * gdb.base/setshow.exp: Check for use_gdb_stub.
26275
26276 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 26277 stub case.
c906108c
SS
26278 * gdb.base/langs.exp: Ditto.
26279
26280 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
26281 gdb_load_offset. If we weren't given a file to load, figure out
26282 what the current file is and use it.
c906108c
SS
26283
26284 * config/i386-bozo.exp: New file.
26285
26286Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
26287
26288 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
26289 feature.
26290
26291 * config/proelf.exp: New entry.
26292
26293Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
26294
26295 * lib/gdb.exp: Remove spurious .* patterns at the beginning
26296 of regexps.
26297
26298 * gdb.base/watchpoint.exp: Don't run the test_stepping
26299 tests if gdb can't call functions on the target.
26300
26301 * gdb.base/setshow.exp: Don't run the set prompt tests if
26302 the board has gdb_prompt set.
26303
26304Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
26305
26306 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
26307 * gdb.base/commands.exp: Likewise.
26308 * gdb.base/setshow.exp: Likewise.
26309
26310Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
26311
26312 * config/monitor.exp(gdb_start): Look for gdb_prompt target
26313 feature.
26314
26315 * config/i960.exp: New file.
26316
26317Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
26318
26319 * gdb.base/funcargs.exp: Check for gdb,short_int target
26320 feature instead of looking for explicit target triplets.
26321
dc96c6c7 26322Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 26323
d63a86f8 26324 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
26325 "p 123DEADBEEF", to check parse_number.
26326 * top.c: change "to enable to enable" to "to enable" in a couple
26327 of help strings.
26328
26329Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
26330
26331 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
26332 on the mn10300.
d63a86f8 26333
c906108c
SS
26334Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
26335
26336 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
26337 where the test executable is run with explicit args.
26338 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
26339
26340Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
26341
26342 * gdb.base/run.c: Use FAKEARGV to build test executable that
26343 does not require a command line arg, since most simulators
26344 don't currently support passing such an arg into the simulated
26345 program.
26346 * gdb.base/commands.exp: Change tests to insert the proper
26347 value as the arg to the first recursive factorial call. Change
26348 compilation line to define FAKEARGV at compile time.
26349
26350Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
26351
26352 * gdb.base/recurse.exp: Enable these tests for the mn10300.
26353 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
26354 function with watchpoint enabled" test.
26355
26356Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
26357
26358 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 26359 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
26360
26361 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 26362 "Tests restarted" messages.
c906108c
SS
26363
26364Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
26365
26366 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
26367
dc96c6c7 26368Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26369
26370 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
26371 for INFO SYMBOL; add help tests for OVERLAY commands.
26372 * gdb.base/default.exp: add tests for INFO SYMBOL command;
26373 add tests for OVERLAY commands
26374 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
26375 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
26376 * gdb.base/sigall.c: add usestubs code frag
26377 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 26378
c906108c
SS
26379Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
26380
26381 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
26382 failures.
26383 (gdb_stop_suppressing_tests): Note that tests have restarted.
26384
26385Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
26386
26387 * config/h8300.exp: New file.
26388
26389Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
26390
26391 * gdb.base/setshow.exp: Check for the existence of a
26392 feature, not its value.
26393
26394Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
26395
26396 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
26397
26398 * gdb.base/scope.exp: It's now init0(), not init().
26399
26400 * gdb.base/scope0.c: For now, change init() to be init0().
26401
26402 * config/monitor.exp: Use gdb_serial in preference to serial
26403 or netport.
26404
26405 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 26406 and it's not already set.
c906108c
SS
26407
26408Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
26409
26410 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 26411 isn't using a stub and if it supports argument passing.
c906108c
SS
26412
26413Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
26414
26415 * config/udi.exp(gdb_start): Make sure UDICONF is set
26416 properly before starting gdb.
26417
26418Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
26419
26420 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
26421 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
26422 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
26423
26424Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
26425
26426 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 26427 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
26428
26429 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
26430
26431 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
26432
26433 * config/monitor.exp: Make sure we disconnect from the target.
26434 Also, try a reboot/reload cycle instead of failing if the
26435 load fails.
26436
26437Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
26438
26439 * gdb.base/default.exp: Don't set match_max.
26440 * gdb.base/help.exp: Ditto.
26441 * gdb.base/list.exp: Ditto.
26442 * gdb.base/signals.exp: Ditto.
26443
26444 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
26445 set, use remote_ld to download the testcase instead of
26446 the GDB loader.
26447
26448Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
26449
26450 * config/vr5000.exp: New file.
26451
26452 * config/monitor.exp(gdb_target_monitor): Add pattern for
26453 "Ending remote" to detect errors in connecting.
26454
26455 * gdb.base/setshow.exp: Add .* within auto language test.
26456
26457 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
26458 target feature.
26459
26460 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 26461 and reboot the board if necessary.
c906108c
SS
26462
26463 * gdb.base/setvar.exp(test_set): Handle multiple prints within
26464 a set of tests. Remove print.* from the patterns being checked.
26465
26466Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
26467
26468 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
26469 refer to gdb_spawn_id.
26470
26471 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
26472 longer used.
26473 * config/sparclet.exp: Ditto.
26474 * config/sparclet-old.exp: Ditto.
26475 * config/slite.exp: Ditto.
26476 * config/sim.exp: Ditto.
26477 * gdb.base/funcargs.exp: Ditto.
26478
26479 * lib/gdb.exp:Remove references to gdb_spawn_id.
26480 (gdb_expect): Move to remote.exp.
26481
26482Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
26483
26484 * config/monitor.exp: Detect the "Couldn't establish connection"
26485 message from GDB.
26486
26487Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
26488
26489 * gdb.base/bitfields.exp: Use runto instead of explicit
26490 gdb_run_cmd/gdb_expect sequences.
26491
26492 * gdb.base/break.exp(text_next_with_recursion): Add match for
26493 gdb_expect call.
26494
26495 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
26496 We also need to handle the "A program is being debugged already"
26497 prompt from gdb. Use gdb_test to set the baud rate.
26498
26499 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
26500 to 20000. Really. I mean it.
26501
26502Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26503
26504 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
26505 fails. If suppress_flag is set, skip perror message about not
26506 being able to send to GDB.
c906108c 26507 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 26508 GDB.
c906108c
SS
26509 (gdb_expect): If suppress_flag is set, always fail immediately.
26510 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
26511 (gdb_init): Call gdb_stop_suppressing_tests.
26512 (default_gdb_exit): Ditto.
26513 (default_gdb_start): Ditto.
26514
26515 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 26516 gdb_stop_suppressing_tests as appropriate.
c906108c 26517 * gdb.base/break.exp: Ditto.
889bf7c5 26518 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
26519 * gdb.base/commands.exp: Ditto.
26520 * gdb.base/exprs.exp: Ditto.
889bf7c5 26521 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
26522 * gdb.base/list.exp: Ditto.
26523 * gdb.base/recurse.exp: Ditto.
889bf7c5 26524 * gdb.base/scope.exp: Ditto.
c906108c
SS
26525 * gdb.base/structs.exp: Ditto.
26526 * gdb.c++/inherit.exp: Ditto.
26527
26528Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
26529
26530 * config/vr4300.exp: New file.
26531
99707966 26532 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 26533
99707966 26534 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
26535
26536Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
26537
26538 * lib/gdb.exp(gdb_init): New function.
26539
26540 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 26541 for each individual variable set.
c906108c
SS
26542
26543 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
26544 name.
26545
26546 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
26547
26548 * gdb.base/scope.exp: Use gdb_test.
26549
26550 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
26551 aborting; the testsuite driver will do that for us (see
26552 gdb_finish). Also, use gdb_test in a few more places.
26553
26554Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
26555
26556 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
26557
26558Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
26559
26560 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
26561 and "add_tests" are not at the same address.
26562
26563Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
26564
26565 * gdb.base/ptype.exp: Use gdb_test.
26566
26567Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
26568
26569 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
26570 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
26571 left in. No longer expect them to fail.
26572
26573 * gdb.stabs/*.mt; Deleted, no longer used.
26574 * gdb.stabs/configure.in: Remove references to target makefile
26575 frags.
26576 * gdb.stabs/configure: Rebuilt.
26577
26578 * gdb.disasm/*.mt: Deleted, no longer used.
26579 * gdb.disasm/configure.in: Remove references to target makefile
26580 frags. Use "sh3.s" as the unique filename for this directory.
26581 * gdb.disasm/configure: Rebuilt.
26582
26583 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
26584 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
26585 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
26586
26587Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
26588
26589 * config/udi.exp: Use mondfe,name instead of remote_host.
26590
26591Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
26592
26593 * gdb.base/watchpoint.exp: Don't expect a failure when calling
26594 a function with a watchpoint enabled on the mn10200.
26595
26596 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
26597 before trying to create it!
26598
26599Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
26600
26601 * config/vx.exp: Use hostname instead of netport.
26602
26603 * config/vxworks.exp: New file.
26604
26605 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
26606
26607 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 26608 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
26609 occurs.
26610
26611 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
26612 $gdb_spawn_id directly.
26613 (gdb_run_cmd): Try _start as well as start. Use the target feature
26614 gdb,start_symbol as the symbol to start from when jumping.
26615
26616Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
26617
26618 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
26619 redundant) test.
26620
26621 * gdb.base/recurse.exp: Relax final value test for 'b' so that
26622 it doesn't lose for 16bit integer systems.
26623
26624Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
26625
26626 * gdb.fortran/types.exp: If the target doesn't support "double"
26627 data types, then expect "real" types to only be 4 bytes.
26628
26629 * gdb.c++/virtfunc.exp: Expect failure for virtual function
26630 call tests if the target doesn't support inferior function calls.
26631
26632 * gdb.base/printcmds.exp: Allow minor deviation in FP values
26633 in printf tests.
26634
26635Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
26636
26637 * gdb.base/help.exp: Disable "help set", "help show", and
26638 "help support". Simplify regexp for "help stack".
26639
26640 * gdb.base/default.exp: Set match_max to 5000 and the timeout
26641 to 60 seconds. Temporarily set match_max to 15000 around the
26642 "info copying" test.
26643
26644 * gdb.base/nodebug.exp: Don't try to do an inferior function
26645 call if the target doesn't support them.
26646 * gdb.base/printcmds.exp: Likewise.
26647 * gdb.base/setvar.exp: Likewise.
26648 * gdb.base/structs.exp: Likewise.
26649 * gdb.c++/templates.exp: Likewise.
26650 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
26651
26652 * gdb.base/recurse.exp: Enable for the mn10200.
26653
26654 * configure.in: Do configure gdb.stabs directory for *-*-elf
26655 targets.
26656 * configure: Rebuilt.
26657
26658 * gdb.base/break.exp: Check for gdb,noresults before testing
26659 exit status and/or results from the target.
26660 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
26661 * lib/gdb.exp: Remove old (now bogus) initialization of
26662 noinferior, noargs, noresults and nosignals.
26663
26664Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
26665
26666 * config/sh.exp: New file.
26667
26668 * config/slite.exp: Try to connect multiple times to the board
26669 before rebooting. Only send a "monitor run" if need_monitor_run
26670 is set.
26671
26672 * gdb.base/break.exp: Don't do the "stub continue" test if
26673 the target has gdb_stub set.
26674
26675 * gdb.base/callfuncs.exp: Increase the timeout.
26676
26677 * gdb.base/interrupt.exp: Don't even try to compile the testcase
26678 if the target has gdb,noinferiorio set.
26679
26680 * gdb.base/list.exp: Increase match_max to 10000 characters.
26681
26682 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
26683
26684 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
26685 target.
26686
26687 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
26688
26689Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
26690
26691 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
26692 trying to delete the copy of gdb. Catch the file delete so we
26693 don't die if the delete fails; also, the file should be copied to
26694 the host, not to the build.
c906108c
SS
26695
26696Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
26697
26698 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 26699 parenthesis in case it contains multiple regexps separated
c906108c
SS
26700 with |.
26701
26702 * gdb.base/watchpoint.exp: Use gdb_test.
26703 * gdb.base/default.exp: Ditto.
26704
26705Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
26706
99707966 26707 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 26708
c906108c
SS
26709 * gdb.base/scope.exp: Use gdb_test.
26710 * gdb.c++/classes.exp: Ditto.
26711 * gdb.c++/inherit.exp: Ditto.
26712
26713Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
26714
26715 * gdb.base/crossload.exp: Don't use execute_anywhere, use
26716 remote_exec instead.
26717 * gdb.base/corefile.exp: Don't be ridiculous.
26718 * gdb.base/*.c: Add missing stub invocations.
26719
26720Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
26721
26722 * config/slite.exp: Miscellaneous fixes.
26723
26724 * lib/gdb.exp: Fix runto.
26725
26726 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
26727 the target.
26728
26729 * gdb.base/watchpoint.exp: Fix regexp.
26730
26731 * lib/gdb.exp(default_gdb_exit): Add a catch to the
26732 close and wait commands, as the descriptor may now be
26733 invalid. Always call "remote_close host".
26734
26735Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
26736
26737 Major rewrite for testsuite revision.
d63a86f8 26738
c906108c
SS
26739 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
26740 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
26741 instead of relying on spawn_id to always contain a valid
26742 spawn id.
26743 (get_compiler_info): New procedure to build the ${binfile}.ci
26744 file, instead of replicating this in N different places.
26745 (gdb_compile): New procedure.
d63a86f8 26746
c906108c 26747 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
26748 appropriate arguments) instead of compile. Use gdb_test in a lot
26749 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
26750 at the start of a testcase, as this is no longer done magically.
26751
26752 config/*-gdb.exp: Rename without the -gdb suffix.
26753
26754 config/mips.exp: Use remote_close instead of exit_remote_shell.
26755 config/monitor.exp: Use target_info instead of looking at
26756 baud, timeout, etc.
26757 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
26758
26759Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26760
26761 * gdb.c++/templates.exp (test_ptype_of_templates),
26762 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
26763 Update expect patterns for destructors and assignment operators
26764 to match corresponding c-typeprint.c changes.
26765 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
26766 to destructor breakpoint test, GDB should be able to set the
26767 destructor breakpoint without specifying arguments.
26768
26769Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
26770
26771 * gdb.threads/pthreads.exp: Change result for failure to compile due
26772 to lack of pthreads runtime support from an error to simply an
26773 unsupported test, per dejagnu standards.
26774
26775Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26776
26777 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
26778 where GDB exits to reduce pattern match time.
26779 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
26780
26781 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
26782
dc96c6c7 26783Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26784
26785 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
26786 * gdb.base/default.exp: ditto.
26787 * gdb.base/nodebug.exp: ditto.
26788 * gdb.base/printcmds.exp: ditto.
26789 * gdb.base/ptype.exp: ditto.
26790 * gdb.base/setvar.exp: ditto.
26791 * gdb.base/structs.exp: ditto.
26792 * gdb.base/setshow.c: Guard against uninitialized values of argc.
26793
26794Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
26795
26796 * configure, */configure: Rebuild with autoconf 2.12.
26797
26798Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
26799
26800 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
26801 use new i*86-pc-linux*-gnu quads.
26802 * gdb.base/corefile.exp: Ditto.
26803 * gdb.base/signals.exp: Ditto.
26804 * gdb.base/sigall.exp: Ditto.
26805 * gdb.base/interrupt.exp: Ditto.
26806
26807 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
26808 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
26809 RedHat 4.0.
d63a86f8 26810
c906108c 26811 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
26812 linux. This allows the test case to at least compile on latest
26813 linux, but still not run due to missing the threads runtime library.
c906108c
SS
26814
26815Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26816
26817 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
26818 directory to search gdb directory. Accept and step over conditional
26819 stack alignment code. Consume $prompt in failure cases.
26820 Reset timeout to $oldtimeout instead of some arbitrary value.
26821 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
26822 timeout problems with infinite stack backtraces.
26823 * gdb.base/ptype.exp (ptype struct link, union tu_link):
26824 Accept function parameters for linkfunc member.
26825
26826Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
26827
26828 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
26829 (CXXFLAGS): Remove, unreferenced.
26830 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
26831 previous -B options and also add -B option to pick up cross compiled
26832 runtime.
c906108c
SS
26833 (TARGET_INCLUDES): Add for -I options and add code to initialize when
26834 doing cross compiles.
26835 (target_alias): Declare global.
26836 (xgcc): Set variable to full path of gcc in build tree. Use findfile
26837 to verify that gcc exists in build tree, and if so set CC to that
26838 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 26839
c906108c
SS
26840Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
26841
26842 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
26843 ptype test for anonymous union. Fixup testcase to match
26844 current gcc debug output.
26845
26846Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
26847
26848 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
26849 force argument to an unsigned long type.
26850
26851Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
26852
26853 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 26854 tests and anonymous union print/ptype tests.
c906108c
SS
26855 * gdb.base/list.exp (test_forward-search): Increase timeout by
26856 5 minutes for the "search extremely long line" case.
26857 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
26858 completely optional and that the pass/fail messages use the command as
26859 the message if that third arg is a null string.
26860 (gdb_test_exact): Arrange that a null string pattern means match a
26861 null string output rather than any output, which might include random
889bf7c5 26862 errors.
c906108c
SS
26863 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
26864 backtrace test.
26865 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
26866 always failing and failure is now exposed by gdb.exp changes.
26867
26868Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
26869
26870 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
26871 weren't being noted.
26872
26873Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26874
26875 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
26876 * gdb.stabs/weird.exp: Remove v_comb xfails.
26877
dc96c6c7 26878Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26879
26880 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 26881 list.exp scope.exp watchpoint.exp]
c906108c 26882 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 26883
dc96c6c7 26884Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26885
26886 * config/monitor.exp: Increase download timeout to 1000 seconds.
26887
dc96c6c7 26888Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26889
26890 * config/m32r.exp: Increase timeout to 120 seconds.
26891
26892Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
26893
26894 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
26895 and accept older ordering as obsolescent gcc or gdb.
26896 * gdb.c++/templates.exp: Ditto.
26897 * gdb.c++/virtfunc.exp: Ditto.
26898
26899Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
26900
26901 * gdb.base/coremaker.c: Add code to mmap some data so we
26902 can check that it ends up in the core file.
26903 * gdb.base/corefile.exp: Add test to read mmapped data
26904 from core file.
26905
dc96c6c7 26906Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26907
26908 * config/m32r.exp: New file.
26909
26910Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
26911
26912 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
26913 that cflags can contains -gstabs, and work correctly for other tests.
26914
dc96c6c7 26915Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26916
26917 * gdb.base/setshow.exp: New file, tests show and set.
26918 * gdb.base/setshow.c: New file, tests show and set.
26919 * gdb.base/help.exp: Add test for help set|show annotate.
26920 * gdb.base/default.exp: Add test for set|show annotate.
26921
26922Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
26923
26924 * testsuite/gdb.base/break.exp: Make backtrace from factorial
26925 errors unique.
26926 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
26927 explicitly.
26928
26929Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
26930
26931 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
26932 and width commands. This is done elsewhere.
26933 * (gdb_start): Don't call gdb_start_sim here. That's already
26934 done in gdb_load. This fixes lots of failures in default.exp.
26935
26936Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
26937
26938 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
26939 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
26940 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
26941 in the same we we treat other failures (since it may be an expected
889bf7c5 26942 condition), rather than as an error.
c906108c
SS
26943 * gdb.base/signals.exp (test_handle_all_print): Revert back to
26944 old test format.
26945
26946Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
26947
26948 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
26949 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 26950 twice. Nuke the duplicates.
c906108c 26951 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 26952 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
26953 Remove config.h along with other config files.
26954
26955Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
26956
26957 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
26958 "p func1 ()" and note that rests of tests are skipped.
26959 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 26960 setup_xfails for "print func2::coremaker_local".
c906108c
SS
26961 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
26962 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
26963 affected by the previous run test.
26964 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
26965 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
26966 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
26967 "pass int powerset tuple" and "pass modeless int powerset tuple".
26968 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
26969 "real write 4" and "real write 8".
26970 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 26971 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
26972 "print \$i after tuple assign 2", and
26973 "print vs2 after tuple assign 2".
26974 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
26975 meaningful error message and return -1 so the caller can
26976 suppress further tests and avoid a cascade of errors.
d63a86f8 26977
c906108c
SS
26978Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
26979
26980 * gdb.base/a1-selftest.exp: Tweak tests to account for new
26981 format for printing version.
26982 * gdb.base/default.exp: Ditto.
26983 * gdb.base/interrupt.exp: Fix problem with cascade of
26984 errors if child process dies while calling a function.
d63a86f8 26985
c906108c
SS
26986Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
26987
26988 * Makefile.in (VPATH): Add
26989 * Makefile.in (Makefile, config.status): Fix rules so things get
26990 remade when necessary.
26991
26992Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
26993
26994 * Makefile.in (just-check): Add path to sibling expect dir
26995 to environment variable specified by RPATH_ENVVAR.
26996
26997Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
26998
26999 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
27000 (just-check): Add shared library paths for libstdc++, tk,
27001 tcl, bfd, and opcodes to the environment variable specified
27002 in RPATH_ENVVAR.
27003 * configure.in: Add support to recognize --enable-shared flag
27004 and generate correct value for RPATH_ENVVAR.
27005 * configure: Regenerated with autoconf.
27006
27007Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
27008
27009 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 27010 include all osf versions.
c906108c
SS
27011 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
27012 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
27013 when target is linux. When failing to build pthreads test
27014 executable, give more meaningful message.
27015 * gdb.threads/pthreads.c: Hpux also uses old definition of second
27016 arg for pthread_create.
d63a86f8 27017
c906108c
SS
27018Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
27019
27020 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 27021 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 27022 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 27023 and -lpthreads (everybody else).
c906108c
SS
27024 (test_startup): Fail gracefully if threads are not supported.
27025 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
27026 "p/c array_index("abcdef",2)" when not gcc compiled.
27027 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
27028 "print func2::coremaker_local" when not gcc compiled.
27029 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
27030 "ptype on opaque struct tagname (statically)",
27031 "ptype on opaque struct tagname (dynamically) 1", and
27032 "ptype on opaque struct tagname (dynamically) 2"
27033 for not compiled with gcc.
27034 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
27035 backtrace when compiled with gcc.
d63a86f8 27036 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
27037 than always return success.
27038
27039Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
27040
27041 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
27042
27043Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
27044
27045 * gdb.base/structs.exp: Undo last change.
27046
27047Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
27048
27049 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
27050 encapsulate all the steps/nexts done during self test, starting
27051 at main, and makes them less sensitive to optimization issues.
27052 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
27053 signal handler" test.
27054 * gdb.threads/pthreads.exp: Only run this for native configs.
27055 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
27056 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
27057 tests.
27058 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
27059 for "runto test_calls(void)" test.
d63a86f8 27060
c906108c
SS
27061Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
27062
27063 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
27064 and don't expect address info in breakpoint confirmations.
27065
27066Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
27067
27068 * gdb.base/list.exp (test_forward_search): Increase timeout
27069 temporarily by 60 seconds for searching extremely long line,
889bf7c5 27070 and then reset to old value when done. Increase expect input
c906108c
SS
27071 buffer to 10000.
27072
27073Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
27074
27075 * gdb.base/list.exp (test_forward_search): Fix to handle very
27076 long source line without overflowing expect's input buffer.
27077
27078Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
27079
27080 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
27081 "buffer_full".
27082
27083 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
27084 "buffer_full".
27085
27086 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
27087 "buffer_full".
27088
27089 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
27090 "buffer_full".
27091
27092Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
27093
27094 * configure.in (configdirs): Add gdb.threads.
27095 * configure: Regenerated with autoconf.
27096 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
27097 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
27098 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 27099
c906108c
SS
27100Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
27101
27102 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
27103
27104Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
27105
27106 * gdb.base/signals.exp (test_handle_all_print): Test separately for
27107 each signal's status in the output of "handle all print".
27108 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
27109 the \r\n sequence that immediately precedes the gdb prompt.
27110 * gdb.base/a1-selftest.exp: Save original timeout and restore
27111 after test.
27112
27113Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
27114
27115 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
27116 symbol.
27117
27118Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
27119
27120 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
27121
27122Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
27123
27124 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
27125 timeout by 60 seconds.
27126
27127Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
27128
27129 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
27130 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
27131 error return.
27132
27133Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
27134
27135 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
27136 gdb initialization, also report how long dejagnu waited. Restore
27137 old timeout before doing error return. Temporarily increase timeout
889bf7c5 27138 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
27139
27140Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
27141
27142 * lib/gdb.exp: Report timeout value for verbosity level 2.
27143 * config/gdbserver.exp: Ditto.
27144 * config/hppro.exp: Ditto.
27145 * config/mips-gdb.exp: Ditto.
27146 * config/monitor.exp: Ditto.
27147 * config/netware.exp: Ditto.
27148 * config/sim-gdb.exp: Ditto.
27149 * config/slite-gdb.exp: Ditto.
27150 * config/udi-gdb.exp: Ditto.
27151 * config/unix-gdb.exp: Ditto.
27152 * config/vx-gdb.exp: Ditto.
27153 * gdb.base/a1-selftest.exp: Ditto.
27154 * gdb.base/a2-run.exp: Ditto.
27155 * gdb.base/break.exp: Ditto.
27156 * gdb.base/corefile.exp: Ditto.
27157 * gdb.base/list.exp: Ditto.
27158 * gdb.base/recurse.exp: Ditto.
27159 * gdb.base/scope.exp: Ditto.
27160 * gdb.base/signals.exp: Ditto.
27161
27162Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27163
27164 * gdb.threads/Makefile.in (docdir): Removed.
27165
27166Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27167
27168 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 27169 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 27170 @srcdir@.
d63a86f8 27171 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
27172 autoconf 2.5 or higher.
27173 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
27174
27175Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
27176
27177 * configure: Regenerated.
27178 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
27179 avoid name clashes with SunOS headers.
27180
27181Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
27182
27183 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
27184
27185Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
27186
27187 * gdb.base/callfuncs.exp: Finish last change -- make sure the
27188 prototype information ends up in the compiler info file.
27189
27190Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
27191
27192 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
27193 attempting to regenerate it. Eliminate use of a temporary file
27194 and just generate the info file directly. Source it immediately,
27195 for consistency of use.
27196 * gdb.base/corefile.exp: Ditto
27197 * gdb.base/exprs.exp: Ditto.
27198 * gdb.base/funcargs.exp: Ditto.
27199 * gdb.base/langs.exp: Ditto.
27200 * gdb.base/list.exp: Ditto.
27201 * gdb.base/mips_pro.exp: Ditto.
27202 * gdb.base/nodebug.exp: Ditto.
27203 * gdb.base/opaque.exp: Ditto.
27204 * gdb.base/ptype.exp: Ditto.
27205 * gdb.base/scope.exp: Ditto.
27206 * gdb.base/setvar.exp: Ditto.
27207 * gdb.base/signals.exp: Ditto.
27208 * gdb.base/whatis.exp: Ditto.
27209 * gdb.c++/templates.exp: Ditto.
27210 * gdb.c++/virtfunc.exp: Ditto.
27211 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 27212 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
27213
27214Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27215
27216 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
27217 it got fixed by the recent lookup_minimal_symbol_by_pc change.
27218 Increase timeout, a lot of single stepping might be needed if the
27219 target has no hardware watchpoints.
27220
27221Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
27222
27223 * gdb.base/break.exp: Ignore compiler warnings when compiling
27224 break.c.
27225 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
27226 * gdb.base/default.exp: Add h8300 xfails. Handle messages
27227 from remote-sim.
27228 * gdb.base/exprs.exp: Add h8300 xfails.
27229 * gdb.base/funcargs.exp: Likewise.
27230 * gdb.base/nodebug.exp: Likewise.
27231 * gdb.base/printcmds.exp: Likewise.
27232 * gdb.base/ptype.exp: Likewise.
27233 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
27234 h8300 xfails.
d63a86f8 27235 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
27236 on the h8300.
27237 * gdb.base/funcargs.c: Explicitly make last constant argument to
27238 call_after_alloca_subr an unsigned long type.
27239 * gdb.base/return.c: Include stdio.h.
27240
27241Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
27242
27243 * config/abug.exp: New file for the older Motorola Bug monitor
27244 that runs on the mvme13x series VME boards.
27245 * config/monitor.exp: Use the new config array for target settings
27246 if they exist.
27247
27248Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
27249
27250 * sim-gdb.exp: Make the SH simulator allocate less space when
27251 it is targeted.
27252
27253Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
27254
27255 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
27256 test.
27257
27258Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
27259
27260 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
27261 "rs6000-*-*" for "list function in include file" when gcc compiled.
27262 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
27263 for "p ctable1[120]".
27264 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
27265 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
27266 Remove setup_xfail for "rs6000-*-*" for
27267 "print 'scope0.c'::filelocal before run".
27268 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
27269 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
27270 since some compilers don't allow both options to be given
27271 on the same command line. Create object file and move it.
d63a86f8 27272
c906108c
SS
27273Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
27274
27275 * gdb.base/corefile.exp: Always regenerate the core file, since
27276 we always regenerate the coremaker program. Detect special case
27277 where registers cannot be read from core file.
d63a86f8 27278
c906108c
SS
27279Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
27280
27281 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
27282 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
27283 * gdb.c++/templates.exp: Only match on basename of file since
27284 some formats like xcoff don't encode directory information.
27285 * gdb.stabs/weird.exp: Use the right sed script for powerpc
27286 and rs6000 AIX xcoff targets.
27287 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
27288 * configure: Regenerate.
27289 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
27290 here, rather than in distclean.
d63a86f8 27291
c906108c
SS
27292Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
27293
27294 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
27295 defined, and use it to compile the test case with -O2. The
27296 native compilation still uses no optimization.
27297 * gdb.base/mips_pro.c: Remove inline assembly code since
27298 it is compiled PIC by default, which results in assembler
27299 warnings that make the testsuite think the compilation
27300 was unsuccessful.
27301
27302Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
27303
27304 * gdb.c++/misc.exp: Add note to message for
27305 "print s.a for foo struct" that this is a known gcc 2.7.2
27306 and earlier bug.
27307
27308Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
27309
27310 * gdb.base/break.exp: Fix pattern for matching "Delete all
27311 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
27312 setup_xfail for deleting all breakpoints test. Fix various
27313 timeout messages to include "(timeout)".
27314 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
27315 for "p t_float_values2(3.14159,float_val2)".
27316 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
27317 for "continue to call2g" when gcc compiled.
27318 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
27319 "up to foo in langs.exp", "show language at foo in langs.exp",
27320 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
27321 and "show language at fsub in langs.exp".
27322 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
27323 "list line 1 in include file", "list message for lines past EOF",
27324 "list function in include file", "list list0.h:foo", and
27325 "list filename:function; nonexistant function".
27326 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
27327 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
27328 and "ptype t_char_array" to be for native cc only.
d63a86f8 27329
c906108c
SS
27330Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
27331
d63a86f8 27332 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 27333 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 27334 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
27335
27336Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
27337
27338 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
27339 "bt in signals.exp". This problem only appears when running
27340 the testsuite, and then only intermittently.
27341
27342Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
27343
27344 * gdb.base/return.exp (return_tests): Differentiate between
27345 two tests of continuing.
27346
27347Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
27348
27349 * */Makefile.in (maintainer-clean): Remove config.log.
27350 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
27351 * gdb.c++/Makefile.in (PROGS): Add inherit.
27352 (clean): Remove *.ci.
27353
27354Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
27355
27356 * gdb.c++/misc.cc: Add test code from Mike Stump.
27357 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
27358
27359Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
27360
27361 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
27362 to "alpha-*-osf2*" and add comment.
27363 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
27364 setup_xfail for "step over execarg initialization" and
27365 "step over corearg initialization".
c906108c
SS
27366 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
27367 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
27368 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 27369 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
27370 "print func2::coremaker_local", and "backtrace in corefile.exp".
27371 * gdb.base/signals.exp: Build and source signals.ci.
27372 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
27373 to be for gcc only.
27374 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 27375
c906108c
SS
27376Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27377
27378 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
27379 Feb 3 procfs.c change.
27380
27381Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
27382
27383 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
27384
27385Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
27386
27387 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
27388 from dejagnu's apparent default of 10 seconds, which gives random
27389 results when running the tests over NFS on moderately loaded systems.
27390 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
27391
27392Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
27393
27394 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
27395 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 27396 result reports.
c906108c
SS
27397
27398Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
27399
27400 * configure.in (CY_AC_PATH_TCLH): Remove.
27401 * configure: Regenerate.
27402
27403Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
27404
27405 * gdb.c++/Makefile.in (clean): Add missing '{'.
27406
27407Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
27408
27409 * lib/gdb.exp: Provide a default value for noinferior.
27410
27411 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
27412 Load libgloss.exp.
27413
27414Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
27415
27416 * gdb.disasm/hppa.exp: Compile directly into an executable, use
27417 the executable, not the .o to run the tests from.
27418
27419Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
27420
27421 * gdb.base/break.exp: Don't test for program exit or exit status
27422 if $noresults if nonzero.
27423 * gdb.base/langs.exp: Likewise.
27424 * gdb.base/watchpoint.exp: Likewise.
27425
27426 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
27427 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
27428 trying to compile the testcase.
27429
27430Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
27431
27432 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
27433 * gdb.base/signals.exp (continue to handler): Likewise.
27434
27435Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
27436
27437 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
27438
27439 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
27440
27441Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
27442
27443 * gdb.base/corefile.exp: Recognize "not found" as failure
27444 when trying to determine if a core file was generated.
27445 If no core file was generate the first time, try again without
27446 the ulimit -c to work around braindamaged shells.
27447
27448Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
27449
27450 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
27451 [] tests with "test" and enclose string in quotes.
27452 * gdb.stabs/configure: Rebuild
d63a86f8 27453
c906108c
SS
27454Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
27455
27456 Changes in sync with expect:
27457 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
27458 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
27459 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
27460 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
27461 argument to AC_REQUIRE.
27462 * configure: Regenerated.
27463
27464Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
27465
27466 * gdb.base/corefile.exp: When generating a core, discard any
27467 error messages about ulimit not found and the "core dumped"
27468 message from the shell that runs the coredumper.
27469
27470Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
27471
27472 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
27473
27474 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
27475 which sed script to run. Expect failure for v_comb test
27476 on PA targets too.
d63a86f8 27477
c906108c
SS
27478Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
27479
27480 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 27481 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
27482
27483Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
27484
27485 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
27486 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 27487 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
27488 * lib/gdb.exp (default_gdb_start): Fix typo.
27489 * gdb.base/corefile.exp: Allow "Core was generated by ..."
27490 messages to not include the full program name that caused
27491 the core dump since some systems (such as solaris) apparently
27492 truncate this path to about 80 characters.
27493 When generating a core file first try increasing the core file
27494 size limit to unlimited since some systems may default it to
27495 zero, and it is harmless to try it. Move the test for failing
27496 to generate a core file to where it will actually get executed.
27497 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
27498 new gdb result from g++ debug info improvements and make old
27499 pattern obsolescent. Also account for size_t differences
27500 (may be int or long).
27501 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
27502 initialization before function call is placed in the delay slot
27503 and thus appears to be skipped over by commands such as "next".
27504
27505Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
27506
27507 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
27508
27509Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
27510
27511 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
27512 input source file; fix code to compile test to deal with this
27513 convention.
27514 * gdb.c++/*.exp: Likewise.
27515
27516Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
27517
27518 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
27519 "bt in signals.exp".
27520
27521Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
27522
27523 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
27524 "step over execarg initialization" and
889bf7c5 27525 "step over corearg initialization".
c906108c
SS
27526
27527Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
27528
27529 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
27530 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
27531
27532Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
27533
27534 From Rob Savoye (rob@poseidon.cygnus.com)
27535 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
27536 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
27537 configure.in}, gdb.disasm/{Makefile.in, configure.in},
27538 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
27539 configure.in}: Major reworking for autoconfig.
c906108c
SS
27540 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
27541 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 27542 New files.
c906108c
SS
27543 * config/unix-gdb.exp: Make GDB global.
27544 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
27545 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
27546 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
27547 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
27548 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
27549 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 27550 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
27551 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
27552 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
27553 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
27554 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 27555 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
27556 to returns as necessary, arrange for test to compile own testcase
27557 executable.
c906108c 27558 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 27559
c906108c
SS
27560Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
27561
27562 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 27563 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
27564 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
27565 "backtrace through signal handler".
27566
27567Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27568
27569 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
27570 continuing from a job control stop signal.
27571 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
27572
27573Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
27574
27575 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
27576 * gdb.base/corefile.exp: Likewise.
27577 * gdb.base/funcargs.exp: Likewise.
27578
27579Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
27580
27581 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
27582 * config/monitor.exp: Add support for setting baud rate.
27583
27584Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
27585
27586 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
27587 i*86-*-linux* xfails for "backtrace through signal handler".
27588 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
27589 "print func2::coremaker_local".
27590 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 27591 alpha-dec-osf2* xfail for
c906108c
SS
27592 "delete all breakpoints when none".
27593
27594Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
27595
27596 * gdb.base/break.exp: Change test that deletes all breakpoints
27597 when no user breakpoints are installed. A post 4.15 change
27598 causes gdb to no longer prompt in this case.
27599
27600Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
27601
27602 * gdb.base/return.exp (return_tests): Change xfail for test
27603 "correct value returned double test" to stop xfailing at
27604 Solaris 2.5. Apparently the bug has been fixed.
27605
27606Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
27607
27608 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
27609 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
27610
27611Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
27612
27613 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
27614 * gdb.disasm/hppa.s: Corresponding changes.
27615
27616Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
27617
27618 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
27619 makefile fragment.
27620 * config/mt-hpux: Deleted.
27621
27622Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
27623
d63a86f8 27624 * Many files: When warning about suppressed tests due to a
c906108c
SS
27625 nonexistant test binary, avoid incrementing the warning count.
27626
27627Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
27628
27629 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 27630
c906108c
SS
27631Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27632
27633 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
27634 "sparc-*-solaris2*".
27635
27636Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27637
27638 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
27639 Add global and local variables and initialize them.
27640 * gdb.base/corefile.exp: Test correct mapping of corefile sections
27641 by printing variables. Remove rs6000 and powerpc xfails, BFD now
27642 extracts the file name and terminating signal from the core file.
27643 * TODO: Remove note about tests for correct mapping of corefile.
27644 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
27645 from optimizing it away.
27646 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
27647 handles common blocks.
27648
27649Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
27650
27651 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
27652 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
27653
27654Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
27655
27656 * Makefile.in (maintainer-clean): New target, synonym for
27657 realclean.
27658 * gdb.base/Makefile.in (maintainer-clean): Likewise.
27659 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
27660 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
27661 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
27662 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
27663 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
27664
27665Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
27666
27667 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
27668 xfails when not gcc compiled for "print foo::funclocal".
27669 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
27670 "print foo::funclocal at foo",
27671 "print 'scope1.c'::foo::funclocal at foo",
27672 "print foo::funclocal_bss at foo",
27673 "print 'scope1.c'::foo::funclocal_bss at foo",
27674 "print foo::funclocal_ro at foo",
27675 "print 'scope1.c'::foo::funclocal_ro at foo",
27676 "print bar::funclocal at foo" and
27677 "print 'scope1.c'::bar::funclocal at foo".
27678 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
27679 gcc compiled for "print foo::funclocal at bar".
27680 Expand all messages to ensure that they identify that
27681 the test is at bar().
27682 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
27683 gcc compiled for:
27684 "ptype on opaque struct pointer (statically)",
27685 "ptype on opaque struct tagname (statically)",
27686 "ptype on opaque struct pointer (dynamically) 1",
27687 "ptype on opaque struct tagname (dynamically) 1",
27688 "ptype on opaque struct pointer (dynamically) 2" and
27689 "ptype on opaque struct tagname (dynamically) 2
27690 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
27691 gcc compiled for:
27692 "p datalocal"
27693 "whatis datalocal",
27694 "ptype datalocal",
27695 "p bsslocal",
27696 "whatis bsslocal", and
27697 "ptype bsslocal".
27698 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
27699 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
27700 when not gcc compiled.
27701 * gdb.base/funcargs.exp (float_and_integral_args): Add
27702 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
27703 compiled.
27704 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
27705 "backtrace from call6a" when not gcc compiled.
27706 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
27707 "backtrace from call7a" when not gcc compiled.
27708 * gdb.base/callfuncs.exp (do_function_calls):
27709 Add "hppa*-*-hpux*" xfail when not gcc compiled for
27710 "p t_char_array_values(char_array_val2,char_array_val1)",
27711 "p t_char_array_values(char_array_val1,char_array_val2)",
27712 "p t_char_array_values("carray 1","carray 2")",
27713 "p t_char_array_values("carray 1",char_array_val2)",
27714 "p t_char_array_values(char_array_val1,"carray 2")",
27715 "p sum_args(1,{2})",
27716 "p sum_args(2,{2,3})",
27717 "p sum_args(3,{2,3,4})",
27718 "p sum_args(4,{2,3,4,5})"
27719 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
27720 "backtrace in corefile.exp" when not gcc compiled.
27721
27722Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27723
27724 * gdb.base/signals.exp: Rewrite `handle all print' test as
27725 a procedure. Accept blanks or TABs as whitespace, increase
27726 timeout and expect input buffer size for the large output
27727 from the command. Remove "i*86-*-bsdi2.0" xfail.
27728
27729Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27730
27731 * gdb.base/setvar.exp: Add new testcases for truncation when
27732 assigning invalid values to bitfields.
27733
27734Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
27735
d63a86f8 27736 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
27737 mips-sgi-irix* xfail for
27738 "call inferior func with struct - returns char *"
27739 and fix test so that an optional (unsigned char *) cast is
889bf7c5 27740 accepted in the result.
c906108c
SS
27741
27742Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
27743
27744 * gdb.base/funcargs.exp (float_and_integral_args): Remove
27745 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
27746 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
27747 * gdb.base/signals.exp: Remove duplicate "handle all print" test
27748 that accidentally got checked in.
27749
27750Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
27751
d63a86f8 27752 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
27753 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
27754 compiled test.
27755 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
27756 Add mips-sgi-irix5* xfail for not gcc compiled.
27757 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
27758 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
27759 compiled for "p top", "whatis top", "p middle", and "whatis
27760 middle".
c906108c
SS
27761 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
27762 "whatis signed char" for not gcc compiled.
27763 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
27764 "set variable signed char=-1 (-1)" and
27765 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
27766 * gdb.base/funcargs.exp (float_and_integral_args):
27767 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
27768 Add mips-sgi-irix* xfail when not gcc compiled for
27769 "continue to call2b".
27770 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
27771 "continue to call2g".
6fdff2c5
PA
27772 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
27773 compiled for "backtrace from call6a"
27774 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
27775 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
27776 when not gcc compiled for "backtrace from call7a".
c906108c
SS
27777 (localvars_after_alloca): Fix gdb_test cmds for
27778 "print * after runto ...".
27779 Remove rs6000-*-* xfails for
27780 "print i after runto localvars_after_alloca" and
27781 "print l after runto localvars_after_alloca"
27782 for all compilers.
27783 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 27784 when not compiled with gcc, for:
c906108c
SS
27785 "print signed char == (minus)",
27786 "print signed char != (minus)",
27787 "print signed char < (minus)",
27788 "print signed char > (minus)".
27789 * gdb.base/callfuncs.exp (do_function_calls):
27790 Add mips-sgi-irix* xfail, when compiled with native compiler, for
27791 "call inferior func with struct - returns char *".
d63a86f8 27792 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
27793 "correct value returned double test" to include Solaris 2.4.
27794 * gdb.base/funcargs.exp (float_and_integral_args):
27795 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 27796
c906108c
SS
27797Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27798
27799 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
27800 enumeration bitfields if compiling with GNU C.
27801 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
27802 to empty' prompt.
27803
27804Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
27805
27806 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
27807 test for PRO targets.
27808
27809 * gdb.base/funcargs.exp: Avoid ever setting more than 8
27810 breakpoints in the inferior at any given time by making
27811 two groups of breakpoints for call2*, call6* and call7*
27812 tests.
27813
27814Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27815
27816 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
27817 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
27818 from optimizing it away.
27819 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
27820 "call inferior func with struct".
27821
27822Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
27823
27824 * configure.in: Only configure gdb.chill for particular targets.
27825
27826Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
27827
27828 * gdb.base/Makefile.in: Add action to .c.o transformation
27829 rule that generates a .ci file for each .o file and remove
27830 explicit .c.o rules except for callfuncs.o.
27831 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
27832 generates a .ci file for each .o file and remove explicit
27833 .cc.o rules.
27834 (clean): Remove *.tmp *.ci files.
27835 (EXECUTABLES): Remove templ-info.exp.
27836 * gdb.base/compiler.c: New file.
27837 * gdb.c++/compiler.cc: New file
27838 * gdb.base/scope.exp: Source gdb.base/scope.ci.
27839 Change rs6000-*-* xfail for
27840 "print 'scope0.c'::filelocal_ro" and
27841 "print 'scope1.c'::filelocal" and
27842 "print 'scope1.c'::filelocal_bss" and
27843 "print 'scope1.c'::filelocal_ro" and
27844 "print 'scope1.c'::foo::funclocal" and
27845 "print 'scope1.c'::foo::funclocal_ro" and
27846 "print 'scope1.c'::bar::funclocal" and
27847 "print 'scope0.c'::filelocal_ro" and
27848 "print 'scope1.c'::filelocal at foo" and
27849 "print 'scope1.c'::filelocal_bss at foo" and
27850 "print 'scope1.c'::filelocal_ro at foo" and
27851 "print 'scope1.c'::foo::funclocal at foo" and
27852 "print 'scope1.c'::foo::funclocal_bss at foo" and
27853 "print 'scope1.c'::foo::funclocal_ro at foo" and
27854 "print 'scope1.c'::bar::funclocal at foo" and
27855 "print 'scope0.c'::filelocal_ro" and
27856 "print 'scope1.c'::filelocal" and
27857 "print 'scope1.c'::filelocal_bss" and
27858 "print 'scope1.c'::filelocal_ro" and
27859 "print 'scope1.c'::foo::funclocal" and
27860 "print 'scope1.c'::foo::funclocal_bss" and
27861 "print 'scope1.c'::foo::funclocal_ro" and
27862 "print 'scope1.c'::bar::funclocal" and
27863 "print 'scope1.c'::bar::funclocal_bss"
27864 to only be xfail'd when not compiled with gcc.
d63a86f8 27865 Add rs6000-*-* xfail for
c906108c
SS
27866 "print 'scope0.c'::filelocal_bss before run"
27867 when compiled with gcc.
27868 (test_at_main): Add rs6000-*-* xfail for
27869 "print filelocal_ro in test_at_main"
27870 when compiled with gcc.
27871 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 27872 Add rs6000-*-aix* xfail for
c906108c
SS
27873 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
27874 "ptype t_char_array", not compiled with gcc.
27875 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
27876 xfail for "list foo (in include file)" when gcc compiled.
27877 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 27878 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
27879 "run to call0a" if not compiled with gcc.
27880 (unsigned_integral_args): Add rs6000-*-* xfail for
27881 "run to call1a" if not compiled with gcc.
27882 (float_and_integral_args): Add rs6000-*-* xfail for
27883 "run to call2a" if not compiled with gcc and for
27884 "continue to call2b" for any compiler.
27885 Add rs6000-*-* xfail to
27886 "print f1 after run to call2a" for gcc compiled.
27887 (discard_and_shuffle): Add rs6000-*-* xfail for
27888 "run to call6a".
27889 (shuffle_round_robin): Add rs6000-*-* xfail for
27890 "backtrace from call7a" if not compiled with gcc.
27891 Add rs6000-*-* xfail for
27892 "backtrace from call7b" if compiled with gcc.
27893 (call_after_alloca): Add rs6000-*-* xfail for
27894 "print c in call_after_alloca" and
27895 "print s in call_after_alloca" and
27896 "backtrace from call_after_alloca_subr"
27897 if not compiled with gcc.
27898 (localvars_in_indirect_call): Add rs6000-*-* xfail for
27899 "print c in localvars_in_indirect_call" and
27900 "print c in localvars_in_indirect_call" and
27901 "backtrace in indirectly called function" and
27902 "stepping into indirectly called function"
27903 if not compiled with gcc.
27904 (localvars_after_alloca): Add rs6000-*-* xfail for
27905 "print c after runto localvars_after_alloca" and
27906 "print s after runto localvars_after_alloca" and
27907 "print i after runto localvars_after_alloca" and
27908 "print l after runto localvars_after_alloca"
27909 for all compilers.
27910 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
27911 than whatis-info.exp.
27912 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
27913 than opaque-info.exp.
27914 Setup rs6000-*-* xfail for
d63a86f8 27915 "ptype on opaque struct pointer (statically)" and
c906108c
SS
27916 "ptype on opaque struct pointer (dynamically)" when
27917 not compiled with gcc.
27918 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
27919 rather than callf-info.exp.
27920 (do_function_calls): Add clear_xfail for rs6000-*-* for
27921 "p t_float_values2(3.14159,float_val2)". Seems to work
27922 fine there, both with xlc and gcc. Need to find out what
27923 it is doing right and fix other platforms.
27924 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
27925 "call inferior func with struct - returns int",
27926 "call inferior func with struct - returns long",
27927 "call inferior func with struct - returns float",
27928 "call inferior func with struct - returns double",
27929 "call inferior func with struct - returns char *",
27930 but only if not gcc compiled (presumes xlc compiled).
27931 Change rs6000-*-* xfails for
27932 "call inferior func with struct - returns char" and
27933 " call inferior func with struct - returns short" to only
27934 xfail if not using gcc.
27935 (clean mostlyclean): Remove *.ci and *.tmp files.
27936 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
27937 than templ-info.exp.
27938 * gdb.base/langs.exp: Source gdb.base/langs.ci.
27939 Add rs6000-*-* xfail for "up to foo in langs.exp"
27940 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 27941 when not gcc compiled.
d63a86f8 27942
c906108c
SS
27943Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27944
27945 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
27946 * gdb.base/corefile.exp: Likewise.
27947 * gdb.base/list.exp: Likewise.
27948 * gdb.base/scope.exp: Likewise.
27949 * gdb.base/siganls.exp: Likewise.
27950
27951 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
27952 compiler output.
27953 * gdb.base/whatis.exp: Likewise.
27954
27955Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
27956
27957 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
27958 failure (opcode table has been fixed to match reality).
27959
27960Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
27961
27962 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
27963 "call inferior func with struct - returns char",
27964 "call inferior func with struct - returns short"
27965
27966 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
27967 "print 'scope0.c'::filelocal at main",
27968 "print 'scope0.c'::filelocal_bss in test_at_main",
27969 "print 'scope0.c'::filelocal at foo",
27970 "print 'scope0.c'::filelocal_bss in test_at_foo",
27971 "print 'scope0.c'::filelocal at bar",
27972 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 27973
c906108c
SS
27974 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
27975 in source file 1". This bug seems to have been fixed with both
27976 gcc and native cc (was native assembler bug?).
27977
27978Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
27979
27980 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
27981 "backtrace through signal handler" to "i*86-*-sysv4*".
27982 * gdb.base/signals.exp: Add xfail for "'next' behaved as
27983 continue" case. Add "known SVR4 bug" to fail message.
27984 Add "i*86-*-bsdi2.0" xfail for "handle all print".
27985 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
27986 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
27987 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
27988 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
27989 "up to foo in langs.exp", "show language at foo in
27990 langs.exp", "up to cppsub_ in langs.exp", "show
27991 language at cppsub_ in langs.exp", "up to fsub in
27992 langs.exp", and "show language at fsub in langs.exp".
27993 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
27994 "bactrace in corefile.exp".
27995 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
27996 "call inferior function with struct - returns float" and
27997 "call inferior function with struct - returns double".
d63a86f8 27998
c906108c
SS
27999Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
28000
28001 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
28002 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
28003 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
28004 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
28005
28006Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
28007
28008 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
28009 (or overriden) "CHILL" macro rather then bare "gcc".
28010 Also look for ../../gcc/xgcc since that is what we will
28011 actually need, not "Makefile". Remove following assignment
28012 of CHILL to CHILL_FOR_TARGET because that results in
28013 recursive definition.
28014
28015Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
28016
28017 * gdb.base/corefile.exp: Change xfail for backtrace in
28018 corefile.exp from linuxaout to all linux.
28019 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
28020 cases where we miss the breakpoint at the signal handler
28021 for some reason. Setup xfail for linuxoldld/linuxaout and
28022 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
28023 hitting SIGURG breakpoint.
28024 * gdb.base/signals.exp: Setup xfail for "next" acting like
28025 continue to add linuxoldld. Setup xfail for all linux for
28026 "next to handler in signals_tests_1", "backtrace in
28027 signals_tests_1", "continue to func1", "pass SIGUSR1",
28028 and continue to handler".
28029
28030Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
28031
28032 * Update all FSF addresses except those in COPYING* files.
28033
28034Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
28035
28036 * gdb.base/a2-run.exp: Change messages to be more explicit about
28037 the status of args, and quote binfile in results.
28038
28039Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
28040
28041 * gdb.base/callfuncs.exp: Add tests for passing structs to
28042 inferior functions and return various types.
28043 * gdb.base/callfuncs.c: Add functions to receive a struct
28044 and return a member of the struct, in various types.
28045
28046Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28047
28048 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
28049
28050Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
28051
28052 * config/vxworks29k.exp: New file, sources vxworks.exp.
28053
28054Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28055
28056 * config/gdbremote.exp: New file. Testing framework using
28057 gdbserver.
28058
28059Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
28060
28061 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
28062 "call function when asleep" and "send end of file".
28063 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
28064 for "backtrace in corefile.exp".
28065 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
28066 for "backtrace through signal handler".
28067 * gdb.base/corefile.exp: Make sure we actually generate a core file
28068 before trying the core tests. Some systems allow the user to suppress
28069 generation of core files and default to that (linux for example).
28070 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
28071 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
28072
28073Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28074
28075 * gdb.threads: New directory with some crude multi-threaded
28076 gdb tests (step.exp and step2.exp).
28077 * config/mt-lynx (STEP_EXECUTABLE): Define.
28078 (THREADFLAGS): Define.
28079
28080Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
28081
28082 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
28083
28084 * gdb.base/signals.exp: Disable whole file for lynx until
28085 further notice.
28086
28087 * gdb.base/signals.exp: xfail test where "next" acts like
28088 "continue" for lynx.
28089
28090 * gdb.base/interrupt.exp: xfail test for calling function while
28091 inferior is asleep for lynx.
28092
28093 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
28094 than one cr-lf after each command.
28095
28096Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28097
28098 * configure.in: Reinstate setting of stabsdirs variable, fix
28099 typo in setting up configdirs for native builds.
28100
28101 * gdb.base/return.exp: Fix typo in return double test.
28102 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
28103 compiler from optimizing them away.
28104
28105Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
28106
28107 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
28108 sequences to be echo'd by gdb when using gdb_test.
28109 * gdb.chill/chexp.exp: Likewise.
28110 * gdb.fortran/exprs.exp: Likewise
28111
28112Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28113
28114 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
28115 after the inferior gdb has started.
28116
28117 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
28118 after each command.
28119 * gdb.base/funcargs.exp: Likewise.
28120 * gdb.base/gdbvars.exp: Likewise.
28121 * gdb.base/interrupt.exp: Likewise.
28122 * gdb.base/list.exp: Likewise.
28123 * gdb.base/watchpoint.exp: Likewise.
28124 * gdb.c++/demangle.exp: Likewise.
28125 * gdb.c++/inherit.exp: Likewise.
28126 * gdb.chill/chexp.exp: Likewise.
28127 * gdb.fortran/exprs.exp: Likewise.
28128
28129 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
28130 test if we can't handle IO to/from the inferior.
28131
28132 * gdb.c++/misc.exp: Always check for a program already being
28133 started after sending a "run" command to gdb.
28134
28135 * gdb.base/twice.exp: Start with a fresh gdb.
28136
28137 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
28138 only depend on gdb's expression code, not the chill runtime.
28139
28140 * gdb.base/return.c: Put return values into variables so we
28141 can have gdb print them rather than depending on the program
28142 to print them.
28143 * gdb.base/return.exp: Corresponding changes.
28144
28145 * lib/gdb.exp: Provide default value for noinferiorio.
28146 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
28147 the inferior.
28148
28149 * gdb.base/break.exp: Always check for a program already being
28150 started after sending a "run" command to gdb.
28151 (text_next_with_recursion): Don't check the output from the
28152 program's printf statement. Instead just make sure the program
28153 exited.
28154
28155 * gdb.base/commands.exp: Protect tests which need arguments with
28156 $noargs conditionals.
28157
28158Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28159
28160 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
28161 of structure member arrays to match gdb/valops.c:value_addr change.
28162
28163Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
28164
28165 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
28166 cases.
28167
28168Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
28169
28170 * configure.in (configdirs): Remove gdb.chill from default list
28171 of subdirs and then add it back in only if doing a native build.
28172 The current chill compiler does not yet work in any cross build.
28173 * Revert all signal changes from Jul 6.
28174 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
28175 for sh-hms targets, allowing these tests to link, with no other
28176 changes. Testing is suppressed by setting "nosignals" in site.exp.
28177
28178Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
28179
28180 * configure.in (signaldirs): Define and add to configdirs for all
28181 targets except some specific ones that are known to not support signals.
28182 Also clean up formatting.
28183 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
28184 (signals, sigall): Remove rules to build.
28185 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
28186 Moved to new gdb.signals directory.
28187 * gdb.signals: New test directory.
28188 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
28189 signals.c signals.exp}: New or moved files.
28190
28191Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
28192
28193 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
28194
28195Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
28196
28197 * gdb.base/return.exp: Xfail `return double' test failure
28198 on at least Solaris 2.3 and handle future/past versions on
28199 a case by case basis as appropriate. Also update message
28200 to include i*86 failures.
28201
28202Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28203
28204 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
28205
28206 * lib/gdb.exp: Fix comment which erroneously identified
28207 gdb_file_cmd as gdb_load (the 19 May change was in fact to
28208 gdb_file_cmd not gdb_load).
28209 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
28210
28211 * gdb.base/setvar.exp: Make test names consistent between pass and
28212 fail cases. Use gdb_test more.
28213
28214Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28215
28216 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
28217
28218Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28219
28220 * gdb.base/help.exp: Fix expected help string for `show commands'.
28221
28222Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
28223
28224 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
28225
28226 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
28227 of a text section.
28228
28229Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
28230
28231 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
28232 that loop eventually terminates. Fix Connection refused logic so
28233 that testsuite will expire nicely.
28234
28235Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
28236
28237 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
28238 config/rom68k.exp: New tcl glue for the appropriate monitors.
28239 These all just end up calling monitor.exp.
28240 * config/monitor.exp (gdb_target_monitor): Handle `Connection
28241 refused' by retrying. Cleanup some timeout issues.
28242 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
28243 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
28244 callers don't have to set/restore global timeout variable.
28245
28246 * The following set of changes centralizes management of the global
28247 timeout variable. This way, it can be set in one target dependent
28248 place instead of dozens of places scattered throughout the test suite.
28249 If you need to lengthen a timeout, then you should either set timeout
28250 in one of the config/{target}.exp files, or multiply it by a factor.
28251 Setting it to an absolute value is always going to lose for some
28252 targets.
28253 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
28254 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
28255 * gdb.base/funcargs.exp: Don't set timeout.
28256 * gdb.base/list.exp (test_forward_search): Only use local timeout.
28257 * gdb.base/printcmds.exp (test_print_string_constants
28258 test_print_array_constants): Don't set timeout.
28259 * gdb.base/ptype.exp: Don't set timeout.
28260 * gdb.base/recurse.exp: Don't set timeout.
28261 * gdb.base/return.exp: Don't set timeout.
28262 * gdb.base/watchpoint.exp: Don't set timeout.
28263 * gdb.c++/classes.exp (do_tests): Don't set timeout.
28264 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
28265
28266Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
28267
28268 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
28269
28270Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28271
28272 * lib/gdb.exp: Disable chill tests for irix5.
28273
28274Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28275
28276 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
28277 each test pass or fail.
28278
28279Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28280
28281 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
28282 xlc not gcc.
28283
28284Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
28285
28286 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
28287
28288Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
28289
28290 * config/est.exp: Fix copyright and comments. Remove dead code.
28291 Use targetname, serialport and baud variables instead of fixed
28292 constants.
28293 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
28294 * config/cpu32bug.exp: New file to support cpu32bug monitors.
28295
28296Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28297
28298 * gdb.base/watchpoint.exp: Don't run
28299 test_watchpoint_triggered_in_syscall for sunos.
28300
28301Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28302
28303 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
28304 they don't seem to exist. Do include stdio.h.
28305
28306Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28307
28308 * gdb.base/a1-selftest.exp: Add alpha xfail.
28309
28310Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28311
28312 * gdb.base/watchpoint.c (main): Prompt before calling read().
28313 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
28314 Revise accordingly. Remove cruft about sending "123" several
28315 times, until it gets noticed. Clean up the "print buf[0]" stuff
28316 so that it passes or fails, and waits for prompts in the usual way.
28317
28318Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28319
28320 * gdb.base/recurse.exp: Fix comment.
28321
28322 * TODO: Remove item about printing variables in nodebug.exp. Add
28323 item about enabling tests which are only run on some targets.
28324
28325 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
28326 fail, make test names unique, use new gdb_test convention
28327 regarding pattern, use gdb_test more, etc.).
28328
28329 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
28330 fail, make test names unique, etc.).
28331
28332Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28333
28334 * gdb.base/nodebug.c: Change return type of top and middle to
28335 short.
28336 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
28337 are fixed by the recent mdebugread.c changes. Allow `short ()'
28338 as type for top and middle.
28339
28340Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28341
28342 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
28343 nearly as I can tell, the whole thing was an accident in Stu's
28344 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
28345 to replace a send/expect pair with gdb_test, but ended up only
28346 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
28347 of 30 Mar 1995 took care of it, but left this vestigial comment
28348 which I am now nuking.
28349
28350Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28351
28352 * gdb.base/break.exp: Look for different line number for
28353 breakpoint at main depending on usestubs.
28354
28355Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28356
28357 * gdb.base/list.exp: Adjust some alternate expect patterns to
28358 match recent list0.c change. Add alternate expect pattern for
28359 output from `list default lines around main' for optimizing
28360 compilers.
28361
28362Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28363
28364 * lib/gdb.exp: If nosignals is not set, set it to 0.
28365
28366Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
28367
28368 * config/slite-gdb.exp: Responds to load symbol table prompt.
28369 * gdb.base/break.exp: Adjust line number, fix rerun.
28370 * gdb.base/langs0.c: Add #ifdef usestubs.
28371
28372Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
28373
28374 * gdb.base/list.exp: Adjust line contents after adding new lines in
28375 list0.c. Also fix a syntax error.
28376
28377 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
28378 * gdb.base/break.exp: ditto.
28379 * gdb.base/list.exp: ditto.
28380 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
28381 * gdb.base/run.c: ditto.
28382 * gdb.base/list0.c: ditto.
28383 * gdb.base/funcargs.c: ditto.
28384
28385Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
28386
28387 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
28388 $targetname, $serialport and $baud instead of hardwired variables.
28389 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
28390 target doesn't support signals.
28391
28392Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
28393
28394 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
28395
28396Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28397
28398 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
28399 Don't rely on the value of an auto variable before it has been
28400 initialized. Use gdb_test more.
28401
28402Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28403
28404 * lib/gdb.exp (default_gdb_version): A version number must start
28405 with a digit, but other than that contains all characters up to
28406 the first whitespace character.
28407
28408Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28409
28410 * gdb.base/commands.exp (breakpoint_command_test): New tests.
28411
28412Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28413
28414 * gdb.c++/*.exp: Warn if executable does not exist. The original
28415 reason for skipping the warning was that configure.in sometimes
28416 intentionally skipped building the executables but the tcl code
28417 had no way of knowing. That (a) was always bogus with respect to
28418 error handling, (b) is no longer true (right now there is no way
28419 to skip C++ tests).
28420
28421 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
28422
28423Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28424
28425 * gdb.base/list.exp: Add expect patterns for output from
28426 SunPRO compiled executables.
28427 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
28428 types.
28429
28430Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28431
28432 * gdb.base/break.exp (test_next_with_recursion): Accept any line
28433 number (we are already testing that the correct source line text
28434 gets printed).
28435
28436 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
28437 that is what is intended, but something needed to be done to get
28438 sunos4 native working again.
28439
28440 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
28441
28442 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
28443 apparently went with a (very) old xfail.
28444
28445Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
28446
28447 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
28448 runto_main is a proc in gdb.exp that will do 'step' for target use
28449 stubs.
28450 * gdb.base/exprs.exp: ditto.
28451 * gdb.base/interrupt.exp: ditto.
28452 * gdb.base/opaque.exp: ditto.
28453 * gdb.base/printcmds.exp: ditto.
28454 * gdb.base/ptype.exp: ditto.
28455 * gdb.base/scope.exp: ditto.
28456 * gdb.base/setvar.exp: ditto.
28457 * gdb.base/signals.exp: ditto.
28458 * gdb.base/twice.exp: ditto.
28459 * gdb.c++/classes.exp: ditto.
28460 * gdb.c++/inherit.exp: ditto.
28461 * gdb.c++/templates.exp: ditto.
28462 * gdb.base/break.exp: no run and hit main for stubs. Change line
28463 numbers for breakpoints and info breakpoint.
28464 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
28465 breakpoint().
28466 * gdb.base/callfuncs.c: ditto.
28467 * gdb.base/exprs: ditto.
28468 * gdb.base/interrupt.c: ditto.
28469 * gdb.base/opaque0.c: ditto.
28470 * gdb.base/printcmds.c: ditto.
28471 * gdb.base/ptype.c: ditto.
28472 * gdb.base/scope0.c: ditto.
28473 * gdb.base/setvar.c: ditto.
28474 * gdb.base/signals.c: ditto.
28475 * gdb.base/twice.c: ditto.
28476 * gdb.c++/misc.cc: ditto.
28477 * gdb.c++/templates.cc: ditto.
28478
28479Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28480
28481 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
28482
28483 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
28484 somewhere between `read' and `main.c'. I'm pretty sure the
28485 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
28486 and it isn't particularly useful.
28487
28488 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
28489
28490Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28491
28492 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
28493
28494Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
28495
28496 * config/mt-slite: add LIBS and -nostdlib.
28497 * config/slite-gdb.exp: add this new file to support sparclite target.
28498
28499Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
28500
28501 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
28502
28503 * gdb.base/a2-run.exp: Change argument to istarget from
28504 "*-*-vxworks" to "*-*-vxworks*".
28505 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
28506
28507Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
28508
28509 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
28510 will not runto main but do a 'step' to step out of breakpoint().
28511 * config/mt-slite: add -Dusestubs.
28512
28513Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28514
28515 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
28516 instead of just @.
28517
28518 * gdb.base/signals.exp: Add test for "handle all print".
28519 * TODO: Remove "handle all print". Also remove item about
28520 checking copyright date (I don't like the idea of a spurious FAIL
28521 based on when we run the tests).
28522
28523 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
28524 for SunOS4 (reason for failure not investigated). Remove
28525 redundant test for $binfile.
28526
28527 * gdb.base/nodebug.c (array_index): Call malloc.
28528
28529 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
28530
28531Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
28532
28533 * gdb.base/recurse.exp: Update gdb_test invocation to use new
28534 conventions and slightly simplify the matching regexp.
28535
28536Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28537
28538 * gdb.base/break.exp: Update gdb_test invocation to use new
28539 convention.
28540
28541 * lib/gdb.exp: If noargs is not set, set it to 0.
28542
28543 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
28544 tests unique.
28545
28546 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
28547
28548Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28549
28550 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
28551 one argument of type "<non-float parameter>".
28552
28553Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
28554
28555 * config/rom68k.exp: New file to support Motorola IDP board.
28556 * gdb.base/a2-run.exp: Skip this file if noargs is set.
28557 * gdb.base/break.c: Change things around so that this program
28558 doesn't depend upon args. This is necessary to make remote
28559 targets work (in general, they can't take args).
28560 * gdb.base/break.exp: Don't try to send args to program. Don't
28561 expect output. Also, replace lots of code with gdb_test.
28562
28563Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28564
28565 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
28566 printing of '\'' (which is what the comment says we are testing,
28567 even though we were not), not '''.
28568 (test_integer_literals_rejected): Test that printing ''' is an error.
28569
28570 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28571 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
28572 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
28573 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
28574 Use gdb_test not test_print_accept.
28575 * lib/gdb.exp: Remove test_print_accept.
28576
28577 * gdb.base/signals.exp (signal_tests_1): Make pass message
28578 consistent with fail message.
28579
28580 * gdb.base/whatis.exp: Remove xfails for printing char vs.
28581 unsigned char; the bug (PR 1821) is fixed.
28582
28583 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
28584
28585 * gdb.base/scope.exp (test_at_localscopes): Call pass for
28586 successful tests--makes xfailing them work right.
28587
28588Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28589
28590 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
28591 only \r\n, not .*. The test can pass .* as the last thing in
28592 $pattern if that is what it wants. In addition to providing this
28593 flexibility, this change should speed up pattern matching in cases
28594 where the pattern already ended with .* (there were a number of
28595 them). This change also helps catch bad patterns--in the old
28596 scheme the typo "char \*" instead of "char \\*" would pass. Now
28597 it is caught.
28598 * Many .exp files: Update callers.
28599
28600 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
28601 clearer and does not spuriously match multiple ('s. Likewise for
28602 ) and *.
28603
28604 * gdb.base/nodebug.exp: Test ability to call a function and pass
28605 it a string (even with no debugging info).
28606
28607 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
28608 "p '\'", which is the same as "p ''" once tcl gets done with
28609 quoting, to "p '\\'", which I suspect is what is intended (one
28610 backslash gets sent to GDB).
28611
28612 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
28613
28614Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28615
28616 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
28617 1817) was fixed literally years ago.
28618
28619Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28620
28621 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
28622 test, it causes stepping out of call_after_alloca_subr with
28623 optimizing compilers.
28624 (localvars_in_indirect_call): Consume GDB prompt if `finish'
28625 fails.
28626
28627 * gdb.c++/templates.exp: Source templ-info.exp only if
28628 the templates executable exists.
28629
28630 * gdb.c++/misc.cc (class Contains_static_instance,
28631 class Contains_nested_static_instance),
28632 gdb.c++/classes.exp (test_static_members): Test printing of
28633 a class that contains a static instance of the class.
28634
28635Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28636
28637 * gdb.base/langs2.c (cppsub_): Don't prototype.
28638 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
28639 only, I believe).
28640
28641Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28642
28643 * lib/gdb.exp (skip_chill_tests): New procedure.
28644
28645 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
28646
28647Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
28648
28649 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
28650 each expect pattern. Cuts runtime from 12 to about 4 seconds.
28651
28652Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28653
28654 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
28655
28656 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
28657 disassemble 8, not 16, instructions for part 4.
28658
28659 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
28660 support the latter anymore.
28661
28662 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
28663 -DNO_PROTOTYPES.
28664 * gdb.base/callfuncs.c: Control use of prototypes based on
28665 NO_PROTOTYPES, not __STDC__.
28666 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
28667 t_float_values2 tests if prototypes in use.
28668
28669 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
28670 t_double_values): When checking differences against DELTA, check
28671 that difference is within the range (-DELTA,DELTA), not just
28672 (-infinity,DELTA).
28673
28674Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
28675
28676 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
28677 'file' command firts, then 'target', then 'load', this is due to gdb
28678 target set up.
28679 * config/mips-gdb.exp: Fix a couple regular exp bugs.
28680
28681Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
28682
28683 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
28684 FP load/store variants.
28685 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
28686
28687Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28688
28689 * gdb.base/term.exp: Do not give a warning if not native, it is
28690 not an abnormal condition.
28691
28692Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
28693
28694 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
28695 t_char_array".
28696
28697Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28698
28699 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
28700 are getting the version number.
28701
28702 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
28703 if not native, it is not an abnormal condition.
28704
28705Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28706
28707 * lib/gdb.exp: Just use "file exists", rather than undocumented
28708 dejagnu procedure "findfile".
28709
28710Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28711
28712 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
28713 (LDFLAGS): Set to -Xlinker -Ur.
28714
28715 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
28716 Removed, these values are set by lib/gdb.exp.
28717
28718 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
28719
28720Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28721
28722 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
28723 of replicating gdb startup code.
28724
28725 * config/mt-vxworks (LDFLAGS): Set to -r.
28726 (CFLAGS_FOR_TARGET): Removed.
28727
28728 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
28729 (gdb) and gdb for vxworks uses (vxgdb).
28730
28731 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
28732 executable is not in the tree and host != target, use sed and
28733 program_transform_name to determine the gdb name used by the
28734 target.
28735
28736 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
28737 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
28738
28739Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28740
28741 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
28742 floats, chars, and shorts where there are ANSI-style function
28743 definitions.
28744
28745 * gdb.base/langs.exp, gdb.base/langs*: New test.
28746 * gdb.base/Makefile.in: Build it.
28747 * TODO: Remove item about checking that C names don't get C++
28748 demangling applied; this test tests it.
28749
28750Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28751
28752 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
28753 went with the const70 xfail. The xfail went away a year ago.
28754
28755 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
28756
28757 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
28758 for hp300.
28759
28760 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
28761
28762 * gdb.base/a1-selftest.exp: Don't run on hp300.
28763
28764Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28765
28766 * Makefile.in (site.exp): Set host_alias and target_alias as well
28767 as host_triplet and target_triplet.
28768
28769Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28770
28771 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
28772
28773 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
28774 places as other ecoff systems).
28775
28776 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
28777 ultrix.
28778
28779Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28780
28781 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
28782 remove them.
28783 * gdb.base/nodebug.exp: Accept "function" in addition to "text
28784 variable and "variable" in addition to "data variable".
28785 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
28786
28787 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
28788 2.
28789 * gdb.base/list1.c (long_line): Add additional statement at start
28790 of function.
28791 * gdb.base/list.exp (test_forward_search): Update line number to
28792 reflect new statement.
28793
28794Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28795
28796 * gdb.base/signals.exp: Reinitialize searched source directories
28797 after gdb_start call.
28798
28799Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
28800
28801 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
28802 * gdb.stabs/Makefile.in: Likewise.
28803
28804 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
28805 change. Instead split the tests into smaller pieces.
28806 * gdb.disasm/hppa.s: Corresponding changes.
28807
28808Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28809
28810 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28811 Quote ^C when passing it to stty. For some shells ^ is a pipe.
28812
28813 * gdb.base/funcargs.exp: Modify many tests so that every test
28814 either passes or fails. Make some test names unique.
28815
28816Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28817
28818 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28819 Call stty to set interrupt character.
28820
28821 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
28822 for HP assembler versus GNU assembler based on actual behavior of
28823 $(CC), rather than assuming that $(AS) is always the GNU assembler.
28824
28825 * TODO: Suggest a few more stepping tests.
28826
28827Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
28828
28829 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
28830 restart GDB for h8300 after a continue.
28831 (return): Add pattern to match a29k-udi behavior.
28832 * gdb.base/nodebug.exp: Remove obsolete comment.
28833 * gdb.base/regs.exp: New file, testing of register displays.
28834 * gdb.base/return.exp: Fix typo in reference to $objdir.
28835 * gdb.base/whatis.exp: Always start with a fresh GDB.
28836
28837Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28838
28839 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
28840 higher, these tests generate a lot of output.
28841
28842Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28843
28844 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
28845 code following the catch silently ignored some errors; without the
28846 catch they should be thrown like any other tcl error. Also, the
28847 catch used "" instead of {} which meant all the callers who wanted
28848 to include one of the characters "[]$ had to quote it an extra time.
28849 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
28850 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
28851 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
28852 Remove extra quoting.
28853
28854Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
28855
28856 * gdb.base/commands.exp: Make test names unique; every test either
28857 passes or fails. Update some comments.
28858
28859 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
28860
28861Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28862
28863 The following fixes a FAIL caused by the fact that the alpha stabs
28864 configuration didn't use the ".if alpha" code in weird.def.
28865 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
28866 bit pointer, so the 32 bit version works even on the alpha.
28867 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
28868 Remove the stuff which allowed us to have separate versions for
28869 alpha and everything else.
28870
28871 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
28872 regexp which "info func operator\[\](" is supposed to match. Fix
28873 string to send to GDB. Note that GDB still doesn't work right. Add a
28874 new test for "info func .perator\[\](" which GDB does handle correctly.
28875
28876 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
28877
28878Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28879
28880 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
28881 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
28882 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
28883 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
28884 it makes the tests harder to understand and confuses test-o-matic.
28885 The preferred style is that each test provides a PASS or a FAIL,
28886 and has a unique message (e.g. "continue #54" not just "continue")
28887 which is the same for the pass and the fail.
28888 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28889 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
28890 to lib/gdb.exp.
28891 * gdb.base/printcmds.exp: Use test_print_accept. Remove
28892 prt_accept which was basically the same thing. Likewise for
28893 test_print_reject and prt_reject.
28894 * lib/gdb.exp (test_print_reject): Add some more error message
28895 patterns to match from the former printcmds.exp (prt_reject).
28896 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
28897 One defect of the passcount stuff is that some of it failed to
28898 report XPASS where appropriate.
28899 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
28900 stuff before and after arg in expected pattern.
28901 (test_paddr_operator_functions): Re-do test without print_addr_of;
28902 this is the only test which seems to want extra stuff there.
28903
28904Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28905
28906 * gdb.base/nodebug.exp: Update new tests to reflect improved
28907 wording of gdb output.
28908
28909 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
28910 and "ptype" work on variables in files compiled without -g.
28911 Replaces commented out "maint print msymbol" tests.
28912
28913Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28914
28915 * gdb.base/setvar.c (dummy): Call malloc.
28916
28917 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
28918 losing with the irix4 sed.
28919
28920 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
28921 ALRM" on irix4.
28922
28923Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28924
28925 * TODO: Remove items about corefile.exp testing new exec-file and
28926 backtrace; both are now done. Add items about printing enums.
28927
28928Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28929
28930 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
28931 "get signal $thissig" test fails.
28932
28933 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
28934
28935Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28936
28937 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
28938 compiler warning with dec alpha compiler.
28939
28940 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
28941 extra \n from gdb_test call (this explains why the prompt test
28942 that I removed yesterday was there).
28943 (user_defined_command_test): Remove extra \n and prompt test.
28944
28945 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
28946 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
28947 doesn't exist.
28948 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
28949 Also remove alpha workaround, which turns out to be because
28950 SIGABRT == SIGLOST.
28951
28952 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
28953
28954 * gdb.base/help.exp: Don't test "help show".
28955
28956Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28957
28958 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
28959 "set print address" is on.
28960 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
28961 pass prompt to gdb_test; gdb_test already looks for the prompt.
28962
28963 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
28964
28965 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
28966 was a vestige of the manual TESTSTRATEGY, and the purpose of it
28967 was to make sure that gdb can read a core file. But (a) the "read
28968 the corefile" part didn't make it to a1-selftest.exp, we just
28969 delete the corefile after creating it, and (b) we test reading
28970 corefiles in corefile.exp anyway. Also, this test left around a
28971 xgdb process on Solaris.
28972
28973 * gdb.base/corefile.exp: Also test backtrace.
28974
28975Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
28976
28977 * gdb.base/commands.exp: Test a simple user defined command with
28978 arguments and if/while statements; verify the full user command is
28979 printed by "show user".
28980
28981 * gdb.base/commands.exp: Test if/while commands as part of a
28982 breakpoint command list; verify they appear in breakpoint
28983 information.
28984
28985Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28986
28987 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
28988 than by dividing by zero.
28989
28990Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
28991
28992 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
28993 performing an inferior call with watchpoints enabled.
28994 * gdb.base/watchpoint.c (main): Delete second unnecessary read
28995 call.
28996
28997Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28998
28999 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
29000 of "file" command.
29001
29002 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
29003 Add additional pattern for when "int operator int(void);" appears
29004 in a different order.
29005
29006Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29007
29008 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
29009
29010 * gdb.base/help.exp: Replace most of docstrings for "info signals"
29011 and "signal" with ".*".
29012
29013Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29014
29015 * TODO: Add note about "handle all nostop".
29016
29017 * gdb.base/{sigall.c, sigall.exp}: New test.
29018 * gdb.base/Makefile.in: Add it.
29019
29020Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
29021
29022 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
29023 when invoking GDB, suppresses any windowing interface.
29024
29025Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
29026
29027 * config/sim-gdb: New file, simulator testing support.
29028
29029Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
29030
29031 * gdb.base/interrupt.exp: Test calling func1 twice.
29032
29033Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
29034
29035 * gdb.base/list.exp (test_forward_search): Set timeout higher
29036 when we'll be getting lots of output from gdb.
29037
29038 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
29039 "init_malloc" to after the expect statement. Run it if that
29040 regexp is taken, but also for two others which happen if source
29041 cannot be found.
29042
29043Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29044
29045 * gdb.base/printcmds.exp: New test, for printing register before
29046 program is running.
29047
29048Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29049
29050 * gdb.base/list.exp: Correct some alternate expect patterns
29051 to reflect changes in list1.c.
29052
29053Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29054
29055 * TODO: Add item regarding large frames.
29056
29057 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
29058
29059 * TODO: Remove item about enabling return.exp; it
29060 is enabled. Suggest a few more "return" tests.
29061
29062Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29063
29064 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
29065 anonymous unions.
29066
29067Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29068
29069 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
29070 and pr-5646.o, so "make" is the same as "make all", not "make
29071 pr-4975.o".
29072
29073Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
29074
29075 * gdb.base/list.exp: Adjust expectations to reflect changes in
29076 list1.c.
29077 (test_forward_search): New test proc.
29078 * gdb.base/list1.c (long_line): New function, has long source line.
29079
29080Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
29081
29082 * gdb.base/a1-selftest.exp: Change initial stepping to know about
29083 additional line of code that was added.
29084
29085Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
29086
29087 * gdb.disasm/hppa.s: Break the large branching tests into smaller
29088 tests so as not to overflow expect's input buffers.
29089 * gdb.disasm/hppa.exp: Corresponding changes.
29090
29091Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29092
29093 Beginnings of template debugging tests.
29094 * gdb.c++/templ-info.cc: New file to test for template
29095 debugging capability of the compiler.
29096 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
29097 templ-info.cc.
29098 * gdb.c++/templates.cc: Add explicit template instantiations
29099 to enable compiling with -fno-implicit-templates. Add destructor
29100 and 'value' method to T5 class for template tests.
29101 * gdb.c++/templates.exp: Add testcases for printing of template
29102 types, setting breakpoints on template methods and calling a
d63a86f8 29103 template method.
c906108c
SS
29104
29105Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
29106
29107 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
29108 branch target since some assemblers (gas-2.5) may emit a
29109 relocation for the branch instead of resolving it in the
29110 assembler.
29111
29112Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29113
29114 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
29115 through signal handler.
29116
29117Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29118
29119 * configure.in (*-*-netware): Use config/mt-netware.
29120
29121 * config/mt-netware: New file.
29122 * config/mt-i386-netware: Removed, separate configs for different
29123 netware architectures are no longer needed now that we have
29124 --with-headers.
29125
29126Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29127
29128 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
29129 by the recent changes to use ANSI C arithmetic conversions.
29130
29131Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29132
29133 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
29134 bug involving using inferior_pid to figure out whether to select a
29135 frame.
29136
29137Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
29138
29139 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
29140 match the current disassembler output.
29141
29142Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
29143
29144 * gdb.fortran/exprs.exp: Expect VOID instead of void.
29145 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
29146 types, expect "int" as type of integer values (for now).
29147
29148Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
29149
29150 * gdb.base/commands.exp: New tests for if/while commands.
29151
29152Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
29153
29154 * lib/gdb.exp (runto): Replace sub-pattern for hex value
29155 by .*, since hex values have different syntax in Chill mode.
29156
29157Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29158
29159 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
29160 linefeed from expect pattern for repeated types with indices > 9.
29161
29162Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
29163
29164 First part of Fortran test suite.
29165 * gdb.fortran: New directory.
29166 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
29167
29168Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29169
29170 * gdb.base/default.exp: Update expect pattern for load command
29171 without arguments.
29172
29173Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
29174
29175 * configure.in: Change i386 to i[345]86.
29176 * gdb.base/configure.in: Likewise.
29177 * gdb.c++/configure.in: Likewise.
29178 * gdb.chill/configure.in: Likewise.
29179
29180Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
29181
29182 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
29183 patterns, since that is not a valid context for comments.
29184
29185Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
29186
29187 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
29188 repeated types and repeated types with indices > 9.
29189
29190Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
29191
29192 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
29193 2417; old bug has been fixed.
29194
29195Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
29196
29197 * gdb.base/interrupt.exp: When trying to wake up the inferior,
29198 send the newline ourselves instead of assuming gdb_test will do
29199 so when passed an empty input string.
29200
29201 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
29202 stabs testcode.
29203
29204Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29205
29206 * lib/gdb.exp (gdb_test): Don't send anything if the first
29207 argument is an empty string. This makes cases where we want to
29208 match output that is already in expect's buffers (for example,
29209 matching a breakpoint after gdb_run_cmd has been called) work
29210 reliably.
29211
29212Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29213
29214 * config/netware.exp: New file.
29215
29216Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29217
29218 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
29219 the -B and -L prefixes so we can find the debugging stub.
29220
29221 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
29222 there and we are using the gcc from the tree.
29223
29224 * gdb.base/types.c: Removed.
29225
29226 * gdb.base/configure.in: Look for makefile fragments in ../config.
29227 Recognize i386-*-netware.
29228 * gdb.c++/configure.in: Likewise.
29229
29230Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29231
29232 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
29233 the correct TCL syntax.
29234
29235Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29236
29237 * gdb.base/opaque.exp: use runto instead of messing around with
29238 breakpoints. Simplify by using gdb_test.
29239
29240 * gdb.base/bitfields.exp: restart between tests on netware targets
29241 because breakpoints aren't relocated after target death. Run
29242 processes to completion.
29243
29244 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
29245
29246Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
29247
29248 * Makefile.in: Remove extra tabs that confuse some versions
29249 of "make". Use the newly built gdb to test with by default,
29250 rather than the first one in the tester's search path.
29251
29252Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
29253
29254 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
29255
29256 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
29257 condition help.
29258
29259Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29260
29261 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
29262
29263 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
29264 running.
29265 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
29266 * gdb.base/funcargs.exp: Likewise.
29267
29268 * gdb.base/bitfields.exp: Simplify by using gdb_test.
29269 * gdb.base/funcargs.exp: Likewise.
29270
29271 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
29272 message is "".
29273
29274Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29275
29276 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
29277 return,signals,twice}.exp: Handle non-existant binaries
29278 consistantly.
29279
29280 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
29281 * gdb.base/Makefile.in: Don't try to generate a core dump, we
29282 might testing a cross development system.
29283
29284Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29285
29286 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
29287 runtest script is relative to ${srcdir}, not ${rootdir}.
29288
29289Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
29290
29291 * gdb.base/signals.exp: Allow for optionality of breakpoint
29292 address.
29293
29294Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29295
29296 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
29297
29298Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29299
29300 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
29301 for size_t definition.
29302 * gdb.c++/templates.cc: Likewise
29303
29304 * config/mt-i386-netware: New file.
29305
29306 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
29307 defined.
29308
29309 * gdb.base/Makefile.in: Added support for systems that name core
29310 files by appending "core" to the program name.
29311 * gdb.base/a1-selftest.exp: Likewise.
29312
29313Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29314
29315 * gdb.base/return.exp: Add comment and message for `return double'
29316 test failure on Sparc Solaris.
29317
29318Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
29319
29320 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
29321
29322Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29323
29324 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
29325 from optimizing them away.
29326 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
29327 patterns to include default constructors and assignment operators,
29328 to match gcc versions beyond 2.5.8. Accept any cplus demangling
29329 character in the output of the virtual base pointer.
29330
29331Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29332
29333 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
29334 expression match in print_addr_of to avoid unintented matches.
29335 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
29336 versions up to 2.5.8.
29337
29338Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29339
29340 * gdb.base/list.exp: Tweak alternate pattern for listing of an
29341 included file to run under newer versions of expect.
29342 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
29343 consecutive >'s in templates to accomodate recent cplus-dem.c change.
29344 Remove xfail for the virtual table of BDDHookV.
29345
29346Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
29347
29348 * lib/gdb.exp (string_to_regexp): Set a default result.
29349 (default_gdb_start): Fix misleading message.
29350
29351Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
29352
29353 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
29354 Remove all CC, etc definitions.
29355 * config/mt-hpux: New file.
29356 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
29357 (CFLAGS, LDFLAGS): Define.
29358 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
29359
29360 * Makefile.in (site.exp): Don't insert host_os, etc.
29361 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
29362 (distclean): Check existence of subdir.
29363 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
29364 * gdb.base/Makefile.in: General cleanup and simplification.
29365 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29366 to build executables. Use default rule to build .o files.
29367 (EXPECT, RUNTEST, CC): Fix relative pathname.
29368 (site.exp): Don't insert host_os, etc.
29369 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
29370 and/or SIGUSR1 defined.
29371 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
29372 * gdb.c++/Makefile.in: General cleanup and simplification.
29373 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29374 (CFLAGS): Remove.
29375 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
29376
29377Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
29378
29379 * gdb.base/recurse.exp: Misc changes to get tests running again
29380 after Kung's changes to the watchpoint code.
29381 * gdb.base/watchpoint.exp: Likewise.
29382
29383Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
29384
29385 * lib/gdb.exp (string_to_regexp): Convert {\} also.
29386
29387Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
29388
29389 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
29390 * lib/gdb.exp (default_gdb_start): Define.
29391 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
29392 gdb.base/funcargs.exp, gdb.base/opaque.exp,
29393 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
29394 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
29395 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
29396 Don't call gdb_target_udi in between tests.
29397
29398Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29399
29400 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
29401 (which was basically just a local version of the same thing). In
29402 addition to avoiding duplication, gdb_test_exact is faster.
29403 * lib/gdb.exp (gdb_test_exact): Fix typo.
29404
29405 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
29406 don't give an error.
29407
29408 * gdb.base/term.exp: Call delete_breakpoints before starting.
29409
29410 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
29411 (t10): Add comment.
29412
29413Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29414
29415 Reorganization of the GDB Test Suite.
29416
29417 * gdb.base: New directory, contains all the basic tests.
29418 * gdb.c++: New directory, tests specific to C++.
29419 * gdb.chill: New directory, tests specific to Chill.
29420 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
29421 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
29422 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
29423 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
29424 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
29425 t30-31 to chill).
29426 * */gdbme.*: Rename to match appropriate expect scripts.
29427 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
29428 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
29429 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
29430 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
29431 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
29432 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
29433 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
29434 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
29435 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
29436 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
29437 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
29438 gdb.c++/virtfunc.cc: New names of C++ files.
29439 * gdb.chill/chillvars.ch: New name of Chill file.
29440 * gdb.base/configure.in, gdb.c++/configure.in,
29441 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
29442 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
29443 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
29444 * configure.in (configdirs): Update to reflect directory changes.
29445 (target_abbrev): No longer define for any configuration.
29446 * Makefile.in: Cosmetic improvements to header comments.
29447
29448Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
29449
29450 Various changes to gdb.t31:
29451
29452 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
29453 * gdbme.ch: Make all key-words and predefineds be upper-case.
29454 * chillvars.exp: Expect key-words and predefinds in upper-case.
29455
29456 * chillvars.exp: Use gdb_test_exact many places.
29457 Change expected output for arrays (which now includes index labels).
29458
29459 * pr-5020.exp, gdme.ch (module PR_5020):
29460 New test, for PR-5020.
29461
29462Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
29463
29464 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
29465 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
29466
29467Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
29468
29469 * Makefile.in: Fix bit-rot in definitions of CHILL,
29470 CHILL_FOR_TARGET and Chill_LIB.
29471 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
29472 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
29473 CHILL, and CHILL_LIB.
29474
29475Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
29476
29477 * Revert the previous changes. Please see Rob's directory
29478 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
29479
29480Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
29481
29482 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
29483 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
29484 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
29485 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
29486 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
29487 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
29488 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
29489 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
29490 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
29491 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
29492 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
29493 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
29494 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
29495 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
29496 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
29497 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
29498 changes from 94Q1.
29499
29500Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
29501
29502 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
29503 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
29504 Rob's new testing fragments.
29505
29506Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
29507
29508 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 29509 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
29510
29511Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29512
29513 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
29514 version also, match on casted version strings, and match on
29515 gdb startup case where the line numbers might be messed up.
29516
29517Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
29518
29519 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 29520 (CFLAGS): Delete it from here.
c906108c
SS
29521
29522Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
29523
29524 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
29525
29526Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
29527
29528 * Makefile.in (RUNTEST): Default to just "runtest".
29529
29530Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29531
29532 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
29533 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
29534 the code has been restructured.
29535
29536Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29537
29538 * gdb.t00/default.exp (set write): Allow any number of \r and/or
29539 \n, not just one of each.
29540
29541 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
29542 /bin/cc gives a warning if you do.
29543
29544Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
29545
d63a86f8 29546 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
29547 __t10ListS_link1ZUiRCUiPT0
29548
29549Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29550
29551 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
29552 on local variables in recursive functions.
29553
29554 * gdb.t07/Makefile.in: Build the new test.
29555
29556Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29557
29558 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
29559 directly. Instead compare the return values from actual calls.
29560
29561Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
29562
29563 * Makefile.in (check): Set TCL_LIBRARY for runtest.
29564
29565Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29566
29567 * From Peter Schauer with minor modifications.
a9c64011
AS
29568 * gdb.t15/return.exp (return_tests): Handle targets where "return"
29569 stops in mid-line in the caller. Add xfail for returning a float
29570 value on X86 targets.
c906108c
SS
29571
29572Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29573
29574 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
29575 to avoid expect lossage.
29576 (fmem_LRbug_tests): Likewise.
29577 * gdb.disasm/hppa.s: Corresponding changes.
29578
29579 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
29580 conditions to work with latest dejagnu/expect.
29581
29582 * gdb.t15/funcargs.exp (finish from indirect call): No longer
29583 expected to fail on the PA.
29584 (backtrace in call with trampolines): Explicitly require main
29585 to be frame #1 (no trampolines should show up in backtrace).
29586
29587 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
29588 "continue -expect".
29589 * gdb.t06/break.exp: Likewise.
29590 * gdb.t07/watchpoint.exp: Likewise.
29591 * gdb.t13/bitfields.exp: Likewise.
29592 * gdb.t15/{funcargs,return}.exp: Likewise.
29593 * gdb.stabs/weird.exp: Likewise.
29594 * config/{mips,udi}-gdb.exp: Likewise.
29595
29596 * hppa.sed: Enclose comments within a sed command to avoid
29597 losing with the old OSF1 sed.
29598
29599Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29600
29601 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
29602 sequent dynix.
29603 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
29604 * gdb.t15/funcargs.exp: Conditionally step again to really
29605 finish from marker_call_with_trampolines. Handle the case where
29606 the first step from within call_with_trampolines already steps
29607 us back to main.
29608 * gdb.t15/gdbme.c: Add comment to closing brace of
29609 call_with_trampolines for funcargs.exp.
29610
29611Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29612
d63a86f8 29613 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
29614 Fix typo(s).
29615
29616Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29617
29618 * gdb.t07/gdbme.c: More code for watchpoint testing.
29619
29620 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
29621 "Hardware watchpoint" throughout file.
29622 (test_watchpoint_triggered_in_syscall): New test.
29623 (test_complex_watchpoint): New test.
29624
29625Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29626
29627 * gdbme.c (call_with_trampolines): New function to try and step
29628 into. Tests trampoline problems on the PA.
29629
29630 * funcargs.exp (localvars_in_indirect_call): No longer expect
29631 stepping into indirect call to fail on PAs.
29632 (test_stepping_over_trampolines): New test.
29633
29634Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29635
29636 * TODO: Add suggestions for static member function tests, and
29637 completion tests.
29638
29639Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29640
29641 * TODO: Add suggestions for "p/a" tests.
29642
29643 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
29644 (default_gdb_exit): Replace all the hair with sending "quit" to
29645 the process with a simple close.
29646
29647Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29648
29649 * TODO: Add suggestions for shared library tests.
29650
29651Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29652
29653 * TODO: Add suggestions for x/s tests.
29654
29655Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29656
29657 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
29658 "enable once", and "enable breakpoints once" with ".*".
29659
29660Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29661
29662 * TODO: Add suggestions about structure passing tests.
29663
29664Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29665
29666 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
29667 the primary1 test, use work around if __GNUC__ < 2.
29668 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
29669 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
29670 Test for bad output rather than waiting for timeout. Issue
29671 second continue only if first continue failed.
29672
29673Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29674
29675 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
29676 operator[] test with gdb_test because the old code didn't seem to
29677 be getting the quoting right with the new dejagnu.
29678
29679Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
29680
29681 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
29682 one from the path.
29683 * Makefile.in: Use a fresh expect if there is one, use runtest
29684 from the src tree if there is one.
d63a86f8 29685
c906108c
SS
29686Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29687
29688 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
29689 next over recursive call. Revise the tests from that point on
29690 (which had been skipped) to match GDB's actual (correct) output.
29691
29692 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
29693 with next over a breakpoint whose condition is false.
29694
29695 * gdb.t00/help.exp: Comment out "help set print" tests just like
29696 (and for same reason as) "help set" test.
29697
29698Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29699
29700 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
29701 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
29702
29703Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29704
29705 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
29706 necessary gdb_target_udi.
29707
29708 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
29709
29710 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
29711 1838 and 2417; they are fixed.
29712
29713 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
29714 gdb.t03/ptype.exp (ptype structure, ptype union):
29715 Remove xfails; the test is looser than when the xfails were added.
29716
29717 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
29718 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
29719
29720 * gdb.t01/run.exp: Only run shell test if isnative.
29721
29722 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
29723 since "run" automatically loads if necessary. Call gdb_target_udi
29724 after the "file" since "file" kills any execution target.
29725
29726 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
29727 GDB. GDB doesn't work that way (not anymore at least) on UDI.
29728 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
29729 argument for UDI.
29730
29731Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29732
29733 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
29734
29735 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
29736
29737Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29738
29739 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
29740 properly quoting regexps. This makes the second argument to
29741 demangle a fixed string, which matches the callers, instead of a
29742 shell-style pattern which is what the previous implementation
29743 used. Update some of the callers.
29744
29745Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29746
29747 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
29748 (comib_nullified_tests): Fix typo.
29749 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
29750 strings. No longer expected to fail.
29751
29752 * gdb.disasm/hppa.s (addib_tests): Fix typo.
29753 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
29754 strings. No longer expected to fail.
29755
29756 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
29757 string. No longer expected to fail.
29758
29759Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29760
29761 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
29762 No longer expected to fail.
29763
29764 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
29765 string. No longer expected to fail.
29766
29767Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29768
29769 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
29770 only in the names (I probably got most of them). I was even
29771 generous with some which differed in underscores in names, and
29772 probably missed a few, and I *still* was able to remove almost a
29773 third of the file with almost no impact on testsuite coverage.
29774
29775Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29776
29777 * gdb.t00/default.exp: Match udi_attach error message as well as
29778 the one from child_attach.
29779
29780 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
29781
29782 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
29783
29784 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
29785 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
29786
29787 * Move test with enums and partial symbols back to
29788 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
29789 Reverts the change of 26 May 93. Per today's change to
29790 stabs.texinfo, the behavior that weird.exp was expecting was
29791 unreasonable; what is important is that the compiler+gdb get
29792 things right, which happens with a recent gcc. Also fix the test
29793 to deal with native compilers which put out the stab gdb can't
29794 deal with.
29795
29796Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29797
29798 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
29799 in the names. The main thing these accomplish is to slow things down.
29800 Many more such duplicates surely remain.
29801
29802 * gdb.t00/help.exp: Comment out "help support" test just like
29803 (and for same reason as) "help set" test.
29804
29805Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
29806
29807 * gdb.t06/break.exp: Remove setup_xfails for
29808 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
29809 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
29810 about known bug in gcc to include up through 2.5.8.
29811 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
29812 well as "_vb$".
29813 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
29814 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
29815 with latest gcc and gdb.
29816 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
29817 well as "_vb$".
29818
29819Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29820
29821 * configure.in (hppa*-*-*): Also configure and build stabs-only
29822 tests.
29823
29824Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29825
29826 * gdb.t10/hppa.mt: A makefile fragment for the PA.
29827 * gdb.t10/configure.in (hppa*-*-*): Use it.
29828
29829Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29830
29831 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
29832
29833Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29834
29835 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
29836 versions prior to 1.13.5.
29837
29838Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29839
29840 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
29841 the prompt is at the start of a line.
29842
29843Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29844
29845 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
29846 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
29847 in the copr tests now.
29848 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
29849 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
29850 expected to fail.
29851
29852Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
29853
29854 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
29855 gdb.t31/chillvars.exp, lib/gdb.exp:
29856 Tweak to run under either version of expect.
29857 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
29858 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
29859 * gdb.t11/list.exp: Remove extraneous whitespace.
29860
29861Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29862
29863 * gdb.t16/printcmds.exp (test_print_strings): Accept
29864 "(unsigned char *) " before the string.
29865
29866 * TODO: Add notes about printing of fancy types and GDB expressions.
29867
29868Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
29869
29870 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
29871 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 29872 if doing mips-idt-ecoff.
c906108c
SS
29873
29874Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
29875
29876 * Most .exp files: Tweak to run under either version of expect.
29877
29878Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29879
29880 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
29881 xfails; I'm not sure why they are failing, but not because of PR 1806.
29882
29883Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
29884
29885 * config/unix-gdb.exp: Remove gdb_unload cause it's already
29886 defined in lib/gdb.exp.
29887
29888Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29889
29890 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
29891 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
29892 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
29893 have to be typeless.
29894
29895Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29896
29897 * TODO: Add suggestion for copyright year test.
29898
29899Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
29900
29901 * configure.in (*-*-lynxos*): Add stabs tests.
29902
29903Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29904
29905 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
29906 so insert a tab before any assembler directive in column zero.
29907
29908 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
29909 stores.
29910 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
29911 stores.
29912 (fpu_short_memory_tests): Likewise.
29913
29914Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29915
29916 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
29917 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
29918 .stabs directives in comments.
29919
29920Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29921
29922 * TODO: New file, describing tests we could write.
29923 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
29924
29925Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29926
29927 * gdb.t06/signals.exp: Add kludge to force re-sync.
29928
29929 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
29930 to xgdb instead of gdb, get out of gdb.
29931
29932Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
29933
29934 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
29935 for info.
29936
29937Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29938
29939 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
29940 * gdb.stabs/configure.in (hppa*-*-*): Use it.
29941 * gdb.stabs/hppa.sed: New sed script for the PA.
29942
29943Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29944
29945 * gdb.stabs: Re-write weird.def and configuration to use sed
29946 instead of cpp. sed is portable and POSIX; cpp is neither.
29947
29948Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29949
29950 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
29951
29952Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29953
29954 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
29955
29956Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29957
29958 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
29959 "_vb$".
29960 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
29961 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
29962
29963Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29964
29965 * lib/gdb.exp: Comment out code which depends on non-existent
29966 `transform' procedure.
29967
29968Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
29969
29970 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
29971 * lib/gdb.exp: Transform tool name.
29972 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
29973 1.1's new error handling system.
29974
29975Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29976
29977 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
29978
29979Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29980
29981 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
29982 They made pattern matching so slow that timeouts happened on
29983 heavily loaded systems. Now any output from "show print" which
29984 gets us back to the GDB prompt is a PASS.
29985
29986Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
29987
29988 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
29989
29990Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29991
29992 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
29993
29994 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
29995 It is not from PR 3220.
29996
29997Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29998
29999 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
30000 just started failing because they depended on the order the
30001 subcommands are presented, or exact docstring text. This kind of
30002 test is a pain and has minimal benefit.
30003
30004Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30005
30006 * gdb.t09/corefile.exp: At end of test, use "core" command with
30007 no arguments.
30008
30009Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
30010
30011 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
30012 17}/Makefile.in: Make it possible to run the testsuite with Sun
30013 make and CC = cross gcc by adding explicit build rules for .o
30014 files.
30015
30016Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30017
30018 * gdb.t15/funcargs.exp: Don't put comments on same line as
30019 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 30020
c906108c
SS
30021Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30022
30023 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
30024
30025Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
30026
30027 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
30028 * gdb.t20/inherit.exp: remove three dumplicate entries.
30029
30030Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30031
30032 * gdb.t06/break.exp: For "next over recursive call", fail on any
30033 incorrect output, not just on "factorial (value=2)".
30034
30035Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30036
30037 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
30038 working now. Add an xfail if accesing a bss variable causes
30039 a memory error if the target is not yet run.
30040
30041Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30042
30043 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
30044 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
30045 name of __st* demangling (2 strings). Did Kung really get the
30046 more than 95 others right without testing them?
30047
30048Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
30049
30050 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
30051
30052Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
30053
30054 * configure.in (configdirs): Add gdb.disasm
30055 * gdb.disasm: New directory for GDB disassembler tests.
30056 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
30057
30058Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30059
30060 * gdb.t00/help.exp: Don't test "help set".
30061
30062 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
30063 from within expect statements. None of these happen anymore and
30064 they cause regressions to be silently unnoticed.
30065
30066 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
30067 messages) about known failures with gcc cygnus-2.4.5-930417.
30068
30069 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
30070 comp-info.exp so it gets built if it doesn't exist.
30071
30072 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
30073 it is no longer used.
30074 * gdb.t13/comp-info.c: Removed.
30075
30076Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30077
30078 * gdb.t06/signals.exp: Add xfail for sun3.
30079
30080Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30081
30082 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
30083 relevant because ^C doesn't get sent but failure can be reproduced
30084 interactively).
30085
30086Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30087
30088 * gdb.stabs/alpha.mt: New configuration file for alpha.
30089 * gdb.stabs/configure.in: Use it.
30090 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
30091 sharing with alpha.mt, redefine long to word via preprocessor.
30092 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
30093 for alpha.
30094 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
30095 native cc.
30096 * gdb.t00/teststrategy.exp: Change expect string so that we
30097 consume the `(xgdb)' from the command echo and from the gdb prompt.
30098 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
30099 gdb currently compares all values as long, so this failure probably
30100 applies to any configuration where LONGEST is bigger than a target int.
30101 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
30102 with gcc.
30103 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
30104 to handle opaque pointers, gcc is.
30105 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
30106 as first argument. Include <sys/types.h> and change all operator
30107 new definitions to use size_t.
30108 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
30109 now that we use size_t.
30110
30111Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30112
a9c64011 30113 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 30114 a long or float array cast all array members to the same type.
a9c64011 30115 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 30116 with 64 bit longs.
a9c64011 30117 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 30118 on alpha.
a9c64011 30119 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
30120
30121Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30122
30123 * gdb.t24 (demangle.exp): Constructors of templates have names like
30124 vector<int>::vector(int) not vector<int>::vector<int>(int). See
30125 section 14.6 of the ARM.
30126
30127 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
30128 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
30129 accomplish little and slow down the testsuite.
30130
30131 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
30132 Accept spaces various places.
30133
30134Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30135
30136 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
30137 with watchpoint enabled.
30138
30139 * Makefile.in: Remove definition of CC and remove the second
30140 definition of CXX (the "CXX = gcc" one remains). These definitions
30141 were causing backquotes to be expanded within backquotes, which
30142 doesn't work.
30143
30144Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
30145
30146 * gdb.t17/callfuncs.exp: Add "return 0" to end.
30147
30148Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30149
a9c64011
AS
30150 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
30151 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
30152 by mips cc and contains no stabs entries.
30153
30154Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
30155
30156 * config/vx-gdb.exp: Use fake device to load files rather than
30157 NFS.
30158 * lib/gdb.exp: New proc to do "file" command.
30159 * config/unix-gdb.exp: Use new "file" proc.
30160
30161Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
30162
30163 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
30164 Rework board rebooting slightly.
30165 (gdb_exit): Don't exit from the remote shell; there isn't one.
30166 * gdb.stabs/weird.exp: If a program is being debugged already,
30167 kill it.
30168 * gdb.t04/setvar.exp: Stop and restart gdb.
30169 * gdb.t05/expr.exp: Likewise.
30170 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
30171 restart gdb and reload the program.
30172 * gdb.t08/opaque.exp: Likewise.
30173 * gdb.t12/scope.exp: Likewise.
30174 * gdb.t13/bitfields.exp: Likewise.
30175 * gdb.t15/funcargs.exp: Likewise.
30176 * gdb.t20/classes.exp: Likewise.
30177 * gdb.t03/ptype.exp: Increase timeout.
30178 * gdb.t16/printcmds.exp (test_print_string_constants,
30179 test_print_array_constants): Likewise.
30180 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
30181 * gdb.t20/classes.exp (do_tests): Likewise.
30182 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
30183
30184Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
30185
30186 * gdb.stabs: Renamed *wierd* to *weird*.
30187
30188Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30189
30190 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
30191 for timeout. Add "known gcc 2.4.5 bug" to failure message.
30192
30193Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30194
30195 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
30196 (do_tests): Remove xfail for whatis on one_var and two_var.
30197
30198Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
30199
30200 * Makefile.in: Made cross building work better by adding
30201 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
30202
30203Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30204
30205 * gdb.t15/{return.c,return.exp,Makefile.in}:
30206 New test, currently commented out.
30207
30208Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
30209
30210 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
30211 still running and removes the leftover named socket so GDb can do
30212 clean restarts.
30213
30214Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
30215
30216 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
30217 console, not GDB.
30218 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
30219 cross testing works better with "make check"
30220 * config/unix-gdb: Use default procedures for exit and version.
30221 * config/vx-gdb.exp: Cleaned up and massaged back to working order
30222 with the newest VxWorks.
30223
30224Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30225
30226 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
30227 old form.
30228
30229 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
30230 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
30231
30232 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
30233
30234 * config/unix-gdb.exp: Remove this version of gdb_exit
30235 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
30236 Rob says he'll look at it when he gets back to testing boards.
30237
30238Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
30239
30240 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
30241 an expected fail for certain ptype commands.
30242
30243 * gdb.t20/classes.exp: Update expected results of "ptype class
30244 Base1" to account for the constructor that now appears in the type.
30245
30246Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
30247
30248 * configure.in (configdirs): Restore gdb.t04, which mysteriously
30249 disappeared from list.
30250 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
30251 "alldone" proc with call to cleanup and exit.
30252 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
30253 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
30254 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
30255 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
30256 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
30257 "alldone" proc with simple returns that suppress remaining
30258 tests. The alldone proc went away many months ago.
30259
30260Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30261
30262 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
30263
30264 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
30265
30266Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30267
30268 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
30269 as vax gdb will display them.
30270
30271Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30272
30273 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
30274 optimizers.
30275
30276 * scope.exp: Change "bad value for localval" messages so each one
30277 is unique.
30278
30279 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
30280 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
30281
30282 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
30283
30284Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30285
30286 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
30287 doesn't exist (due to optimization).
30288
30289Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30290
30291 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
30292 contains \r because the filename is long.
30293
30294 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
30295 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
30296
30297Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30298
30299 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
30300 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
30301 Ultrix.
30302 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
30303 int tests.
30304 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
30305
30306Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
30307
30308 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
30309
30310 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 30311 to match does not match the passing case but still matches the
c906108c
SS
30312 failing case.
30313
30314Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30315
30316 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
30317
30318Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
30319
30320 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
30321 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
30322 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
30323 Remove various versions of gdb_exit.
30324 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
30325 gdb_exit.
30326 * config/unix-gdb.exp: gdb_exit remains here, and should override
30327 the generic version, since it's doing a lot of wierd stuff that
30328 the other versions aren't. FIXME, fold it in, or abandon this
30329 version.
30330
30331Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30332
30333 * gdb.t24/demangle.exp: Add tests for PR 3220.
30334
30335Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30336
30337 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
30338
30339Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
30340
30341 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
30342 "i386-*-*". Works for i486 as well.
30343
30344 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
30345 bug, and expand domain of xfail to all SVR4 systems, since the
30346 actual problem is likely to be in generic SVR4 /proc support.
30347
30348Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30349
30350 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
30351
30352Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
30353
30354 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
30355 xfails for other systems. Match a missing 'Continuing.' as an
30356 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
30357
30358 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
30359 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
30360 Only issue warning for missing executables if -all option is used.
30361
30362 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
30363 file if -all option is used. It's like an unpredictable XFAIL.
30364
30365Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30366
30367 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
30368 for dynamically linked binaries.
30369
30370 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
30371
30372Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30373
30374 * gdb.t20/inherit.exp: Change message for "print tagless struct"
30375 to state that this is a known bug in old versions of g++.
30376
30377Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30378
30379 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
30380 while waiting for `Continuing'.
30381
30382Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
30383
30384 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
30385 in text, data, and bss.
30386 * gdb.t10/nodebug.c: Add local and global test variables for
30387 initialized and uninitialized data.
30388
30389Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30390
30391 * config/unix-gdb.exp (gdb_exit): Add "wait".
30392
30393Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30394
30395 * gdb.t06/signals.exp: xfail the continue from the handler for all
30396 targets.
30397
30398 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
30399 function with watchpoints enabled, the i386 call dummy starts with
30400 a call.
30401
30402 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
30403 386 bsd names its corefiles.
30404
30405Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
30406
30407 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
30408 compilers don't grok it.
30409 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
30410 with small octal ints rather than character constants, which
30411 are signed and might not fit if first promoted to int.
30412
30413Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
30414
30415 * gdb.t09/Makefile.in (clean): Remove corefile.
30416
30417Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30418
30419 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
30420
30421Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30422 and Jim Kingdon (kingdon@cygnus.com)
30423
30424 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
30425 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
30426 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
30427
30428Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30429
30430 * gdb.t17/interrupt.exp: Add xfail for hppa.
30431
30432Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30433
30434 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
30435 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
30436 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
30437 to determine signed-ness of bitfields and use the result to setup
30438 the xfail.
30439 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
30440 * gdb.t15/funcargs.exp: Use them to step until the second indirect
30441 call line is reached if necessary.
30442
30443Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30444
30445 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
30446
30447Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30448
30449 * gdb.t06/break.exp: Also test `clear' command.
30450
30451Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30452
30453 * gdb.t00/teststrategy.exp: Remove extra quote.
30454
30455 * gdb.t07/watchpoint.exp: Change xfail for calling function with
30456 watchpoint enabled to be for all non-68k machines.
30457
30458 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
30459
30460Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30461
30462 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
30463 targets use aout.mt instead of ecoff.mt as gas understands
30464 standard aout format.
30465
30466Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30467
30468 * lib/gdb.exp (runto): Don't insist that function we are running to
30469 was compiled with -g.
30470
30471 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
30472
30473 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
30474 to get back into the read system call.
30475 Accept leading newline in case where we woke it up.
30476
30477Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30478
30479 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
30480 to make the stabs test work on ecoff systems using gcc and -with-stabs.
30481 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
30482 enable ecoff configuration.
30483
30484Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30485
30486 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
30487
30488Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30489
30490 * gdb.t16/printcmds.exp: Add another printf test.
30491
30492Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
30493
30494 * configure.in: If configured -with-stabs on any target, add
30495 stabsdirs to configdirs.
30496
30497Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30498
30499 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
30500 fun" so pattern does not match the command itself.
30501
30502Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30503
30504 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
30505
30506Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30507
30508 * gdb.t17/interrupt.exp: Test for more things.
30509
30510Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30511
30512 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
30513 compiler arranges the code and line numbers.
30514
30515 * gdb.t17/interrupt.exp: Don't send \n after ^C.
30516
30517Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30518
30519 * gdb.t00/help.exp: Increase expect input buffer size.
30520
30521Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30522
30523 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
30524
30525 * gdb.t07/watchpoint.exp: Add xfail for hppa.
30526
30527 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
30528
30529 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
30530 [0-9]*, not just [0-9].
30531
30532Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30533
30534 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
30535
30536 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
30537
30538Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30539
30540 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
30541
30542Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30543
30544 * gdb.t06/signals.c: Add xfails for sun3.
30545
30546 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
30547
30548 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
30549 test_stepping tests.
30550
30551Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30552
30553 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
30554
30555 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
30556
30557 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
30558 rather than actually putting it through cpp twice.
30559
30560 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
30561
30562Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
30563
30564 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
30565 no longer needed.
30566
30567Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30568
30569 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
30570
30571 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
30572 C++ features prints as "struct", make it a pass, not an xfail.
30573
30574Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30575
30576 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
30577 Don't require VA to print as "class" rather than "struct".
30578
30579Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
30580
30581 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
30582
30583Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30584
30585 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
30586
30587Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30588
30589 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
30590 order.
30591
30592Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30593
30594 * gdb.t16/printcmds.exp: Add printf tests.
30595
30596 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
30597
30598 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
30599
30600Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
30601
30602 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
30603 pass counts, to counteract any existing or future setup_xfails.
30604
30605Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30606
30607 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
30608 {BEGIN,END}_COMMON for common block instead of STAB.
30609 * gdb.stabs/wierd.exp: Add xfail for rs6000.
30610
30611 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
30612 intp_var should be N_GSYM not N_LSYM.
30613 wierd-aout.S: Use a label for the value of the N_SO.
30614 wierd.def: Remove all backslashes.
30615 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
30616
30617Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30618
30619 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
30620 get the expected next to inheritance3.
30621
30622Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30623
30624 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
30625 now that gcc-2.4 gets it right.
30626
30627Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30628
30629 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
30630
30631 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
30632 generating comp-info.exp which works for cross-compilation.
30633
30634Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
30635
30636 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
30637 "*-*-sysv4.*".
30638
30639Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
30640
30641 * gdb.t01/run.exp: Start with a fresh gdb.
30642 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
30643 SVR4.x.
30644
30645Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
30646
30647 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
30648 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
30649 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
30650 Makefile.in (distclean, realclean): Remove gdbme.c from list of
30651 things to remove.
30652
30653Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
30654
30655 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
30656 test cases from bug reports.
30657
30658Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
30659
30660 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
30661 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
30662 avoid spurious xfails.
30663 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
30664 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
30665 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
30666
30667Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
30668
30669 * gdb.t00/teststrategy.exp: Rework to provide more useful
30670 description of each test, fix problem with systems that define
30671 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
30672 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
30673 results for "next over recursive call" so timeouts aren't taken
30674 by error.
30675
30676Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
30677
30678 * gdb.t12/scope.exp: Test printing of variables before run.
30679
30680 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
30681 printed in wrong order due to sorting.
30682
30683Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
30684
30685 * gdb.t00/teststrategy.exp: Fix expected results for printing
30686 user entered string constant. Is array of char, prints with no
30687 address.
30688
30689 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
30690 commands.
30691 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
30692 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
30693 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
30694 of struct of char arrays.
30695 * gdb.t00/radix.exp: New tests for radix commands.
30696
30697Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
30698
30699 * gdb.t16/printcmd.exp: Print a variable before running program
30700 (with xfail for AIX).
30701
30702Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
30703
30704 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
30705
30706 * gdb.t16/printcmd.exp: Don't print variables before running program.
30707
30708 * gdb.t06/break.exp: Don't require envp argument to main.
30709
30710 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
30711
30712 * gdb.t02/whatis.exp, gdb.t11/list.exp:
30713 Add xfails for rs6000.
30714
30715 * gdb.t02/whatis.exp: Change other tests not to re-test something
30716 we already tested.
30717
30718 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
30719 each type used has a variable of that type.
30720
30721Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
30722
30723 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
30724
30725Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
30726
30727 * configure.in: change srctrigger to be a file, not a directory
30728
30729Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
30730
30731 * configure.in (mips-idt-ecoff*): Added trailing '*'.
30732
30733 * gdb.t11/list.exp: Fixed a couple of typos.
30734
30735Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
30736
30737 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
30738 is fixed and PR is closed.
30739 * gdb.t16 (gdbme.c): Add simple test string variable.
30740 * gdb.t16 (printcmds.exp): Add tests with simple test string
30741 variable, primarily for boundaries on "set print elements".
30742
30743Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
30744
30745 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
30746 Make leading 0's optional and don't expect a tab in the middle
30747 of the number.
30748
30749 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
30750
30751 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
30752 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
30753 don't end command passed to gdb_test with newline.
30754
30755 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
30756 signed keyword away, don't expect signed bitfields to be signed.
30757
30758 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
30759 printing with only as many 1's as are in the field as well as printing
30760 with 32 1's (see comment).
30761
30762Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
30763
30764 * gdb.t00/default.exp: Start with a fresh gdb.
30765 * configure.in (configdirs): Remove gdb.t31 until the chill
30766 compiler works again. It no longer is able to find chillrt0
30767 since it isn't in libchill.a anymore.
30768 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
30769 wierd.o, make more modular.
30770 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
30771 spurious newlines that caused problems.
30772
30773Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30774
30775 * Move test with enums and partial symbols from gdb.t03/ptype.exp
30776 to gdb.stabs/wierd.exp since GCC has worked around the bug.
30777 gdb.stabs/wierd.{exp,def}: Many new tests.
30778
30779 * gdb.t00/default.exp: update info line for new message.
30780
30781 * gdb.t02/{whatis.exp,gdbme.c}:
30782 Test that "char *" doesn't print as "caddr_t".
30783
30784Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30785
30786 * gdb.t00/help.exp: Use .* in place of some help messages which
30787 just changed.
30788 gdb.t00/default.exp: Update "info frame" test for new message.
30789 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
30790 Remove some xfails
30791
30792Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30793
30794 * gdb.t03/{gdbme.c,ptype.exp}:
30795 Add tests for typedef'd struct and union without tags.
30796 Also check "whatis" on a variable of a typedef'd enum without a tag.
30797
30798 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
30799 PRMS 1823; the bug still exists but isn't reproduced by this test
30800 anymore), and remove rs6000 XFAIL (the bug is fixed).
30801
30802 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
30803 duplicated from whatis.exp. For those that are left, accept
30804 "long", "long int", or "int" for long variables (whatis.exp already
30805 has an XFAIL for "int", so no need to fail it here).
30806
30807 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
30808 Deal with GCC's names for types now that GDB uses the compiler's names.
30809
30810 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
30811 setup_xfail's for sunos4. If we #defined the signed keyword away,
30812 don't expect GDB to know that char it is signed.
30813
30814 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
30815
30816Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
30817
30818 * configure.in (configdirs): Add gdb.t24 for C++ tests that
30819 should work on any system, regardless of debugging format.
30820 * gdb.t21/demangle.exp: Move to gdb.t24.
30821 * gdb.t24/demangle.exp: Move from gdb.t21.
30822 * gdb.t24/{Makefile.in, configure.in}: New files.
30823
30824Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30825
30826 * configure.in: Do gdb.stabs and C++ tests only for stabs.
30827 * gdb.stabs: New directory.
30828
30829Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30830
30831 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
30832 not just "Quit anyway?".
30833
30834Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
30835
30836 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
30837 that all setup_xfails are immediately followed by clear_xfails.
30838
30839Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
30840
30841 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
30842 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
30843 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
30844 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
30845 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
30846 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30847 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30848 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
30849 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
30850 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
30851 gdb.t31/chillvars.exp, lib/gdb.exp:
30852 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
30853 bug-gdb@prep.ai.mit.edu.
30854
30855Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
30856
30857 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
30858 with 0.0, not integer 0.
30859
30860Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
30861
30862 * gdb.t06/break.exp: Update for "Kill the program" message change.
30863
30864Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
30865
30866 * Makefile.in (GDBFLAGS): Set to -nx.
30867 * Makefile.in (site.exp): Use GDBFLAGS.
30868
30869Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30870
30871 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
30872 Makefiles.
30873 (check): depend on just-check.
30874 (just-check): added so that tests can be run without a noop
30875 build pass.
30876
30877Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30878
30879 Switch to using configure's configdirs.
30880 * Makefile.in (Makefile): add configure.in dependency.
30881 (SUBDIRS): removed redundant assignment.
30882 * configure.in: switch subdirs assignment to configdirs.
30883 * gdb.t*/configure.in: new files.
30884
30885Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
30886
30887 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
30888 works.
30889
30890Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
30891
30892 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
30893 in explicit rules. Apparently this is not supported by some makes.
30894
30895Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
30896
30897 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
30898
30899Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30900
30901 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
30902 disappeared.
30903
30904Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
30905
30906 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
30907
30908Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
30909
30910 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
30911 watchpoint problem that is now fixed.
30912 * gdb.t30/chexp.exp: Remove setup_xfail for printing
30913 uninitialized convenience variables.
30914 * gdb.t31/chillvars.exp: Fix expected patterns for printing
30915 structures.
30916
30917Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30918
30919 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
30920 which causes expect to get out of sync with gdb on long output
30921 from help set.
30922 * gdb.t09/corefile.exp: Make expected pattern for core file
30923 failing signal and frame output format less sun specific.
30924
30925Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
30926
30927 * gdb.t31/chillvars.exp: Add and remove initial dummy
30928 breakpoint, so that symbol table is forced in.
30929 (Needed at least on Sunos4, though it seems not SVR4.)
30930 * gdb.t31/chillvars.exp: Update for changed output format.
30931
30932Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
30933
a9c64011 30934 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
30935
30936Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
30937
30938 * Makefile.in: Added --srcdir when invoking runtest, removed the
30939 need for a local config file. (optional now)
30940
30941Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
30942
30943 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
30944 failure count used to force early termination. Add some more
30945 expected failures for gnu style demangling.
30946
30947Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30948
30949 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
30950 pmi variable from gdb.t20/gdbme to get optimized away.
30951 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
30952 Check for written corefile upon timeout _and_ eof.
30953
30954Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30955
30956 * config/unix-gdb.exp: Add missing return 0.
30957
30958Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30959
30960 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
30961 test termination.
30962
30963Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
30964
30965 * configure.in (subdirs): Put back gdb.t17 which mysteriously
30966 disappeared.
30967
30968Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
30969
30970 * gdb.t10/crossload.exp: Disable the i860-elf test until such
30971 time as i860 support works.
30972
d63a86f8 30973 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
30974 "backtrace 100\r" rather than just "backtrace\r", to match last
30975 change.
30976
30977Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
30978
30979 * config/udi-gdb.exp (gdb_exit): Remove close command.
30980 (gdb_target_udi): New procedure to set the UDI target.
30981 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
30982 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
30983 Added waits for prompts after several question responses. Added
30984 some more responses used by a29k-amd-udi-gdb.
30985 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
30986 pass different arguments, restart UDI connection after program
30987 completion.
30988 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
30989 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30990 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
30991 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
30992 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
30993 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
30994 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30995 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
30996 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
30997 after program completion.
30998 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
30999 compiled with a SELECT_VECS setting.
31000 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
31001 infinite recursion.
31002
31003 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
31004 Added checks for COFF results, and made them expected failures for
31005 all targets. It would be better to make them expected failures
31006 for COFF targets only.
31007
31008Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
31009
31010 * Makefile.in: add null dvi target, don't bother to recurse
31011 through test directories for info and install-info; rename
31012 $(datadir) to be dejagnu instead of deja-gnu
31013
31014Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
31015
31016 * gdb.t31/gdbme.ch: Re-enable code that previously caused
31017 compiler to coredump.
31018 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
31019 code.
31020
31021Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
31022
31023 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
31024 coredump.
31025 * gdb.t31/chillvars.exp: Comment out tests that depend on that
31026 code.
31027
31028Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
31029
31030 * gdb.t03/ptype.exp: tests for return code from gdb_test.
31031 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
31032 which in a shell. Deletes xgdb when done.
31033 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
31034 Tests the return from the "set height" or "set width" commands.
31035 Added a few return codes where needed.
31036
31037Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
31038
31039 * Makefile.in (SUBDIRS): Add gdb.t17.
31040 * configure.in (subdirs): Add gdb.t17.
31041 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
31042 files to test gdb's calling of functions in the inferior with
31043 the correct arguments and gdb's ability to retrieve any
31044 result returned.
31045
31046Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
31047
31048 * config/unix-gdb.exp (gdb_exit): Remove close commands that
31049 may be called after gdb goes away. Previous versions of expect
31050 needed these to avoid file descriptor leaks, but they cause
31051 errors with the current revision of expect.
31052 * gdb.t00/gdbvars.exp: Use -re on expected output after
31053 setting sevenbit-strings.
31054 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
31055 to set sevenbit-strings consistent across tests.
31056 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
31057 set sevenbit-strings consistent across tests.
31058
31059Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
31060
31061 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
31062 expected output to match current "expect" expectations.
31063
31064Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
31065
31066 * gdb.t00/default.exp: Change expected output for default "source"
31067 command, to match new gdb behavior which requires a filename to
31068 source.
31069
31070Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
31071
31072 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
31073 expected fail for i486-*-* that misses the marker2 function.
31074 * gdb.t10/crossload.exp (bfddefault): Allow successful
31075 recognition of a format to pass even if no symbols are found.
31076 Explicitly catch failures where the format is not recognized
31077 or is ambiguous, and add the reason to the fail message.
31078 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
31079 the cause is and invalid target and add reason to failure message.
31080 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
31081 elf32-i386, elf32-sparc, and elf32-i860.
31082 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
31083 Set up expected failure for 'filename'::variable scope resolution,
31084 which is now apparently broken on all targets.
31085 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
31086 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
31087 gdb.t23/templates.exp: Change failure for missing binfile into
31088 just a warning.
31089 gdb.t21/demangle.exp: Change all cfront references to 'arm'
31090 references.
31091
31092Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
31093
31094 * gdb.t00/default.exp: Add expected output for default "source"
31095 command, to match new gdb behavior.
31096 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
31097
31098Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
31099
31100 * config/*-gdb.exp: returns an error, rather than exiting on
31101 internal errors.
31102
31103Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
31104
31105 * gdb.t03/gdbme.c: Add pointer to struct variable.
31106 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
31107 referencing struct members.
31108
31109Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
31110
31111 * configure.in (mips-idt-ecoff): New target.
31112 * config/mips-gdb.exp: New file for remote board using MIPS remote
31113 debugging protocol.
31114
31115 * Redid configuration scheme. Removed gdb.t*/configure.in.
31116 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
31117 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
31118 distclean targets. Built executables via .o files. Adjusted
31119 tests to account for source files in $(srcdir) rather than
31120 $(objdir).
31121 * lib/gdb.exp (runto): Don't expect () after the function name,
31122 because it may have arguments.
31123
31124Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
31125
31126 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
31127 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
31128 expected failures for mips-idt-* and mips-sgi-*.
31129 * gdb.t00/default.exp (attach): Kill process if requested.
31130 * gdb.t00/help.exp (help target core, help target): Accept a gdb
31131 that does not read core files.
31132 * gdb.t01/run.exp: Removed checks for exit status code.
31133 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
31134 it is linked in.
31135 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
31136 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
31137 appropriate, rather than doing it by hand.
31138 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
31139 execution.
31140 * gdb.t10/crossload.exp: Kill existing program if needed.
31141 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
31142 appropriate, rather than doing it by hand. Always increase
31143 timeout for this test, not just for VxWorks.
31144
31145Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
31146
31147 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
31148 of Chill STRUCT types and STRUCT values.
31149 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
31150 than "char".
31151 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 31152 struct2): New struct definitions and initializations to test
c906108c
SS
31153 simple Chill STRUCT types.
31154
31155Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
31156
31157 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
31158 the null byte at the end of strings.
31159 * gdb.t00/default.exp: Make show version insensitive to copyright
31160 date.
31161 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
31162 to avoid dependencies on target char signedness.
31163 * gdb.t16/printcmds.exp: Update expected results for explicitly
31164 unsigned char.
31165 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
31166 now work.
31167 * gdb.t21/demangle.exp: Add many more patterns for template
31168 demangling, most of them being expected failures.
31169 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
31170 string we are matching for, to match on the whole string.
31171 * gdb.t21/demangle.exp: Add many new test strings to demangle,
31172 and fix a whole bunch that had incorrect expected output but were
31173 passing anyway because of the bug in "proc demangle".
31174 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
31175 type.
31176 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
31177
31178Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
31179
a9c64011
AS
31180 * gdb/testsuite: made modifications to testcases, etc., to allow
31181 them to work properly given the reorganization of deja-gnu and the
31182 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
31183
31184Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
31185
31186 * gdb/testsuite: Initial creation of gdb/testsuite.
31187 Migrated dejagnu testcases and support files for testing nm to
31188 gdb/testsuite from deja-gnu. These files were moved "as is"
31189 with no modifications. This migration is part of a major overhaul
31190 of dejagnu. The modifications to these testcases, etc., which
31191 will allow them to work with the new version of dejagnu will be
31192 made in a future update.
48efe704 31193
8d8cb839 31194 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 31195\f
8d8cb839
EZ
31196;; Local Variables:
31197;; mode: change-log
31198;; left-margin: 8
31199;; fill-column: 74
31200;; version-control: never
31201;; End:
902f2ccb 31202
28e7fd62 31203 Copyright 1993-2013 Free Software Foundation, Inc.
902f2ccb
MC
31204 Copying and distribution of this file, with or without modification,
31205 are permitted provided the copyright notice and this notice are preserved.