]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
list.exp: Catch "set listsize" failures (and "set listsize -1/0"'s history).
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
15b3979c
PA
12013-03-28 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
4 "set listsize".
5
96811e3b
KS
62013-03-26 Keith Seitz <keiths@redhat.com>
7
8 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
9 from passing.
10
4043f22b
PA
112013-03-26 Pedro Alves <palves@redhat.com>
12
13 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
14 until after GDB has run.
15
14a1aa17
YQ
162013-03-26 Yao Qi <yao@codesourcery.com>
17
18 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
19 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
20
99c819ee
MM
212013-03-26 Markus Metzger <markus.t.metzger@intel.com>
22
23 * gdb.btrace/enable.exp: Add regression test.
24
24955f63
TT
252013-03-25 Tom Tromey <tromey@redhat.com>
26
27 * gdb.cp/m-static.exp: Add destructor-printing tests.
28
fce632b6
TT
292013-03-25 Tom Tromey <tromey@redhat.com>
30
31 * gdb.cp/m-static.exp: Add constructor ptype tests.
32 * gdb.cp/m-static.cc (single_constructor): New class.
33 (main): Make instance of single_constructor.
34
598d3636
JK
352013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
36 Pedro Alves <palves@redhat.com>
37
38 * gdb.server/server-kill.c: New file.
39 * gdb.server/server-kill.exp: New file.
40
c12440c9
PA
412013-03-21 Pedro Alves <palves@redhat.com>
42
43 * gdb.trace/trace-buffer-size.exp (get default buffer size):
44 Expect $gdb_prompt in gdb_test_multiple.
45
bd712aed
DE
462013-03-21 Doug Evans <dje@google.com>
47
48 * gdb.base/maint.exp: Update tests for per-command stats.
49
b2f83c08
TT
502013-03-21 Tom Tromey <tromey@redhat.com>
51
52 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
53 * gdb.cp/misc.exp: Add test for FILENAME:: case.
54
ef0026f0
PA
552013-03-20 Pedro Alves <palves@redhat.com>
56
57 PR gdb/15289
58
59 * gdb.base/remote.exp: Test
60 "set remote hardware-watchpoint-limit -1",
61 "set remote hardware-breakpoint-limit -1",
62 "set remote hardware-watchpoint-limit 2147483647" and
63 "set remote hardware-breakpoint-limit 2147483647".
64
3f1175a9
PA
652013-03-20 Pedro Alves <palves@redhat.com>
66 Yao Qi <yao@codesourcery.com>
67
68 * gdb.trace/tfile.c: Add comments.
69 (nonconstglob): New global.
70 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
71 global that is not covered by the trace frame. Test
72 disassembling.
73
a09ae1c1
JK
742013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
75
76 * gdb.base/valgrind-infcall.exp
77 (continue #$continue_count) <remote connection closed>
78 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
79 $valgrind_pid.
80
9ce98649
TT
812013-03-15 Tom Tromey <tromey@redhat.com>
82
83 * gdb.cp/overload.cc (intintfunc): New.
84 * gdb.cp/overload.exp: Add regression test.
85
0a251e08
YQ
862013-03-15 Yao Qi <yao@codesourcery.com>
87
88 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
89 using with_test_prefix.
90 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
91 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
92 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
93 * gdb.threads/watchpoint-fork.exp (test): Likewise.
94 * gdb.base/break-interp.exp (test_core): Likewise.
95 (test_attach_gdb): Likewise.
96 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
97 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
98 Likewise.
99 * gdb.base/jit-so.exp (one_jit_test): Likewise.
100 * gdb.base/jit.exp (one_jit_test): Likewise.
101 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
102 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
103 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
104 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
105 Likewise.
106 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
107 Likewise.
108 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
109 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
110 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
111 (tracepoint_change_loc_2): Likewise.
112 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
113 Likewise.
114 (disconnected_tfind): Likewise.
115 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
116 Likewise.
117 (test_tfind_remote): Likewise.
118 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
119 Likewise.
120 (test_pending_resolved): Likewise.
121 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
122 Likewise.
123 (test_upload_tsv): Likewise.
124 * gdb.trace/pending.exp (pending_tracepoint_resolved):
125 Likewise.
126 (pending_tracepoint_works): Likewise.
127 * gdb.trace/report.exp (use_collected_data): Likewise.
128 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
129 Likewise.
130 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
131 * gdb.trace/strace.exp (strace_info_marker): Likewise.
132 (strace_trace_on_same_addr): Likewise.
133 (strace_trace_on_diff_addr): Likewise.
134 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
135 (gdb_collect_locals_test): Likewise.
136 (gdb_unavailable_registers_test): Likewise.
137 (gdb_collect_globals_test): Likewise.
138
2c415c0f
YQ
1392013-03-15 Yao Qi <yao@codesourcery.com>
140
141 * gdb.base/condbreak.exp: Add semicolon back which was removed
142 by my previous commit.
143
ae59b1da
YQ
1442013-03-14 Yao Qi <yao@codesourcery.com>
145
146 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
147 'return'.
148 (gdb_target_monitor, gdb_load): Likewise.
149 * config/sid.exp (gdb_load): Likewise.
150 * config/slite.exp (gdb_load): Likewise.
151 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
152 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
153 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
154 (single_step_until): Likewise.
155 * gdb.arch/powerpc-d128-regs.exp: Likewise.
156 * gdb.arch/system-gcore.exp: Likewise.
157 * gdb.base/bigcore.exp (extract_heap): Likewise.
158 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
159 * gdb.base/call-ar-st.exp: Likewise.
160 * gdb.base/call-rt-st.exp: Likewise.
161 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
162 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
163 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
164 * gdb.base/corefile.exp: Likewise.
165 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
166 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
167 * gdb.base/fixsection.exp: Likewise.
168 * gdb.base/funcargs.exp: Likewise.
169 * gdb.base/gcore-buffer-overflow.exp: Likewise.
170 * gdb.base/gcore-relro.exp: Likewise.
171 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
172 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
173 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
174 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
175 * gdb.base/list.exp: Likewise.
176 (set_listsize): Likewise.
177 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
178 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
179 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
180 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
181 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
182 * gdb.base/setvar.exp: Likewise.
183 (test_set): Likewise.
184 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
185 * gdb.base/solib-overlap.exp: Likewise.
186 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
187 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
188 * gdb.base/watchpoint.exp (initialize): Likewise.
189 (test_simple_watchpoint): Likewise.
190 (test_disabling_watchpoints): Likewise.
191 (test_watchpoint_triggered_in_syscall): Likewise.
192 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
193 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
194 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
195 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
196 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
197 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
198 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
199 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
200 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
201 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
202 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
203 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
204 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
205 * gdb.mi/gdb792.exp: Likewise.
206 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
207 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
208 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
209 * gdb.threads/gcore-thread.exp: Likewise.
210 (load_core): Likewise.
211 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
212 (test_startup, check_control_c): Likewise.
213 * gdb.threads/sigstep-threads.exp: Likewise.
214 * gdb.threads/thread_check.exp: Likewise.
215 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
216 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
217 (set_a_tracepoint, trace_buffer_normal): Likewise.
218 (gdb_trace_circular_tests): Likewise.
219 * gdb.trace/collection.exp: Likewise.
220 * gdb.trace/disconnected-tracing.exp: Likewise.
221 * gdb.trace/infotrace.exp: Likewise.
222 * gdb.trace/mi-traceframe-changed.exp: Likewise.
223 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
224 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
225 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
226 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
227 * gdb.trace/stap-trace.exp: Likewise.
228 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
229 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
230 * gdb.trace/trace-buffer-size.exp: Likewise.
231 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
232 * gdb.trace/unavailable.exp: Likewise.
233 * gdb.trace/while-dyn.exp: Likewise.
234 * lib/fortran.exp (set_lang_fortran): Likewise.
235 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
236 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
237 (default_gdb_start, get_compiler_info): Likewise.
238 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
239 (get_debug_format, setup_xfail_format): Likewise.
240 (rerun_to_main, gdb_skip_float_test): Likewise.
241 (build_id_debug_filename_get, get_remotetimeout): Likewise.
242 * lib/java.exp (set_lang_java): Likewise.
243 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
244 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
245 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
246 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
247 * lib/objc.exp (set_lang_objc): Likewise.
248 * lib/pascal.exp (set_lang_pascal): Likewise.
249 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
250 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
251 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
252
bb869963
SDJ
2532013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
254
255 PR c++/15203
256 PR c++/15210
257 * gdb.cp/m-static.cc (keepalive_int): New function.
258 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
259 * gdb.cp/m-static.exp: New test for `sintvar'.
260
e2be70a0
YQ
2612013-03-14 Yao Qi <yao@codesourcery.com>
262
263 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
264 of 'tstatus' into tstatus_output.
265 (top level): Save the trace data to tfile. Read trace file in
266 tfile target. Check the trace status.
267
8ddb1965
YQ
2682013-03-13 Yao Qi <yao@codesourcery.com>
269
270 * gdb.trace/tsv.exp (check_tsv): New.
271 (top level): Save a tfile on current trace session. Call
272 check_tsv on live target. Load the tfile with target tfile
273 and call check_tsv again.
274
045dd51f
YQ
2752013-03-13 Yao Qi <yao@codesourcery.com>
276
277 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
278 Replace some "gdb_test" with "gdb_test_no_output".
279
82d049ab
PH
2802013-03-12 Paul Hilfinger <hilfingr@adacore.com>
281
282 * gdb.ada/expr_delims.exp: New file.
283 * gdb.ada/expr_delims/foo.adb: New file.
284 * gdb.ada/expr_delims/pck.ads: New file.
285 * gdb.ada/expr_delims/pck.adb: New file.
286
cb8ea32b
KS
2872013-03-11 Keith Seitz <keiths@redhat.com>
288
289 * watchpoint.exp (test_no_hw_watchpoints): Add test using
290 both condition and thread. Then delete the watchpoint.
291
2f1d9bdd
MM
2922013-03-11 Christian Himpel <christian.himpel@intel.com>
293
294 * Makefile.in: Add btrace testsuite.
295 * configure: Regenerated.
296 * configure.ac: Add btrace testsuite.
297 * gdb.btrace/Makefile.in: New file.
298 * gdb.btrace/enable.c: New file.
299 * gdb.btrace/enable.exp: New file.
300 * gdb.btrace/function_call_history.c: New file.
301 * gdb.btrace/function_call_history.exp: New file.
302 * gdb.btrace/instruction_history.c: New file.
303 * gdb.btrace/instruction_history.exp: New file.
304 * gdb.btrace/instruction_history.S: New file.
305 * lib/gdb.exp: Add btrace skip proc.
306
05c56a9d
JK
3072013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
308
309 Fix entry-values if the callee called a noreturn function.
310 * gdb.arch/amd64-tailcall-noret.S: New file.
311 * gdb.arch/amd64-tailcall-noret.c: New file.
312 * gdb.arch/amd64-tailcall-noret.exp: New file.
313
9112db09
JK
3142013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
315
316 Fix entry-values in C++ across CUs.
317 * gdb.arch/amd64-tailcall-cxx.exp: New file.
318 * gdb.arch/amd64-tailcall-cxx1.S: New file.
319 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
320 * gdb.arch/amd64-tailcall-cxx2.S: New file.
321 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
322
be9a119c 3232013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
324 Hafiz Abid Qadeer <abidh@codesourcery.com>
325
326 gdb/testsuite/
327 * gdb.trace/trace-buffer-size.exp: New file.
328 * gdb.trace/trace-buffer-size.c: New file.
329
049109b0
PA
3302013-03-06 Pedro Alves <palves@redhat.com>
331
332 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
333 doesn't support the tested optional feature, call "unsupported"
334 with the same test message as the "pass" case, instead of calling
335 "pass" with a different message. Use the same text for the "fail"
336 cases too.
337
4aa54120
YQ
3382013-03-06 Yao Qi <yao@codesourcery.com>
339
340 * gdb.trace/tstatus.exp: Remove the invocation of
341 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
342 (test_tracepoints): Don't set fast tracepoint.
343 (top level): Don't check agent library is loaded or not.
344
b8b71e63
YQ
3452013-03-06 Yao Qi <yao@codesourcery.com>
346
347 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
348 parentheses by "\\".
349
33f448b1
JK
3502013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
351
352 * gdb.linespec/base/one/thefile.cc (twodup): New.
353 (m): Call it.
354 * gdb.linespec/base/two/thefile.cc (dupname): New.
355 (n): Call it.
356 * gdb.linespec/break-ask.exp: New file.
357 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
358
1c942fb9
YQ
3592013-02-28 Yao Qi <yao@codesourcery.com>
360
361 * gdb.trace/report.exp: Move some code to ...
362 (use_collected_data): New.
363 (top level): Call use_collected_data once on the live target.
364 Save at file of the current trace session, load it with target
365 tfile, and call use_collected_data again.
366
5b967901
JK
3672013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
368
369 * gdb.threads/fork-thread-pending.c (main): Add alarm.
370
6447023f
JK
3712013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
372
373 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
374 Add final kill of ${valgrind_pid}.
375
9f44fbc0
SCR
3762013-02-20 Siva Chandra Reddy <sivachandra@google.com>
377
378 * gdb.python/py-arch.c: New test case
379 * gdb.python/py-arch.exp: New tests to test
380 gdb.Architecture.disassemble
381 * gdb.python/Makefile.in: Add py-arch to the list of
382 EXECUTABLES.
383
4c9ad8c2
TT
3842013-02-18 Tom Tromey <tromey@redhat.com>
385
386 * gdb.dwarf2/subrange.exp: New file.
387
f5911ea1
HAQ
3882013-02-15 Pedro Alves <pedro@codesourcery.com>
389 Hafiz Abid Qadeer <abidh@codesourcery.com>
390
391 * gdb.trace/tfile.exp: Add test for -trace-status command.
392
420f4384
JK
3932013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
394
395 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
396 nanosleep by sleep.
397
4819b3f8
PA
3982013-02-14 Pedro Alves <palves@redhat.com>
399
400 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
401
1773c82c
HAQ
4022013-02-14 Pedro Alves <pedro@codesourcery.com>
403 Hafiz Abid Qadeer <abidh@codesourcery.com>
404
405 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
406
e234dfaf
TT
4072013-02-12 Tom Tromey <tromey@redhat.com>
408
409 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
410 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
411
6c01dd94
PA
4122013-02-12 Pedro Alves <palves@redhat.com>
413
414 * gdb.base/catch-signal.c: Update copyright years.
415 * gdb.base/catch-signal.exp: Update copyright years.
416 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
417 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
418 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
419 * gdb.dwarf2/dw2-error.S: Update copyright years.
420 * gdb.dwarf2/dw2-error.c: Update copyright years.
421 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
422 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
423 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
424
595fc67f
PA
4252013-02-12 Pedro Alves <palves@redhat.com>
426
427 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
428 message.
429 * gdb.base/sigaltstack.exp: Ditto.
430 * gdb.base/siginfo.exp: Ditto.
431 * gdb.base/sizeof.exp: Ditto.
432
17282693
PA
4332013-02-12 Pedro Alves <palves@redhat.com>
434
435 * gdb.mi/mi-basics.exp: Tweak intro comment.
436 * gdb.mi/mi-break.exp: Tweak intro comment.
437 * gdb.mi/mi-console.exp: Tweak intro comment.
438 * gdb.mi/mi-file.exp: Tweak intro comment.
439 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
440 * gdb.mi/mi-return.exp: Tweak intro comment.
441 * gdb.mi/mi-stepi.exp: Tweak intro comment.
442 * gdb.mi/mi-until.exp: Tweak intro comment.
443 * gdb.mi/mi-watch.exp: Tweak intro comment.
444
8a4ac37e
PA
4452013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
446
447 * gdb.server/no-thread-db.exp: New file.
448 * gdb.server/no-thread-db.c: New file.
449 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
450
c2792f5a
DE
4512013-02-11 Doug Evans <dje@google.com>
452
453 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
454 two decfloats.
455
d9e98382
SDJ
4562013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
457
458 * gdb.base/bitfields.c (struct internalvartest): New declaration.
459 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
460
a321661a
JK
4612013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
462
463 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
464
134a2066
YQ
4652013-02-06 Yao Qi <yao@codesourcery.com>
466
467 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
468 to ...
469 (test_create_delete_modify_tsv): ... here. New test on modifying
470 the initial value of a tsv.
471
5a2dc60a
JK
4722013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
473
474 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
475 (cd .../rdir): ... here.
476
233d95b5
JK
4772013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
478
479 * gdb.linespec/base/one/header.h: New file.
480 * gdb.linespec/base/two/header.h: New file.
481 * gdb.linespec/macro-relative.c: New file.
482 * gdb.linespec/macro-relative.exp: New file.
483
fbd9ab74
JK
4842013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
485
486 * gdb.base/fullpath-expand-func.c: New file.
487 * gdb.base/fullpath-expand.c: New file.
488 * gdb.base/fullpath-expand.exp: New file.
489 * gdb.base/realname-expand-real.c: New file.
490 * gdb.base/realname-expand.c: New file.
491 * gdb.base/realname-expand.exp: New file.
492
1b56eb55
JK
4932013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
494
495 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
496 * gdb.dwarf2/dw2-dir-file-name.c: New file.
497
af529f8f
JK
4982013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
499
500 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
501 (compare_filenames_for_search does not match)
502 (compare_filenames_for_search does match): New tests.
503
f5b95b50
JK
5042013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
505
506 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
507
d47921b9
JK
5082013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
509
510 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
511
8a92335b
JK
5122013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
513
514 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
515 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
516 ${binfile}.mini_debuginfo-debuglink and
517 ${binfile}.mini_debuginfo-debuglink.xz.
518
17f2157d
TT
5192013-02-01 Tom Tromey <tromey@redhat.com>
520
521 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
522 attributes.
523
d65f0a9c
TT
5242013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
525 Tom Tromey <tromey@redhat.com>
526
527 * gdb.dwarf2/method-ptr.exp: Link with c++.
528 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
529
f25c0135
TT
5302013-01-31 Tom Tromey <tromey@redhat.com>
531
532 * gdb.base/jit.exp (compile_jit_test): New proc.
533 Add PIE tests.
534
7078baeb
TT
5352013-01-31 Tom Tromey <tromey@redhat.com>
536
537 * gdb.dwarf2/method-ptr.cc: New file.
538 * gdb.dwarf2/method-ptr.exp: New file.
539
1d24041a
TT
5402013-01-31 Tom Tromey <tromey@redhat.com>
541
542 * lib/dwarf.exp (namespace Dwarf): New.
543
8d9878a4
TT
5442013-01-29 Tom Tromey <tromey@redhat.com>
545
546 * gdb.dwarf2/fission-reread.exp: Add unload test.
547
bed911e5
DE
5482013-01-28 Doug Evans <dje@google.com>
549
550 * gdb.dwarf2/fission-loclists.exp: New file.
551 * gdb.dwarf2/fission-loclists.S: New file.
552
e229648e
JK
5532013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
554
555 Code cleanup.
556 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
557 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
558 and prepare_for_testing.
559 * gdb.base/store.exp: Likewise.
560
86700f00
TT
5612013-01-25 Tom Tromey <tromey@redhat.com>
562
563 * gdb.python/py-explore.exp: Expect the gdb prompt.
564
8954db33
AB
5652013-01-25 Andrew Burgess <aburgess@broadcom.com>
566
567 * gdb.base/gnu_vector.c: New variable for use in tests.
568 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
569 changes in scalar to vector casting and widening.
570 * gdb.python/py-type.c: New variables for use in tests.
571 * gdb.python/py-type.exp: Update vector related tests to reflect
572 changes in scalar to vector casting and widening.
573
2077afdd
TD
5742013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
575
576 * gdb.base/prologue-include.c: New file.
577 * gdb.base/prologue-include.exp: New file.
578 * gdb.base/prologue-include.h: New file.
579
d7499464
HAQ
5802013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
581
582 PR gdb/13443
583 * gdb.mi/mi-var-block.exp: Make test messages unique.
584
e2a3e0f1
TT
5852013-01-23 Tom Tromey <tromey@redhat.com>
586
587 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
588
152fcc9c
TT
5892013-01-23 Tom Tromey <tromey@redhat.com>
590
591 * gdb.cp/converts.cc (main): Initialize 'a'.
592
bea883fd
SCR
5932013-01-23 Siva Chandra Reddy <sivachandra@google.com>
594
595 * testsuite/gdb.python/frame.exp: Add a test for
596 gdb.Frame.architecture() method.
597
0928e93d
PA
5982013-01-22 Pedro Alves <palves@redhat.com>
599
600 * gdb.base/annota1.exp (signal sent): No longer expect
601 breakpoints-invalid.
602 * gdb.cp/annota2.exp (continue until exit)
603 (watch triggered on a.x): Ditto.
604
9c97429f
PA
6052013-01-22 Pedro Alves <palves@redhat.com>
606
607 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
608 Adjust tests to breakpoints-invalid changes.
609 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
610 variables.
611 Adjust tests to breakpoints-invalid changes.
612
187d10dd
PA
6132013-01-22 Pedro Alves <palves@redhat.com>
614
615 * gdb.base/annota1.exp (annotate ignore count change): Add
616 expected output for failure case.
617
ea3aedcb
TT
6182013-01-22 Tom Tromey <tromey@redhat.com>
619
620 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
621 call.
622
998580f1
MK
6232013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
624
625 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 626 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
627 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
628 Also handle 'thread' field.
629 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
630 * gdb.mi/mi-watch.exp: Ditto.
631 * lib/mi-support.exp: Ditto.
632
8f1d5693
MK
6332013-01-21 Siva Chandra Reddy <sivachandra@google.com>
634
635 * gdb.python/py-explore.exp: Improve a test
636
2d8c5d7c
DB
6372013-01-18  David Blaikie  <dblaikie@gmail.com>
638
639 * gdb.base/label.c (main): Correct the type of the second
640 parameter.
641
46f35228
TT
6422013-01-18 Tom Tromey <tromey@redhat.com>
643
644 * gdb.dwarf2/trace-crash.s: New file.
645 * gdb.dwarf2/trace-crash.exp: New file.
646
5965d69d
HAQ
6472013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
648
43aaf8b6
PA
649 PR gdb/13443
650 * gdb.base/checkpoint.exp: Update test messages to make them
651 unique.
5965d69d 652
5ae4861a
YQ
6532013-01-18 Yao Qi <yao@codesourcery.com>
654
655 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
656 output of 'info tracepoints'.
657 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
658 Likewise.
659 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
660 * gdb.trace/disconnected-tracing.c (struct foo): New.
661
d84fca2c
JK
6622013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
663
664 * gdb.dwarf2/dw2-dos-drive.S: New file.
665 * gdb.dwarf2/dw2-dos-drive.exp: New file.
666
aebb1cc9
DE
6672013-01-17 Doug Evans <dje@google.com>
668
2782d512
DE
669 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
670 CXX_FOR_TARGET.
671
aebb1cc9
DE
672 * boards/cc-with-tweaks.exp: New file.
673
db2b2972
TT
6742013-01-17 Tom Tromey <tromey@redhat.com>
675
676 * gdb.base/completion.exp: Add "set cp-abi" completion test.
677
96343774
PA
6782013-01-17 Pedro Alves <palves@redhat.com>
679
680 Merge dg-extract-results.sh from upstream (svn 195224).
681
682 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 683 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
684
685 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 686 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
687
688 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 689 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
690
691 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
692 * dg-extract-results.sh: Redirect grep output to /dev/null instead
693 of grep -q.
694
675921c0
SD
6952012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
696
697 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
698 interface.
699 * gdb.base/jithost.c: New file.
700 * gdb.base/jithost.h: New file.
701 * gdb.base/jitreader.c : New file.
702 * gdb.base/jit-protocol.h: New file.
703
ab04a2af
TT
7042013-01-16 Tom Tromey <tromey@redhat.com>
705
706 * gdb.base/catch-signal.c: New file.
707 * gdb.base/catch-signal.exp: New file.
708
8ac3646f
TT
7092013-01-16 Tom Tromey <tromey@redhat.com>
710
711 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
712
22fc223e
JK
7132013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
714
715 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
716
44478ab3
TT
7172013-01-14 Tom Tromey <tromey@redhat.com>
718
719 * gdb.base/completion.exp: Add "set gnutarget" test.
720
06d66ee9
TT
7212013-01-14 Tom Tromey <tromey@redhat.com>
722
723 * gdb.dwarf2/dw2-restrict.S: New file.
724 * gdb.dwarf2/dw2-restrict.c: New file.
725 * gdb.dwarf2/dw2-restrict.exp: New file.
726
c9bf0622
TT
7272013-01-14 Tom Tromey <tromey@redhat.com>
728
729 * gdb.dwarf2/dw2-error.exp: New file.
730 * gdb.dwarf2/dw2-error.c: New file.
731 * gdb.dwarf2/dw2-error.S: New file.
732
5b12a61c
JK
7332013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
734
735 * gdb.cp/parse-lang.cc: New file.
736 * gdb.cp/parse-lang.exp: New file.
737
f0a4b570
JK
7382013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
739
740 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
741 (set substitute-path): New test.
742 (fullname present): Remove content.
743 (substituted fullname): New test.
744
f751cc97
JB
7452013-01-13 Joel Brobecker <brobecker@adacore.com>
746
747 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
748 check. Move $gdb_py_is_py24 value check right after.
749
04164e8e
JK
7502013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
751
752 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
753 targets.
754
5bf480a5
YQ
7552013-01-11 Yao Qi <yao@codesourcery.com>
756
757 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
758 for dprintf.
759 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
760 Check the fields in "=breakpoint-created" for dprintf.
761
f35a17b5
JK
7622012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
763
764 * gdb.mi/mi-fullname-deleted.exp: New file.
765
85817405
JK
7662012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
767
768 * gdb.base/skip-solib.exp (info skip with pending file): Update the
769 expected output.
770 (info skip with pending file): Remove.
771 (ignoring function in solib, info skip for function multiply): Update
772 the expected output.
773 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
774 (info skip (delete 1), info skip after disabling all)
775 (info skip after enabling all, info skip after disabling 4 2-3)
776 (info skip after enabling 2-3, info skip 2-3)
777 (info skip after deleting 2 3): Update the expected output.
778 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
779 statement to its initialization and return.
780 * gdb.linespec/skip-two.exp: New file.
781
27210e12
DE
7822012-12-19 Doug Evans <dje@google.com>
783
784 * gdb.base/maint.exp: Handle testing with .gdb_index.
785
bb627a12
JB
7862012-12-19 Joel Brobecker <brobecker@adacore.com>
787
788 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
789 Cavium to FSF.
790
7785b880
JB
7912012-12-19 Joel Brobecker <brobecker@adacore.com>
792
793 * dg-extract-results.sh: Update contact info in copyright notice.
794 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
795 GPL v3 or later. Update contact info.
796 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
797 gdb.threads/watchpoint-fork-mt.c,
798 gdb.threads/watchpoint-fork-parent.c,
799 gdb.threads/watchpoint-fork-st.c,
800 gdb.threads/watchpoint-fork.h: Likewise.
801
f2a8bc8a
YQ
8022012-12-15 Yao Qi <yao@codesourcery.com>
803
804 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
805 'installed' field in '=breakpoint-modified'.
806 (test_reconnect): Check 'installed' field in
807 '=breakpoint-modified' and '=breakpoint-created'.
808
809 * gdb.trace/actions.exp: Update test for 'installed' field.
810 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
811 (tracepoint_change_loc_2): Likewise.
812 Check 'info tracepoint' display nothing else.
813 * gdb.trace/deltrace.exp: Likewise.
814 * gdb.trace/infotrace.exp: Likewise.
815 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
816 Likewise.
817 * gdb.trace/passcount.exp: Likewise.
818 * gdb.trace/tracecmd.exp: Likewise.
819 * gdb.trace/while-stepping.exp: Likewise.
820
6592e36f
TT
8212012-12-14 Tom Tromey <tromey@redhat.com>
822
823 * gdb.cp/member-name.exp: New file.
824 * gdb.cp/member-name.cc: New file.
825
7d27a96d
TT
8262012-12-14 Tom Tromey <tromey@redhat.com>
827
828 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
829
f8c05d0d
DE
8302012-12-14 Doug Evans <dje@google.com>
831
832 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
833 DW_OP_GNU_implicit_pointer is section-relative.
834
451b7c33
TT
8352012-12-14 Tom Tromey <tromey@redhat.com>
836
43aaf8b6 837 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 838
10e339df
PA
8392012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
840
6fdff2c5 841 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 842
e780d813
DE
8432012-12-13 Doug Evans <dje@google.com>
844
845 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
846 * gdb.multi/multi-arch.exp: Ditto.
847
ca3dbcc8 8482012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 849
ca3dbcc8
MG
850 * gdb.mi/mi-catch-load-so.c: New. Clone of the
851 catch load test library source file.
852 * gdb.mi/mi-catch-load.c: New. Clone of the catch
853 load test source file.
854 * gdb.mi/mi-catch-load.exp: New. Test file for
855 basic MI -catch-load and -catch-unload tests.
856
2960a434
PK
8572012-12-11 Paul Koning <paul_koning@dell.com>
858
859 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
860 exception.
861 (_iterator_except): New function.
862 (ArrayPrinter): Use _iterator function instead of local _iterator
863 class for Python 3 compatibility.
864 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 865 _iterator.
2960a434
PK
866 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
867 execfile for Python 3 compatibility.
868 * gdb.python/python.exp: Handle Python 2.4 exception traceback
869 format in error_prompt test.
6fdff2c5 870
9325cb04
PK
8712012-12-10 Paul Koning <paul_koning@dell.com>
872
873 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 874 compatibility.
9325cb04
PK
875 * gdb.python/py-block.exp: Ditto.
876 * gdb.python/py-breakpoint.exp: Ditto.
877 * gdb.python/py-cmd.exp: Ditto.
878 * gdb.python/py-events.py: Ditto.
879 * gdb.python/py-finish-breakpoint.py: Ditto.
880 * gdb.python/py-finish-breakpoint2.exp: Ditto.
881 * gdb.python/py-finish-breakpoint2.py: Ditto.
882 * gdb.python/py-frame-inline.exp: Ditto.
883 * gdb.python/py-frame.exp: Ditto.
884 * gdb.python/py-infthread.exp: Ditto.
885 * gdb.python/py-objfile.exp: Ditto.
886 * gdb.python/py-parameter.exp: Ditto.
887 * gdb.python/py-progspace.exp: Ditto.
888 * gdb.python/py-prompt.exp: Ditto.
889 * gdb.python/py-symbol.exp: Ditto.
890 * gdb.python/py-symtab.exp: Ditto.
891 * gdb.python/py-template.exp: Ditto.
892 * gdb.python/py-value-cc.exp: Ditto.
893 * gdb.python/python.exp: Ditto.
894 * gdb.python/source2.py: Ditto.
895 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 896 compatibility.
9325cb04
PK
897 Use sorted() function rather than sort() method.
898 Accept either int or long values for enum values.
899 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
900 execfile for Python 3 compatibility.
901 * gdb.python/py-evsignal.exp: Ditto.
902 * gdb.python/py-evthreads.exp: Ditto.
903 * gdb.python/py-mi.exp: Ditto.
904 * gdb.python/py-pp-maint.exp: Ditto.
905 * gdb.python/py-prettyprint.exp: Ditto.
906 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 907 Python 3 compatibility.
9325cb04
PK
908 Skip tests for Python 2.4.
909 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 910 Python 3 compatibility.
9325cb04
PK
911 Use byte string rather than character string in memory write test
912 if Python 3.
913 * gdb.python/py-pp-maint.py: Change class declarations to "new
914 class" syntax.
915 * gdb.python/py-prettyprint.py: Change iterator class to generator
916 function for Python 3 compatibility.
917 Make all classes "new style".
918 Fix indentation issue and stray semicolon.
919 * gdb.python/py-shared.expChange print syntax for Python 3
920 compatibility.
921 Define "long" if Python 3.
922 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 923 compatibility.
9325cb04
PK
924 Accept either int or long values for enum values.
925 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 926 compatibility.
9325cb04
PK
927 Skip "long" and "unicode" tests if Python 3.
928 Accept either "type" or "class" in type checks.
929 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
930 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
931
8b9737bf
TT
9322012-12-10 Tom Tromey <tromey@redhat.com>
933
934 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
935 (test): Add "two_cu" argument.
936 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
937 for types; allow two CUs.
938
1b80a9fa
JK
9392012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
940
941 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
942 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
943
f0b6d50a
YQ
9442012-12-08 Yao Qi <yao@codesourcery.com>
945 Pedro Alves <palves@redhat.com>
946
947 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
948 '=breakpoint-created' when GDB merges the tracepoints of both
949 sides.
950
2f68a895
TT
9512012-12-07 Tom Tromey <tromey@redhat.com>
952
953 * gdb.base/break1.c (enum some_enum, union some_union): New.
954 (some_enum_global, some_union_global, some_value): New globals.
955 * gdb.base/completion.exp: Add tag completion tests.
956
4fc5d43e
TT
9572012-12-07 Tom Tromey <tromey@redhat.com>
958
959 * gdb.base/completion.exp: Add tests for ptype and whatis
960 completion.
961
6559e013
JB
9622012-12-07 Joel Brobecker <brobecker@adacore.com>
963
964 * gdb.base/stale-infcall.exp: Fix copyright line.
965
ae2b630d
JB
9662012-12-07 Joel Brobecker <brobecker@adacore.com>
967
968 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
969
0ba2eb0f
TT
9702012-12-06 Pedro Alves <palves@redhat.com>
971 Tom Tromey <tromey@redhat.com>
972
973 * gdb.base/exprs.exp: Add tests for cast to void.
974
731145cb
TT
9752012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
976
977 * gdb.python/py-mi.exp: Correct expected results for attribute
978 "dynamic" returned by -var-update.
979 Add test case for correct handling of "diplayhint" for children
980 of dynamic varobjs.
981 * gdb.python/py-prettyprint.c (set_itme): New function.
982 (bug_14741) New function.
983 (main) Add call to bug_14741().
984 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
985
e58fcc15
UW
9862012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
987
988 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
989 ${binfile}.funcsyms list.
990
e9eb0d14
YQ
9912012-12-04 Yao Qi <yao@codesourcery.com>
992
993 PR gdb/13443
994 * gdb.trace/actions.exp: Make test messages unique.
995
4983028c
TT
9962012-11-29 Tom Tromey <tromey@redhat.com>
997
998 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
999
ea5e6b0e
UW
10002012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
1001
1002 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
1003 * gdb.opencl/datatypes.exp: Likewise.
1004 * gdb.opencl/operators.exp: Likewise.
1005 * gdb.opencl/vec_comps.exp: Likewise.
1006
cdde3dfb
JG
10072012-11-29 Jerome Guitton <guitton@adacore.com>
1008
1009 * gdb.ada/iwide: New testcase.
1010
b50d69b5
JG
10112012-11-29 Jerome Guitton <guitton@adacore.com>
1012
1013 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
1014 ptype test.
1015
c2d3fccf
JG
10162012-11-29 Jerome Guitton <guitton@adacore.com>
1017
1018 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
1019 form {VARIANT_TYPE}ADDRESS.
1020
5edf51fe
YQ
10212012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
1022
1023 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
1024 (func): New function.
1025 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
1026 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
1027 pointers to members with pointer-to-function type.
1028
608e2dbb
TT
10292012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1030 Tom Tromey <tromey@redhat.com>
1031
1032 * gdb.base/gnu-debugdata.exp: New file.
1033 * gdb.base/gnu-debugdata.c: New file.
1034 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
1035 (gdb_unload): Return 0 on success.
1036
4648e588
JK
10372012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1038
1039 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
1040
17d6efc4
JB
10412012-11-26 Joel Brobecker <brobecker@adacore.com>
1042
1043 * gdb.base/empty_exe.exp: New testcase.
1044
ace21957
MF
10452012-11-20 Mike Frysinger <vapier@gentoo.org>
1046
1047 * gdb.base/completion.exp: Add test for help aliases completion.
1048
5c401a0a
YQ
10492012-11-20 Yao Qi <yao@codesourcery.com>
1050
1051 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1052 Don't test 'maint set show-debug-regs'.
1053 Use command 'set remotecache' instead of
1054 'set circular-trace-buffer'.
1055
8dea366b
KS
10562012-11-16 Keith Seitz <keiths@redhat.com>
1057
1058 PR c++/13615
1059 * gdb.cp/baseenum.cc: New file.
1060 * gdb.cp/baseenum.exp: New file.
1061 * gdb.cp/derivation.cc (A): Add copyright.
1062 Add a typedef.
1063 (B): Use A::value_type instead of int. Change all references.
1064 (D): Use value_type instead of int. Change all references.
1065 (E): Likewise.
1066 (F); Likewise.
1067 (Z): New class.
1068 (ZZ): New class.
6fdff2c5 1069 (N, Base, Derived): New namespace and classes.
8dea366b
KS
1070 (main): Add instances of Z and ZZ.
1071 Make sure all symbols from N are kept.
1072 * gdb.cp/derivation.exp: Update typedef changes in tests.
1073 Add tests for class typedefs both before and after starting
1074 the inferior.
1075 Add tests for searching for a typedef while stopped in a
1076 method.
1077
5e34c6c3
LM
10782012-11-14 Luis Machado <lgustavo@codesourcery.com>
1079
1080 * gdb.mi/mi-var-create-rtti.c: New file.
1081 * gdb.mi/mi-var-create-rtti.exp: New file.
1082
5e487a5f
LM
10832012-11-14 Luis Machado <lgustavo@codesourcery.com>
1084
1085 * gdb.base/structs3.exp: Run to main before doing any tests.
1086
6d67b990
AB
10872012-11-14 Andrew Burgess <aburgess@broadcom.com>
1088
1089 * gdb.python/py-type.exp: Uniquify test names.
1090
e5d98164
YQ
10912012-11-14 Yao Qi <yao@codesourcery.com>
1092
1093 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
1094 (thread_function) [DEBUG]: Call 'printf'.
1095 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
1096 command line if 'DEBUG=1' is passed to test.
1097 Remove a pattern to match inferior's output.
1098
62747a60
TT
10992012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
1100
1101 * gdb.mi/mi-fill-memory.exp: New test.
1102
18a9fc12
TT
11032012-11-12 Tom Tromey <tromey@redhat.com>
1104
1105 * gdb.base/completion.exp: Update for "info type-printers".
1106 * gdb.python/py-typeprint.cc: New file.
1107 * gdb.python/py-typeprint.exp: New file.
1108 * gdb.python/py-typeprint.py: New file.
1109
bd69fc68
TT
11102012-11-12 Tom Tromey <tromey@redhat.com>
1111
1112 * gdb.base/call-sc.exp: Use "ptype/r".
1113 * gdb.base/volatile.exp: Don't expect "int".
1114 * gdb.cp/ptype-flags.cc: New file.
1115 * gdb.cp/ptype-flags.exp: New file.
1116 * gdb.cp/templates.exp: Use ptype/r.
1117 (test_ptype_of_templates, test_template_typedef): Likewise.
1118 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
1119 argument. Handle template names and template parameters.
1120 * gdb.mi/mi-var-cmd.exp: Accept "long".
1121 * gdb.mi/mi-var-child.exp: Accept "long".
1122 * gdb.mi/mi-var-display.exp: Accept "long".
1123 * gdb.mi/mi2-var-child.exp: Accept "long".
1124
b3720c3a
TT
11252012-11-12 Tom Tromey <tromey@redhat.com>
1126
1127 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
1128 "ptype" from calls to cp_test_ptype_class.
1129 (test_enums): Likewise.
1130 * gdb.cp/derivation.exp: Remove "ptype" from calls to
1131 cp_test_ptype_class.
1132 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
1133 calls to cp_test_ptype_class.
1134 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
1135 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
1136 from calls to cp_test_ptype_class.
1137 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
1138 command here. Change "in_command" argument to "in_exp".
1139
0d63ecda
KS
11402012-11-10 Keith Seitz <keiths@redhat.com>
1141
1142 PR gdb/14288
1143 * gdb.base/printcmds.c: Add invalid_XXX globals
1144 for repeated byte tests.
1145 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
1146 * gdb.base/wchar.c (main): Add and construct a wchar_t
1147 array with repeated characters.
1148 * gdb.base/wchar.exp: Add repeated character tests.
1149
ed8a1c2d
AB
11502012-11-09 Andrew Burgess <aburgess@broadcom.com>
1151
1152 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
1153 disassembly output.
1154
9107fc8d
PA
11552012-11-09 Pedro Alves <palves@redhat.com>
1156
1157 PR gdb/14306
1158
1159 * gdb.multi/multi-arch-exec.c: New file.
1160 * gdb.multi/multi-arch-exec.exp: New file.
1161
558a9d82
YQ
11622012-11-09 Yao Qi <yao@codesourcery.com>
1163
1164 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
1165 (top level): Call it.
1166
e714f336
YQ
11672012-11-09 Yao Qi <yao@codesourcery.com>
1168
1169 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
1170 typo.
1171
6ecd4729
PA
11722012-11-09 Pedro Alves <palves@redhat.com>
1173
1174 * gdb.multi/multi-arch.exp: New.
1175
9015683b
TT
11762012-11-08 Tom Tromey <tromey@redhat.com>
1177
1178 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
1179 core files, if possible.
1180 * gdb.base/siginfo-thread.c: New file
1181 * gdb.base/siginfo-thread.exp: New file
1182
ea9f10bb
TT
11832012-11-08 Tom Tromey <tromey@redhat.com>
1184
1185 * gdb.base/comprdebug.exp: New file.
1186
f6592439
PA
11872012-11-06 Pedro Alves <palves@redhat.com>
1188
1189 PR gdb/14810
1190
1191 * gdb.base/disabled-location.c: New file.
1192 * gdb.base/disabled-location.exp: New file.
1193
2d338fa9
TT
11942012-11-06 Tom Tromey <tromey@redhat.com>
1195
1196 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
1197 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
1198 gdb_gcore_cmd.
1199 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
1200 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
1201 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
1202 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
1203 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
1204 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
1205 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
1206 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
1207 * lib/gdb.exp (gdb_gcore_cmd): New proc.
1208
68c9da30
PA
12092012-11-05 Pedro Alves <palves@redhat.com>
1210
1211 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
1212 procedure.
1213 (do_vfork_and_follow_child_tests_exec)
1214 (do_vfork_and_follow_child_tests_exit): Call it.
1215
a7c8c931
PA
12162012-11-05 Pedro Alves <palves@redhat.com>
1217
1218 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
1219 fails.
1220
6f6484cd
YQ
12212012-11-03 Yao Qi <yao@codesourcery.com>
1222
1223 Fix PR gdb/14617.
1224 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1225 Remove setup_kfail, and update test.
1226
b45627a0
TT
12272012-11-02 Tom Tromey <tromey@redhat.com>
1228
1229 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
1230 test.
1231
f50f4e56
PA
12322012-11-02 Pedro Alves <palves@redhat.com>
1233
1234 PR gdb/14766
1235
1236 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
1237 setup_kfail.
1238 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
1239 get registers".
1240
71ce889d
PA
12412012-11-02 Pedro Alves <palves@redhat.com>
1242
1243 * gdb.base/foll-vfork-exit.c: New file.
1244 * gdb.base/foll-vfork.exp (top level): New file-describing
1245 comment.
1246 (vfork_child_follow_to_exit): New procedure.
1247 (tcatch_vfork_then_child_follow): Rename as ...
1248 (tcatch_vfork_then_child_follow_exec): ... this.
1249 (tcatch_vfork_then_child_follow_exit): New procedure.
1250 (do_vfork_and_follow_parent_tests): New procedure, factored out
1251 from do_vfork_and_exec_tests.
1252 (do_vfork_and_follow_child_tests_exec): Ditto.
1253 (do_vfork_and_exec_tests): Delete.
1254 (do_vfork_and_follow_child_tests_exit): New procedure.
1255 (top level): Run tests with both the program that has the vfork
1256 child execing, and the program has the vfork child exiting.
1257
1e35b1a9
PA
12582012-11-02 Pedro Alves <palves@redhat.com>
1259
1260 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
1261 (check_vfork_catchpoints, vfork_parent_follow_through_step)
1262 (vfork_parent_follow_to_bp): Call it.
1263 (kill_child): Delete.
1264 (vfork_and_exec_child_follow_to_main_bp)
1265 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
1266 longer call kill_child.
1267 (tcatch_vfork_then_parent_follow): Call setup_gdb.
1268 (do_vfork_and_exec_tests): Don't runto_main before calling each
1269 test procedure.
1270 (top level): Don't clean restart and set verbose before running
1271 each test procedure.
1272
12732012-11-02 Pedro Alves <palves@redhat.com>
1274
1275 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
1276 (vfork_parent_follow_to_bp)
1277 (vfork_and_exec_child_follow_to_main_bp)
1278 (vfork_and_exec_child_follow_through_step)
1279 (tcatch_vfork_then_parent_follow)
1280 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1281 Use with_test_prefix.
1282
12832012-11-02 Pedro Alves <palves@redhat.com>
1284
1285 * gdb.base/foll-vfork.c: Add copyright header.
1286 * gdb.base/vforked-prog.c: Add copyright header.
1287
12882012-11-02 Pedro Alves <palves@redhat.com>
1289
1290 * gdb.base/foll-vfork.exp
1291 (vfork_and_exec_child_follow_through_step): Don't skip on
1292 non-HP/UX targets. Expect the next to only step one line on
1293 non-HP/UX targets, rather than stopping only after the exec.
1294
12952012-11-02 Pedro Alves <palves@redhat.com>
1296
1297 Don't hard code line numbers.
1298
1299 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
1300 Expect text from the sources instead of a line number.
1301 (vfork_parent_follow_to_bp)
1302 (vfork_and_exec_child_follow_to_main_bp)
1303 (vfork_and_exec_child_follow_through_step)
1304 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1305 Use gdb_get_line_number.
1306
13072012-11-02 Pedro Alves <palves@redhat.com>
1308
1309 Modernize.
1310
1311 * gdb.base/foll-vfork.exp: Use standard_testfile and
1312 build_executable. Pass descriptive string to untested.
1313 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
1314 (vfork_and_exec_child_follow_to_main_bp)
1315 (vfork_and_exec_child_follow_through_step)
1316 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
1317 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
1318 of send_gdb/gdb_expect.
1319
1320 (kill_child): New procedure.
1321 (vfork_and_exec_child_follow_to_main_bp)
1322 (vfork_and_exec_child_follow_through_step): Use it.
1323
f0559fff
YQ
13242012-11-02 Yao Qi <yao@codesourcery.com>
1325
1326 * gdb.base/setvar.exp: Test setting nested struct.
1327 * gdb.base/setvar.c (v_struct3): New.
1328
c207c6da
DE
13292012-11-01 Doug Evans <dje@google.com>
1330
1331 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
1332 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
1333 use them.
1334
2f27adfe
AB
13352012-10-31 Andrew Burgess <aburgess@broadcom.com>
1336
1337 PR cli/14772
1338 * gdb.base/gnu_vector.c (union_with_vector_1)
1339 (struct_with_vector_1): Add new struct and union for testing
1340 ptype.
1341 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
1342 structs / unions containing vectors.
1343
bb662ca6
YQ
13442012-10-25 Yao Qi <yao@codesourcery.com>
1345
1346 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
1347 'setup_kfail' instead of 'setup_kfail_for_target'.
1348 * gdb.base/varargs.exp: Likewise.
1349 * lib/gdb.exp (setup_kfail_for_target): Remove.
1350
635d23ff
MK
13512012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
1352
1353 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
1354
afdb064f
MK
13552012-10-25 Mark Kettenis <kettenis@gnu.org>
1356
1357 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
1358
d99dcf51
JB
13592012-10-24 Joel Brobecker <brobecker@adacore.com>
1360
1361 * gdb.ada/set_wstr: New testcase.
1362
32560274
JB
13632012-10-24 Joel Brobecker <brobecker@adacore.com>
1364
1365 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
1366
5ded5331
JB
13672012-10-24 Joel Brobecker <brobecker@adacore.com>
1368
1369 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
1370
d8d84291
MK
13712012-10-24 Mark Kettenis <kettenis@gnu.org>
1372
1373 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
1374
6e933c51
JK
13752012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1376
1377 * gdb.base/callfuncs.exp (do_function_calls): Fix
1378 setup_kfail_for_target for -m32 mode.
1379
274bd000
MK
13802012-10-23 Mark Kettenis <kettenis@gnu.org>
1381
1382 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
1383 are now fixed.
1384
545f743d
YQ
13852012-10-23 Yao Qi <yao@codesourcery.com>
1386
1387 * gdb.base/info-os.exp: Resume the inferior until it exits.
1388
48b56b6a 13892012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
1390
99c7d5a8 1391 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
1392 * gdb.base/print-file-var.exp: Likewise.
1393 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 1394
8de0566d
YQ
13952012-10-17 Yao Qi <yao@codesourcery.com>
1396
1397 * gdb.mi/mi-memory-changed.exp: New.
1398
44883546
YQ
13992012-10-16 Yao Qi <yao@codesourcery.com>
1400
1401 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
1402 returns true.
1403 Call gdb_load_shlibs.
1404 * gdb.reverse/solib-reverse.exp: Likewise.
1405
345f514a
KS
14062012-10-15 Keith Seitz <keiths@redhat.com>
1407
1408 * lib/cp-support.exp (cp_test_ptype_class): Add support
1409 for class typedefs.
1410
1411 * gdb.cp/derivation.exp: Add tests for g_instance.
1412
9e3a7d65
JK
14132012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1414
1415 Fix entry values resolving in inlined frames.
1416 * gdb.arch/amd64-entry-value-inline.S: New file.
1417 * gdb.arch/amd64-entry-value-inline.c: New file.
1418 * gdb.arch/amd64-entry-value-inline.exp: New file.
1419
21a7b089
JK
14202012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1421 Doug Evans <dje@google.com>
1422
1423 Fix recent gdb_breakpoint regression.
1424 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
1425 braces from the parameter.
1426 * gdb.java/jprint.exp: Likewise.
1427
2c47921e
DE
14282012-10-15 Doug Evans <dje@google.com>
1429
1430 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
1431
89398707
JB
14322012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
1433
1434 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
1435
801e4185
TT
14362012-10-15 Tom Tromey <tromey@redhat.com>
1437
1438 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
1439
74f910c8
TT
14402012-10-15 Tom Tromey <tromey@redhat.com>
1441
1442 * gdb.python/py-symbol.exp: Test symbol destructor.
1443
91567807
YQ
14442012-10-14 Yao Qi <yao@codesourcery.com>
1445
1446 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
1447 * gdb.mi/mi-cli.exp: New.
1448
1449 * gdb.mi/mi2-basics.exp: Remove.
1450 * gdb.mi/mi2-break.exp: Remove.
1451 * gdb.mi/mi2-console.exp: Remove.
1452 * gdb.mi/mi2-disassemble.exp: Remove.
1453 * gdb.mi/mi2-eval.exp: Remove.
1454 * gdb.mi/mi2-file.exp: Remove.
1455 * gdb.mi/mi2-hack-cli.exp: Remove.
1456 * gdb.mi/mi2-pthreads.exp: Remove.
1457 * gdb.mi/mi2-read-memory.exp: Remove.
1458 * gdb.mi/mi2-regs.exp: Remove.
1459 * gdb.mi/mi2-return.exp: Remove.
1460 * gdb.mi/mi2-simplerun.exp: Remove.
1461 * gdb.mi/mi2-stack.exp: Remove.
1462 * gdb.mi/mi2-stepi.exp: Remove.
1463 * gdb.mi/mi2-syn-frame.exp: Remove.
1464 * gdb.mi/mi2-until.exp: Remove.
1465 * gdb.mi/mi2-watch.exp: Remove.
1466 * gdb.mi/mi2-var-block.exp: Remove.
1467 * gdb.mi/mi2-var-cmd.exp: Remove.
1468 * gdb.mi/mi2-var-display.exp: Remove.
1469
87332029
YQ
14702012-10-12 Yao Qi <yao@codesourcery.com>
1471
1472 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
1473 trail '.*' on matching patterns.
1474
11fc9057
L
14752012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1476
1477 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
1478 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
1479 * gdb.arch/i386-disp-step.exp: Likewise.
1480 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1481 * gdb.arch/i386-prologue.exp: Likewise.
1482 * gdb.arch/i386-size-overlap.exp: Likewise.
1483 * gdb.arch/i386-size.exp: Likewise.
1484 * gdb.arch/i386-unwind.exp: Likewise.
1485
7d46bcdc
L
14862012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1487
1488 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
1489 * gdb.arch/i386-word.exp: Likewise.
1490
31224d9d
L
14912012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1492
1493 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
1494 is_ilp32_target to set nr_regs.
1495 * gdb.arch/i386-sse.exp: Likewise.
1496
5b7d0050
DE
14972012-10-11 Doug Evans <dje@google.com>
1498
7c09e5a0
DE
1499 PR breakpoints/14643.
1500 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
1501 * gdb.linespec/thread.c: New file.
1502 * gdb.linespec/thread.exp: New file.
1503
5b7d0050
DE
1504 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
1505 Recognize "message" -> print pass and fail. Add eof case.
1506 (runto): Recognize message, no-message. Print pass/fail if requested,
1507 with same treatment as gdb_breakpoint.
1508 (runto_main): Pass no-message to runto.
1509 (gdb_internal_error_resync): Add log message.
1510 (gdb_file_cmd): Tweak internal error fail text for consistency.
1511
2e24f4aa
JK
15122012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1513
1514 Fix crash during stepping on ppc32.
1515 * gdb.base/step-symless.c: New file.
1516 * gdb.base/step-symless.exp: New file.
1517
aa14df25
DE
15182012-10-03 Doug Evans <dje@google.com>
1519
1520 PR symtab/14601
1521 * gdb.cp/using-crash.exp: New file.
1522 * gdb.cp/using-crash.cc: New file.
1523
975531db
DE
15242012-10-02 Doug Evans <dje@google.com>
1525
1526 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
1527 more consistent.
1528 (runto,gdb_debug_format): Ditto.
1529 (gdb_file_cmd): Watch for eof in nested gdb_expect.
1530 Clean up logging and error messages.
1531
b3dc46ff
AB
15322012-10-01 Andrew Burgess <aburgess@broadcom.com>
1533
1534 Test find command on unmapped memory.
1535 * gdb.base/find-unmapped.c: New file.
1536 * gdb.base/find-unmapped.exp: New file.
1537
45814d45
YQ
15382012-09-29 Yao Qi <yao@codesourcery.com>
1539
1540 * gdb.trace/mi-tracepoint-changed.exp: New.
1541 * gdb.mi/mi-breakpoint-changed.exp: New.
1542 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
1543 * gdb.mi/pendshr2.c: New.
1544
4c2786ba
YQ
15452012-09-28 Yao Qi <yao@codesourcery.com>
1546
1547 * gdb.mi/pr11022.exp: New.
1548 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
1549
7977e5d2
TT
15502012-09-27 Tom Tromey <tromey@redhat.com>
1551
1552 * gdb.cp/derivation.exp: Add regression test.
1553 * gdb.cp/derivation.cc (class V_base, class V_inter, class
1554 V_derived): New.
1555 (vderived): New global.
1556
0971de02
TT
15572012-09-26 Tom Tromey <tromey@redhat.com>
1558
1559 * gdb.dwarf2/dw2-common-block.S: New file.
1560 * gdb.dwarf2/dw2-common-block.exp: New file.
1561
4357ac6c
TT
15622012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1563
1564 * gdb.fortran/common-block.exp: New file.
1565 * gdb.fortran/common-block.f90: New file.
1566
6f380991
AB
15672012-09-26 Andrew Burgess <aburgess@broadcom.com>
1568
1569 * gdb.base/duplicate-bp.c: New file.
1570 * gdb.base/duplicate-bp.exp: New file.
1571
8ae551cf
YQ
15722012-09-26 Yao Qi <yao@codesourcery.com>
1573
1574 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
1575
1576 Revert:
1577 2012-09-21 Yao Qi <yao@codesourcery.com>
1578
1579 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1580
318102b9
SP
15812012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1582
1583 * gdb.base/longest-types.c: New test case.
1584 * gdb.base/longest-types.exp: New test case.
1585
a1e5fd69
YQ
15862012-09-25 Yao Qi <yao@codesourcery.com>
1587
1588 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
1589
04e7407c
JK
15902012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1591
1592 Fix internal error on canonicalization of clang types.
1593 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
1594 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
1595 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
1596
9bf4bce9
JK
15972012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1598
1599 Fix disassemble without parameters in tailcall frame.
1600 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
1601
2603f7ee
AB
16022012-09-21 Andrew Burgess <aburgess@broadcom.com>
1603
1604 * gdb.dwarf2/dw2-op-out-param.S: New file.
1605 * gdb.dwarf2/dw2-op-out-param.exp: New file.
1606
a3569abd
YQ
16072012-09-21 Yao Qi <yao@codesourcery.com>
1608
1609 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1610
a065d7af
YQ
16112012-09-21 Yao Qi <yao@codesourcery.com>
1612
1613 * gdb.mi/mi-cli.exp: Remove.
1614 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
1615
15544bd9
YQ
16162012-09-21 Yao Qi <yao@codesourcery.com>
1617
1618 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
1619 "=record-started" notification.
1620
82a90ccf
YQ
16212012-09-21 Yao Qi <yao@codesourcery.com>
1622
1623 * gdb.mi/mi-record-changed.exp: New.
1624 * gdb.mi/mi-reverse.exp: Adjust expected output.
1625
d7de8e3c
TT
16262012-09-20 Tom Tromey <tromey@redhat.com>
1627
1628 * gdb.python/python.exp: Test atexit.register.
1629
1aa99537
DE
16302012-09-20 Doug Evans <dje@google.com>
1631
05eade73
DE
1632 * boards/dwarf4-gdb-index.exp: New file.
1633
1aa99537
DE
1634 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
1635 while running the tests.
1636
4ae24af0
JB
16372012-09-18 Joel Brobecker <brobecker@adacore.com>
1638
1639 * gdb.ada/bp_reset: New testcase.
1640
bb25a15c
YQ
16412012-09-18 Yao Qi <yao@codesourcery.com>
1642
1643 * gdb.trace/mi-tsv-changed.exp: New.
1644
201b4506
YQ
16452012-09-18 Yao Qi <yao@codesourcery.com>
1646
1647 * gdb.trace/mi-traceframe-changed.exp: New.
1648
6fc1c773
YQ
16492012-09-17 Yao Qi <yao@codesourcery.com>
1650
1651 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
1652 when it is less than 0.
1653
1ab3b62c
JK
16542012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1655
1656 PR 14119
1657 * gdb.arch/amd64-tailcall-ret.S: New file.
1658 * gdb.arch/amd64-tailcall-ret.c: New file.
1659 * gdb.arch/amd64-tailcall-ret.exp: New file.
1660 * gdb.reverse/amd64-tailcall-reverse.S: New file.
1661 * gdb.reverse/amd64-tailcall-reverse.c: New file.
1662 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
1663
acf9414f
JK
16642012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1665
1666 PR 14548
1667 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
1668 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
1669 * gdb.reverse/singlejmp-reverse.S: New file.
1670 * gdb.reverse/singlejmp-reverse.c: New file.
1671 * gdb.reverse/singlejmp-reverse.exp: New file.
1672
666b578b
JK
16732012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1674
1675 Fix compatibility with old GCC (~4.1).
1676 * gdb.cp/converts.cc (my_enum_var): New variable.
1677
42056501
AB
16782012-09-14 Andrew Burgess <aburgess@broadcom.com>
1679
1680 * gdb.xml/tdesc-regs.exp: Update expected output for new
1681 vector_size syntax of vector types.
1682
b9516fa1
YPK
16832012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
1684
1685 Refactor Python "gdb" module into a proper Python package, by
1686 introducing a new "_gdb" module for code implemented in C, and
1687 using reload/__import__ instead of exec.
1688 * gdb.python/python.exp (Test stderr location): Update module
1689 location of GDB-specific sys.stderr.
1690 (Test stdout location): Ditto for sys.stdout.
1691
18dc9ad8
JK
16922012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1693
1694 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
1695
ea3a9873
KS
16962012-09-12 Keith Seitz <keiths@redhat.com>
1697
1698 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
1699 conversion statement.
1700
5941debb
DE
17012012-09-12 Doug Evans <dje@google.com>
1702
1703 * gdb.base/help.exp: Remove testing of individual command help text,
1704 too much of a maintenance burden. Instead, test the functionality
1705 of "help" itself.
1706
cfc35e02
DE
17072012-09-11 Doug Evans <dje@google.com>
1708
3a0ed5d7
DE
1709 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
1710 breakpoint.
1711
cfc35e02
DE
1712 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
1713 * gdb.dwarf2/fission-reread.S: Ditto.
1714 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
1715 * gdb.dwarf2/fission-reread.exp: Ditto.
1716
350b1b26
AB
17172012-09-11 Andrew Burgess <aburgess@broadcom.com>
1718
1719 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
1720
2fa15f23
JB
17212012-09-10 Joel Brobecker <brobecker@adacore.com>
1722
1723 * gdb.ada/optim_drec: New testcase.
1724
09be558e
DE
17252012-09-10 Doug Evans <dje@google.com>
1726
1727 * boards/fission.exp: Explicitly mark "board" as not remote.
1728
5b4f6e25
KS
17292012-09-10 Keith Seitz <keiths@redhat.com>
1730
1731 PR gdb/13483
1732 * gdb.cp/converts.cc (A::A): Add ctor.
1733 (A::member_): Add member.
1734 (enum my_enum): New enumeration.
1735 (main): Add calls to foo1_7 with various
1736 permitted arguments.
1737 * gdb.cp/converts.exp: Add tests for boolean
1738 conversions permitted by the standard.
1739
b4ca5ed9
YPK
17402012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
1741
1742 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
1743 avoid spurious results due to ~/.gdbinit.
1744 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
1745 $INTERNAL_GDBFLAGS in run command.
1746 * gdb.gdb/observer.exp (setup_test): Ditto.
1747 * gdb.gdb/selftest.exp (test_with_self): Ditto.
1748 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
1749
d54b30bb
DE
17502012-09-06 Doug Evans <dje@google.com>
1751
14910956
DE
1752 * boards/fission.exp: New file.
1753
d54b30bb
DE
1754 * gdb.python/py-value.exp: Use clean_restart.
1755
91b253e1
DE
17562012-09-05 Doug Evans <dje@google.com>
1757
1758 * gdb.base/info-macros.c: Fix whitespace.
1759
1292279a
PA
17602012-08-28 Pedro Alves <palves@redhat.com>
1761
1762 PR gdb/14428
1763
1764 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
1765
1c8cdcb1
JK
17662012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1767
1768 * gdb.base/break-caller-line.c: New file.
1769 * gdb.base/break-caller-line.exp: New file.
1770
1e8e8b51
JK
17712012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1772
1773 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
1774 * gdb.arch/i386-cfi-notcurrent.S: New file.
1775 * gdb.arch/i386-cfi-notcurrent.exp: New file.
1776
1591a1e8
PA
17772012-08-27 Wei-cheng Wang <cole945@gmail.com>
1778 Yao Qi <yao@codesourcery.com>
1779 Pedro Alves <palves@redhat.com>
1780
1781 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
1782 New procedures.
1783 (top level): Add overlap checking tests.
1784
4442ada7
TT
17852012-08-24 Tom Tromey <tromey@redhat.com>
1786
1787 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
1788 gdb_test_multiple fails for other reasons.
1789
e7d50cc9
YQ
17902012-08-24 Yao Qi <yao@codesourcery.com>
1791
1792 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
1793
dfbd5e7b
PA
17942012-08-23 Pedro Alves <palves@redhat.com>
1795
1796 * gdb.base/help.exp: Adjust to "handle" help text change.
1797
8d735b87
YQ
17982012-08-23 Yao Qi <yao@codesourcery.com>
1799
1800 * gdb.trace/disconnected-tracing.c (start, end): New.
1801 (main): Call start and end.
1802 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
1803 existing tests into this proc.
1804 (disconnected_tfind): New.
1805
61b1d759
YQ
18062012-08-23 Yao Qi <yao@codesourcery.com>
1807
1808 * boards/native-gdbserver.exp (${board}_upload): New.
1809 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
1810 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
1811 Execute tfile on remote target.
1812 Copy trace file from target to host.
1813
6ca1b147
JM
18142012-08-22 Joseph Myers <joseph@codesourcery.com>
1815
1816 * gdb.arch/thumb-bx-pc.S: New file.
1817 * gdb.arch/thumb-bx-pc.exp: New file.
1818
706e3705
TT
18192012-08-22 Tom Tromey <tromey@redhat.com>
1820
1821 * gdb.base/maint.exp: Update.
1822
b4893d48
TT
18232012-08-22 Tom Tromey <tromey@redhat.com>
1824
1825 * lib/gdb.exp (skip_unwinder_tests): New proc.
1826 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
1827 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
1828
45b7da81
TT
18292012-08-21 Tom Tromey <tromey@redhat.com>
1830
1831 * gdb.hp/gdb.aCC/exception.exp: Remove.
1832
f94363d7
AP
1833012-08-19 Andrew Pinski <apinski@cavium.com>
1834
1835 * gdb.arch/mips-octeon-bbit.c: New file.
1836 * gdb.arch/mips-octeon-bbit.exp: New Test.
1837
e5afdbd7
KS
1838012-08-19 Keith Seitz <keiths@redhat.com>
1839
1840 PR c++/14365
1841 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
1842 * gdb.dwarf2/dw2-anon-mptr.S: New file.
1843
c29e8b64
JK
18442012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1845
1846 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
1847 verbose -log by more specific untested call.
1848
15a7e7bc
YQ
18492012-08-18 Yao Qi <yao@codesourcery.com>
1850
1851 * gdb.trace/tfind.exp: Move tests on various command help before
1852 checking target supports trace.
1853 Fix the expected output of 'help tfind end'.
1854
a451cb65
KS
18552012-08-17 Keith Seitz <keiths@redhat.com>
1856
1857 PR c++/13356
1858 * gdb.base/default.exp: Update all "check type" tests.
1859 * gdb.base/help.exp: Likewise.
1860 * gdb.base/setshow.exp: Likewise.
1861 * gdb.cp/converts.cc (foo1_type_check): New function.
1862 (foo2_type_check): New function.
1863 (foo3_type_check): New function.
1864 (main): Call new functions.
1865 * converts.exp: Add tests for integer-to-pointer conversions
1866 with/without strict type-checking.
1867
dbf6a605
MF
18682012-08-16 Mike Frysinger <vapier@gentoo.org>
1869
1870 * gdb.base/help.exp: Update expected output.
1871
0c92d8c1
JB
18722012-08-16 Joel Brobecker <brobecker@adacore.com>
1873
1874 * gdb.ada/rdv_wait: New testcase.
1875
e56f7f42
JK
18762012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1877
1878 * gdb.base/attach-twice.exp: Remove excessive ps exec.
1879
f47f77df
DE
18802012-08-13 Doug Evans <dje@google.com>
1881
e202d6e8 1882 * gdb.base/help.exp: Update expected output.
f47f77df
DE
1883 * gdb.base/default.exp: Update expected output of "show convenience".
1884
a72c3253
DE
18852012-08-10 Doug Evans <dje@google.com>
1886
1887 * gdb.python/py-strfns.c: New file.
1888 * gdb.python/py-strfns.exp: New file.
1889 * gdb.python/py-type.exp (test_fields): Add vector tests.
1890
de0bea00
MF
18912012-08-10 Mike Frysinger <vapier@gentoo.org>
1892
1893 PR cli/10436:
1894 * gdb.base/completion.exp: Add tests for handle completion.
1895
5b9afe8a
YQ
18962012-08-09 Yao Qi <yao@codesourcery.com>
1897
1898 * gdb.mi/mi-cmd-param-changed.exp: New.
1899 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
1900 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
1901 * gdb.mi/mi2-prompt.exp: Likewise.
1902
4f485ebc
DE
19032012-08-08 Doug Evans <dje@google.com>
1904
1905 * gdb.base/debug-expr.c: New file.
1906 * gdb.base/debug-expr.exp: New file.
1907 * gdb.base/exprs.exp: Test {type} casts.
1908 * gdb.cp/debug-expr.exp: New file.
1909
5888842d
JK
19102012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1911
1912 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
1913 global variable loop, not a 'break'. Add loop count limit to 100.
1914 Add new fail case for terminated vgdb.
1915
4f69f4c2
JK
19162012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1917 Jean-Marc Saffroy <saffroy@gmail.com>
1918
1919 PR 11804
1920 * gdb.base/gcore-relro.exp: New file.
1921 * gdb.base/gcore-relro-main.c: New file.
1922 * gdb.base/gcore-relro-lib.c: New file.
1923
e2de5390
JK
19242012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1925
1926 Do not false FAIL with old GCCs.
1927 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
1928 GCC < 4.5 in $no_hw mode.
1929
606603c5
JK
19302012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1931
1932 * gdb.base/default.exp (cd): Accept new directory with no arguments.
1933
777f26c2
JK
19342012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1935
1936 * gdb.base/list.exp (test_only_end): New function.
1937 Call it.
1938
2c12abee
TT
19392012-08-06 Tom Tromey <tromey@redhat.com>
1940
1941 * gdb.python/py-mi.exp: Add test for printer whose children
1942 are a list.
1943 * gdb.python/py-prettyprint.c (struct children_as_list): New.
1944 (main): New variable children_as_list.
1945 * gdb.python/py-prettyprint.py (class pp_children_as_list):
1946 New.
1947 (register_pretty_printers): Register new printer.
1948
0eae2cf4
EBM
19492012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1950
1951 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
1952 symbols. Abort if vgdb remote connection is closed.
1953
09e0881d
DE
19542012-08-02 Doug Evans <dje@google.com>
1955
1956 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
1957
b40f514f
SDJ
19582012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
1959
1960 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
1961 s390x, PowerPC 64 and m68k-linux.
1962
11315ae0
UW
19632012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1964
1965 * gdb.base/annota1.exp: Accept no frames-invalid notification
1966 when starting up the program.
1967 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
1968 show a symbolic value as well.
1969 * gdb.server/server-exec-info.exp: Skip test when skipping
1970 gdbserver test and/or when skipping shared library tests.
1971 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
1972 avoid name conflicts with other tests.
1973
0547eeed
UW
19742012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1975
1976 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
1977 Fix wrong output on big-endian systems.
1978 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
1979 4-byte pointer types on 64-bit s390x.
1980
bdddb4de
UW
19812012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1982
1983 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
1984 marker comment at the beginning (after intialization).
1985 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
1986 breakpoint on marker comment instead of function begin.
1987 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
1988 PowerPC.
1989 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
1990 or 64-bit PowerPC.
1991 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
1992 gdb,no_hardware_watchpoints flag is set.
1993 (initialize): Remove now redundant can-use-hw-watchpoints change.
1994
5d206025
YQ
19952012-08-02 Yao Qi <yao@codesourcery.com>
1996 Pedro Alves <palves@redhat.com>
1997
1998 * boards/local-remote-host.exp: New.
1999
4f665099
UW
20002012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2001
2002 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
2003 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
2004 * gdb.base/print-file-var.exp: Likewise.
2005 * gdb.server/solib-list.exp: Skip on remote targets.
2006
b62e2b27
UW
20072012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2008
2009 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
2010 watchpoints on ARM. When expecting software watchpoints, tolerate
2011 (remote) targets that report unsupported hardware watchpoint only
2012 at continue time.
2013 (test_wide_location_2): Likewise.
2014
a967a851
JK
20152012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2016
2017 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
2018 valgrind versions.
2019
75d9f9ff 20202012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
2021
2022 * gdb.base/valgrind-infcall.c: New file.
2023 * gdb.base/valgrind-infcall.exp: New file.
2024
75d9f9ff
JK
2025 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
2026
1c9f2ed2
KS
20272012-07-30 Keith Seitz <keiths@redhat.com>
2028
2029 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
2030 linespecs.
2031
7f9b2034
DE
20322012-07-30 Doug Evans <dje@google.com>
2033
85220e01
DE
2034 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
2035 * gdb.dwarf2/pr13961.S: Ditto.
2036
7f9b2034
DE
2037 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
2038
4e969b4f
AB
20392012-07-30 Andrew Burgess <aburgess@broadcom.com>
2040
2041 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
2042 change its format immediately after reloading the binary.
2043
e7de8362
JK
20442012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2045
2046 Fix testsuite regression after --use-deprecated-index-sections removal.
2047 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
2048 string.
2049 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
2050
7255706c
YQ
20512012-07-27 Yao Qi <yao@codesourcery.com>
2052
2053 KFAIL for PR remote/14161.
2054 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
2055 Cleanup socket files.
2056 (strace_info_marker): Detach inferior.
2057
f2e8016f
TT
20582012-07-26 Tom Tromey <tromey@redhat.com>
2059
6fdff2c5 2060 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 2061
f66713d2
JK
20622012-07-26 Markus Metzger <markus.t.metzger@intel.com>
2063
2064 * gdb.python/py-inferior.c (thread): New function.
2065 (check_threads): New function.
2066 (test_threads): New function.
2067 * gdb.python/py-inferior.exp: Added test.
2068 Replaced runto with continue to breakpoint.
2069
8223e12c
TT
20702012-07-26 Tom Tromey <tromey@redhat.com>
2071
2072 * lib/ada.exp (standard_ada_testfile): New proc.
2073 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
2074 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
2075 * gdb.ada/array_return.exp: Use standard_ada_testfile.
2076 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
2077 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
2078 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
2079 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
2080 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
2081 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
2082 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
2083 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
2084 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
2085 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
2086 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
2087 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
2088 * gdb.ada/char_param.exp: Use standard_ada_testfile.
2089 * gdb.ada/complete.exp: Use standard_ada_testfile.
2090 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
2091 standard_output_file.
2092 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
2093 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
2094 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
2095 standard_output_file.
2096 * gdb.ada/exprs.exp: Use standard_ada_testfile.
2097 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
2098 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
2099 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
2100 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
2101 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
2102 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
2103 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
2104 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
2105 * gdb.ada/homonym.exp: Use standard_ada_testfile.
2106 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
2107 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
2108 * gdb.ada/interface.exp: Use standard_ada_testfile.
2109 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
2110 standard_output_file
2111 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
2112 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
2113 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
2114 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
2115 * gdb.ada/nested.exp: Use standard_ada_testfile.
2116 * gdb.ada/null_array.exp: Use standard_ada_testfile.
2117 * gdb.ada/null_record.exp: Use standard_ada_testfile.
2118 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
2119 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
2120 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
2121 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
2122 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
2123 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
2124 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
2125 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
2126 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
2127 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
2128 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
2129 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
2130 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
2131 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
2132 * gdb.ada/start.exp: Use standard_ada_testfile.
2133 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
2134 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
2135 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
2136 * gdb.ada/tagged.exp: Use standard_ada_testfile.
2137 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
2138 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
2139 * gdb.ada/tasks.exp: Use standard_ada_testfile.
2140 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
2141 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
2142 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
2143 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
2144 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
2145 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
2146 * gdb.ada/widewide.exp: Use standard_ada_testfile.
2147
bbec57e4
JK
21482012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2149
2150 Fix testsuite regression after --use-deprecated-index-sections removal.
2151 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
2152
9cc8e32c
JK
21532012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2154
2155 Fix compatibility with Tcl before 7.5.
2156 * lib/future.exp (lreverse): New function if it does not exist.
2157
ea5ca7b5
MK
21582012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
2159
2160 * gdb.mi/mi-pending.c: New method to set a second pending
2161 breakpoint.
2162 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
2163 condition.
2164
64776a0b
PA
21652012-07-20 Pedro Alves <palves@redhat.com>
2166
2167 PR threads/11692
2168 PR gdb/12203
2169
2170 * gdb.threads/create-fail.c: New file.
2171 * gdb.threads/create-fail.exp: New file.
2172
13e4e967
PA
21732012-07-19 Pedro Alves <palves@redhat.com>
2174
2175 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
2176 * config/vx.exp (gdb_start): Likewise.
2177 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
2178 * gdb.base/setvar.exp (test_set): Likewise.
2179 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
2180 * gdb.reverse/sigall-precsave.exp: Likewise.
2181 * gdb.reverse/sigall-reverse.exp: Likewise.
2182
b7aefa4d
PA
21832012-07-19 Pedro Alves <palves@redhat.com>
2184
2185 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
2186 handler before recording.
2187
608b4967
TT
21882012-07-19 Tom Tromey <tromey@redhat.com>
2189
2190 * gdb.cp/casts.exp: Add tests for typeof and decltype.
2191 * gdb.cp/casts.cc (decltype): New function.
2192 (main): Use it.
2193
b1e0c0fa
PA
21942012-07-19 Pedro Alves <palves@redhat.com>
2195
2196 * gdb.base/sigall.exp (signals): New list.
2197 <top level>: Loop over signals in the $signals list instead of
2198 calling a test function once per signal.
2199 * gdb.reverse/sigall-precsave.exp (signals): New list.
2200 <top level>: Loop over signals in the $signals list instead of
2201 calling a test function once per signal.
2202 * gdb.reverse/sigall-reverse.exp (signals): New list.
2203 <top level>: Loop over signals in the $signals list instead of
2204 calling a test function once per signal.
2205
6ace3df1
YQ
22062012-07-19 Yao Qi <yao@codesourcery.com>
2207
2208 * gdb.base/setshow.exp: Test 'set args ~'.
2209
263a0f8c
JK
22102012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2211
2212 * gdb.base/store.exp (check_set): Import gdb_prompt.
2213 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
2214 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
2215
8f043999
JK
22162012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2217
2218 PR 11914
2219 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
2220 (main): Call eval_sub.
2221 * gdb.python/py-prettyprint.exp:
2222 (python execfile ('py-prettyprint.py')): Move it earlier.
2223 New breakpoint for eval-break.
2224 (continue to breakpoint: eval-break, info locals): New test.
2225 (python execfile ('py-prettyprint.py')): Move it from here.
2226 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
2227 (register_pretty_printers): Register pp_eval_type.
2228
725c7b66
JK
22292012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2230
2231 Fix a testcase regression by me.
2232 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
2233 DW_FORM_data4.
2234
4359dff1
JK
22352012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2236 Doug Evans <dje@google.com>
2237
2238 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
2239 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
2240
61e44cfa
JK
22412012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2242
2243 Fix gdbserver run regression.
2244 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
2245
93c0ef37
TT
22462012-07-12 Tom Tromey <tromey@redhat.com>
2247
2248 * lib/gdb.exp (standard_testfile): Don't declare objdir.
2249 (clean_restart): Likewise.
2250 (core_find): Use standard_output_file.
2251
76027ef5
TT
22522012-07-12 Tom Tromey <tromey@redhat.com>
2253
2254 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
2255 * gdb.dwarf2/dw2-anonymous-func.exp: Use
2256 prepare_for_testing_full.
2257 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
2258 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
2259 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
2260 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
2261 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
2262 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
2263 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
2264 prepare_for_testing_full.
2265 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
2266 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
2267 prepare_for_testing_full.
2268 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
2269 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
2270 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
2271
85b4440a
TT
22722012-07-12 Tom Tromey <tromey@redhat.com>
2273
2274 * lib/gdb.exp (build_executable_from_specs): New proc, from
2275 build_executable.
2276 (build_executable): Use it.
2277 (prepare_for_testing_full): New proc.
2278
55baab26
TT
22792012-07-11 Tom Tromey <tromey@redhat.com>
2280
2281 * gdb.reverse/break-precsave.exp: Use standard_output_file.
2282 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
2283 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
2284 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
2285 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
2286 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
2287 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
2288 * gdb.reverse/step-precsave.exp: Use standard_output_file.
2289 * gdb.reverse/until-precsave.exp: Use standard_output_file.
2290 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
2291
298a9cf0
TT
22922012-07-10 Tom Tromey <tromey@redhat.com>
2293
2294 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
2295 standard_output_file.
2296 * gdb.mi/gdb2549.exp: Use standard_testfile.
2297 * gdb.mi/gdb669.exp: Use standard_testfile.
2298 * gdb.mi/gdb701.exp: Use standard_testfile.
2299 * gdb.mi/gdb792.exp: Use standard_testfile.
2300 * gdb.mi/mi-async.exp: Use standard_testfile.
2301 * gdb.mi/mi-basics.exp: Use standard_testfile.
2302 * gdb.mi/mi-break.exp: Use standard_testfile.
2303 * gdb.mi/mi-cli.exp: Use standard_testfile.
2304 * gdb.mi/mi-console.exp: Use standard_testfile.
2305 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
2306 * gdb.mi/mi-eval.exp: Use standard_testfile.
2307 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
2308 * gdb.mi/mi-file.exp: Use standard_testfile.
2309 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
2310 * gdb.mi/mi-logging.exp: Use standard_testfile.
2311 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
2312 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
2313 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
2314 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
2315 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
2316 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
2317 * gdb.mi/mi-pending.exp: Use standard_testfile,
2318 standard_output_file.
2319 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
2320 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
2321 * gdb.mi/mi-regs.exp: Use standard_testfile.
2322 * gdb.mi/mi-return.exp: Use standard_testfile.
2323 * gdb.mi/mi-reverse.exp: Use standard_testfile.
2324 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
2325 * gdb.mi/mi-solib.exp: Use standard_testfile,
2326 standard_output_file.
2327 * gdb.mi/mi-stack.exp: Use standard_testfile.
2328 * gdb.mi/mi-stepi.exp: Use standard_testfile.
2329 * gdb.mi/mi-stepn.exp: Use standard_testfile.
2330 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
2331 * gdb.mi/mi-until.exp: Use standard_testfile.
2332 * gdb.mi/mi-var-block.exp: Use standard_testfile.
2333 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
2334 * gdb.mi/mi-var-child.exp: Use standard_testfile.
2335 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
2336 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
2337 * gdb.mi/mi-var-display.exp: Use standard_testfile.
2338 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
2339 standard_output_file.
2340 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
2341 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
2342 * gdb.mi/mi-watch.exp: Use standard_testfile.
2343 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
2344 * gdb.mi/mi2-basics.exp: Use standard_testfile.
2345 * gdb.mi/mi2-break.exp: Use standard_testfile.
2346 * gdb.mi/mi2-cli.exp: Use standard_testfile.
2347 * gdb.mi/mi2-console.exp: Use standard_testfile.
2348 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
2349 * gdb.mi/mi2-eval.exp: Use standard_testfile.
2350 * gdb.mi/mi2-file.exp: Use standard_testfile.
2351 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
2352 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
2353 * gdb.mi/mi2-regs.exp: Use standard_testfile.
2354 * gdb.mi/mi2-return.exp: Use standard_testfile.
2355 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
2356 * gdb.mi/mi2-stack.exp: Use standard_testfile.
2357 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
2358 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
2359 * gdb.mi/mi2-until.exp: Use standard_testfile.
2360 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
2361 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
2362 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
2363 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
2364 * gdb.mi/mi2-watch.exp: Use standard_testfile.
2365
f5f3a911
TT
23662012-07-10 Tom Tromey <tromey@redhat.com>
2367
2368 * gdb.cp/abstract-origin.exp: Use standard_testfile.
2369 * gdb.cp/ambiguous.exp: Use standard_testfile,
2370 prepare_for_testing.
2371 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
2372 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
2373 * gdb.cp/anon-ns.exp: Use standard_testfile.
2374 * gdb.cp/anon-struct.exp: Use standard_testfile.
2375 * gdb.cp/anon-union.exp: Use standard_testfile,
2376 prepare_for_testing.
2377 * gdb.cp/arg-reference.exp: Use standard_testfile,
2378 prepare_for_testing.
2379 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
2380 * gdb.cp/breakpoint.exp: Use standard_testfile,
2381 prepare_for_testing.
2382 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
2383 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
2384 standard_output_file.
2385 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
2386 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
2387 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
2388 (test_static_members): Update.
2389 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
2390 * gdb.cp/converts.exp: Use standard_testfile.
2391 * gdb.cp/cp-relocate.exp: Use standard_testfile.
2392 * gdb.cp/cpcompletion.exp: Use standard_testfile,
2393 prepare_for_testing.
2394 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
2395 * gdb.cp/cplabel.exp: Use standard_testfile.
2396 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
2397 prepare_for_testing.
2398 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
2399 * gdb.cp/derivation.exp: Use standard_testfile,
2400 prepare_for_testing.
2401 * gdb.cp/destrprint.exp: Use standard_testfile.
2402 * gdb.cp/dispcxx.exp: Use standard_testfile.
2403 * gdb.cp/exception.exp: Use standard_testfile,
2404 prepare_for_testing.
2405 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
2406 * gdb.cp/extern-c.exp: Use standard_testfile,
2407 prepare_for_testing.
2408 * gdb.cp/formatted-ref.exp: Use standard_testfile,
2409 prepare_for_testing.
2410 * gdb.cp/fpointer.exp: Use standard_testfile.
2411 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
2412 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
2413 standard_output_file.
2414 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
2415 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
2416 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
2417 standard_output_file.
2418 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
2419 (do_tests): Update.
2420 * gdb.cp/koenig.exp: Use standard_testfile.
2421 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
2422 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
2423 * gdb.cp/m-static.exp: Use standard_testfile,
2424 prepare_for_testing.
2425 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
2426 * gdb.cp/mb-inline.exp: Use standard_testfile,
2427 prepare_for_testing.
2428 * gdb.cp/mb-templates.exp: Use standard_testfile,
2429 prepare_for_testing.
2430 * gdb.cp/member-ptr.exp: Use standard_testfile,
2431 prepare_for_testing.
2432 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
2433 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
2434 * gdb.cp/method2.exp: Use standard_testfile.
2435 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
2436 standard_output_file.
2437 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
2438 (do_tests): Update.
2439 * gdb.cp/namespace-enum.exp: Use standard_testfile,
2440 prepare_for_testing.
2441 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
2442 prepare_for_testing.
2443 * gdb.cp/namespace.exp: Use standard_testfile,
2444 prepare_for_testing.
2445 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
2446 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
2447 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
2448 * gdb.cp/nsimport.exp: Use standard_testfile,
2449 prepare_for_testing.
2450 * gdb.cp/nsnested.exp: Use standard_testfile.
2451 * gdb.cp/nsnoimports.exp: Use standard_testfile.
2452 * gdb.cp/nsrecurs.exp: Use standard_testfile,
2453 prepare_for_testing.
2454 * gdb.cp/nsstress.exp: Use standard_testfile,
2455 prepare_for_testing.
2456 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
2457 * gdb.cp/operator.exp: Use standard_testfile.
2458 * gdb.cp/oranking.exp: Use standard_testfile.
2459 * gdb.cp/overload-const.exp: Use standard_testfile.
2460 * gdb.cp/overload.exp: Use standard_testfile,
2461 prepare_for_testing.
2462 * gdb.cp/ovldbreak.exp: Use standard_testfile.
2463 * gdb.cp/ovsrch.exp: Use standard_testfile.
2464 * gdb.cp/paren-type.exp: Use standard_testfile.
2465 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
2466 prepare_for_testing.
2467 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
2468 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
2469 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
2470 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
2471 * gdb.cp/pr10728.exp: Use standard_testfile,
2472 standard_output_file.
2473 * gdb.cp/pr12028.exp: Use standard_testfile.
2474 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
2475 * gdb.cp/pr9167.exp: Use standard_testfile.
2476 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
2477 * gdb.cp/printmethod.exp: Use standard_testfile,
2478 prepare_for_testing.
2479 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
2480 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
2481 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
2482 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
2483 standard_output_file.
2484 * gdb.cp/readnow-language.exp: Use standard_testfile.
2485 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
2486 (gdb_start_again): Use clean_restart.
2487 * gdb.cp/ref-types.exp: Use standard_testfile,
2488 prepare_for_testing.
2489 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
2490 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
2491 * gdb.cp/smartp.exp: Use standard_testfile.
2492 * gdb.cp/static-method.exp: Use standard_testfile.
2493 * gdb.cp/static-print-quit.exp: Use standard_testfile.
2494 * gdb.cp/temargs.exp: Use standard_testfile.
2495 * gdb.cp/templates.exp: Use standard_testfile,
2496 prepare_for_testing.
2497 (do_tests): Update.
2498 * gdb.cp/try_catch.exp: Use standard_testfile,
2499 prepare_for_testing.
2500 * gdb.cp/typedef-operator.exp: Use standard_testfile.
2501 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
2502 * gdb.cp/virtbase.exp: Use standard_testfile,
2503 prepare_for_testing.
2504 * gdb.cp/virtfunc.exp: Use standard_testfile,
2505 prepare_for_testing.
2506 (do_tests): Update.
2507 * gdb.cp/virtfunc2.exp: Use standard_testfile,
2508 prepare_for_testing.
2509
686f09d0
TT
25102012-07-10 Tom Tromey <tromey@redhat.com>
2511
2512 * lib/gdb.exp (standard_testfile): Unset output variables from
2513 earlier invocations.
2514
9357e021
YQ
25152012-07-10 Yao Qi <yao@codesourcery.com>
2516
2517 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
2518 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
2519 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
2520 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
2521 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
2522 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
2523 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
2524 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
2525 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
2526 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
2527 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
2528 * gdb.mi/mi-var-display.exp: Likewise.
2529 * gdb.mi/mi-var-invalidate.exp: Likewise.
2530 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
2531 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
2532 * gdb.mi/mi2-console.exp: Likewise.
2533 * gdb.mi/mi2-disassemble.exp: Likewise.
2534 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
2535 * gdb.mi/mi2-read-memory.exp: Likewise.
2536 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
2537 * gdb.mi/mi2-simplerun.exp: Likewise.
2538 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
2539 * gdb.mi/mi2-syn-frame.exp: Likewise.
2540 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
2541 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
2542 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
2543
e314d629
TT
25442012-07-09 Tom Tromey <tromey@redhat.com>
2545
2546 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
2547 * gdb.base/callfuncs.exp: Add cast-based test.
2548 * gdb.base/callfuncs.c (voidfunc): New function.
2549
06928b3f
DE
25502012-07-08 Doug Evans <dje@google.com>
2551
2552 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
2553
32f11bad
JK
25542012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2555
2556 Fix XFAIL compatibility with old i386 systems.
2557 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
2558 Check also 'Cannot insert breakpoint 0'.
2559
76b83c51
JK
25602012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2561
2562 PR 14321
2563 * gdb.base/find.exp
2564 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
2565
a6fb9c08
TT
25662012-07-06 Tom Tromey <tromey@redhat.com>
2567
2568 * gdb.base/whatis.exp: Add test.
2569
71918a86
TT
25702012-07-06 Tom Tromey <tromey@redhat.com>
2571
2572 * gdb.base/whatis.exp: Add regression test.
2573
fcde5961
TT
25742012-07-06 Tom Tromey <tromey@redhat.com>
2575
2576 * gdb.base/whatis.exp: Add tests.
2577
f9cf0f4a
JK
25782012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2579
2580 PR 12649
2581 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
2582 gdb_test_multiple $gdb_prompt terminator.
2583
979ade8b
PA
25842012-07-04 Pedro Alves <palves@redhat.com>
2585
2586 * gdb.mi/mi-reverse.exp: Use supports_reverse and
2587 supports_process_record.
2588
8a980b44
PA
25892012-07-04 Pedro Alves <palves@redhat.com>
2590
2591 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
2592 endings.
2593 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
2594
855ba978
SS
25952012-07-03 Stan Shebs <stan@codesourcery.com>
2596
2597 * gdb.base/info-os.c (main): Retry resource acquisition until an
2598 available one is found.
2599 * gdb.base/info-os.exp: Collect resource keys from the program
2600 and use them in matching.
2601
fcb44371
JK
26022012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2603
2604 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
2605 Wrap the test into loop for corefile and core0file.
2606
08a67be6
JK
26072012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2608
2609 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
2610 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
2611 .note.GNU-stack.
2612
0f3c2347
JK
2613 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
2614
ff4a4500
SDJ
26152012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
2616
2617 * gdb.base/help.exp (help b, help br, help bre, help brea, help
2618 break): Include help message for the new `-probe' and `-probe-stap'
2619 options.
2620
d3ce09f5
SS
26212012-07-02 Stan Shebs <stan@codesourcery.com>
2622
2623 * gdb.base/dprintf.exp: Add agent style tests.
2624
a1624241
JK
26252012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2626
2627 * gdb.base/stale-infcall.c (infcall): New label test-next.
2628 (main): New labels test-pass and test-fail.
2629 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
2630 $test_fail_bpnum to test-fail.
2631 (test system longjmp tracking support): New test.
2632 Delete $test_fail_bpnum.
2633 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
2634 breakpoint.
2635
42e7ad6c
DE
26362012-06-30 Doug Evans <dje@google.com>
2637
2638 * gdb.dwarf2/fission-reread.S: New file.
2639 * gdb.dwarf2/fission-reread.exp: New file.
2640
37ce89eb
SS
26412012-06-28 Stan Shebs <stan@codesourcery.com>
2642
2643 * gdb.mi/mi-logging.exp: New file.
2644
e5ef252a
PA
26452012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2646 Pedro Alves <palves@redhat.com>
2647
2648 * gdb.threads/siginfo-threads.exp: New file.
2649 * gdb.threads/siginfo-threads.c: New file.
2650 * gdb.threads/sigstep-threads.exp: New file.
2651 * gdb.threads/sigstep-threads.c: New file.
2652
22f1fbae
TT
26532012-06-28 Tom Tromey <tromey@redhat.com>
2654
2655 * gdb.go/package.exp: Partially revert earlier patch; use
2656 gdb_compile again. Use standard_output_file.
2657
2e3cf129
DE
26582012-06-27 Doug Evans <dje@google.com>
2659
2660 * gdb.dwarf2/fission-base.c: New file.
2661 * gdb.dwarf2/fission-base.S: New file.
2662 * gdb.dwarf2/fission-base.exp: New file.
2663
785fd303
JK
26642012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2665
2666 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
2667
1bb9788d
TT
26682012-06-27 Tom Tromey <tromey@redhat.com>
2669
2670 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
2671 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
2672
c83ee902
TT
26732012-06-27 Tom Tromey <tromey@redhat.com>
2674
2675 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
2676 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
2677 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
2678 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
2679 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
2680 prepare_for_testing.
2681 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
2682 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
2683 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
2684 standard_testfile.
2685 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
2686 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
2687 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
2688 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
2689 prepare_for_testing.
2690 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
2691 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
2692 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
2693 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
2694 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
2695 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
2696 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
2697 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
2698 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
2699 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
2700 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
2701 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
2702 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
2703 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
2704 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
2705 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
2706 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
2707 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
2708 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
2709 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
2710 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
2711 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
2712 standard_output_file.
2713 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
2714 standard_output_file.
2715 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
2716 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
2717 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
2718 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
2719 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
2720 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
2721 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
2722 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
2723 * gdb.dwarf2/implptr.exp: Use standard_testfile.
2724 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
2725 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
2726 * gdb.dwarf2/pieces.exp: Use standard_testfile.
2727 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
2728 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
2729 * gdb.dwarf2/valop.exp: Use standard_testfile,
2730 prepare_for_testing.
2731
5204774b
TT
27322012-06-27 Tom Tromey <tromey@redhat.com>
2733
2734 * gdb.python/python.exp: Fix regexps in pagination tests.
2735
ee0bf529
SCR
27362012-06-26 Siva Chandra Reddy <sivachandra@google.com>
2737
2738 * gdb.python/py-symtab.exp: Add tests to test the new attribute
2739 'last' of gdb.Symtab_and_line.
2740 * gdb.python/py-symbol.c: Move break point comment to enable
2741 testing of gdb.Symtab_and_line.last.
2742
14fcc022
TT
27432012-06-26 Tom Tromey <tromey@redhat.com>
2744
2745 * gdb.threads/step.c: Remove.
2746 * gdb.threads/step.exp: Remove.
2747 * gdb.threads/step2.exp: Remove.
2748
0efbbabc
TT
27492012-06-26 Tom Tromey <tromey@redhat.com>
2750
2751 * gdb.threads/watchpoint-fork.exp (test): Use
2752 standard_output_file. Don't declare objdir.
2753 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
2754 standard_output_file.
2755 * gdb.threads/attach-stopped.exp: Use standard_testfile.
2756 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
2757 clean_restart. Remove incdir.
2758 * gdb.threads/corethreads.exp: Use standard_testfile.
2759 * gdb.threads/execl.exp: Use standard_testfile,
2760 standard_output_file, clean_restart.
2761 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
2762 clean_restart.
2763 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
2764 clean_restart.
2765 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
2766 incdir.
2767 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
2768 clean_restart. Remove incdir.
2769 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
2770 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
2771 clean_restart. Remove incdir.
2772 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
2773 Remove incdir.
2774 * gdb.threads/leader-exit.exp: Use standard_testfile.
2775 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
2776 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
2777 clean_restart.
2778 * gdb.threads/manythreads.exp: Use standard_testfile,
2779 clean_restart. Remove incdir.
2780 * gdb.threads/multi-create.exp: Use standard_testfile,
2781 clean_restart.
2782 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
2783 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
2784 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
2785 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
2786 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
2787 * gdb.threads/pending-step.exp: Use standard_testfile,
2788 clean_restart. Remove incdir.
2789 * gdb.threads/print-threads.exp: Use standard_testfile,
2790 clean_restart. Remove incdir.
2791 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
2792 clean_restart. Remove incdir.
2793 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
2794 Remove incdir.
2795 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
2796 incdir.
2797 * gdb.threads/sigthread.exp: Use standard_testfile,
2798 clean_restart.
2799 * gdb.threads/staticthreads.exp: Use standard_testfile,
2800 clean_restart. Remove incdir.
2801 * gdb.threads/switch-threads.exp: Use standard_testfile,
2802 clean_restart. Remove incdir.
2803 * gdb.threads/thread-execl.exp: Use standard_testfile,
2804 clean_restart. Remove incdir.
2805 * gdb.threads/thread-find.exp: Use standard_testfile,
2806 clean_restart.
2807 * gdb.threads/thread-specific.exp: Use standard_testfile,
2808 clean_restart. Remove incdir.
2809 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
2810 clean_restart. Remove incdir.
2811 * gdb.threads/thread_check.exp: Use standard_testfile,
2812 clean_restart. Remove incdir.
2813 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
2814 incdir.
2815 * gdb.threads/threadapply.exp: Use standard_testfile,
2816 clean_restart. Remove incdir.
2817 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
2818 clean_restart. Remove incdir.
2819 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
2820 clean_restart.
2821 * gdb.threads/tls-shared.exp: Use standard_testfile,
2822 clean_restart, standard_output_file.
2823 * gdb.threads/tls-var.exp: Use standard_testfile,
2824 standard_output_file.
2825 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
2826 Remove incdir.
2827 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
2828 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
2829 incdir.
2830 * gdb.threads/watchthreads2.exp: Use standard_testfile,
2831 clean_restart. Remove incdir.
2832
497a5eb0
TT
28332012-06-26 Tom Tromey <tromey@redhat.com>
2834
2835 * gdb.trace/actions.exp: Use standard_testfile.
2836 * gdb.trace/ax.exp: Use standard_testfile.
2837 * gdb.trace/backtrace.exp: Use standard_testfile.
2838 * gdb.trace/change-loc.exp: Use standard_testfile.
2839 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
2840 * gdb.trace/collection.exp: Use standard_testfile,
2841 prepare_for_testing.
2842 * gdb.trace/deltrace.exp: Use standard_testfile.
2843 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
2844 * gdb.trace/ftrace.exp: Use standard_testfile.
2845 * gdb.trace/infotrace.exp: Use standard_testfile.
2846 * gdb.trace/packetlen.exp: Use standard_testfile.
2847 * gdb.trace/passc-dyn.exp: Use standard_testfile.
2848 * gdb.trace/passcount.exp: Use standard_testfile.
2849 * gdb.trace/pending.exp: Use standard_testfile.
2850 * gdb.trace/report.exp: Use standard_testfile.
2851 * gdb.trace/save-trace.exp: Use standard_testfile.
2852 * gdb.trace/stap-trace.exp: Use standard_testfile.
2853 * gdb.trace/status-stop.exp: Use standard_testfile.
2854 * gdb.trace/strace.exp: Use standard_testfile.
2855 * gdb.trace/tfile.exp: Use standard_testfile.
2856 * gdb.trace/tfind.exp: Use standard_testfile.
2857 * gdb.trace/trace-break.exp: Use standard_testfile.
2858 * gdb.trace/trace-mt.exp: Use standard_testfile.
2859 * gdb.trace/tracecmd.exp: Use standard_testfile.
2860 * gdb.trace/tspeed.exp: Use standard_testfile.
2861 * gdb.trace/tstatus.exp: Use standard_testfile.
2862 * gdb.trace/tsv.exp: Use standard_testfile.
2863 * gdb.trace/unavailable.exp: Use standard_testfile,
2864 prepare_for_testing.
2865 * gdb.trace/while-dyn.exp: Use standard_testfile.
2866 * gdb.trace/while-stepping.exp: Use standard_testfile.
2867
7686c074
TT
28682012-06-26 Tom Tromey <tromey@redhat.com>
2869
2870 * gdb.reverse/break-precsave.exp: Use standard_testfile.
2871 * gdb.reverse/break-reverse.exp: Use standard_testfile.
2872 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
2873 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
2874 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
2875 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
2876 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
2877 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
2878 prepare_for_testing.
2879 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
2880 prepare_for_testing.
2881 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
2882 prepare_for_testing.
2883 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
2884 prepare_for_testing.
2885 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
2886 prepare_for_testing
2887 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
2888 * gdb.reverse/machinestate.exp: Use standard_testfile.
2889 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
2890 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
2891 build_executable.
2892 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
2893 build_executable.
2894 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
2895 standard_output_file.
2896 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
2897 standard_output_file.
2898 * gdb.reverse/step-precsave.exp: Use standard_testfile.
2899 * gdb.reverse/step-reverse.exp: Use standard_testfile.
2900 * gdb.reverse/until-precsave.exp: Use standard_testfile.
2901 * gdb.reverse/until-reverse.exp: Use standard_testfile.
2902 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
2903 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
2904
481fc100
TT
29052012-06-26 Tom Tromey <tromey@redhat.com>
2906
2907 * gdb.stabs/weird.exp: Remove directory-checking code. Use
2908 standard_output_file.
2909 * gdb.stabs/exclfwd.exp: Use standard_testfile,
2910 prepare_for_testing. Remove directory-checking code.
2911
7bb18ae2
TT
29122012-06-25 Tom Tromey <tromey@redhat.com>
2913
2914 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
2915 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
2916 build_executable, not prepare_for_testing.
2917 * gdb.multi/base.exp: Use standard_output_file. Use
2918 build_executable, not prepare_for_testing.
2919
cf09b3e4
TT
29202012-06-25 Tom Tromey <tromey@redhat.com>
2921
2922 * gdb.fortran/subarray.exp: Use standard_testfile,
2923 prepare_for_testing.
2924 * gdb.fortran/multi-dim.exp: Use standard_testfile.
2925 * gdb.fortran/module.exp: Use standard_testfile.
2926 * gdb.fortran/logical.exp: Use standard_testfile.
2927 * gdb.fortran/library-module.exp: Use standard_testfile,
2928 standard_output_file.
2929 * gdb.fortran/derived-type.exp: Use standard_testfile,
2930 prepare_for_testing.
2931 * gdb.fortran/complex.exp: Use standard_testfile,
2932 prepare_for_testing.
2933 * gdb.fortran/charset.exp: Use standard_testfile.
2934 * gdb.fortran/array-element.exp: Use standard_testfile,
2935 prepare_for_testing.
2936
18b5ff1b
KS
29372012-06-25 Keith Seitz <keiths@redhat.com>
2938
2939 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
2940 Change rbreak-related tests to KFAIL and add bugzilla numbers.
2941
17b77626
TT
29422012-06-25 Tom Tromey <tromey@redhat.com>
2943
2944 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
2945 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
2946 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
2947 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
2948
f91e3dc1
TT
29492012-06-25 Tom Tromey <tromey@redhat.com>
2950
2951 * gdb.linespec/ls-errs.exp: Use standard_testfile.
2952 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
2953 * gdb.linespec/linespec.exp: Use standard_testfile.
2954
a884434d
TT
29552012-06-25 Tom Tromey <tromey@redhat.com>
2956
2957 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
2958 prepare_for_testing.
2959
efc9d70a
TT
29602012-06-25 Tom Tromey <tromey@redhat.com>
2961
2962 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
2963 prepare_for_testing.
2964 * gdb.opt/inline-break.exp: Use standard_testfile,
2965 prepare_for_testing.
2966 * gdb.opt/inline-bt.exp: Use standard_testfile,
2967 prepare_for_testing.
2968 * gdb.opt/inline-cmds.exp: Use standard_testfile,
2969 prepare_for_testing.
2970 * gdb.opt/inline-locals.exp: Use standard_testfile,
2971 prepare_for_testing.
2972
e2fc92c6
TT
29732012-06-25 Tom Tromey <tromey@redhat.com>
2974
2975 * gdb.asm/asm-source.exp: Use standard_output_file,
2976 standard_testfile. Construct .o files in proper subdir.
2977
b0963d73
TT
29782012-06-25 Tom Tromey <tromey@redhat.com>
2979
2980 * gdb.server/ext-attach.exp: Use standard_testfile,
2981 prepare_for_testing.
2982 * gdb.server/ext-run.exp: Use standard_testfile,
2983 build_executable.
2984 * gdb.server/file-transfer.exp: Use standard_testfile,
2985 prepare_for_testing.
2986 * gdb.server/server-exec-info.exp: Use standard_testfile.
2987 * gdb.server/server-mon.exp: Use standard_testfile,
2988 prepare_for_testing.
2989 * gdb.server/server-run.exp: Use standard_testfile,
2990 build_executable.
2991 * gdb.server/solib-list.exp: Use standard_testfile,
2992 standard_output_file.
2993
8a3e1f8d
TT
29942012-06-25 Tom Tromey <tromey@redhat.com>
2995
2996 * lib/gdb.exp (standard_output_file): Use "file join".
2997 * gdb.go/chan.exp: Use standard_testfile.
2998 * gdb.go/handcall.exp: Use standard_testfile.
2999 * gdb.go/hello.exp: Use standard_testfile.
3000 * gdb.integers/chan.exp: Use standard_testfile.
3001 * gdb.go/methods.exp: Use standard_testfile.
3002 * gdb.go/package.exp: Use standard_testfile.
3003 * gdb.go/strings.exp: Use standard_testfile.
3004 * gdb.go/types.exp: Use standard_testfile.
3005 * gdb.go/unsafe.exp: Use standard_testfile.
3006
944a9061
MGD
30072012-06-25 Greta Yorsh <greta.yorsh@arm.com>
3008
3009 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
3010
1c06bd58
JK
30112012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3012
3013 Fix regression by the previous commit.
3014 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
3015
b4a58790
TT
30162012-06-22 Tom Tromey <tromey@redhat.com>
3017
3018 * gdb.python/lib-types.exp: Use standard_testfile,
3019 prepare_for_testing.
3020 * gdb.python/py-block.exp: Use standard_testfile.
3021 * gdb.python/py-breakpoint.exp: Use standard_testfile.
3022 * gdb.python/py-events.exp: Use standard_testfile,
3023 standard_output_file.
3024 * gdb.python/py-evsignal.exp: Use standard_testfile.
3025 * gdb.python/py-evethreads.exp: Use standard_testfile.
3026 * gdb.python/py-explore-cc.exp: Use standard_testfile.
3027 * gdb.python/py-explore.exp: Use standard_testfile.
3028 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
3029 standard_output_file.
3030 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
3031 prepare_for_testing.
3032 * gdb.python/py-frame-inline.exp: Use standard_testfile.
3033 * gdb.python/py-frame.exp: Use standard_testfile.
3034 * gdb.python/py-inferior.exp: Use standard_testfile.
3035 * gdb.python/py-infthread.exp: Use standard_testfile.
3036 * gdb.python/py-mi.exp: Use standard_testfile.
3037 * gdb.python/py-objfile-script.exp: Use standard_testfile,
3038 build_executable.
3039 * gdb.python/py-objfile.exp: Use standard_testfile.
3040 * gdb.python/py-pp-maint.exp: Use standard_testfile,
3041 prepare_for_testing.
3042 * gdb.python/py-prettyprint.exp: Use standard_testfile.
3043 * gdb.python/py-progspace.exp: Use standard_testfile,
3044 build_executable.
3045 * gdb.python/py-prompt.exp: Use standard_testfile,
3046 build_executable.
3047 * gdb.python/py-section-script.exp: Use standard_testfile,
3048 build_executable.
3049 * gdb.python/py-shared.exp: Use standard_testfile,
3050 standard_output_file, clean_restart.
3051 * gdb.python/py-symbol.exp: Use standard_output_file,
3052 prepare_for_testing.
3053 * gdb.python/py-symtab.exp: Use standard_output_file,
3054 prepare_for_testing
3055 * gdb.python/py-template.exp: Use standard_testfile.
3056 * gdb.python/py-type.exp: Use standard_testfile.
3057 * gdb.python/py-value-cc.exp: Use standard_testfile.
3058 * gdb.python/py-value.exp: Use standard_testfile.
3059 * gdb.python/python.exp: Use standard_testfile, build_executable.
3060
2c44deac
TT
30612012-06-22 Tom Tromey <tromey@redhat.com>
3062
3063 * gdb.objc/basicclass.exp: Use standard_testfile.
3064 (do_objc_tests): Don't declare objdir.
3065 * gdb.objc/nondebug.exp: Use standard_testfile.
3066 (do_objc_tests): Don't declare objdir.
3067 * gdb.objc/objcdecode.exp: Use standard_testfile.
3068 (do_objc_tests): Don't declare objdir.
3069
c24ccbce
TT
30702012-06-22 Tom Tromey <tromey@redhat.com>
3071
3072 * gdb.java/jmain.exp: Use standard_testfile.
3073 * gdb.java/jmisc.exp: Use standard_testfile.
3074 * gdb.java/jnpe.exp: Use standard_testfile.
3075 * gdb.java/jprint.exp: Use standard_testfile.
3076
0a6d0306
TT
30772012-06-22 Tom Tromey <tromey@redhat.com>
3078
3079 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
3080 (standard_output_file, standard_testfile): New procs.
3081 (build_executable, clean_restart): Use standard_output_file.
3082
6ea815ef
YQ
30832012-06-22 Yao Qi <yao@codesourcery.com>
3084
3085 * boards/native-gdbserver.exp: New proc ${board}_exec.
3086 * boards/native-stdio-gdbserver.exp: Likewise.
3087
4c93b1db
TT
30882012-06-21 Tom Tromey <tromey@redhat.com>
3089
3090 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
3091 (build_executable): Update.
3092 (get_compiler_info): Remove 'binfile' argument.
3093 * gdb.ada/arrayidx.exp: Update.
3094 * gdb.ada/null_array.exp: Update.
3095 * gdb.arch/altivec-abi.exp: Update.
3096 * gdb.arch/altivec-regs.exp: Update.
3097 * gdb.arch/amd64-byte.exp: Update.
3098 * gdb.arch/amd64-dword.exp: Update.
3099 * gdb.arch/amd64-word.exp: Update.
3100 * gdb.arch/i386-avx.exp: Update.
3101 * gdb.arch/i386-byte.exp: Update.
3102 * gdb.arch/i386-sse.exp: Update.
3103 * gdb.arch/i386-word.exp: Update.
3104 * gdb.arch/ppc-dfp.exp: Update.
3105 * gdb.arch/ppc-fp.exp: Update.
3106 * gdb.arch/vsx-regs.exp: Update.
3107 * gdb.base/all-bin.exp: Update.
3108 * gdb.base/annota1.exp: Update.
3109 * gdb.base/async.exp: Update.
3110 * gdb.base/attach.exp: Update.
3111 * gdb.base/break-interp.exp: Update.
3112 * gdb.base/call-ar-st.exp: Update.
3113 * gdb.base/call-rt-st.exp: Update.
3114 * gdb.base/call-sc.exp: Update.
3115 * gdb.base/callfuncs.exp: Update.
3116 * gdb.base/catch-load.exp: Update.
3117 * gdb.base/completion.exp: Update.
3118 * gdb.base/complex.exp: Update.
3119 * gdb.base/condbreak.exp: Update.
3120 * gdb.base/consecutive.exp: Update.
3121 * gdb.base/constvars.exp: Update.
3122 * gdb.base/corefile.exp: Update.
3123 * gdb.base/eval-skip.exp: Update.
3124 * gdb.base/expand-psymtabs.exp: Update.
3125 * gdb.base/exprs.exp: Update.
3126 * gdb.base/fileio.exp: Update.
3127 * gdb.base/fixsection.exp: Update.
3128 * gdb.base/funcargs.exp: Update.
3129 * gdb.base/gdb11530.exp: Update.
3130 * gdb.base/gdb1555.exp: Update.
3131 * gdb.base/gnu-ifunc.exp: Update.
3132 * gdb.base/gnu_vector.exp: Update.
3133 * gdb.base/info-macros.exp: Update.
3134 * gdb.base/jit-simple.exp: Update.
3135 * gdb.base/jit-so.exp: Update.
3136 * gdb.base/jit.exp: Update.
3137 * gdb.base/langs.exp: Update.
3138 * gdb.base/list.exp: Update.
3139 * gdb.base/logical.exp: Update.
3140 * gdb.base/long_long.exp: Update.
3141 * gdb.base/longjmp.exp: Update.
3142 * gdb.base/macscp.exp: Update.
3143 * gdb.base/mips_pro.exp: Update.
3144 * gdb.base/miscexprs.exp: Update.
3145 * gdb.base/morestack.exp: Update.
3146 * gdb.base/nodebug.exp: Update.
3147 * gdb.base/opaque.exp: Update.
3148 * gdb.base/pc-fp.exp: Update.
3149 * gdb.base/pending.exp: Update.
3150 * gdb.base/permissions.exp: Update.
3151 * gdb.base/pointers.exp: Update.
3152 * gdb.base/prelink.exp: Update.
3153 * gdb.base/printcmds.exp: Update.
3154 * gdb.base/psymtab.exp: Update.
3155 * gdb.base/ptype.exp: Update.
3156 * gdb.base/relational.exp: Update.
3157 * gdb.base/scope.exp: Update.
3158 * gdb.base/setvar.exp: Update.
3159 * gdb.base/shlib-call.exp: Update.
3160 * gdb.base/shreloc.exp: Update.
3161 * gdb.base/signals.exp: Update.
3162 * gdb.base/sizeof.exp: Update.
3163 * gdb.base/so-impl-ld.exp: Update.
3164 * gdb.base/so-indr-cl.exp: Update.
3165 * gdb.base/solib-disc.exp: Update.
3166 * gdb.base/solib-display.exp: Update.
3167 * gdb.base/solib-nodir.exp: Update.
3168 * gdb.base/solib-overlap.exp: Update.
3169 * gdb.base/solib-symbol.exp: Update.
3170 * gdb.base/solib-weak.exp: Update.
3171 * gdb.base/solib.exp: Update.
3172 * gdb.base/store.exp: Update.
3173 * gdb.base/structs.exp: Update.
3174 * gdb.base/structs2.exp: Update.
3175 * gdb.base/type-opaque.exp: Update.
3176 * gdb.base/unload.exp: Update.
3177 * gdb.base/varargs.exp: Update.
3178 * gdb.base/volatile.exp: Update.
3179 * gdb.base/watch_thread_num.exp: Update.
3180 * gdb.base/watchpoint-solib.exp: Update.
3181 * gdb.base/watchpoint.exp: Update.
3182 * gdb.base/watchpoints.exp: Update.
3183 * gdb.base/whatis.exp: Update.
3184 * gdb.cell/arch.exp: Update.
3185 * gdb.cell/break.exp: Update.
3186 * gdb.cell/bt.exp: Update.
3187 * gdb.cell/core.exp: Update.
3188 * gdb.cell/data.exp: Update.
3189 * gdb.cell/ea-cache.exp: Update.
3190 * gdb.cell/f-regs.exp: Update.
3191 * gdb.cell/fork.exp: Update.
3192 * gdb.cell/gcore.exp: Update.
3193 * gdb.cell/mem-access.exp: Update.
3194 * gdb.cell/ptype.exp: Update.
3195 * gdb.cell/registers.exp: Update.
3196 * gdb.cell/sizeof.exp: Update.
3197 * gdb.cell/solib-symbol.exp: Update.
3198 * gdb.cell/solib.exp: Update.
3199 * gdb.cp/ambiguous.exp: Update.
3200 * gdb.cp/breakpoint.exp: Update.
3201 * gdb.cp/bs15503.exp: Update.
3202 * gdb.cp/casts.exp: Update.
3203 * gdb.cp/class2.exp: Update.
3204 * gdb.cp/cpexprs.exp: Update.
3205 * gdb.cp/cplusfuncs.exp: Update.
3206 * gdb.cp/ctti.exp: Update.
3207 * gdb.cp/dispcxx.exp: Update.
3208 * gdb.cp/gdb1355.exp: Update.
3209 * gdb.cp/gdb2384.exp: Update.
3210 * gdb.cp/gdb2495.exp: Update.
3211 * gdb.cp/infcall-dlopen.exp: Update.
3212 * gdb.cp/local.exp: Update.
3213 * gdb.cp/m-data.exp: Update.
3214 * gdb.cp/m-static.exp: Update.
3215 * gdb.cp/mb-ctor.exp: Update.
3216 * gdb.cp/mb-inline.exp: Update.
3217 * gdb.cp/mb-templates.exp: Update.
3218 * gdb.cp/member-ptr.exp: Update.
3219 * gdb.cp/method.exp: Update.
3220 * gdb.cp/namespace.exp: Update.
3221 * gdb.cp/nextoverthrow.exp: Update.
3222 * gdb.cp/nsdecl.exp: Update.
3223 * gdb.cp/nsrecurs.exp: Update.
3224 * gdb.cp/nsstress.exp: Update.
3225 * gdb.cp/nsusing.exp: Update.
3226 * gdb.cp/pr-1023.exp: Update.
3227 * gdb.cp/pr-1210.exp: Update.
3228 * gdb.cp/pr-574.exp: Update.
3229 * gdb.cp/pr9631.exp: Update.
3230 * gdb.cp/printmethod.exp: Update.
3231 * gdb.cp/psmang.exp: Update.
3232 * gdb.cp/re-set-overloaded.exp: Update.
3233 * gdb.cp/rtti.exp: Update.
3234 * gdb.cp/shadow.exp: Update.
3235 * gdb.cp/templates.exp: Update.
3236 * gdb.cp/try_catch.exp: Update.
3237 * gdb.dwarf2/dw2-ranges.exp: Update.
3238 * gdb.dwarf2/pr10770.exp: Update.
3239 * gdb.fortran/library-module.exp: Update.
3240 * gdb.hp/gdb.aCC/optimize.exp: Update.
3241 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
3242 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
3243 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
3244 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
3245 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
3246 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
3247 * gdb.hp/gdb.compat/xdb1.exp: Update.
3248 * gdb.hp/gdb.compat/xdb2.exp: Update.
3249 * gdb.hp/gdb.compat/xdb3.exp: Update.
3250 * gdb.hp/gdb.defects/bs14602.exp: Update.
3251 * gdb.hp/gdb.defects/solib-d.exp: Update.
3252 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
3253 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
3254 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
3255 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
3256 * gdb.mi/gdb792.exp: Update.
3257 * gdb.mi/mi-pending.exp: Update.
3258 * gdb.mi/mi-solib.exp: Update.
3259 * gdb.mi/mi-var-cp.exp: Update.
3260 * gdb.opt/clobbered-registers-O2.exp: Update.
3261 * gdb.opt/inline-bt.exp: Update.
3262 * gdb.opt/inline-cmds.exp: Update.
3263 * gdb.opt/inline-locals.exp: Update.
3264 * gdb.python/py-events.exp: Update.
3265 * gdb.python/py-finish-breakpoint.exp: Update.
3266 * gdb.python/py-type.exp: Update.
3267 * gdb.reverse/solib-precsave.exp: Update.
3268 * gdb.reverse/solib-reverse.exp: Update.
3269 * gdb.server/solib-list.exp: Update.
3270 * gdb.stabs/weird.exp: Update.
3271 * gdb.threads/attach-into-signal.exp: Update.
3272 * gdb.threads/attach-stopped.exp: Update.
3273 * gdb.threads/tls-shared.exp: Update.
3274 * gdb.trace/change-loc.exp: Update.
3275 * gdb.trace/strace.exp: Update.
3276
95c391b6
TT
32772012-06-19 Tom Tromey <tromey@redhat.com>
3278
3279 * gdb.base/whatis.exp: Add tests.
3280
e910f0b6
TT
32812012-06-19 Tom Tromey <tromey@redhat.com>
3282
3283 * gdb.cp/m-static.cc (keepalive): New function.
3284 (gnu_obj_1::method): Use it.
3285
422d65e7
DE
32862012-06-18 Doug Evans <dje@google.com>
3287
3288 * gdb.base/info-fun.exp: New file.
3289 * gdb.base/info-fun.c: New file.
3290 * gdb.base/info-fun-solib.c: New file.
3291
e2e4d78b
JK
32922012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3293
3294 Remove stale dummy frames.
3295 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
3296 (maintenance info breakpoints): New tests.
3297 * gdb.base/stale-infcall.c: New file.
3298 * gdb.base/stale-infcall.exp: New file.
3299
1788b2d3
JK
33002012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3301
3302 * gdb.arch/amd64-entry-value-param.S: New file.
3303 * gdb.arch/amd64-entry-value-param.c: New file.
3304 * gdb.arch/amd64-entry-value-param.exp: New file.
3305
663b969e
TT
33062012-06-15 Tom Tromey <tromey@redhat.com>
3307
3308 * gdb.cp/namespace.exp: Add "show lang" test.
3309
8e09ad05
IS
33102012-06-15 Iain Sandoe <iain@codesourcery.com>
3311
3312 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
3313 case. (top level): Use gdb_file_cmd instead of gdb_load.
3314
f85e18ee
JK
33152012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3316
3317 PR tdep/14222
3318 * gdb.arch/i386-sse-stack-align.S: New file.
3319 * gdb.arch/i386-sse-stack-align.c: New file.
3320 * gdb.arch/i386-sse-stack-align.exp: New file.
3321
f3b5e280
KS
33222012-06-13 Keith Seitz <keiths@redhat.com>
3323
3324 PR breakpoints/13798 and mi/11541
3325 * gdb.linespec/ls-errs.exp: Add a few more tests for
3326 filenames with spaces and colons.
3327
50af5481
JK
33282012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3329
3330 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
3331 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
3332 (test_function): Call CV_f.
3333 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
3334 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
3335 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
3336 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
3337 (p CV_f(CV::i)): New tests.
3338
d55637df
TT
33392012-06-13 Tom Tromey <tromey@redhat.com>
3340
3341 * gdb.base/condbreak.exp: Add tests for "condition" completion.
3342
cc80f267
JK
33432012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3344
3345 Fix regression by the "ambiguous linespec" series.
3346 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
3347 tests.
3348
bb2af9cc
JK
33492012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3350
3351 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
3352 missing.
3353
e81a37f7
TT
33542012-06-11 Tom Tromey <tromey@redhat.com>
3355
3356 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
3357 location...
3358 (main): ...here.
3359
8efd7788
YQ
33602012-06-07 Yao Qi <yao@codesourcery.com>
3361
3362 * gdb.trace/strace.exp: Shorten some too-long lines.
3363
359f5fe6
PA
33642012-06-06 Pedro Alves <palves@redhat.com>
3365
3366 * gdb.threads/clone-new-thread-event.c: New file.
3367 * gdb.threads/clone-new-thread-event.exp: New file.
3368
7b2fe205
YQ
33692012-06-06 Yao Qi <yao@codesourcery.com>
3370
3371 * gdb.base/dprintf.c (main): Add extra parameter when calling
3372 printf and fprintf.
3373 (bar): New function. It is a dead function, but to ensure
3374 'malloc' is linked explicitly.
3375
3eca55e8
YQ
33762012-06-06 Yao Qi <yao@codesourcery.com>
3377
3378 * gdb.base/info-proc.exp: Return if target doesn't support
3379 'info proc'.
3380
91cc9324
JK
33812012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3382
3383 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
3384 (run program with breakpoint commands): XFAIl if it is not.
3385
c56e7c43
JB
33862012-06-05 Joel Brobecker <brobecker@adacore.com>
3387
3388 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
3389 and add comment.
3390 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
3391 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
3392 "STOP" marker. Adjust testing strategy to make it work on
3393 all targets.
3394
3395 * gdb.base/print-file-var-main.c (main): Rewrite using local
3396 variables and adjust get_version_2's return value check.
3397 Add small comment.
3398 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
3399 marker. Adjust testing strategy to make it work on all targets.
3400
ccab2054
JB
34012012-06-05 Joel Brobecker <brobecker@adacore.com>
3402
3403 * gdb.ada/bad-task-bp-keyword: New testcase.
3404
d0d86158
JK
34052012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3406
3407 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
3408 Simplify it to ...
3409 (symbol-file ${testfile1}): ... here.
3410 (test eliminated var my_global_symbol)
3411 (test eliminated var my_static_symbol)
3412 (test eliminated var my_global_func, get address of main): Wrap them to
3413 'single psymtabs' and 'single symtabs'
3414 (get address of my_global_symbol, get address of my_static_symbol)
3415 (get address of my_global_func, get address of main): Wrap them to
3416 'order1' and 'order2'.
3417
952cf74c
JK
3418 * gdb.base/code_elim.exp
3419 (add-symbol-file ${testfile1} 0x100000)
3420 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
3421 'order2'.
3422 (order1: add-symbol-file ${testfile1} 0x100000)
3423 (order1: add-symbol-file ${testfile2} 0x200000)
3424 (order2: add-symbol-file ${testfile2} 0x200000)
3425 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
3426 .bss as appropriate.
3427
0c5bf5a9
JK
34282012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3429
3430 * gdb.server/solib-list-lib.c: New file.
3431 * gdb.server/solib-list-main.c: New file.
3432 * gdb.server/solib-list.exp: New file.
3433
4196f325
MR
34342012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
3435
3436 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
3437 for 'set print symbol' change.
3438
bfb05775
JK
34392012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3440
3441 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
3442 .debug_abbrev_seg3.
3443
685b1105
JK
34442012-05-24 John Steele Scott <toojays@toojays.net>
3445
3446 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
3447 * gdb.dwarf2/dw2-icc-opaque.S: New file.
3448 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
3449
f3e0e960
SS
34502012-05-23 Stan Shebs <stan@codesourcery.com>
3451
3452 * gdb.mi/mi-info-os.exp: New file.
3453
11eb1b4d
KS
34542012-05-23 Keith Seitz <keiths@redhat.com>
3455
3456 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
3457 return -1 to suppress the rest of the tests.
3458 (compile_stap_bin): Return boolean success value.
3459
b1af9e97
TT
34602012-05-21 Tom Tromey <tromey@redhat.com>
3461
3462 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
3463 Remove kfails.
3464 (test_print_mi_member_types): Likewise.
3465
248537e3
TT
34662012-05-21 Tom Tromey <tromey@redhat.com>
3467
3468 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
3469 print symbol' change.
3470
d791e155
TJB
34712012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
3472
3473 * gdb.python/py-prompt.exp: Quit if the target is remote.
3474
e77afa2e
JK
34752012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3476
3477 Fix ERROR: internal buffer is full.
3478 * gdb.base/info-os.exp (expect_multiline): New function.
3479 (get process list, get process groups, get threads)
3480 (get file descriptors, get internet-domain sockets)
3481 (get shared-memory regions, get semaphores, get message queues): Use
3482 it for these tests.
3483
9cb709b6
TT
34842012-05-18 Tom Tromey <tromey@redhat.com>
3485
3486 * gdb.mi/mi-var-cmd.exp: Update.
3487 * gdb.objc/basicclass.exp (do_objc_tests): Update.
3488 * gdb.cp/virtbase.exp: Update.
3489 * gdb.cp/classes.exp (test_static_members): Update.
3490 * gdb.cp/casts.exp: Update.
3491 * gdb.base/pointers.exp: Update.
3492 * gdb.base/funcargs.exp (pointer_args): Update.
3493 (structs_by_reference): Update.
3494 * gdb.base/find.exp: Update.
3495 * gdb.base/call-strs.exp: Send "set print symbol off".
3496 * gdb.base/call-ar-st.exp: Update.
3497 * gdb.ada/fun_addr.exp: Update.
3498 * gdb.base/printcmds.exp (test_print_symbol): New proc.
3499 Call it.
3500 (test_print_repeats_10, test_print_strings)
3501 (test_print_char_arrays): Update.
3502
b012acdd
TT
35032012-05-18 Tom Tromey <tromey@redhat.com>
3504
3505 * gdb.base/charset.exp (string_display): Update.
3506
1d51a733
TT
35072012-05-18 Tom Tromey <tromey@redhat.com>
3508
3509 * gdb.mi/mi2-var-display.exp: Update.
3510 * gdb.mi/mi-var-display.exp: Update.
3511 * gdb.mi/mi-var-child.exp: Update.
3512 * gdb.cp/expand-psymtabs-cxx.exp: Update.
3513 * gdb.cp/cp-relocate.exp (get_func_address): Update.
3514
957df313
DE
35152012-05-17 Doug Evans <dje@google.com>
3516
682c7f7b
DE
3517 * info-macros.exp: Pass "debug" to prepare_for_testing.
3518
957df313
DE
3519 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
3520 * gdb.ada/Makefile.in (clean): Ditto.
3521 * gdb.arch/Makefile.in (clean): Ditto.
3522 * gdb.asm/Makefile.in (clean): Ditto.
3523 * gdb.base/Makefile.in (clean): Ditto.
3524 * gdb.cell/Makefile.in (clean): Ditto.
3525 * gdb.cp/Makefile.in (clean): Ditto.
3526 * gdb.disasm/Makefile.in (clean): Ditto.
3527 * gdb.dwarf2/Makefile.in (clean): Ditto.
3528 * gdb.fortran/Makefile.in (clean): Ditto.
3529 * gdb.go/Makefile.in (clean): Ditto.
3530 * gdb.hp/Makefile.in (clean): Ditto.
3531 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
3532 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
3533 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
3534 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
3535 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
3536 * gdb.java/Makefile.in (clean): Ditto.
3537 * gdb.linespec/Makefile.in (clean): Ditto.
3538 * gdb.mi/Makefile.in (clean): Ditto.
3539 * gdb.modula2/Makefile.in (clean): Ditto.
3540 * gdb.multi/Makefile.in (clean): Ditto.
3541 * gdb.objc/Makefile.in (clean): Ditto.
3542 * gdb.opencl/Makefile.in (clean): Ditto.
3543 * gdb.opt/Makefile.in (clean): Ditto.
3544 * gdb.pascal/Makefile.in (clean): Ditto.
3545 * gdb.python/Makefile.in (clean): Ditto.
3546 * gdb.reverse/Makefile.in (clean): Ditto.
3547 * gdb.server/Makefile.in (clean): Ditto.
3548 * gdb.stabs/Makefile.in (clean): Ditto.
3549 * gdb.threads/Makefile.in (clean): Ditto.
3550 * gdb.trace/Makefile.in (clean): Ditto.
3551 * gdb.xml/Makefile.in (clean): Ditto.
3552
abc9d0dc
TT
35532012-05-16 Tom Tromey <tromey@redhat.com>
3554
3555 * gdb.base/macscp1.c (macscp_expr): Add comment.
3556 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
3557
6a3a010b
MR
35582012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3559
3560 * gdb.base/return-nodebug.exp: Also test float and double types.
3561
01429c8e
JK
35622012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3563
3564 PR testsuite/12649
3565 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
3566
54115cd4
JK
3567 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
3568
0c5f383f
SDJ
35692012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
3570
3571 * gdb.base/stap-probe.exp (stap_test): Remove calls to
3572 `rerun_to_main'.
3573 (stap_test_no_debuginfo): Likewise.
3574
e7e0cddf
SS
35752012-05-14 Stan Shebs <stan@codesourcery.com>
3576
3577 * gdb.base/dprintf.c: New file.
3578 * gdb.base/dprintf.exp: New file.
3579
c772f8e7
HZ
35802012-05-14 Hui Zhu <hui_zhu@mentor.com>
3581
3582 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
3583 * gdb.trace/disconnected-tracing.c: New file.
3584 * gdb.trace/disconnected-tracing.exp: New file.
3585
7efc75aa
SCR
35862012-05-13 Siva Chandra Reddy <sivachandra@google.com>
3587
3588 * gdb.python/python.c: Add a new breakpoint comment.
3589 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
3590
85d4a676
SS
35912011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
3592
3593 * gdb.base/info-os.exp: New file.
3594 * gdb.base/info-os.c: New file.
3595
64ea88dc
JB
35962012-05-10 Joel Brobecker <brobecker@adacore.com>
3597
4647ab1b
JB
3598 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
3599 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
3600 New files.
64ea88dc 3601
afba63f1
JB
36022012-05-10 Joel Brobecker <brobecker@adacore.com>
3603
3604 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
3605 gdb.base/ctxobj.exp: New files.
3606
9d198b1e
TT
36072012-05-09 Tom Tromey <tromey@redhat.com>
3608
3609 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
3610
9bfee719
MR
36112012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
3612
3613 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
3614
3a7341d8
MR
36152012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
3616
3617 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
3618 before using it.
3619
52b3699b
TG
36202012-05-04 Tristan Gingold <gingold@adacore.com>
3621
3622 * gdb.base/set-noassign.exp: New test.
3623
a20ee7a4
SCR
36242012-05-03 Siva Chandra Reddy <sivachandra@google.com>
3625
3626 * gdb.python/py-symbol.exp: Add tests to test the new methods
3627 gdb.Symtab.global_block() and gdb.Symtab.static_block().
3628 * gdb.python/py-symbol.c: Add new struct to help test
3629 gdb.Symtab.static_block().
3630
bf2f0858
DE
36312012-05-03 Doug Evans <dje@google.com>
3632
3633 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
3634 commented out.
3635
2d4e0376
YQ
36362012-05-03 Yao Qi <yao@codesourcery.com>
3637
3638 * gdb.base/catch-syscall.exp: Skip it before compilation if target
3639 doesn't support.
3640 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
3641 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
3642
6d0bb9f3
YQ
36432012-05-03 Yao Qi <yao@codesourcery.com>
3644
3645 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
3646
fd820528
DE
36472012-04-30 Doug Evans <dje@google.com>
3648
3649 PR testsuite/13961
3650 * gdb.dwarf2/pr13961.S: New file.
3651 * gdb.dwarf2/pr13961.exp: New file.
3652
b9e219b9
YQ
36532012-04-29 Yao Qi <yao@codesourcery.com>
3654
3655 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
3656
3019eac3
DE
36572012-04-28 Doug Evans <dje@google.com>
3658
3659 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
3660 .Ltype_int_in_cu2. Use name "int2" instead of "int".
3661 All uses updated.
3662 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
3663 "ptype func_cu1" to expand cu2 before cu1.
3664
62e5f89c
SDJ
36652012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
3666 Tom Tromey <tromey@redhat.com>
3667
3668 * gdb.base/default.exp: Add `$_probe_arg*' convenience
3669 variables.
3670 * gdb.base/stap-probe.c: New file.
3671 * gdb.base/stap-probe.exp: New file.
3672 * gdb.trace/stap-trace.c: New file.
3673 * gdb.trace/stap-trace.exp: New file.
3674 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
3675 libgcc's unwinder.
3676
14132e89
MR
36772012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
3678
3679 * gdb.arch/mips16-thunks-inmain.c: New file.
3680 * gdb.arch/mips16-thunks-main.c: New file.
3681 * gdb.arch/mips16-thunks-sin.c: New file.
3682 * gdb.arch/mips16-thunks-sinfrob.c: New file.
3683 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
3684 * gdb.arch/mips16-thunks-sinmain.c: New file.
3685 * gdb.arch/mips16-thunks-sinmips16.c: New file.
3686 * gdb.arch/mips16-thunks.exp: New file.
3687
a766d390
DE
36882012-04-25 Doug Evans <dje@google.com>
3689
3690 * configure.ac: Create gdb.go/Makefile.
3691 * configure: Regenerate.
3692 * gdb.base/default.exp: Add "go" to "set language" testing.
3693 * gdb.go/Makefile.in: New file.
3694 * gdb.go/basic-types.exp: New file.
3695 * gdb.go/chan.exp: New file.
3696 * gdb.go/chan.go: New file.
3697 * gdb.go/handcall.exp: New file.
3698 * gdb.go/handcall.go: New file.
3699 * gdb.go/hello.exp: New file.
3700 * gdb.go/hello.go: New file.
3701 * gdb.go/integers.exp: New file.
3702 * gdb.go/integers.go: New file.
3703 * gdb.go/methods.exp: New file.
3704 * gdb.go/methods.go: New file.
3705 * gdb.go/package.exp: New file.
3706 * gdb.go/package1.go: New file.
3707 * gdb.go/package2.go: New file.
3708 * gdb.go/print.exp: New file.
3709 * gdb.go/strings.exp: New file.
3710 * gdb.go/strings.go: New file.
3711 * gdb.go/types.exp: New file.
3712 * gdb.go/types.go: New file.
3713 * gdb.go/unsafe.exp: New file.
3714 * gdb.go/unsafe.go: New file.
3715 * lib/future.exp: Add Go support.
3716 (gdb_find_go, gdb_find_go_linker): New procs.
3717 (gdb_default_target_compile): Add Go support.
3718 * lib/gdb.exp (skip_go_tests): New proc.
3719 * lib/go.exp: New file.
3720
e65f9ffb
TT
37212012-04-25 Tom Tromey <tromey@redhat.com>
3722
3723 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
3724
14e75d8e
JK
37252012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3726 Jan Kratochvil <jan.kratochvil@redhat.com>
3727
3728 PR symtab/7259:
3729 * gdb.base/enumval.c: New test case.
3730 * gdb.base/enumval.exp: New test case.
3731 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
3732 field.bitpos.
3733
f3525b70
PA
37342012-04-17 Pedro Alves <palves@redhat.com>
3735
3736 * Makefile.in (site.exp): Make site.exp source
3737 $srcdir/lib/append_gdb_boards_dir.exp.
3738 * lib/append_gdb_boards_dir.exp: New file.
3739
bccbefd2
JK
37402012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3741
3742 New option "set auto-load safe-path".
3743 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
3744 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
3745
bf88dd68
JK
37462012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3747
3748 auto-load: Implementation.
3749 * gdb.base/help.exp (test set height): Increase the height.
3750 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
3751 to ...
3752 (info auto-load python-scripts): ... here.
3753 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
3754 to ...
3755 (info auto-load python-scripts *): ... here.
3756
c0d4d1c0
YQ
37572012-04-16 Yao Qi <yao@codesourcery.com>
3758
3759 * lib/trace-support.exp (get_in_proc_agent): New.
3760 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
3761 of in process trace agent.
3762 * gdb.trace/ftrace.exp: Likewise.
3763 * gdb.trace/pending.exp: Likewise.
3764 * gdb.trace/trace-break.exp: Likewise.
3765 * gdb.trace/trace-mt.exp
3766 * gdb.trace/tspeed.exp: Likewise.
3767 * gdb.trace/tstatus.exp
3768 * gdb.trace/strace.exp: Likewise.
3769
cbf68a60
TS
37702012-04-16 Thomas Schwinge <thomas@codesourcery.com>
3771
dd6d3b70
TS
3772 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
3773 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
3774
cbf68a60
TS
3775 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
3776
8264ba82
AG
37772012-04-14 Anton Gorenkov <xgsa@yandex.ru>
3778
3779 PR mi/13393
3780 * gdb.mi/mi-var-rtti.cc: New file.
3781 * gdb.mi/mi-var-rtti.exp: New file.
3782 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
3783 function.
3784 (mi_varobj_update_with_type_change): updated to avoid code duplication.
3785
de0919f8 37862012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
3787
3788 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
3789 EXECUTABLES.
3790 * gdb.python/py-explore.c: C program used for testing the new
3791 'explore' command on C constructs.
3792 * gdb.python/py-explore.cc: C++ program used for testing the new
3793 'explore' command on C++ constructs.
3794 * gdb-python/py-explore.exp: Tests for the new 'explore'
3795 command on C constructs.
3796 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
3797 command on C++ constructs.
3798
a82da7dd
MK
37992012-04-07 Mark Kettenis <kettenis@gnu.org>
3800
3801 * gdb.base/funcargs.exp (complex_args): Fix typo.
3802
e127cba8
JK
38032012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3804
3805 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
3806 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
3807
40e084e1
KS
38082012-04-05 Keith Seitz <keiths@redhat.com>
3809
3810 * gdb.base/advance.exp: Update error message for
3811 "advance malformed" test.
3812 * gdb.base/break.exp: Likewise for "breakpoint with
3813 trailing garbage" test.
3814 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
3815 with trailing garbage" test.
3816 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
3817 trailng garbage" test.
3818 * gdb.base/until.exp: Likewise for "malformed until" test.
3819 * gdb.cp/ovldbreak.exp: Create the breakpoint table
3820 for "breakpoint info (after setting on all)".
3821 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
3822 tests.
3823 * gdb.cp/cplabel.cc: New file.
3824 * gdb.cp/cplabel.exp: New test.
3825 * gdb.linespec/ls-errs.c: New file.
3826 * gdb.linespec/ls-errs.exp: New test.
3827
a72c8f6a
JK
38282012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3829
3830 * gdb.trace/unavailable.exp
3831 (collect globals: print object on: print derived_partial)
3832 (collect globals: print object on: print derived_whole)
3833 (collect globals: print object off: print derived_partial)
3834 (collect globals: print object off: print derived_whole): Update
3835 expected output.
3836
f87a3023
KS
38372012-03-30 Keith Seitz <keiths@redhat.com>
3838
3839 * gdb.python: Add test for linespecs with commas.
3840
e2171b3c
KS
38412012-03-28 Keith Seitz <keiths@redhat.com>
3842
3843 * gdb.linespec/ls-dollar.cc: New file.
3844 * gdb.linespec/ls-dollar.exp: New test.
3845
38462012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
3847
3848 * gdb.cp/namespace.exp: Add breakpoint tests for functions
3849 starting with the global namespace.
3850
2f4e0a80
DE
38512012-03-23 Doug Evans <dje@google.com>
3852
3853 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
3854
7b282c5a
SCR
38552012-03-22 Siva Chandra Reddy <sivachandra@google.com>
3856
3857 * gdb.python/py-value.cc: Add test case for testing the
3858 methodology exposing C++ values to Python.
3859 * gdb.python/py-value-cc.exp: Add tests testing the methodology
3860 exposing C++ values to Python.
3861 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
3862
2e98ca53
JK
38632012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3864 Siddhesh Poyarekar <siddhesh@redhat.com>
3865
3866 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
3867 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
3868 (generate native core dump): Make the test unsupported if core cannot
3869 be generated.
3870
8320cc4f
JK
38712012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3872
3873 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
3874 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
3875 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
3876
3a69ffb2
JK
38772012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3878
3879 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
3880
8fabffee
DE
38812012-03-17 Doug Evans <dje@google.com>
3882
3883 * dg-extract-results.sh: Handle KFAILs.
3884
ab260dad
JK
38852012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3886
3887 PR symtab/13777
3888 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
3889
53ba8333
JB
38902012-03-16 Joel Brobecker <brobecker@adacore.com>
3891
3892 * gdb.ada/set_pckd_arr_elt: New testcase.
3893
481860b3
GB
38942012-03-16 Gary Benson <gbenson@redhat.com>
3895
3896 PR breakpoints/10738
3897 * gdb.opt/inline-break.exp: New file.
3898 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
3899 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
3900 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
3901 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
3902 * gdb.base/async-shell.exp: Likewise.
3903 * lib/mi-support.exp (library_loaded_re): Likewise.
3904
410528f0
TT
39052012-03-15 Tom Tromey <tromey@redhat.com>
3906
3907 * gdb.cp/virtfunc2.exp: Update expected output.
3908 * gdb.cp/pr9631.exp: Update expected output.
3909 * gdb.cp/member-ptr.exp: Update expected output.
3910 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
3911 output.
3912 * gdb.cp/casts.exp: Update expected output.
3913
c4aeac85
TT
39142012-03-15 Tom Tromey <tromey@redhat.com>
3915
3916 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
3917 (test_info_vtbl): Likewise.
3918 (do_tests): Call test_info_vtbl.
3919 * gdb.cp/virtfunc.cc (va): New global.
3920
856d06f9
TS
39212012-03-15 Thomas Schwinge <thomas@codesourcery.com>
3922
3923 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
3924 describing DWARF data structures.
3925 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
3926 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
3927 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
3928 * gdb.dwarf2/dw2-entry-value.S: Likewise.
3929 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3930 * gdb.dwarf2/dw2-param-error.S: Likewise.
3931 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
3932 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
3933 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
3934 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
3935 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
3936 * gdb.dwarf2/pr11465.S: Likewise.
3937
e837f12a
JK
39382012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3939
3940 * gdb.mi/mi2-prompt.exp: New file.
3941
ccbb4f28
JB
39422012-03-13 Joel Brobecker <brobecker@adacore.com>
3943
3944 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
3945
32039130
JB
39462012-03-13 Joel Brobecker <brobecker@adacore.com>
3947
3948 * gdb.ada/bp_range_type: New testcase.
3949
16899756
DE
39502012-03-13 Doug Evans <dje@google.com>
3951
3952 * gdb.base/default.exp: Delete tests for symbol-reloading.
3953 * gdb.base/help.exp: Ditto.
3954 * gdb.base/setshow.exp: Ditto.
3955 * gdb.base/gdb_history: Delete references to symbol-reloading.
3956
87b0bb13
JK
39572012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3958
3959 * gdb.base/attach-twice.c: New files.
3960 * gdb.base/attach-twice.exp: New files.
3961
0d7941a9
KS
39622012-03-08 Keith Seitz <keiths@redhat.com>
3963
3964 * lib/gdb.exp (gdb_get_line_number): Throw an
3965 error instead of returning -1.
3966 * gdb.base/break.exp: Remove unused variable
3967 bp_location5.
3968 * gdb.base/hbreak2.exp: Likewise.
3969 * gdb.base/sepdebug.exp: Likewise.
3970
f4647387
YQ
39712012-03-08 Yao Qi <yao@codesourcery.com>
3972 Pedro Alves <palves@redhat.com>
3973
3974 Fix PR server/13392.
3975 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
3976 (tracepoint_change_loc_2): Remove kfail. Return if failed to
3977 download tracepoints.
3978 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
3979 (pending_tracepoint_resolved_during_trace): Likewise.
3980 (pending_tracepoint_installed_during_trace): Likewise.
3981 (pending_tracepoint_with_action_resolved): Likewise.
3982
83c532cb
KS
39832012-03-08 Keith Seitz <keiths@redhat.com>
3984
3985 * gdb.ada/array_bounds.exp: Get breakpoint for line
3986 with "START", not "STOP".
3987 * gdb.python/py-infthread.exp: Do not continue to
3988 line marked "Break here.", which is undefined.
3989
d6b6bbb7
LM
39902012-03-08 Luis Machado <lgustavo@codesourcery.com>
3991
3992 Revert:
3993
3994 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3995
3996 Implement testsuite workaround for PR breakpoints/13781.
3997 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
3998 (set breakpoint condition-evaluation host): New conditional command.
3999
7fe25d9b
JK
40002012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4001
4002 Fix CU relative vs. absolute DIE offsets.
4003 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
4004 one.
4005
51898c15
JK
40062012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4007
4008 Fix false FAIL on distros with relro linkage as default.
4009 * gdb.reverse/solib-precsave.exp: Try to compile the test using
4010 -Wl,-z,norelro first.
4011
8131799e
JB
40122012-03-06 Joel Brobecker <brobecker@adacore.com>
4013
4014 * gdb.ada/bp_on_var: New testcase.
4015
ba241969
JB
40162012-03-06 Joel Brobecker <brobecker@adacore.com>
4017
4018 * gdb.ada/bp_enum_homonym: New testcase.
4019
abe49676
YQ
40202012-03-06 Yao Qi <yao@codesourcery.com>
4021
4022 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
4023 x86_64-*-* and i?86-*-*.
4024 Set up KFAIL for gdb/13808.
4025
d8df103b
TT
40262012-03-05 Tom Tromey <tromey@redhat.com>
4027
4028 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
4029 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
4030
b7b189f3
TT
40312012-03-05 Tom Tromey <tromey@redhat.com>
4032
4033 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
4034
69dc1c4d
YQ
40352012-03-04 Yao Qi <yao@codesourcery.com>
4036
4037 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
4038 messages for KFAIL.
4039
3f20c47f
JK
40402012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4041
4042 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
4043 (print one_two_three, indexes off, print few_reps, indexes off)
4044 (print many_reps, indexes off, print empty, indexes off)
4045 (print one_two_three, print few_reps, print many_reps, print empty):
4046 Call setup_xfail if $gcc_old.
4047
abf1152a
JK
40482012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4049
4050 Implement testsuite workaround for PR breakpoints/13781.
4051 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
4052 (set breakpoint condition-evaluation host): New conditional command.
4053
a06715f8
JK
40542012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4055
4056 Code cleanup.
4057 * gdb.cp/mb-templates.exp: New variables executable. Use it for
4058 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
4059 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
4060 number 1 by $bpnum. Four times.
4061
5808517f
YQ
40622012-03-03 Yao Qi <yao@codesourcery.com>
4063
4064 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
4065
dfe2ac14
JK
40662012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4067
4068 Setup KFAIL for PR server/13796.
4069 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
4070
8bbc467a
JB
40712012-03-02 Joel Brobecker <brobecker@adacore.com>
4072
4073 * gdb.ada/operator_bp: New testcase.
4074
c0eac87f
JB
40752012-03-02 Joel Brobecker <brobecker@adacore.com>
4076
4077 * gdb.ada/info_locals_renaming: New testcase.
4078
4f42c881
TT
40792012-03-02 Tom Tromey <tromey@redhat.com>
4080
4081 * gdb.base/nextoverexit.c: New file.
4082 * gdb.base/nextoverexit.exp: New file.
4083
7380c0c9
EBM
40842012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
4085
4086 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
4087 parameter.
4088
1faeff08
MR
40892012-03-01 Maciej W. Rozycki <macro@mips.com>
4090
4091 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
4092 core registers.
4093
320b6f49 40942012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
4095 Maciej W. Rozycki <macro@codesourcery.com>
4096 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
4097
4098 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
4099
ad5f7d6e
PA
41002012-03-01 Pedro Alves <palves@redhat.com>
4101
4102 PR gdb/13767
4103
4104 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
4105 (gdb_collect_globals_test): Call it.
4106
d3dc44a6
KS
41072012-03-01 Keith Seitz <keiths@redhat.com>
4108
4109 * gdb.cp/method2.exp: Output of overload menu is now
4110 alphabetized. Update tests for "break A::method".
4111 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
4112 of hard-coding them.
4113 Overload menu is alphabetized: rewrite to accommodate.
4114 Unset variables LINE and TYPES which are used in other tests.
4115 Compute the output of "info break".
4116 Update the breakpoint table after all breakpoints are deleted.
4117 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
4118 compute ACTUALS and the method body based on parameters.
4119 Update expected output accordingly.
4120 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
4121 unique comments to allow the use of gdb_get_line_number.
4122
41232012-03-01 Keith Seitz <keiths@redhat.com>
4124
4125 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
4126 some Tcl syntax.
4127 * gdb.cp/ovldbreak.exp: Likewise.
4128
7949c2a0
KS
41292012-03-01 Keith Seitz <keiths@redhat.com>
4130
4131 * gdb.base/help.exp (help show user): Update expected result
4132 for new doc string changes (add "non-python").
4133
7d74f244
DE
41342012-03-01 Scott J. Goldman <scottjg@vmware.com>
4135
4136 * gdb.python/py-cmd.exp: Add test to verify that python commands can
4137 be put in the user-defined category and that the commands appear in
4138 "help user-defined".
4139
1b611343
JB
41402012-02-29 Joel Brobecker <brobecker@adacore.com>
4141
4142 * gdb.ada/tagged_not_init: New testcase.
4143
99b1c762
JB
41442012-02-29 Joel Brobecker <brobecker@adacore.com>
4145
4146 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
4147 * gdb.ada/enum_idx_packed: New testcase.
4148
2d4a02ee
JB
41492012-02-29 Joel Brobecker <brobecker@adacore.com>
4150
4151 * gdb.ada/aliased_array: New testcase.
4152
2e6fda7d
JB
41532012-02-29 Joel Brobecker <brobecker@adacore.com>
4154
4155 * gdb.ada/whatis_array_val: New testcase.
4156
9a7f938f
JK
41572012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4158
4159 Fix disp-step-syscall.exp: fork: single step over fork.
4160 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
4161 whitespaces.
4162 (single step over $syscall): Remove its check.
4163 (single step over $syscall final pc): New check.
4164
8703a944
JK
41652012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4166
4167 Support processors without SSSE3.
4168 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
4169 pabsd into ...
4170 (ssse3_test): ... a new function.
4171 (main): Call ssse3_test.
4172 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
4173 Update expected values everywhere.
4174 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
4175 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
4176 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
4177 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
4178 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
4179 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
4180 Move these tests lower.
4181 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
4182 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
4183 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
4184 New tests.
4185
c03e6ccc
YQ
41862012-02-29 Yao Qi <yao@codesourcery.com>
4187 Pedro Alves <palves@redhat.com>
4188
4189 * gdb.trace/trace-mt.c: New.
4190 * gdb.trace/trace-mt.exp: New.
4191
7964b62a
TS
41922012-02-28 Thomas Schwinge <thomas@codesourcery.com>
4193
2c8910ba
TS
4194 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
4195 numbers instead of hardcoding them.
4196 * gdb.base/annota1.c: Provide suitable markers.
4197 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
4198 numbers instead of hardcoding them.
4199 * gdb.base/annota3.c: Provide suitable markers.
4200
4201 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
4202 * gdb.base/annota3.c: Likewise.
4203 * gdb.base/sigall.c: Likewise.
4204 * gdb.base/signals.c: Likewise.
4205 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 4206
5a41c0b7
MR
42072012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
4208
4209 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
4210 failure return path.
4211
ebbbe5c5
LM
42122012-02-27 Luis Machado <lgustavo@codesourcery.com>
4213
4214 * gdb.base/save-bp.exp: Account for new condition evaluator output.
4215
8d126d8a
LM
42162012-02-24 Luis Machado <lgustavo@codesourcery.com>
4217
4218 * gdb.base/cond-eval-mode.exp: New file.
4219
11337c2f
PA
42202012-02-24 Pedro Alves <palves@redhat.com>
4221
4222 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
4223 (top level): Use with_test_prefix.
4224
13fc3e3c
PA
42252012-02-24 Pedro Alves <palves@redhat.com>
4226
4227 * gdb.threads/attach-into-signal.exp (corefunc): Use
4228 with_test_prefix.
4229
07c1b626
JK
42302012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4231
4232 Fix false FAILs on old CPUs without SSE.
4233 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
4234 Return untested for Illegal instruction.
4235
596ba138
JK
42362012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4237
4238 Fix false FAILs with glibc debug infos installed.
4239 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
4240 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
4241
aeaa2474
SA
42422012-02-22 Sterling Augustine <saugustine@google.com>
4243
4244 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
4245 constant with cast.
4246
aed555c9
PA
42472012-02-21 Pedro Alves <palves@redhat.com>
4248
4249 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
4250
78afebb4
PA
42512012-02-21 Pedro Alves <palves@redhat.com>
4252
4253 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
4254
fdcfef12
PA
42552012-02-21 Pedro Alves <palves@redhat.com>
4256
4257 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
4258 with_test_prefix.
4259
0f4d39d5
PA
42602012-02-21 Pedro Alves <palves@redhat.com>
4261
4262 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
4263 with_test_prefix here.
4264 (top level): Do it here instead. Remove `:' from the
4265 with_test_prefix string.
4266 * gdb.base/attach-pie-misread.exp: Remove the leading space the
4267 the suffix `:' from the with_test_prefix prefix string.
4268 * gdb.base/break-interp.exp: Ditto.
4269 * gdb.base/catch-load.exp: Ditto.
4270 * gdb.base/disp-step-syscall.exp: Ditto.
4271 * gdb.base/jit-so.exp: Ditto.
4272 * gdb.base/jit.exp: Ditto.
4273 * gdb.base/sepdebug.exp: Ditto.
4274 * gdb.base/solib-display.exp: Ditto.
4275 * gdb.base/solib-overlap.exp: Ditto.
4276 * gdb.base/watch-cond-infcall.exp: Ditto.
4277 * gdb.base/watchpoint.exp: Ditto.
4278 * gdb.dwarf2/dw2-noloc.exp: Ditto.
4279 * gdb.mi/mi-watch.exp: Ditto.
4280 * gdb.mi/mi2-watch.exp: Ditto.
4281 * gdb.threads/non-ldr-exc-1.exp: Ditto.
4282 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4283 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4284 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4285 * gdb.threads/watchpoint-fork.exp: Ditto.
4286 * gdb.threads/watchthreads-reorder.exp: Ditto.
4287 * gdb.trace/change-loc.exp: Ditto.
4288 * gdb.trace/pending.exp: Ditto.
4289 * gdb.trace/status-stop.exp: Ditto.
4290 * gdb.trace/strace.exp: Ditto.
4291 * gdb.trace/trace-break.exp: Ditto.
4292 * gdb.trace/unavailable.exp: Ditto.
4293 * lib/gdb.exp (with_test_prefix): Always prefix with space and
4294 suffix with colon. Adjust leading comments.
4295
6a5870ce
PA
42962012-02-21 Pedro Alves <palves@redhat.com>
4297 Tom Tromey <tromey@redhat.com>
4298
4299 * lib/gdb.exp: Add description of test prefixes.
4300 (with_test_prefix): New procedure.
4301 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
4302 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
4303 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
4304 instead of lappend to append to pf_prefix.
4305 * gdb.base/catch-load.exp: Use with_test_prefix.
4306 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
4307 * gdb.base/jit-so.exp: Use with_test_prefix.
4308 * gdb.base/jit.exp: Use with_test_prefix.
4309 * gdb.base/return-nodebug.exp (do_test): Use append instead of
4310 lappend to append to pf_prefix.
4311 * gdb.base/sepdebug.exp: Use with_test_prefix.
4312 * gdb.base/solib-display.exp: Use with_test_prefix.
4313 * gdb.base/solib-overlap.exp: Use with_test_prefix.
4314 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
4315 * gdb.base/watchpoint.exp: Use with_test_prefix.
4316 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
4317 * gdb.mi/mi-watch.exp: Use with_test_prefix.
4318 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
4319 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
4320 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
4321 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
4322 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
4323 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
4324 append instead of lappend to append to pf_prefix.
4325 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
4326 * gdb.trace/change-loc.exp: Use with_test_prefix.
4327 * gdb.trace/pending.exp: Use with_test_prefix.
4328 * gdb.trace/status-stop.exp: Use with_test_prefix.
4329 * gdb.trace/strace.exp: Use with_test_prefix.
4330 * gdb.trace/trace-break.exp: Use with_test_prefix.
4331 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
4332 instead of lappend to append to pf_prefix.
4333
35dc4a6b
JK
43342012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4335
4336 Fix racy FAILs.
4337 * gdb.base/inferior-died.c (main): Add return of 0.
4338 * gdb.base/inferior-died.exp (continue): Fix expectation of
4339 asynchronous events.
4340 (p 1): New test.
4341
c5a006e6
PA
43422012-02-20 Pedro Alves <palves@redhat.com>
4343
4344 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
4345 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
4346 gdb's internal debug output. For the non-threaded case, look for
4347 "Program received signal SIGLARM", for the threaded case, peek at
4348 the thread's siginfo.
4349
cc51a170
PA
43502012-02-20 Pedro Alves <palves@redhat.com>
4351
4352 General cleanup, make output test messages unique, and build
4353 different executable files for the non-threaded and threaded
4354 cases.
4355
4356 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
4357 Delete.
4358 (executable_nothr, executable_thr): New globals.
4359 (top level): Adjust to delete both executables.
4360 (corefunc): New parameter $executable. Set $pf_prefix instead of
4361 hand writing a prefix in tests. Issue a clean_restart and enable
4362 lin-lwp debug output here.
4363 (top level): Adjust. Use build_executable. Don't start gdb here,
4364 and don't enable lin-lwp debug output here.
4365 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
4366
c755f03d
JK
43672012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4368
4369 Fix racy FAILs.
4370 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
4371 "continue" command.
4372
6bec5e0a
JK
43732012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4374
4375 Fix for gdbserver non-extended mode.
4376 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
4377 and gdb_run_cmd.
4378
2e8265fd
TT
43792012-02-17 Tom Tromey <tromey@redhat.com>
4380
4381 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
4382 * gdb.python/py-events.exp: Check 'dir' output.
4383 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
4384
9e507076
YQ
43852012-02-17 Yao Qi <yao@codesourcery.com>
4386
4387 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
4388
32d22ab1
TT
43892012-02-16 Tom Tromey <tromey@redhat.com>
4390
4391 * gdb.base/inferior-died.c: Don't include stdio.h.
4392
9addecb9
TT
43932012-02-16 Tom Tromey <tromey@redhat.com>
4394
4395 * gdb.base/inferior-died.c: New file.
4396 * gdb.base/inferior-died.exp: New file.
4397
4cb6da1c
AR
43982012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
4399
4400 * gdb.base/break-inline.exp: New file.
4401 * gdb.base/break-inline.c: New file.
4402
3af2590d
TT
44032012-02-15 Tom Tromey <tromey@redhat.com>
4404
4405 * gdb.base/pc-fp.exp: Add "info register" tests.
4406
29988831
TT
44072012-02-15 Tom Tromey <tromey@redhat.com>
4408
4409 * gdb.base/regs.exp: Remove.
4410
10010058
PA
44112012-02-15 Pedro Alves <palves@redhat.com>
4412
4413 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
4414 the target doesn't support tracepoints.
4415 * gdb.trace/circ.exp: Ditto.
4416 * gdb.trace/collection.exp: Ditto.
4417 * gdb.trace/packetlen.exp: Ditto.
4418 * gdb.trace/passc-dyn.exp: Ditto.
4419 * gdb.trace/report.exp: Ditto.
4420 * gdb.trace/tfind.exp: Ditto.
4421 * gdb.trace/tspeed.exp: Ditto.
4422 * gdb.trace/tsv.exp: Ditto.
4423 * gdb.trace/unavailable.exp: Ditto.
4424 * gdb.trace/while-dyn.exp: Ditto.
4425
a2e0062d
PA
44262012-02-15 Pedro Alves <palves@redhat.com>
4427
4428 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
4429 gdb_test_multiple, and call unsupported instead of fail, if the
4430 remote side does not support the request.
4431
a1999d40
PA
44322012-02-15 Pedro Alves <palves@redhat.com>
4433
4434 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
4435 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
4436 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
4437 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
4438 * gdb.server/server-run.exp: Make sure gdb is disconnected.
4439 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
4440 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
4441 doesn't start with "extended-" already.
4442
7cee1e54
PA
44432012-02-15 Pedro Alves <palves@redhat.com>
4444
4445 Support extended-remote. Avoid cascading timeouts.
4446
4447 * gdb.base/attach.exp (do_attach_tests): Add expected output for
4448 the extended-remote target. If attaching with no file fails, load
4449 the file manually.
4450 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
4451
816338b5
SS
44522012-02-14 Stan Shebs <stan@codesourcery.com>
4453
4454 * gdb.base/ena-dis-br.exp: Add enable count test.
4455
cc30c4bd
PA
44562012-02-13 Pedro Alves <palves@redhat.com>
4457
4458 * config/mips-idt.exp: Delete.
4459 * gdb.base/a2-run.exp: Remove mips-idt xfails.
4460 * gdb.base/bitfields.exp: Remove mips-idt restarts.
4461 * gdb.base/break.exp: Remove mips-idt references.
4462 * gdb.base/chng-syms.exp: Ditto.
4463 * gdb.base/default.exp: Ditto.
4464 * gdb.base/funcargs.exp (funcargs_reload): Delete.
4465 (top level): Don't call it.
4466 * gdb.base/opaque.exp: Remove mips-idt restarts.
4467 * gdb.base/ptype.exp: Remove mips-idt xfails.
4468 * gdb.base/scope.exp: Remove mips-idt restarts.
4469 * gdb.base/sepdebug.exp: Remove mips-idt references.
4470 * gdb.base/watchpoint.exp (maybe_clean_restart)
4471 (maybe_reinitialize): Delete.
4472 (test_disabling_watchpoints, test_disabling_watchpoints)
4473 (test_watchpoint_triggered_in_syscall)
4474 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4475 Don't call them.
4476
57008375
JK
44772012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4478
4479 * gdb.server/server-exec-info.exp: New file.
4480
4a2d9c08
PA
44812012-02-10 Pedro Alves <palves@redhat.com>
4482
4483 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
4484 always non-empty.
4485 (test_attach): Always pass $exec to test_attach_gdb.
4486
09fa21bd
TT
44872012-02-08 Tom Tromey <tromey@redhat.com>
4488
4489 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
4490 before inferior is started.
4491
f0823d2c
TT
44922012-02-07 Tom Tromey <tromey@redhat.com>
4493
4494 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
4495 Symbol.value.
4496 * gdb.python/py-symbol.c (qq): Set default value.
4497
44982012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
4499
4500 * gdb.python/py-symbol.c (qq): New global.
4501 * gdb.python/py-symbol.exp: Add test for frame-less
4502 lookup_symbol.
4503 * gdb.python/py-symtab.exp: Fix line number.
4504
f7e44f65
JB
45052012-02-03 Joel Brobecker <brobecker@adacore.com>
4506
4507 * gdb.ada/mi_task_arg: New testcase.
4508
4c9ed63c
PA
45092012-02-02 Pedro Alves <palves@redhat.com>
4510
4511 * gdb.reverse/until-precsave.exp: Also put "record save" under the
4512 extended timeout.
4513
c0b9f2c6
PA
45142012-02-02 Pedro Alves <palves@redhat.com>
4515
4516 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
4517 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
4518
5f8cefd7
PA
45192012-02-02 Pedro Alves <palves@redhat.com>
4520
4521 * gdb.base/term.exp: Rewrite.
4522 * gdb.base/term.c: New.
4523
2f3a2569
PA
45242012-02-02 Pedro Alves <palves@redhat.com>
4525
4526 * gdb.base/default.exp (run "r" abbreviation, run): Add
4527 extended-remote expected output.
4528
f149aabd
TT
45292012-02-02 Tom Tromey <tromey@redhat.com>
4530
4531 * gdb.cp/dispcxx.exp: New file.
4532 * gdb.cp/dispcxx.cc: New file.
4533
03bef283
TT
45342012-02-01 Tom Tromey <tromey@redhat.com>
4535
4536 * gdb.base/jit-simple.exp: New file.
4537 * gdb.base/jit-simple.c: New file.
4538
a79b18b5
YQ
45392012-01-30 Yao Qi <yao@codesourcery.com>
4540
4541 * gdb.base/skip.exp: Make test result unique.
4542
f0d1a53e
JK
45432012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4544
4545 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
4546 compatibility with valgrind-3.7.0.
4547
4b3c9f41
PA
45482012-01-27 Pedro Alves <palves@redhat.com>
4549
4550 * gdb.base/watchpoint.exp (no_hw): New global.
4551 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
4552 disable hw watchpoints.
4553 (test_wide_location_1, test_wide_location_2): If no_hw is set,
4554 don't expect hw watchpoints.
4555 (no_hw_watchpoints): Always clean restart.
4556 (do_tests): New procedure, factored out from the top level.
4557 (top level): Run tests twice. Once with hw watchpoints enabled,
4558 another time with hw watchpoints disabled.
4559
a13491c8
PA
45602012-01-27 Pedro Alves <palves@redhat.com>
4561
4562 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
4563 out from the top level.
4564 (top level): Call it instead.
4565
f2c8a051
PA
45662012-01-27 Pedro Alves <palves@redhat.com>
4567
4568 * gdb.base/watchpoint.exp (top level): Re-enable hardware
4569 watchpoints sooner.
4570
654d7a9e
PA
45712012-01-27 Pedro Alves <palves@redhat.com>
4572
4573 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
4574
274f47f3
PA
45752012-01-27 Pedro Alves <palves@redhat.com>
4576
4577 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
4578 "You may have requested too many hardware
4579 breakpoints/watchpoints".
4580
e4d63ba2
PA
45812012-01-27 Pedro Alves <palves@redhat.com>
4582
4583 * gdb.base/watchpoint.exp (maybe_clean_restart)
4584 (maybe_reinitialize): New.
4585 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
4586 expect "hit N times".
4587 (test_disabling_watchpoints, test_complex_watchpoint)
4588 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4589 Call maybe_clean_restart.
4590 (top level): Use clean_restart. Remove "mips-idt-*"
4591 reinitialization.
4592
dbd95daf
PA
45932012-01-27 Pedro Alves <palves@redhat.com>
4594
4595 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
4596
f3ad2025
PA
45972012-01-27 Pedro Alves <palves@redhat.com>
4598
4599 * gdb.base/watchpoint.exp: Clean restart after tests that don't
4600 require `initialize' anymore. Remove unnecessary `initialize'
4601 calls.
4602
100aa3ae
PA
46032012-01-27 Pedro Alves <palves@redhat.com>
4604
4605 * gdb.base/watchpoint.exp (wp_set): Delete.
4606 (initialize, test_simple_watchpoint, top level): Remove dead code.
4607
c79a8e11
PA
46082012-01-27 Pedro Alves <palves@redhat.com>
4609
4610 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
4611 typo.
4612
048fe15a
PA
46132012-01-27 Pedro Alves <palves@redhat.com>
4614
4615 * config/extended-gdbserver.exp: New file.
4616 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
4617 comment.
4618 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
4619 * boards/native-extended-gdbserver.exp: New file.
4620
4033a6bf
PA
46212012-01-26 Pedro Alves <palves@redhat.com>
4622
4623 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
4624 and gdb_test_multiple.
4625
3d7f4b81
PA
46262012-01-26 Pedro Alves <palves@redhat.com>
4627
4628 Make test messages unique, and more identifiable.
4629 * gdb.multi/watchpoint-multi.exp: Change test messages.
4630
484abf42
TT
46312012-01-25 Tom Tromey <tromey@redhat.com>
4632
4633 * gdb.base/solib-disc.exp: Fix regexps.
4634
edcc5120
TT
46352012-01-24 Tom Tromey <tromey@redhat.com>
4636
4637 * lib/mi-support.exp (mi_expect_stop): Add special case for
4638 solib-event.
4639 * gdb.base/catch-load-so.c: New file.
4640 * gdb.base/catch-load.exp: New file.
4641 * gdb.base/catch-load.c: New file.
4642 * gdb.base/break-interp.exp (reach_1): Update regexp.
4643
30b91c90
JK
46442012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4645
4646 Fix fuzzy results.
4647 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
4648 lpsimple and func.
4649
53fe1783
GB
46502012-01-24 Gary Benson <gbenson@redhat.com>
4651
4652 Delete #if 0'd out code.
4653 * gdb.base/default.exp (info catch): Remove.
4654 * gdb.base/gdb_history (info catch): Likewise.
4655 * gdb.base/help.exp (info catch): Likewise.
4656
d0d8b0c6
JK
46572012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4658
4659 Fix watchpoints to be specific for each inferior.
4660 * gdb.multi/watchpoint-multi.c: New file.
4661 * gdb.multi/watchpoint-multi.exp: New file.
4662
4403d8e9
JK
46632012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4664
4665 Fix watchpoints across inferior fork.
4666 * gdb.threads/watchpoint-fork-child.c: New file.
4667 * gdb.threads/watchpoint-fork-mt.c: New file.
4668 * gdb.threads/watchpoint-fork-parent.c: New file.
4669 * gdb.threads/watchpoint-fork-st.c: New file.
4670 * gdb.threads/watchpoint-fork.exp: New file.
4671 * gdb.threads/watchpoint-fork.h: New file.
4672
050a2e1d
PA
46732012-01-23 Pedro Alves <palves@redhat.com>
4674
4675 * gdb.base/call-signal-resume.exp: Allow output after "return".
4676
6a52fb62
PA
46772012-01-20 Pedro Alves <palves@redhat.com>
4678
4679 * gdb.python/py-finish-breakpoint.py: Fix typo.
4680
145b16a9
UW
46812012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
4682
4683 * gdb.base/info-proc.exp: Also run on remote targets. Main
4684 "info proc" command is now always present; whether target supports
4685 actual info proc operation is detected when attempting to issue
4686 the command.
4687
26f6125e
JK
46882012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4689
4690 * .gdbinit: Remove.
4691
eb5227ce
PA
46922012-01-19 Pedro Alves <palves@redhat.com>
4693
4694 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
4695 look at the funtions' returns.
4696 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
4697 (jprint.print(int, int)): Change return type to int. Adjust.
4698
1db33378
PP
46992012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4700
4701 PR gdb/9538
4702 * gdb.base/sepdebug.exp: New test.
4703
b9736cf8
PA
47042012-01-18 Pedro Alves <palves@redhat.com>
4705
4706 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
4707 Allow output before ^done.
4708
4aac40c8
TT
47092012-01-16 Tom Tromey <tromey@redhat.com>
4710
4711 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
4712 Add tests for relative directory.
4713
cafec441
TT
47142012-01-16 Tom Tromey <tromey@redhat.com>
4715
4716 * gdb.base/printcmds.c (enum flag_enum): New.
4717 (three): New global.
4718 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
4719 enum printing.
4720 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
4721 FlagEnumerationPrinter.
4722 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
4723 * gdb.python/py-pp-maint.c (enum flag_enum): New.
4724 (fval): New global.
4725
abcc4978
PA
47262012-01-16 Pedro Alves <palves@redhat.com>
4727
4728 * lib/gdb.exp (banned_procedures): New variable.
4729 (banned_variables_traced): Rename to ...
4730 (banned_traced): ... this.
4731 (gdb_init): Also trace banned procedures.
4732 (gdb_finish): Also untrace banned procedures.
4733
97ccebe8
PA
47342012-01-16 Pedro Alves <palves@redhat.com>
4735
4736 Remove all calls to strace.
4737
2af7517b
JK
47382012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4739
4740 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
4741 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
4742
9241a8bc
PP
47432012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4744
4745 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
4746 * gdb.base/pie-execl.exp: Likewise.
4747
3848a17f
KS
47482012-01-12 Keith Seitz <keiths@redhat.com>
4749
4750 PR mi/10586
4751 * gdb.mi/var-cmd.c (struct anonymous): New structure.
4752 (do_anonymous_type_tests): New function.
4753 (main): Call do_anonymous_type_tests.
4754 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
4755 (verify_everything): New procedure.
4756 * gdb.mi/mi-var-cp.cc (class A): New class.
4757 (anonymous_structs_and_unions): New function.
4758 (main): Call anonymous_structs_and_unions.
4759 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
4760 (verify_everything): New procedure.
4761
440e2fca
KS
47622012-01-12 Keith Seitz <keiths@redhat.com>
4763
4764 * lib/mi-support.exp: Expand comments about PATH_EXPR.
4765 (varobj_tree::get_path_expr): Assume that all varobjs are
4766 compound unless they are known simple types.
4767 Adjust path expressions based on parent type, path parent type,
4768 and tree language.
4769 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
4770 the root varobj.
4771 (mi_walk_varobj_tree): Add LANGUAGE parameter.
4772
675399c9
PA
47732012-01-11 Pedro Alves <palves@redhat.com>
4774
4775 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
4776 core files on this machine" anymore.
4777
97ddaa9b
PH
47782012-01-11 Paul Hilfinger <hilfingr@adacore.com>
4779
4780 * gdb.base/watchpoint.c (recurser): Initialize local_x.
4781 (main): Repeat recurser call.
4782 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
4783 equivalent to 'local_x'.
4784
ea733575 47852012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 4786 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
4787
4788 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
4789
2ca0b532
PA
47902012-01-05 Pedro Alves <alves.ped@gmail.com>
4791
4792 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
4793 * gdb.python/py-events.c (first): Add bits for new "step N" test.
4794 * gdb.python/py-events.exp: Test that "step N" tripping on a
4795 breakpoint emits a breakpoint event.
4796
6e681866
JB
47972012-01-03 Joel Brobecker <brobecker@adacore.com>
4798
4799 * gdb.base/auxv.exp: Reformat the copyright notice.
4800
3c2d6aff
YQ
48012012-01-03 Yao Qi <yao@codesourcery.com>
4802
4803 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
4804 (strace_trace_on_diff_addr): New.
4805 * gdb.trace/strace.c: (main): Add two local variables.
4806
0852fee3
UW
48072011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
4808
4809 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
4810 * gdb.cell/gcore.exp: Likewise.
4811 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
4812 to verify the correct instance of main is selected.
4813
12c3e59c
JB
48142012-01-02 Joel Brobecker <brobecker@adacore.com>
4815
4816 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
4817 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
4818 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
4819 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
4820 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
4821 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
4822 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
4823 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
4824 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
4825 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
4826 gdb.threads/thread_check.c: Reformat copyright header.
4827
c0f378ec
EBM
48282011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
4829
e4a7ca93 4830 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
4831 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
4832 is not enabled.
4833
3bc96cfb
JK
48342011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4835
4836 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
4837 parameter to self_exec, adjust the function.
4838 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
4839 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
4840 (set var do_exit = 0): Remove test.
4841 (newline at end of file): Add one.
4842
095bcf5e
JB
48432011-12-27 Joel Brobecker <brobecker@adacore.com>
4844
4845 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
4846 New files.
4847
18d19bd1
JK
48482011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4849
4850 Fix racy FAILs.
4851 * gdb.threads/fork-thread-pending.c (barrier): New variable.
4852 (thread_function, thread_forker): Call pthread_barrier_wait for it.
4853 (main): Call pthread_barrier_init for it.
4854
e809353a
JK
48552011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4856
4857 Fix double send_gdb leading to racy FAILs.
4858 * gdb.base/break.exp (set silent break bp_location1): Replace
4859 3x send_gdb and gdb_expect by gdb_test.
4860 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
4861 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
4862 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
4863 instead of send_gdb. Twice.
4864 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
4865 3x send_gdb and gdb_expect by gdb_test.
4866 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
4867
da8cb7ec
JK
48682011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4869
4870 * gdb.linespec/linespec.exp: Compile using {c++}.
4871
ae1a303e
JK
48722011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4873
4874 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
4875 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
4876 (verify GCC PR debug/51668): New test.
4877
cc72b2a2
KP
48782011-12-23 Kevin Pouget <kevin.pouget@st.com>
4879
4880 Introduce gdb.FinishBreakpoint in Python.
4881 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
4882 py-finish-breakpoint2
4883 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
4884 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
4885 instead of line number.
4886 * gdb.python/py-finish-breakpoint.c: New file.
4887 * gdb.python/py-finish-breakpoint.exp: New file.
4888 * gdb.python/py-finish-breakpoint.py: New file.
4889 * gdb.python/py-finish-breakpoint2.cc: New file.
4890 * gdb.python/py-finish-breakpoint2.exp: New file.
4891 * gdb.python/py-finish-breakpoint2.py: New file.
4892
3b7962f9
JK
48932011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4894
4895 Partial fix of compatibility with gcc-4.7.
4896 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
4897 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
4898 Add comment to add a PASS case in the future.
4899
6538471c
JK
4900 Fix compatibility with gcc-4.7.
4901 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
4902
7052e42c
UW
49032011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
4904
4905 PR tdep/12797
4906 * gdb.base/callfuncs.exp: Remove KFAIL.
4907
9ac7f98e
JB
49082011-12-21 Joel Brobecker <brobecker@adacore.com>
4909
4910 * gdb.ada/task_bp: New testcase.
4911
f6eeced0
JK
49122011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4913
4914 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
4915 -DNO_SECTIONS.
4916 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
4917
72225e17
JK
49182011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4919
4920 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
4921 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
4922 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
4923 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
4924 conditional for gcc <= 4.5.
4925
13ac8d2c
JK
49262011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4927
4928 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
4929 by XFAIL.
4930 * gdb.cp/static-method.exp (info addr A::func())
4931 (list static-method.cc:xxx::(anonymous namespace)::A::func)
4932 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
4933 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
4934 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
4935 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
4936 (test value of F in k3_m): Likewise.
4937 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
4938 Likewise.
4939
049682ba
JK
49402011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4941
4942 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
4943 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
4944 Remove.
4945 * gdb.threads/attachstop-mt.c: Remove.
4946 * gdb.threads/attachstop-mt.exp: Remove.
4947
2c9d8796
MK
49482011-12-17 Mark Kettenis <kettenis@gnu.org>
4949
4950 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
4951
e0f9f062
DE
49522011-12-16 Doug Evans <dje@google.com>
4953
f4aa2101 4954 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
4955 * boards/native-gdbserver.exp: New file.
4956
e0f9f062
DE
4957 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
4958 gdbserver output.
4959 (gdbserver_default_get_remote_address): New function.
4960 (gdbserver_start): Call gdb,get_remote_address to compute argument
4961 to "target remote" command.
4962
80b6e756
PM
49632011-12-16 Phil Muldoon <pmuldoon@redhat.com>
4964
1c3ad6ab 4965 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
4966 python print-stack. Add set/show python print-stack
4967 off|full|message tests.
4968
1576bd00
YQ
49692011-12-15 Yao Qi <yao@codesourcery.com>
4970
4971 * gdb.trace/strace.c: New
4972 * gdb.trace/strace.exp: New.
4973
d6a0f6e0
TT
49742011-12-14 Tom Tromey <tromey@redhat.com>
4975
4976 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
4977
31015e1d
DE
49782011-12-14 Doug Evans <dje@google.com>
4979
4980 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
4981
7b50312a
PA
49822011-12-14 Pedro Alves <pedro@codesourcery.com>
4983
4984 PR threads/10729
4985
4986 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 4987 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 4988
924437bc
PA
49892011-12-13 Pedro Alves <pedro@codesourcery.com>
4990 Doug Evans <dje@google.com>
4991
4992 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
4993 (clean_restart): Remove references to the gdb_stub target board
4994 variable.
4995 (gdb_step_for_stub): Delete.
4996
4997 * gdb.base/annota1.exp: Remove all references to [target_info
4998 exists gdb_stub], gdb_step_for_stub and usestubs.
4999 * gdb.base/annota3.exp: Ditto.
5000 * gdb.base/async.exp: Ditto.
5001 * gdb.base/break.exp: Ditto.
5002 * gdb.base/code-expr.exp: Ditto.
5003 * gdb.base/commands.exp: Ditto.
5004 * gdb.base/completion.exp: Ditto.
5005 * gdb.base/condbreak.exp: Ditto.
5006 * gdb.base/consecutive.exp: Ditto.
5007 * gdb.base/cvexpr.exp: Ditto.
5008 * gdb.base/define.exp: Ditto.
5009 * gdb.base/display.exp: Ditto.
5010 * gdb.base/ena-dis-br.exp: Ditto.
5011 * gdb.base/environ.exp: Ditto.
5012 * gdb.base/gnu-ifunc.exp: Ditto.
5013 * gdb.base/maint.exp: Ditto.
5014 * gdb.base/pending.exp: Ditto.
5015 * gdb.base/sect-cmd.exp: Ditto.
5016 * gdb.base/sepdebug.exp: Ditto.
5017 * gdb.base/unload.exp: Ditto.
5018 * gdb.base/watchpoint-solib.exp: Ditto.
5019 * gdb.cp/annota2.exp: Ditto.
5020 * gdb.cp/annota3.exp: Ditto.
5021 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
5022 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
5023 * gdb.mi/mi-pending.exp: Ditto.
5024 * gdb.trace/circ.exp: Ditto.
5025 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
5026 * gdb.base/list.exp: Ditto.
5027
5028 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
5029 breakpoint function and all references to the usestubs macro.
5030 * gdb.base/exprs.c: Ditto.
5031 * gdb.base/freebpcmd.c: Ditto.
5032 * gdb.base/bitfields.c: Ditto.
5033 * gdb.base/bitfields2.c: Ditto.
5034 * gdb.base/break.c: Ditto.
5035 * gdb.base/call-sc.c: Ditto.
5036 * gdb.base/call-signals.c: Ditto.
5037 * gdb.base/callfuncs.c: Ditto.
5038 * gdb.base/charset.c: Ditto.
5039 * gdb.base/consecutive.c: Ditto.
5040 * gdb.base/constvars.c: Ditto.
5041 * gdb.base/funcargs.c: Ditto.
5042 * gdb.base/int-type.c: Ditto.
5043 * gdb.base/interrupt.c: Ditto.
5044 * gdb.base/langs0.c: Ditto.
5045 * gdb.base/list0.c: Ditto.
5046 * gdb.base/mips_pro.c: Ditto.
5047 * gdb.base/miscexprs.c: Ditto.
5048 * gdb.base/nodebug.c: Ditto.
5049 * gdb.base/opaque0.c: Ditto.
5050 * gdb.base/pointers.c: Ditto.
5051 * gdb.base/printcmds.c: Ditto.
5052 * gdb.base/ptype.c: Ditto.
5053 * gdb.base/recurse.c: Ditto.
5054 * gdb.base/reread1.c: Ditto.
5055 * gdb.base/reread2.c: Ditto.
5056 * gdb.base/restore.c: Ditto.
5057 * gdb.base/return.c: Ditto.
5058 * gdb.base/run.c: Ditto.
5059 * gdb.base/scope0.c: Ditto.
5060 * gdb.base/sepdebug.c: Ditto.
5061 * gdb.base/setshow.c: Ditto.
5062 * gdb.base/setvar.c: Ditto.
5063 * gdb.base/sigall.c: Ditto.
5064 * gdb.base/signals.c: Ditto.
5065 * gdb.base/structs.c: Ditto.
5066 * gdb.base/structs2.c: Ditto.
5067 * gdb.base/testenv.c: Ditto.
5068 * gdb.base/twice.c: Ditto.
5069 * gdb.base/unwindonsignal.c: Ditto.
5070 * gdb.base/watchpoint.c: Ditto.
5071 * gdb.base/watchpoints.c: Ditto.
5072 * gdb.base/whatis.c: Ditto.
5073 * gdb.cp/classes.cc: Ditto.
5074 * gdb.cp/cplusfuncs.cc: Ditto.
5075 * gdb.cp/derivation.cc: Ditto.
5076 * gdb.cp/formatted-ref.cc: Ditto.
5077 * gdb.cp/misc.cc: Ditto.
5078 * gdb.cp/overload.cc: Ditto.
5079 * gdb.cp/ovldbreak.cc: Ditto.
5080 * gdb.cp/ref-params.cc: Ditto.
5081 * gdb.cp/ref-types.cc: Ditto.
5082 * gdb.cp/templates.cc: Ditto.
5083 * gdb.cp/virtfunc.cc: Ditto.
5084 * gdb.hp/gdb.aCC/run.c: Ditto.
5085 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
5086 * gdb.hp/gdb.compat/xdb0.c: Ditto.
5087 * gdb.reverse/consecutive-reverse.c: Ditto.
5088 * gdb.reverse/sigall-reverse.c: Ditto.
5089 * gdb.reverse/until-reverse.c: Ditto.
5090 * gdb.reverse/watch-reverse.c: Ditto.
5091 * gdb.trace/actions.c: Ditto.
5092 * gdb.trace/circ.c: Ditto.
5093 * gdb.trace/collection.c: Ditto.
5094
fabde485
PA
50952011-12-13 Pedro Alves <pedro@codesourcery.com>
5096
5097 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
5098 (func6, func7): New.
5099 (main): Call func6 and func7.
5100 * gdb.base/watchpoint.exp (test_wide_location_1)
5101 (test_wide_location_2): New.
5102 (top level): Re-enable hardware watchpoints if necessary. Call
5103 test_wide_location_1 and test_wide_location_2.
5104
ff7d1690
YQ
51052011-12-11 Yao Qi <yao@codesourcery.com>
5106
5107 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
5108
a6af7abe
JB
51092011-12-11 Joel Brobecker <brobecker@adacore.com>
5110
5111 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
5112 expected output for unsupported case.
5113
61638e15
JK
51142011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5115
5116 PR testsuite/12649
5117 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
5118 Protect gdb_test_multiple by final $gdb_prompt match.
5119
0a00efc3
JK
51202011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5121
5122 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
5123 New variable, new test.
5124 (list static-method.cc:xxx::(anonymous namespace)::A::func)
5125 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5126 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5127 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
5128 them if HAVE_GCC_45682_FIXED is not set.
5129
4511b1ba
YQ
51302011-12-10 Yao Qi <yao@codesourcery.com>
5131
5132 * gdb.trace/status-stop.exp: New.
5133 * gdb.trace/status-stop.c: New.
5134
27949e73
JK
51352011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5136
5137 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
5138 timeout.
5139
d8ea7931
TT
51402011-12-08 Tom Tromey <tromey@redhat.com>
5141
5142 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
5143 condition.
5144
1cc310d2
SS
51452011-12-07 Stan Shebs <stan@codesourcery.com>
5146
5147 * gdb.trace/tfind.exp: Update for output changes.
5148
d482a875
PA
51492011-12-07 Pedro Alves <pedro@codesourcery.com>
5150
5151 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
5152 throws "Cannot insert catchpoints in this configuration".
5153 * gdb.ada/mi_catch_ex.exp: Likewise.
5154
f0ba3972
PA
51552011-12-06 Pedro Alves <pedro@codesourcery.com>
5156
5157 * gdb.base/break-always.exp: Test changing memory at addresses
5158 with breakpoints inserted.
5159
f8eba3c6
TT
51602011-12-06 Joel Brobecker <brobecker@acacore.com>
5161
6fdff2c5
PA
5162 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
5163 involving a fully qualified function name.
f8eba3c6
TT
5164
51652011-12-06 Tom Tromey <tromey@redhat.com>
5166
5167 * gdb.ada/homonym.exp: Add three breakpoint tests.
5168
51692011-12-06 Tom Tromey <tromey@redhat.com>
5170
5171 * gdb.base/solib-weak.exp (do_test): Remove kfail.
5172 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
5173 * gdb.objc/objcdecode.exp: Update for output changes.
5174 * gdb.linespec/linespec.exp: New file.
5175 * gdb.linespec/lspec.cc: New file.
5176 * gdb.linespec/lspec.h: New file.
5177 * gdb.linespec/body.h: New file.
5178 * gdb.linespec/base/two/thefile.cc: New file.
5179 * gdb.linespec/base/one/thefile.cc: New file.
5180 * gdb.linespec/Makefile.in: New file.
5181 * gdb.cp/templates.exp (test_template_breakpoints): Update for
5182 output changes.
5183 * gdb.cp/re-set-overloaded.exp: Remove kfail.
5184 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
5185 makes one breakpoint.
5186 * gdb.cp/method2.exp (test_break): Update for output changes.
5187 * gdb.cp/mb-templates.exp: Update for output changes.
5188 * gdb.cp/mb-inline.exp: Update for output changes.
5189 * gdb.cp/mb-ctor.exp: Update for output changes.
5190 * gdb.cp/ovsrch.exp: Use fully-qualified names.
5191 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
5192 has multiple matches.
5193 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
5194 error message change.
5195 * gdb.base/list.exp (test_list_filename_and_number): Update for
5196 error message change.
5197 * gdb.base/break.exp: Disable pending breakpoints. Update for
5198 output changes.
5199 * configure.ac: Add gdb.linespec.
5200 * configure: Rebuild.
5201 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
5202
c642a434
UW
52032011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
5204
5205 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
5206 last_break register on s390*-*-* targets.
5207
b18003d1
JB
52082011-12-06 Joel Brobecker <brobecker@adacore.com>
5209
5210 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
5211 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
5212 of parameter X in procedure Foo.
5213
fe96589c
SS
52142011-12-05 Stan Shebs <stan@codesourcery.com>
5215
5216 * gdb.trace/tfind.exp: Update help string matches.
5217
1820ab47
JK
52182011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5219
5220 * gdb.server/ext-run.exp (get process list): Accept also systemd
5221 as PID 1.
5222
e11ac3a3
JK
52232011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5224 Pedro Alves <pedro@codesourcery.com>
5225
5226 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
5227 starting GDB.
5228 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
5229 $use_gdb_stub.
5230 * gdb.base/display.exp: Likewise.
5231 * gdb.base/ending-run.exp: Likewise.
5232 * gdb.base/list.exp (test_listsize): Likewise.
5233 * gdb.base/setshow.exp: Likewise.
5234 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
5235 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
5236 check by global $use_gdb_stub.
5237 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
5238 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
5239 (default_gdb_init): Unset global $use_gdb_stub.
5240 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
5241 by global $use_gdb_stub.
5242 * lib/gdbserver-support.exp: Extend comments for set_board_info
5243 gdb_protocol and gdb,socketport.
5244 (gdbserver_start_extended): Set global gdbserver_protocol and
5245 gdbserver_gdbport. Clear global use_gdb_stub.
5246 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
5247 from target use_gdb_stub.
5248 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
5249
1d41d75c
DE
52502011-12-03 Doug Evans <dje@google.com>
5251
5252 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
5253 (gdb_step_for_stub): Add comments.
5254
d6d7a51a
MR
52552011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
5256
5257 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
5258 to the caller.
5259 (gdb_test_multiple): Likewise.
5260
05acf274
JK
52612011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5262
5263 Fix gdb.mi/mi-solib.exp without system debug info installed.
5264 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
5265 expect attribute, return 0 for it. Update comments.
5266
2268b414
JK
52672011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5268
5269 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
5270 (corrupted list): Adjust the expectation.
5271
585861ea
JK
52722011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5273
5274 PR threads/13448
5275 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
5276 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
5277 * gdb.threads/tls-var-main.c: New file.
5278 * gdb.threads/tls-var.c: New file.
5279 * gdb.threads/tls-var.exp: New file.
5280
968643aa
JK
52812011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5282
5283 PR testsuite/12649
5284 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
5285 Protect gdb_test_multiple by final $gdb_prompt match.
5286 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
5287 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
5288 (test_tracepoints): Likewise.
5289
9750bca9
JK
52902011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5291
5292 PR breakpoints/13346
5293 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
5294 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
5295 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
5296
ac1349b7
JB
52972011-12-01 Joel Brobecker <brobecker@adacore.com>
5298
5299 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
5300 * gdb.ada/homonym/homonym.adb: For use of all types defined
5301 locally inside both Get_Value subprograms.
5302
26d44faf
JK
53032011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5304
5305 Fix racy FAILs.
5306 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
5307 of send_gdb.
5308
514f6425
UW
53092011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5310
5311 * gdb.base/testenv.exp: Skip on remote targets. Unset global
5312 environment variable after test completed.
5313
4255c8d2
UW
53142011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5315
5316 * gdb.base/solib-nodir.exp: Skip if remote target.
5317 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
5318 application. Call gdb_load_shlibs.
5319 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
5320
a35ad96a
JB
53212011-11-29 Joel Brobecker <brobecker@adacore.com>
5322
5323 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
5324
1a1d5513
JB
53252011-11-28 Joel Brobecker <brobecker@adacore.com>
5326
5327 * gdb.ada/fullname_bp: New testcase.
5328
50b4ddf8
JK
53292011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5330
5331 PR testsuite/12649
5332 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
5333 Wrap send_gdb into a new gdb_test.
5334
fb0aec57
JK
5335 Code cleanup.
5336 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
5337 Convert send_gdb and gdb_expect to gdb_test_multiple.
5338
2376d946
JK
53392011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5340
5341 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
5342
1eec78bd
KS
53432011-11-23 Keith Seitz <keiths@redhat.com>
5344
5345 * lib/mi-support.exp (varobj_tree): New namespace and procs.
5346 (mi_varobj_tree_test_children_callback): New proc.
5347 (mi_walk_varobj_tree): New proc.
5348
36dfb11c
TT
53492011-11-22 Tom Tromey <tromey@redhat.com>
5350
5351 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
5352 Add "use_mi_command" argument.
5353 (mi_run_cmd, mi_run_with_cli): New procs.
5354 * gdb.mi/solib-lib.c: New file.
5355 * gdb.mi/solib-main.c: New file.
5356 * gdb.mi/mi-solib.exp: New file.
5357
0e965dd0
DE
53582011-11-21 Doug Evans <dje@google.com>
5359
5360 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
5361 _Unwind_DebugHook is missing.
5362
f196051f
SS
53632011-11-20 Stan Shebs <stan@codesourcery.com>
5364
5365 * gdb.trace/tstatus.exp: New.
5366 * gdb.trace/actions.c: Include string.h.
5367
bfccc43c
YQ
53682011-11-18 Yao Qi <yao@codesourcery.com>
5369
5370 * gdb.trace/pending.exp: New.
5371 * gdb.trace/pending.c: New.
5372 * gdb.trace/pendshr1.c: New.
5373 * gdb.trace/pendshr2.c: New.
5374 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
5375 tracepoint location becomes pending.
5376 (tracepoint_change_loc_2): New.
5377
73cd8ab1
DM
53782011-11-16 David S. Miller <davem@davemloft.net>
5379
5380 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
5381 target is sparc*-*-linux*
5382
77426730
PK
53832011-11-15 Paul Koning <paul_koning@dell.com>
5384
5385 * gdb.python/py-type.exp: New testcases for exceptions on scalar
5386 types.
5387
ed59ded5
DE
53882011-11-14 Doug Evans <dje@google.com>
5389
5390 * gdb.base/shell.exp: New file.
5391
405f8e94
SS
53922011-11-14 Stan Shebs <stan@codesourcery.com>
5393
5394 * gdb.trace/ftrace.c: New.
5395 * gdb.trace/ftrace.exp: New.
5396
1e4d1764
YQ
53972011-11-14 Yao Qi <yao@codesourcery.com>
5398
5399 * gdb.trace/change-loc-1.c: New.
5400 * gdb.trace/change-loc-2.c: New.
5401 * gdb.trace/change-loc.c: New.
5402 * gdb.trace/change-loc.exp: New.
5403 * gdb.trace/change-loc.h: New.
5404 * gdb.trace/trace-break.c (marker): Define new symbol.
5405 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 5406 New.
1e4d1764
YQ
5407 (break_trace_same_addr_6): New.
5408
71eba9c2 54092011-11-12 Matt Rice <ratmice@gmail.com>
5410
5411 * gdb.base/info-macros.exp: Make tests for info definitions
5412 test info macro. Add tests for info macro argument processing.
5413 Rename a few tests.
5414
1d93e29a
KS
54152011-11-11 Keith Seitz <keiths@redhat.com>
5416
5417 PR gdb/12843
5418 * gdb.base/linespecs.exp: New file.
5419
a4b5b48a
DE
54202011-11-11 Doug Evans <dje@google.com>
5421
5422 * gdb.threads/print-threads.exp: Extend timeout for slower
5423 tests.
5424
f6b47be4
DE
54252011-11-10 Doug Evans <dje@google.com>
5426
792a0230
DE
5427 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
5428 "record to end of main" test.
5429
f6b47be4
DE
5430 * gdb.python/py-type.c (TS): New typedef.
5431 (ts): New global.
5432 * gdb.python/py-type.exp: Test field list of typedef.
5433
22355c90
JB
54342011-11-10 Joel Brobecker <brobecker@adacore.com>
5435
5436 * gdb.ada/small_reg_param: New testcase.
5437
a7860e76
TT
54382011-11-09 Tom Tromey <tromey@redhat.com>
5439
5440 * gdb.cp/destrprint.exp: New file.
5441 * gdb.cp/destrprint.cc: New file.
5442
72a2e3dc
MI
54432011-11-08 Meador Inge <meadori@codesourcery.com>
5444
5445 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
5446 (switch_stack_to_other): New test function.
5447 * gdb.arch/thumb-prologue.exp: New test cases.
5448
c7195df2 54492011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
5450
5451 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
5452
d3895d7d
YQ
54532011-11-08 Yao Qi <yao@codesourcery.com>
5454
5455 * gdb.exp (supports_process_record): New.
5456 (supports_reverse): New.
5457 * gdb.reverse/break-precsave.exp: Call support_process_record
5458 to run test conditionally.
5459 * gdb.reverse/consecutive-precsave.exp: Likewise.
5460 * gdb.reverse/i386-precsave.exp: Likewise.
5461 * gdb.reverse/machinestate-precsave.exp: Likewise.
5462 * gdb.reverse/solib-precsave.exp: Likewise.
5463 * gdb.reverse/step-precsave.exp: Likewise.
5464 * gdb.reverse/until-precsave.exp: Likewise.
5465 * gdb.reverse/watch-precsave.exp: Likewise.
5466 * gdb.reverse/break-reverse.exp: Call support_reverse to run
5467 test conditionally.
5468 * gdb.reverse/consecutive-reverse.exp: Likewise.
5469 * gdb.reverse/finish-precsave.exp: Likewise.
5470 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5471 * gdb.reverse/finish-reverse.exp: Likewise.
5472 * gdb.reverse/i386-reverse.exp: Likewise.
5473 * gdb.reverse/i386-sse-reverse.exp: Likewise.
5474 * gdb.reverse/machinestate.exp: Likewise.
5475 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
5476 * gdb.reverse/sigall-precsave.exp: Likewise.
5477 * gdb.reverse/sigall-reverse.exp: Likewise.
5478 * gdb.reverse/solib-reverse.exp: Likewise.
5479 * gdb.reverse/step-reverse.exp: Likewise.
5480 * gdb.reverse/until-reverse.exp: Likewise.
5481 * gdb.reverse/watch-reverse.exp: Likewise.
5482
a59306a3
YQ
54832011-11-05 Yao Qi <yao@codesourcery.com>
5484
5485 * gdb.trace/trace-break.exp: Add test on setting two
5486 fast tracepoints at the same address.
5487
87769f59
JK
54882011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5489
5490 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
5491
3065dfb6
SS
54922011-11-02 Stan Shebs <stan@codesourcery.com>
5493
5494 * gdb.trace/collection.c: Add code using strings.
5495 * gdb.trace/collection.exp: Add tests of string collection.
5496
89e208db
JK
54972011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5498
5499 * gdb.base/skip-solib.exp (executable_main): New variable.
5500 (binfile_main): Base it on that.
5501 Use $executable_main in clean_restart calls. Drop gdb_exit and
5502 gdb_start calls.
5503
405e54e9
JK
55042011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5505
5506 Fix racy FAILs.
5507 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
5508 breakpoint_re globals import by async. Set string_regex to .* for
5509 async. Remove the optional thread_selected_re and breakpoint_re
5510 globals expectations.
5511
58e8570a
JM
55122011-11-01 Joseph Myers <joseph@codesourcery.com>
5513
5514 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
5515 well as Cygwin.
5516
7b35ec7f 55172011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
5518
5519 Add tests for skip command.
89e208db
JK
5520 * gdb.base/skip-solib-lib.c: New
5521 * gdb.base/skip-solib-main.c: New
5522 * gdb.base/skip-solib.exp: New
5523 * gdb.base/skip.c: New
5524 * gdb.base/skip.exp: New
5525 * gdb.base/skip1.c: New
5526 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 5527
b9fd1791
PA
55282011-10-31 Yao Qi <yao@codesourcery.com>
5529 Pedro Alves <pedro@codesourcery.com>
5530
6fdff2c5
PA
5531 * gdb.trace/trace-break.c: New.
5532 * gdb.trace/trace-break.exp: New.
b9fd1791 5533
4323fecc
JK
55342011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5535
5536 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
5537 break-here-2.
5538
0e5bf2a8
PA
55392011-10-28 Pedro Alves <pedro@codesourcery.com>
5540
5541 * gdb.threads/no-unwaited-for-left.c: New.
5542 * gdb.threads/no-unwaited-for-left.exp: New.
5543 * gdb.threads/non-ldr-exc-1.c: New.
5544 * gdb.threads/non-ldr-exc-1.exp: New.
5545 * gdb.threads/non-ldr-exc-2.c: New.
5546 * gdb.threads/non-ldr-exc-2.exp: New.
5547 * gdb.threads/non-ldr-exc-3.c: New.
5548 * gdb.threads/non-ldr-exc-3.exp: New.
5549 * gdb.threads/non-ldr-exc-4.c: New.
5550 * gdb.threads/non-ldr-exc-4.exp: New.
5551
3a3dad98
JK
55522011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5553
5554 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
5555 * gdb.base/attach-pie-misread.exp: Likewise.
5556 * gdb.base/break-interp.exp: Likewise.
5557 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
5558 testcases for use_gdb_stub.
5559 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
5560 (continue): New testcase.
5561 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
5562 * gdb.threads/attach-into-signal.exp: Likewise.
5563 * gdb.threads/attach-stopped.exp: Likewise.
5564 * gdb.threads/attachstop-mt.exp: Likewise.
5565
d6a5d40c
PK
55662011-10-28 Paul Koning <paul_koning@dell.com>
5567
5568 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
5569
ca539be8
JK
55702011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5571
5572 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
5573 (mi_gdb_test): Import globals thread_selected_re
5574 and breakpoint_re. Expect them optionally at the regex start.
5575
d234ef5c
DE
55762011-10-27 Doug Evans <dje@google.com>
5577
5578 * gdb.python/python.exp: Test source -s.
5579
ab964825
PK
55802011-10-26 Paul Koning <paul_koning@dell.com>
5581
5582 * gdb.python/lib-types.cc (struct A): New structure.
5583 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 5584
54d8a644
PK
55852011-10-25 Paul Koning <paul_koning@dell.com>
5586
5587 PR python/13327
d234ef5c 5588
54d8a644
PK
5589 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
5590 fetch_lazy method.
5591
b0221781
YQ
55922011-10-24 Yao Qi <yao@codesourcery.com>
5593
5594 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
5595 target is tic6x-*-*.
5596
6cda5a20
JB
55972011-10-21 Joel Brobecker <brobecker@adacore.com>
5598
5599 * gdb.ada/mi_task_info/task_switch.adb: New file.
5600 * gdb.ada/mi_task_info.exp: New file.
5601
5ed9db04
JK
56022011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5603
5604 * gdb.cp/expand-psymtabs-cxx.exp: New file.
5605 * gdb.cp/expand-psymtabs-cxx.cc: New file.
5606
9df2fbc4
PM
56072011-10-20 Phil Muldoon <pmuldoon@redhat.com>
5608
5609 PR python/12656
5610
5611 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
5612 global_block tests.
5613
736086ba
TT
56142011-10-18 Tom Tromey <tromey@redhat.com>
5615
5616 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
5617
4af31552
TT
56182011-10-18 Tom Tromey <tromey@redhat.com>
5619
5620 * gdb.base/source.exp: Don't include full file name in test name.
5621 * gdb.python/python.exp: Don't include full file name in test
5622 name.
5623
43136979
AR
56242011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5625
5626 * gdb.base/attach-pie-noexec.c: New files.
5627 * gdb.base/attach-pie-noexec.exp: New files.
5628
543a9323
JM
56292011-10-17 Joseph Myers <joseph@codesourcery.com>
5630
5631 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
5632 prompt for each extra line in command.
5633
21ae7a4d
JK
56342011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5635
5636 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
5637 Revert the part of:
5638 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5639 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
5640 Change the expected string.
5641
20ec36d9
JK
56422011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5643
5644 Fix results with system glibc debug info installed.
5645 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
5646 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
5647 Accept also __libc_ symbol prefix and no prefix.
5648
6501c2fc
KS
56492011-10-14 Keith Seitz <keiths@redhat.com>
5650
5651 PR c++/13225
5652 * gdb.cp/converts.cc (foo3_1): New function.
5653 (foo3_2): New functions.
5654 * gdb.cp/converts.exp: Add tests for int to pointer conversion
5655 and null pointer conversions of integer constant zero.
5656 Add test to check if all arguments are checked for incompatible
5657 conversion BADNESS.
5658
55b1fd0c
TT
56592011-10-14 Tom Tromey <tromey@redhat.com>
5660
5661 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
5662 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
5663 linespec.
5664
22c05d8a
JK
56652011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5666
5667 Fix internal error regression.
5668 * gdb.dwarf2/implptr-optimized-out.S: New file.
5669 * gdb.dwarf2/implptr-optimized-out.exp: New file.
5670
1d6edc3c
JK
56712011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5672
5673 Fix empty DWARF expressions DATA vs. SIZE conditionals.
5674 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
5675 (loclist): New.
5676 (4): New abbrev.
5677 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
5678 Use prepare_for_testing, remove clean_restart.
5679 (p arraynoloc, p arraycallnoloc): New tests.
5680
9ec72168
JK
56812011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5682
5683 * gdb.cp/namespace-enum.exp (executable): New variable.
5684 (binfile): Use ${objdir}/${subdir}/ prefix.
5685 Use ${executable} for clean_restart.
5686
9c6c53f7
SA
56872011-10-11 Sterling Augustine <saugustine@google.com>
5688
5689 * gdb.cp/Makefile.in: Add namespace-enum test.
5690 * gdb.cp/namespace-enum.exp: New file.
5691 * gdb.cp/namespace-enum.c: New file.
5692 * gdb.cp/namespace-enum-main.c: New file.
5693
fac7ceb3
UW
56942011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
5695
5696 * gdb.python/py-shared.exp: Relax filename check to handle remote:
5697 sysroot.
5698
941b2081
JK
56992011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5700
5701 Reimplement @entry in input expressions.
5702 * gdb.base/exprs.c (v_int_array_init): New variable.
5703 * gdb.base/exprs.exp (print v_int_array_init)
5704 (print *v_int_array_init@1, print *v_int_array_init@2)
5705 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
5706 (print v_int_array_init[1]@1): New tests.
5707
0344e878
JM
57082011-10-10 Joseph Myers <joseph@codesourcery.com>
5709
5710 * gdb.cp/gdb2495.exp: Do not include directories in filename in
5711 expected message.
5712
5a56e9c5
DE
57132011-10-09 Doug Evans <dje@google.com>
5714
5715 * gdb.base/alias.exp: Add tests for alias command.
5716
2bda9cc5
JK
57172011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5718
5719 * gdb.arch/amd64-entry-value.s: New file.
5720 * gdb.mi/mi2-amd64-entry-value.s: New file.
5721
a471c594
JK
57222011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5723
5724 Display @entry parameter values even for references.
5725 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
5726 functions.
5727 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
5728 reference and datap_input.
5729 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
5730 breakpoints.
5731 (continue to breakpoint: entry_reference: reference)
5732 (entry_reference: bt at entry)
5733 (continue to breakpoint: entry_reference: breakhere_reference)
5734 (entry_reference: bt, entry_reference: ptype regparam)
5735 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
5736 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
5737 (entry_reference: p regcopy, entry_reference: p nodataparam)
5738 (entry_reference: p nodataparam@entry): New tests.
5739
36b11add
JK
57402011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5741
5742 Support @entry in input expressions.
5743 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
5744 (entry_stack: p s1@entry, entry_stack: p s2@entry)
5745 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
5746 (tailcall: p j@entry): New tests.
5747 * gdb.cp/koenig.cc (A::entry): New function.
5748 (main): Call it.
5749 * gdb.cp/koenig.exp (p entry (c)): New test.
5750
e18b2753
JK
57512011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5752
5753 Display @entry parameter values (without references).
5754 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
5755 (different, validity, invalid): New functions.
5756 (main): Call them.
5757 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
5758 stacktest, breakhere_stacktest, different, breakhere_different,
5759 breakhere_validity and breakhere_invalid.
5760 (entry: bt): Update for @entry.
5761 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
5762 (entry_validity: *, entry_invalid: *): Many new tests.
5763 * gdb.base/break.exp
5764 (run until breakpoint set at small function, optimized file): Accept
5765 also the @entry suffix.
5766 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
5767 * gdb.mi/mi2-amd64-entry-value.c: New files.
5768 * gdb.mi/mi2-amd64-entry-value.exp: New files.
5769
2d6c5dc2
JK
57702011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5771
5772 Protect entry values against self tail calls.
5773 * gdb.arch/amd64-entry-value.cc (self2, self): New.
5774 (main): Call self.
5775 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
5776 (set debug entry-values 1, self: bt debug entry-values): New tests.
5777
111c6489
JK
57782011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5779
5780 Recognize virtual tail call frames.
5781 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
5782 (amb_b, amb_a): New.
5783 (main): Call a and b.
5784 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
5785 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
5786 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
5787 New tests.
5788
8e3b41a9
JK
57892011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5790
5791 Implement basic support for DW_TAG_GNU_call_site.
5792 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
5793 * gdb.arch/amd64-entry-value.cc: New file.
5794 * gdb.arch/amd64-entry-value.exp: New file.
5795
181cebd4
JK
57962011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5797
5798 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
5799 * gdb.dwarf2/implptr-64bit.S: New file.
5800 * gdb.dwarf2/implptr-64bit.exp: New file.
5801
741f5e3c
JK
58022011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5803
5804 Fix initial language detection with -readnow.
5805 * gdb.cp/readnow-language.cc: New file.
5806 * gdb.cp/readnow-language.exp: New file.
5807
a73d2258
JK
58082011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5809
5810 Fix printed anonymous struct name.
5811 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
5812
af369495
JM
58132011-10-09 Joseph Myers <joseph@codesourcery.com>
5814
5815 * gdb.base/solib-symbol.exp: Do not include directories in
5816 filenames in expected messages.
5817
1fa57852
DE
58182011-10-07 Doug Evans <dje@google.com>
5819
5820 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
5821
bd054e06
KP
58222011-10-07 Kevin Pouget <kevin.pouget@st.com>
5823
5824 Allow Python notification of new object-file loadings.
5825 * gdb.python/py-events.exp: Test newobjfile event.
5826 * gdb.python/py-events.py: Register newobjfile callback.
5827 * gdb.python/py-events.c: Add call to shared library
5828 * gdb.python/py-events-shlib.c: New file.
5829
8031b6f8
JM
58302011-10-06 Joseph Myers <joseph@codesourcery.com>
5831
5832 * gdb.base/fixsection.exp: Do not include directories in filename
5833 in expected message.
5834
7fea6923
PM
58352011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5836
5837 Add tests for passing of environment variables to inferior.
5838 * gdb.base/testenv.c: New test source.
5839 * gdb.base/testenv.exp: New expect test.
5840
687f2a88
PK
58412011-10-04 Paul Koning <paul_koning@dell.com>
5842
5843 * gdb.python/py-value.c (main): Break before return.
5844
cb6be26b
KP
58452011-10-04 Kevin Pouget <kevin.pouget@st.com>
5846
5847 PR python/12691: Add the inferior to Python exited event
5848 * gdb.python/py-events.exp: Test the inferior attribute of exited
5849 event with a fork.
5850 * gdb.python/py-events.py: Print inferior number on exit.
5851 * gdb.python/py-events.c: Fork the inferior.
5852
fb213700
EBM
58532011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
5854
5855 * gdb.base/jit.exp: Add testcase name to log message
5856
aa2071bd
PK
58572011-10-03 Paul Koning <paul_koning@dell.com>
5858 Jan Kratochvil <jan.kratochvil@redhat.com>
5859
5860 * gdb.python/py-value.exp
5861 (python inval = gdb.parse_and_eval('*(int*)0'))
5862 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
5863 (set argc=2, python print argc_lazy): New tests.
5864
dd11a36c
JB
58652011-10-02 Joel Brobecker <brobecker@adacore.com>
5866
5867 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
5868
46f886f1
JK
58692011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5870 Pedro Alves <pedro@codesourcery.com>
5871
5872 * gdb.python/py-value.exp (test_value_in_inferior): New variable
5873 can_read_0, test for it.
5874 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
5875 (parse_and_eval with memory error): ... here, make it untested if
5876 can_read_0.
5877
c5cb204f
MP
58782011-09-30 Marek Polacek <mpolacek@redhat.com>
5879
5880 * gdb.python/python.exp (verify pagination beforehand)
5881 (verify pagination afterwards): Fix race by splitting the line.
5882
68fb0ec0
JM
58832011-09-29 Joseph Myers <joseph@codesourcery.com>
5884
5885 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
5886 for 64-bit multilibs from i?86-* targets.
5887
6aee0d90
MP
58882011-09-29 Marek Polacek <mpolacek@redhat.com>
5889
5890 * lib/gdb.exp: Fix a typo in one of the comments.
5891
e9101ff5
MP
58922011-09-29 Marek Polacek <mpolacek@redhat.com>
5893
5894 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
5895 matching pattern.
5896
7a81bdbf
PK
58972011-09-28 Paul Koning <paul_koning@dell.com>
5898
5899 * gdb.python/py-type.c (enum E): New.
5900 * gdb.python/py-type.exp (test_fields): Add tests for Python
5901 mapping access to fields.
5902 (test_enums): New test for field access on enums.
5903
6710bf39
SS
59042011-09-27 Stan Shebs <stan@codesourcery.com>
5905
5906 * gdb.trace/collection.exp: Test collection of $_ret.
5907
b2a6bdeb
AT
59082011-09-22 Andreas Tobler <andreast@fgznet.ch>
5909
5910 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
5911 list of compilation switches for <*-*-freebsd*>.
5912
3c9057f3
SS
59132011-09-19 Stan Shebs <stan@codesourcery.com>
5914
5915 * gdb.trace/tspeed.exp: New file.
5916 * gdb.trace/tspeed.c: New file.
5917
34518530
YQ
59182011-09-18 Yao Qi <yao@codesourcery.com>
5919
5920 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
5921 instructions.
5922 (test_adr_32bit, test_pop_pc): Likewise.
5923 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
5924 Thumb instructions.
5925 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
5926 in gdb_test_multiple.
5927 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
5928
ab254057
YQ
59292011-09-17 Yao Qi <yao@codesourcery.com>
5930
5931 * lib/gdb.exp (can_single_step_to_signal_handler): New.
5932 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
5933 support single step to signal handler.
5934
9c317b71
YQ
59352011-09-17 Yao Qi <yao@codesourcery.com>
5936
5937 * gdb.base/disp-step-fork.c: New.
5938 * gdb.base/disp-step-syscall.exp: New.
5939 * gdb.base/disp-step-vfork.c: New.
5940
a8123151
JB
59412011-09-16 Joel Brobecker <brobecker@adacore.com>
5942
5943 * gdb.ada/tasks.exp: Make the expected output for
5944 the `info tasks' tests more resilient to spacing
5945 changes.
5946
63a9aad8
JK
59472011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5948
5949 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
5950 (reached breakpoint 2, reached breakpoint 3): Update expected output.
5951
2aa48337
KP
59522011-09-15 Kevin Pouget <kevin.pouget@st.com>
5953
5954 PR Python/12692 Add gdb.selected_inferior() to Python interface.
5955 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
5956
6839b47f
KP
59572011-04-30 Kevin Pouget <kevin.pouget@st.com>
5958
5959 Handle multiple breakpoint hits in Python interface:
5960 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
5961 presence.
5962 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
5963 breakpoint hits.
5964
0935723e
JK
59652011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
5966 Jan Kratochvil <jan.kratochvil@redhat.com>
5967
5968 * gdb.python/py-events.exp: Remove pretty printing comment.
5969 * gdb.python/py-evsignal.exp: New file.
5970 * gdb.python/py-evthreads.c: Include signal.h.
5971 (thread3): Remove variable count3. Remove variable bad and use raise
5972 instead.
5973 (thread2): Remove variable count2. Move thread3 pthread_create here,
5974 merge pthread_join to a single line.
5975 (main): Remove variable count1. Merge pthread_join with pthread_create
5976 to a single line.
5977 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
5978 KFAIL python/12966 for gdbserver. Test return value of
5979 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
5980 gdb_expect by gdb_test and gdb_test_multiple.
5981 (thread 2, thread 3): New tests.
5982
4801a9a3
PA
59832011-09-12 Matt Rice <ratmice@gmail.com>
5984 Pedro Alves <pedro@codesourcery.com>
5985
5986 PR gdb/13175
5987
5988 * gdb.base/interp.exp: New tests.
5989 * gdb.base/interp.c: New file.
5990
24ece742
DE
59912011-09-12 Doug Evans <dje@google.com>
5992
5993 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
5994 * gdb.dwarf2/typeddwarf.exp: Ditto.
5995
7f062217
JK
59962011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5997
5998 Fix compatibility with x32 arch.
5999 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
6000 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
6001 is_x86_like_target.
6002 * testsuite/gdb.trace/collection.exp: Likewise.
6003 * testsuite/gdb.trace/report.exp: Likewise.
6004 * testsuite/gdb.trace/unavailable.exp: Likewise.
6005 * testsuite/gdb.trace/while-dyn.exp: Likewise.
6006 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
6007 (is_x86_like_target): Check also is_amd64_regs_target.
6008
08711b9a
JK
60092011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6010
6011 PR breakpoints/12435
6012 * gdb.arch/amd64-prologue-xmm.c: New file.
6013 * gdb.arch/amd64-prologue-xmm.exp: New file.
6014 * gdb.arch/amd64-prologue-xmm.s: New file.
6015
b99b5f66
JK
60162011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6017
6018 * gdb.dwarf2/dw2-param-error-main.c: New file.
6019 * gdb.dwarf2/dw2-param-error.S: New file.
6020 * gdb.dwarf2/dw2-param-error.exp: New file.
6021
a391a2f6
PA
60222011-09-08 Pedro Alves <pedro@codesourcery.com>
6023
6024 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
6025 inferior's pid and look for a core dump named core.$pid. Use
6026 `remote_file' commands on the host instead of hand coding shell
6027 commands on the build.
6028 * gdb.base/valgrind-db-attach.exp: Kill the program before
6029 finishing the test.
6030
7d8e6458 60312011-09-02 Matt Rice <ratmice@gmail.com>
6032
6033 * lib/prompt.exp: New file for testing the first prompt.
6034 * gdb.python/py-prompt.exp: Ditto.
6035 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
6036
68e77c9e
PA
60372011-09-02 Pedro Alves <pedro@codesourcery.com>
6038
6039 * gdb.threads/gcore-thread.exp: Set the global core_supported to
6040 0, before testing gcore.
6041
9655e943
JK
60422011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6043
df6dc84d
JK
6044 * dw2-ifort-parameter-debug.S: Update copyright year.
6045 * dw2-ifort-parameter.c: Update copyright year.
6046 * dw2-ifort-parameter.exp: Update copyright year.
6047
9655e943
JK
6048 * dw2-ifort-parameter-debug.S: New file.
6049 * dw2-ifort-parameter.c: New file.
6050 * dw2-ifort-parameter.exp: New file.
6051
353d1d73
JK
60522011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6053
6054 * gdb.base/commands.exp (error_clears_commands_left): New function.
6055 (): Call it.
6056
5c07461a
JK
60572011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6058
6059 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
6060 (C): Initialize `a'.
6061 * gdb.mi/mi-inheritance-syntax-error.exp
6062 (-data-evaluate-expression $path): Expect `a' as 5.
6063
0d932b2f
MK
60642011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
6065
6066 PR mi/11912
6067 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
6068 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
6069 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
6070 keyword in output of -var-info-path-expression.
6071
bdb54049
JK
60722011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6073
6074 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
6075 * gdb.trace/collection.exp: Likewise.
6076 * gdb.trace/report.exp: Likewise.
6077 * gdb.trace/unavailable.exp: Likewise.
6078 * gdb.trace/while-dyn.exp: Likewise.
6079
59cde39c
KS
60802011-08-18 Keith Seitz <keiths@redhat.com>
6081
6082 PR c++/12266
6083 * gdb.cp/meth-typedefs.cc: New file.
6084 * gdb.cp/meth-typedefs.exp: New file.
6085
fa3a4f15
PM
60862011-08-17 Phil Muldoon <pmuldoon@redhat.com>
6087
6fdff2c5 6088 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 6089
c1049fca
JK
60902011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6091
6092 * gdb.arch/i386-dr3-watch.exp
6093 (watchpoint on gap1 does not fit debug registers)
6094 (delete all watchpoints): Fix racy expect strings.
6095
d93f7b5c
YQ
60962011-08-14 Yao Qi <yao@codesourcery.com>
6097
6098 * gdb.base/maint.exp: set data_section to ".neardata".
6099 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
6100 * gdb.base/savedregs.exp: Handle SIGILL.
6101 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
6102 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
6103
457e09f0
DE
61042011-08-12 Doug Evans <dje@google.com>
6105
6106 * gdb.python/py-symbol.exp: Add test for symbol.type.
6107
5d0bb2fb
UW
61082011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
6109
6110 * gdb.threads/pthreads.exp: Enable on non-native configurations.
6111 * gdb.mi/mi-pthreads.exp: Likewise.
6112 * gdb.mi/mi2-pthreads.exp: Likewise.
6113 * gdb.mi/gdb669.exp.exp: Likewise.
6114
fcdfa280
PA
61152011-08-09 Pedro Alves <pedro@codesourcery.com>
6116
6117 * lib/mi-support.exp (detect_async): Rename to...
6118 (mi_detect_async): ... this.
6119 * gdb.mi/mi-nonstop-exit.exp: Adjust.
6120 * gdb.mi/mi-nonstop.exp: Adjust.
6121 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
6122 * gdb.mi/mi-nsintrall.exp: Adjust.
6123 * gdb.mi/mi-nsmoribund.exp: Adjust.
6124 * gdb.mi/mi-nsthrexec.exp: Adjust.
6125
9d8fa392
PA
61262011-08-09 Pedro Alves <pedro@codesourcery.com>
6127
6128 * gdb.base/display.c (do_loops): New `p_i' local.
6129 * gdb.base/display.exp: Test displaying a variable that is
6130 temporarily at a bad address.
6131
b6cede78
JK
61322011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6133
6134 * gdb.dwarf2/dw2-op-stack-value.S: New file.
6135 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
6136
67bedb8c
JK
61372011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6138
6139 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
6140 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
6141 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 6142
af6e93b2
PA
61432011-08-05 Pedro Alves <pedro@codesourcery.com>
6144
6145 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
6146 procedure.
6147 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
6148
1cf0e11f
YQ
61492011-08-05 Yao Qi <yao@codesourcery.com>
6150
6151 * gdb.base/callfuncs.exp: Set language after main.
6152 * gdb.cp/cplusfuncs.exp: Likewise.
6153 * gdb.cp/inherit.exp: Likewise.
6154
a1e28cb2
UW
61552011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6156
6157 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
6158 * gdb.base/watch-vfork.exp: Skip on remote targets.
6159
d4f5bbb9
UW
61602011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6161
6162 * gdb.threads/thread-find.exp: Support remote targets.
6163
724f4f80
UW
61642011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6165
6166 * gdb.base/jit.exp: Download solib_binfile to target.
6167 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
6168 and call dlopen without full path name.
6169 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
6170 dlopen without full path name.
6171
934709f0
PW
61722011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6173
6174 * gdb.base/break-always.exp: Complete the test
6175 with duplicated breakpoints and enabling/disabling them.
6176
c26106c4
TT
61772011-08-02 Tom Tromey <tromey@redhat.com>
6178
6179 PR gdb/11289:
6180 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
6181
9300444e 61822011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
6183
6184 PR gdb/13045
6185 * gdb.base/float.exp: Add new test case for PR gdb/13045
6186 * gdb.base/float.c: New file.
6187
00bd41d6
PM
61882011-07-28 Phil Muldoon <pmuldoon@redhat.com>
6189
6190 * gdb.python/py-mi.exp: Test printers returning string hint, and
6191 also not returning a value.
6192 * gdb.python/py-prettyprint.c: Add testcase for above.
6193 * gdb.python/py-prettyprint.py: Add test printer for above.
6194
d24f74ce
JK
61952011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6196
6197 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
6198 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
6199 (.Ldie30) Add as field "data4".
6200 (.Ldie32) Rename field "b" to "shl".
6201 (abbrev4) Change for the "data4" field.
6202 (abbrev5, abbrev6) Remove.
6203 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
6204 (p &s.shl): ... here. Add comment.
6205 (p &s.data4): New.
6206
bb7da2bf
JK
62072011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6208
6209 Fix crash on lval_computed values.
6210 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
6211
11081198
JK
62122011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6213
6214 * gdb.base/help.exp (help whatis): Update the expected string.
6215
3c6e0cb3
JK
62162011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6217
6218 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
6219 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
6220 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6221 Change the expected string.
6222
efa80663
PA
62232011-07-26 Pedro Alves <pedro@codesourcery.com>
6224
6225 * gdb.base/watchpoint.exp
6226 (test_disable_enable_software_watchpoint): New procedure.
6227 (top level): Run it.
6228
db8e4570
UW
62292011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
6230
6231 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
6232 executable file "${binfile}", C++ version "${binfile}-cxx".
6233 * gdb.python/py-prettyprint.exp: Likewise.
6234 * gdb.python/py-symbol.exp: Likewise.
6235 * gdb.python/py-type.exp: Likewise.
6236 * gdb.python/py-value.exp: Likewise.
6237 * gdb.python/py-template.exp (test_template_arg): Pass full executable
6238 file name instead of just suffix.
6239
543305c9
JK
62402011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6241
6242 Fix implicit pointer offsets.
6243 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
6244 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
6245 (continue to breakpoint: continue to baz breakpoint for implptr)
6246 (sanity check element 0, sanity check element 1)
6247 (enter the inlined function, check element 0 for the offset)
6248 (check element 1 for the offset)
6249 (continue to breakpoint: ignore the second baz breakpoint): New tests.
6250 (set foo breakpoint for implptr): Update the breakpoint number.
6251
b3215adc
UW
62522011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6253
6254 * gdb.python/py-mi.exp: Use different file names for different
6255 versions of the executable under test.
6256 * gdb.python/py-prettyprint.exp: Likewise.
6257 * gdb.python/py-symbol.exp: Likewise.
6258 * gdb.python/py-template.exp: Likewise.
6259 * gdb.python/py-type.exp: Likewise.
6260 * gdb.python/py-value.exp: Likewise.
6261
182b9acc
UW
62622011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6263
6264 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
6265 flag after restarting GDB if necessary.
6266
e6052b5d
UW
62672011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6268
6269 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
6270
1ced966e
PA
62712011-07-22 Pedro Alves <pedro@codesourcery.com>
6272
6273 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
6274 backend doesn't leave used debug registers behind.
6275
3543a589
TT
62762011-07-22 Tom Tromey <tromey@redhat.com>
6277
6278 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
6279 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
6280 argument.
6281 * gdb.dwarf2/typeddwarf-amd64.S: New file.
6282
14d15303 62832011-07-21 Matt Rice <ratmice@gmail.com>
6284
6285 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
6286 in mostlyclean rule. Add files ending in .core.
6287
9b158ba0 62882011-07-21 Matt Rice <ratmice@gmail.com>
6289
6290 PR macros/12999
6291 * gdb.base/info-macros.c: New test sources.
6292 * gdb.base/info-macros.exp: New tests.
6293
d17b6f81
PM
62942011-07-21 Phil Muldoon <pmuldoon@redhat.com>
6295
6296 * gdb.python/python.exp: Add prompt substitution tests.
6297
918dd910
JK
62982011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6299
6300 Fix crash if referenced CU is aged out.
6301 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
6302 New.
6303 * gdb.dwarf2/implptr.exp: Likewise.
6304
0e37a63c
JK
63052011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6306
6307 * gdb.dwarf2/implptr.S: Rebuilt.
6308 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
6309 (bar): Use them for j, k, l.
6310 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
6311 COMPILE.
6312 (print j in implptr:bar): Update for the intp typedef.
6313 (print p[0].x in implptr:foo): Use more exact regex.
6314
f65cf84c
TT
63152011-07-18 Tom Tromey <tromey@redhat.com>
6316
6317 * gdb.cp/static-method.exp: Add missing single quote.
6318
d5b4a7be
YQ
63192011-07-18 Yao Qi <yao@codesourcery.com>
6320
6321 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
6322 supported.
6323 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6324 * gdb.mi/mi-nonstop.exp: Likewise.
6325 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6326 * gdb.mi/mi-nsintrall.exp: Likewise.
6327 * gdb.mi/mi-nsmoribund.exp: Likewise.
6328 * gdb.mi/mi-nsthrexec.exp: Likewise.
6329 * gdb.python/py-evthreads.exp: Likewise.
6330
e9ea2662
JK
63312011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6332
6333 Code cleanup.
6334 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
6335 it. Substitute it instead of test_compiler_info everywhere.
6336
ce451573
UW
63372011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6338
6339 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
6340 remote targets as well.
6341
756d88a7
UW
63422011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6343
6344 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
6345 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
6346
31f83dc5
UW
63472011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6348
6349 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
6350 a remote machine, not the host.
6351 (gdb_compile_shlib): Set soname if target is remote.
6352
059241a0
PP
63532011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6354
6355 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
6356
28a0b48c 63572011-07-13 Matt Rice <ratmice@gmail.com>
6358
6359 * gdb.python/py-objfile-script-gdb.py: Renamed to
6360 py-objfile-script-gdb.py.in.
6361 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
6362 py-objfile-script-gdb.py.
6363 * gdb.python/py-objfile-script.exp: Update reference to
6364 py-objfile-script-gdb.py.
6365
9a771b67
JK
63662011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6367
6368 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
6369 reference undefined label.
6370
04ad99e6
JK
63712011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6372
6373 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
6374 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
6375 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
6376 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
6377
713389e0
PM
63782011-07-11 Phil Muldoon <pmuldoon@redhat.com>
6379
6fdff2c5 6380 PR python/12438
713389e0 6381 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 6382 deprecated tests. Add set/show python print-backtrace tests.
713389e0 6383
97d146f8
JK
63842011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6385
6386 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
6387 debug info.
6388
facde0e5 63892011-07-06 Matt Rice <ratmice@gmail.com>
6390
6391 * gdb.python/python.exp: Update filename paths.
6392 * gdb.python/py-symtab.exp: Ditto.
6393
438640d1
MP
63942011-07-06 Marek Polacek <mpolacek@redhat.com>
6395
6396 * gdb.python/py-evthreads.exp: Add missing `$'.
6397
33a365df
MF
63982011-07-06 Jie Zhang <jie.zhang@analog.com>
6399
6400 * config/bfin.exp: New file.
6401 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
6402 * gdb.asm/bfin.inc: New file.
6403
8f7ae686
MP
64042011-07-06 Marek Polacek <mpolacek@redhat.com>
6405
df46027d 6406 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
6407 the whole output.
6408
eb2a6f42
TT
64092011-07-05 Tom Tromey <tromey@redhat.com>
6410
6411 * gdb.java/jprint.java (jprint.hi): New field.
6412 * gdb.java/jprint.exp: Print string.
6413
177b42fe
TJB
64142011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
6415
6416 * gdb.base/call-sc.c: Fix typos.
6417 * gdb.base/ifelse.exp: Likewise.
6418 * gdb.base/structs.c: Likewise.
6419
3b2a0cf2
JB
64202011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6421
6422 * gdb.base/jit-so.exp: New test.
6423 * gdb.base/jit-dlmain.c: New file.
6424 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
6425
46fc714c
JK
64262011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6427
6428 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
6429 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
6430 * gdb.cp/pr9167.exp (p b): Likewise.
6431 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
6432 (test value of P in inner_m, test type of Z in inner_m): Call
6433 setup_xfail for gcc <= 4.5.
46fc714c 6434
418c7cf7
JK
64352011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6436
6437 * gdb.cp/paren-type.cc: New files.
6438 * gdb.cp/paren-type.exp: New files.
6439
3d50dd94
JK
64402011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6441
6442 Stop on first linespec terminator instead of eating what we can.
6443 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
6444 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
6445 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
6446 (break C::f()): ... this one.
6447 (break C::operator()()): New test.
6448 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
6449 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
6450 test.
6451
dcf9f4ab
JK
64522011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6453
6454 Fall back linespec to minimal symbols.
6455 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
6456 error message.
6457 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
6458 * gdb.cp/minsym-fallback-main.cc: New file.
6459 * gdb.cp/minsym-fallback.cc: New file.
6460 * gdb.cp/minsym-fallback.exp: New file.
6461 * gdb.cp/minsym-fallback.h: New file.
6462
3f542ed1
JK
64632011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6464
6465 * gdb.cp/no-dmgl-verbose.cc: New file.
6466 * gdb.cp/no-dmgl-verbose.exp: New file.
6467
64682011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
6469
6470 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
6471 __GI_.
6472 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
6473 (f): New function.
6474 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
6475 (complete p 'func<short>(): ... here.
6476 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
6477 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
6478 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
6479 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
6480 Make them KFAIL gcc/49546.
6481
00eb2c4a
JB
64822011-07-01 Joel Brobecker <brobecker@adacore.com>
6483
6484 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
6485
85a20c42
JK
64862011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6487
6488 Test GCC PR debug/49546.
6489 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
6490 (test type of F in k3_m, test value of F in k3_m): New.
6491 * gdb.cp/temargs.cc (struct S3, struct K3): New.
6492 (main): New variable k3. Call k3.k3_m.
6493
d2d43431
JB
64942011-07-01 Jean-Charles Delay <delay@adacore.com>
6495
6496 * gdb.ada/packed_array.exp: Fix expected outout.
6497
54ae186f
JB
64982011-07-01 Jean-Charles Delay <delay@adacore.com>
6499
6500 * gdb.ada/packed_array.exp: fixed expected output.
6501
8f17729f
JB
65022011-07-01 Joel Brobecker <brobecker@adacore.com>
6503
6504 * gdb.ada/same_enum: New testcase.
6505
f5aa6869
JB
65062011-07-01 Joel Brobecker <brobecker@adacore.com>
6507
6508 * gdb.ada/ptr_typedef: New testcase.
6509
828292f2
JB
65102011-07-01 Joel Brobecker <brobecker@adacore.com>
6511
6512 * gdb.ada/arrayptr.exp: Add ptype test.
6513
18920c42
JB
65142011-07-01 Joel Brobecker <brobecker@adacore.com>
6515
6516 * gdb.ada/char_enum: New testcase.
6517
3536d9e3 65182011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
6519
6520 * gdb.base/dump.exp (capture_pointer_with_type): New.
6521 Get value from address instead of name.
6522 Start GDB once, and do `dump' and `restore'
6523 tests together.
6524
db863c42
MF
65252011-06-30 Jie Zhang <jie.zhang@analog.com>
6526 Mike Frysinger <vapier@gentoo.org>
6527
6528 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
6529 helper functions for getting/setting remotetimeout variable.
6530 * lib/gdb.exp (gdb_load): If the target is remote, set
6531 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
6532 with $loadtimeout. Set $load_ok to 0 before doing the load.
6533 Instead of returning, immediately, set $load_ok to 0. Call
6534 set_remotetimeout with $oldremotetimeout, and then return if
6535 $load_ok is 1.
6536
e9e642a8
AB
65372011-06-30 Andrew Burgess <aburgess@broadcom.com>
6538
6539 * gdb.python/py-template.exp: Don't run this test if the target
6540 does not support c++ tests.
6541
32019081
JK
65422011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6543
6544 Fix non-only rename list for Fortran modules import.
6545 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
6546 tests.
6547 * gdb.fortran/module.f90 (module moduse): New.
6548 (program module): use moduse, test var_x, var_y and var_z.
6549
0ecee54c
TT
65502011-06-29 Tom Tromey <tromey@redhat.com>
6551
6552 PR testsuite/12040:
6553 * gdb.fortran/array-element.exp: Use f90, not f77.
6554 * gdb.fortran/complex.exp: Use f90, not f77.
6555 * gdb.fortran/derived-type.exp: Use f90, not f77.
6556 * gdb.fortran/library-module.exp: Use f90, not f77.
6557 * gdb.fortran/logical.exp: Use f90, not f77.
6558 * gdb.fortran/module.exp: Use f90, not f77.
6559 * gdb.fortran/multi-dim.exp: Use f90, not f77.
6560 * gdb.fortran/subarray.exp: Use f90, not f77.
6561
3b2b8fea
TT
65622011-06-29 Tom Tromey <tromey@redhat.com>
6563
6564 * gdb.fortran/charset.exp: New file.
6565 * gdb.fortran/charset.f90: New file.
6566
42159ca5
TT
65672011-06-29 Tom Tromey <tromey@redhat.com>
6568
6569 PR testsuite/12040:
6570 * lib/future.exp: New file, mostly extracted from ada.exp.
6571 Rewrote compatibility code to use rename.
6572 (gdb_find_gfortran): New proc.
6573 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
6574 gfortran patch.
6575 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
6576 Move to future.exp.
6577 * lib/gdb.exp: Always load future.exp.
6578
af69a5ce
YQ
65792011-06-28 Yao Qi <yao@codesourcery.com>
6580
6581 * gdb.cp/exception.cc: Don't include iostream.
6582 (bar): Remove print statement.
6583 (catcher): New.
6584 (main): Remove print statements. Call function catcher.
6585 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
6586 Set breakpoint on catcher, and check the value of parameter.
6587
ab5c6a72
YQ
65882011-06-23 Yao Qi <yao@codesourcery.com>
6589
6fdff2c5
PA
6590 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
6591 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 6592
9497469f
MP
65932011-06-23 Marek Polacek <mpolacek@redhat.com>
6594
6595 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
6596 mi_gdb_test.
6597
b9132588
MP
65982011-06-23 Marek Polacek <mpolacek@redhat.com>
6599
5d197ed0 6600 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 6601
e55595ca
MP
66022011-06-23 Marek Polacek <mpolacek@redhat.com>
6603
5d197ed0
MP
6604 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
6605
66062011-06-23 Marek Polacek <mpolacek@redhat.com>
6607
6608 * gdb.mi/mi2-basics.exp: Fix races. Honour the
6609 `test_exec_and_symbol_mi_operatons' return value.
6610 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6611 gdb_test_multiple.
6612 (test_exec_and_symbol_mi_operatons): Likewise.
6613 (test_path_specification): Likewise.
e55595ca 6614
be777e08
YQ
66152011-06-23 Yao Qi <yao@codesourcery.com>
6616
6617 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
6618 supported.
6619 * lib/gdb.exp (support_displaced_stepping): New.
6620
615556d6
YQ
66212011-06-23 Yao Qi <yao@codesourcery.com>
6622
6623 * gdb.threads/execl.exp: Skip on remote target.
6624
833b0ca7
MP
66252011-06-21 Marek Polacek <mpolacek@redhat.com>
6626
5d197ed0 6627 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
6628 mi_gdb_test.
6629
1ee4023a
MP
66302011-06-20 Marek Polacek <mpolacek@redhat.com>
6631
5d197ed0 6632 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 6633
d0b1d624
MP
66342011-06-20 Marek Polacek <mpolacek@redhat.com>
6635
5d197ed0 6636 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
6637 mi_gdb_test.
6638
79aa92c1
MP
66392011-06-20 Marek Polacek <mpolacek@redhat.com>
6640
5d197ed0 6641 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 6642
5ce5db06
YQ
66432011-06-14 Yao Qi <yao@codesourcery.com>
6644
6645 gdb/testsuite/
6646 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
6647
533a737e
JK
66482011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6649
6650 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
6651
d0e53741
TT
66522011-06-10 Tom Tromey <tromey@redhat.com>
6653
6654 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
6655 Add tests for pointer-to-member-function.
6656 * gdb.cp/temargs.cc (S::somefunc): New function.
6657 (K2): New class.
6658 (main): Instantiate K2; call method.
6659
b5916bbd
JB
66602011-06-08 Joel Brobecker <brobecker@adacore.com>
6661
6662 * gdb.python/py-inferior.c (f2): Make str an array rather
6663 than a pointer.
6664 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
6665
5be4dfca
JK
66662011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6667
6668 * gdb.base/async-shell.c: New file.
6669 * gdb.base/async-shell.exp: New file.
6670
9f47e254
PA
66712011-06-06 Pedro Alves <pedro@codesourcery.com>
6672
6673 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
6674
64b9b334
JB
66752011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
6676
6677 From Stephen Kitt <steve@sk2.org>
6678 * gdb.base/help.exp: Adjust following some spelling corrections
6679 in GDB.
6680
dbc0f131
YQ
66812011-06-01 Yao Qi <yao@codesourcery.com>
6682
6683 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
6684
fd336a18
KS
66852010-05-31 Keith Seitz <keiths@redhat.com>
6686
6687 PR c++/12750
6688 * gdb.cp/static-method.cc: New file.
6689 * gdb.cp/static-method.exp: New file.
6690
fa8b9902
KS
66912010-05-31 Keith Seitz <keiths@redhat.com>
6692
6693 PR symtab/12704
6694 * gdb.cp/anon-ns.cc: New file.
6695 * gdb.cp/anon-ns.exp: New file.
6696
0a5b1e09
PA
66972011-05-31 Pedro Alves <pedro@codesourcery.com>
6698
6699 * gdb.arch/i386-dr3-watch.c: New file.
6700 * gdb.arch/i386-dr3-watch.exp: New file.
6701
0578b8d1
YQ
67022011-05-30 Yao Qi <yao@codesourcery.com>
6703
6704 * gdb.base/callfuncs.c (t_structs_fc): New.
6705 (t_structs_dc, t_structs_ldc): New.
6706 (t_double_many_args):
6707 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
6708 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
6709 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
6710 * gdb.base/callfuncs.exp: Call new functions.
6711
6680506e
YQ
67122011-05-30 Yao Qi <yao@codesourcery.com>
6713
ff4d2c60
YQ
6714 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
6715 Call rerun_and_prepare for each test to isolate effects.
6716
67172011-05-30 Yao Qi <yao@codesourcery.com>
6718
6719 * gdb.base/varargs.c (find_max_float_real): New.
6720 (find_max_double_real, find_max_long_double_real): New.
6721 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
6722 * lib/gdb.exp (setup_kfail_for_target): New.
6723
e43ec454
YQ
67242011-05-30 Yao Qi <yao@codesourcery.com>
6725
6726 * gdb.base/funcargs.c (callca, callcb, callcc): New.
6727 (callcd, callce, callcf, callc1a, callc1b): New.
6728 (callc2a, callc2b): New.
6729 * gdb.base/funcargs.exp (complex_args): New.
6730 (complex_integral_args, complex_float_integral_args): New.
6731 * lib/gdb.exp (support_complex_tests): New. Determine
6732 whether to run test cases on _Complex types.
6733
432b4d03
JK
67342011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6735
6736 * gdb.threads/leader-exit.c: New file.
6737 * gdb.threads/leader-exit.exp: New file.
6738
6caf069d
MP
67392011-05-27 Marek Polacek <mpolacek@redhat.com>
6740
9497469f 6741 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 6742
97fce28b
MP
67432011-05-27 Marek Polacek <mpolacek@redhat.com>
6744
6745 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
6746 remove the `supported' variable.
6747 * gdb.mi/mi-nonstop.exp: Likewise.
6748 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6749 * gdb.mi/mi-nsintrall.exp: Likewise.
6750 * gdb.mi/mi-nsmoribund.exp: Likewise.
6751 * gdb.mi/mi-nsthrexec.exp: Likewise.
6752
9da8c2a0
PA
67532011-05-26 Pedro Alves <pedro@codesourcery.com>
6754
6755 * gdb.reverse/finish-reverse-bkpt.exp: New test.
6756
2c03e5be
PA
67572011-05-26 Pedro Alves <pedro@codesourcery.com>
6758
6759 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
6760
2e21250d
KS
67612011-05-24 Keith Seitz <keiths@redhat.com>
6762
6763 PR breakpoint/12803
6764 * gdb.cp/cmpd-minsyms.cc (a): New method.
6765 (b): New method.
6766 (c): New method.
6767 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
6768
cdac0397
PA
67692011-05-24 Pedro Alves <pedro@codesourcery.com>
6770
6771 * gdb.base/commands.exp (watchpoint_command_test): Check that the
6772 watchpoint's command list didn't execute when the watchpoint went
6773 out of scope.
6774
ee5683ab
PM
67752011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
6776
6777 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
6778 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
6779 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
6780 * gdb.arch/i386-gnu-cfi.exp: Likewise.
6781 * gdb.arch/i386-permbkpt.exp: Likewise.
6782 * gdb.arch/i386-prologue.exp: Likewise.
6783 * gdb.arch/i386-size-overlap.exp: Likewise.
6784 * gdb.arch/i386-size.exp: Likewise.
6785 * gdb.arch/i386-unwind.exp: Likewise.
6786 * gdb.reverse/i386-precsave.exp: Likewise.
6787 * gdb.reverse/i386-reverse.exp: Likewise.
6788 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6789 * gdb.reverse/i387-env-reverse.exp: Likewise.
6790 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6791
c91c8c16
PA
67922011-05-24 Pedro Alves <pedro@codesourcery.com>
6793
6794 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
6795 file doesn't error, using MI.
6796
c50491a7
TT
67972011-05-23 Tom Tromey <tromey@redhat.com>
6798
6799 * gdb.base/charset.exp (string_display): Add tests to assign to
6800 arrays.
6801 * gdb.base/charset.c (short_array, int_array, long_array): New.
6802
4a07b7da
PA
68032011-05-20 Pedro Alves <pedro@codesourcery.com>
6804
6805 Cope with async mode.
6806
4a07b7da
PA
6807 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
6808 into gdb_test + mi_expect_stop.
6809
b275f2d2
PA
68102011-05-20 Pedro Alves <pedro@codesourcery.com>
6811
6812 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
6813 (callme): Remove printf call.
6814
eec52c44
PM
68152011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
6816
6817 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
6818 quote pattern to avoid problems with Cygwin/mingw expect versions.
6819 * gdb.base/default.exp (show convenience): Use double
6820 quote pattern for regular expressions.
6821
b3c8eb43
JK
68222011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6823
6824 Fix -readnow for -gdwarf-4 unused type units.
6825 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
6826 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
6827
ed731959
JK
68282011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6829
6830 * gdb.base/kill-after-signal.c: New file.
6831 * gdb.base/kill-after-signal.exp: New file.
6832
3b48433d
PA
68332011-05-16 Pedro Alves <pedro@codesourcery.com>
6834
6835 * gdb.ada/start.exp: Call untested with the correct test filename.
6836 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
6837 test filename. Make the test's binary unique.
6838 * gdb.arch/i386-signal.exp: Call untested with the correct test
6839 filename.
6840 * gdb.arch/i386-size-overlap.exp: Ditto.
6841 * gdb.arch/Makefile.in (EXECUTABLES): Update.
6842 * gdb.base/gcore-buffer-overflow.exp: Ditto.
6843 * gdb.cp/call-c.exp: Ditto.
6844 * gdb.mi/mi-reverse.exp: Call untested with the correct test
6845 filename. Make the test's binary unique.
6846 * gdb.mi/Makefile.in (EXECUTABLES): Update.
6847 * gdb.python/py-mi.exp: Ditto.
6848 * gdb.python/Makefile.in (EXECUTABLES): Update.
6849 * gdb.reverse/i386-precsave.exp: Ditto.
6850 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
6851 test filename.
6852 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6853 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
6854 unique.
6855 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
6856 test filename.
6857 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
6858 * gdb.trace/tfile.exp: Ditto.
6859
ba4a8bdd
YQ
68602011-05-14 Yao Qi <yao@codesourcery.com>
6861
6862 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
6863 type.
6864
dbaefcf7
DE
68652011-05-13 Doug Evans <dje@google.com>
6866
6867 * gdb.python/py-objfile-script.exp: New file.
6868 * gdb.python/py-objfile-script.c: New file.
6869 * gdb.python/py-objfile-script-gdb.py: New file.
6870 * testsuite/gdb.python/py-section-script.exp: Test
6871 "info auto-load-scripts".
6872
9930639c
TT
68732011-05-13 Tom Tromey <tromey@redhat.com>
6874
6875 * gdb.dwarf2/clztest.exp: New file.
6876 * gdb.dwarf2/clztest.c: New file.
6877 * gdb.dwarf2/clztest.S: New file.
6878
05272e11
DE
68792011-05-13 Doug Evans <dje@google.com>
6880
cc63ef9b
DE
6881 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
6882 String16 tests.
05272e11 6883
6edba76f
TT
68842011-05-13 Tom Tromey <tromey@redhat.com>
6885
6886 * lib/gdb.exp (is_x86_like_target): New proc.
6887 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
6888 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
6889 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
6890 -nostdlib to compiler.
6891 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
6892 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
6893 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
6894 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
6895 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
6896
028d0ed5
TJB
68972011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
6898
6899 * gdb.python/py-function.exp: Test setting a value from a function
6900 which executes a command.
6901
8a9b8146
TT
69022011-05-12 Tom Tromey <tromey@redhat.com>
6903
6904 * gdb.dwarf2/typeddwarf.S: New file.
6905 * gdb.dwarf2/typeddwarf.c: New file.
6906 * gdb.dwarf2/typeddwarf.exp: New file.
6907
10483e8e
MP
69082011-05-12 Marek Polacek <mpolacek@redhat.com>
6909
6910 * gdb.mi/mi-basics.exp: Fix races. Honour the
6911 `test_exec_and_symbol_mi_operatons' return value.
6912 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6913 gdb_test_multiple.
6914 (test_exec_and_symbol_mi_operatons): Likewise.
6915 (test_path_specification): Likewise.
6916
faf067f1
JK
69172011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6918
6919 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
6920 (gdb_touch_execfile): Remove catch wrappers. New variable time.
6921 Replace `file copy' and `file rename' by `file mtime'. Twice.
6922
7ff911a3
JK
69232011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6924
6925 * gdb.base/readline-ask.c: New file.
6926 * gdb.base/readline-ask.exp: New file.
6927 * gdb.base/readline-ask.inputrc: New file.
6928
a536c6d7
UW
69292011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
6930
6931 * gdb.cell/bt.exp: Delete breakpoints before running to signal
6932 to avoid race condition.
6933 * gdb.cell/coremaker.c: Use small stack size.
6934 * gdb.cell/ea-standalone.exp: Use file name without path as
6935 argument to c_to.
6936 * gdb.cell/fork.exp: Allow other output when continuing to end.
6937
d472a426
JK
69382011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6939
6940 * gdb.threads/corethreads.c: New file.
6941 * gdb.threads/corethreads.exp: New file.
6942
69432011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
6944
6945 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
6946 Try to compile the test using -Wl,-z,norelro first.
6947 (load_core): New variable libthread_db_seen, initialize it.
6948 (zeroed-threads cannot be listed): Protect it by XFAIL on
6949 !$libthread_db_seen.
6950
8be455d7
JK
69512011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6952
6953 PR 12573
6954 * gdb.dwarf2/dw2-skip-prologue.S: New file.
6955 * gdb.dwarf2/dw2-skip-prologue.c: New file.
6956 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
6957
1976171a
JK
69582011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6959
6960 * gdb.cp/psymtab-parameter.cc: New file.
6961 * gdb.cp/psymtab-parameter.exp: New file.
6962
7db6f30f
JK
69632011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6964
6965 Fix a race.
6966 * gdb.cp/static-print-quit.exp (print c): Split to ...
6967 (print c - <return>, print c - q <return>, print c - to quit):
6968 ... these. Make the testfile untested on gdb-7.1.
6969
85161e9e 69702011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
6971
6972 * lib/gdb.exp (exec_target_file, exec_symbol_file,
6973 gdb_rename_execfile, gdb_touch_execfile): New.
6974 * gdb.base/reread.exp: Use new procs to handle multiple
6975 exec files.
6976
0c51be18
YQ
69772011-05-05 Yao Qi <yao@codesourcery.com>
6978
6979 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
6980 (test_adr_32bit, test_pop_pc): New.
6981 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
6982 (test_adr_32bit, test_pop_pc): New.
6983
4d393d60
JM
69842011-05-04 Joseph Myers <joseph@codesourcery.com>
6985
6986 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
6987 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
6988 targets.
6989 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
6990 handle targets.
6991
8ffd0459
JK
69922011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6993
6994 * gdb.base/completion.exp (complete help info wat): Rename to ...
6995 (complete 'help info wat'): ... here.
6996 Remove all `-re ".*' and `-re "^.*' redundant regexes.
6997 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
6998
8e28d804
PA
69992011-05-04 Pedro Alves <pedro@codesourcery.com>
7000
7001 * gdb.base/completion.exp: Use gdb_test_multiple instead of
7002 gdb_test and explicit $gdb_prompt/timeout matches.
7003
3eb2ef34
YQ
70042011-05-04 Yao Qi <yao@codesourcery.com>
7005
7006 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
7007 and __thumb2__.
7008
aaaf81a3
MP
70092011-05-03 Marek Polacek <mpolacek@redhat.com>
7010
7011 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
7012 in place of `gdb_test "delete breakpoints"'. This eliminates two
7013 testcases.
7014
c4cbc0df
PA
70152011-05-02 Pedro Alves <pedro@codesourcery.com>
7016
7017 PR testsuite/12649
7018 Fix races.
7019
7020 * gdb.base/completion.exp: Remove all sleep calls. Remove
7021 unnecessary regexs. Don't explicitly expect anything after the
7022 prompt. Eat the prompt if necessary.
7023
b4cbb4a3
EBM
70242011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
7025
7026 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
7027 accept to show the caller line again as well as the line after.
7028
d65aec65
PM
70292011-04-29 Phil Muldoon <pmuldoon@redhat.com>
7030
7031 PR mi/12531
7032
7033 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
7034 compile target.
7035 * gdb.python/py-prettyprint.exp: Add C++ object for
7036 CPLUS_FAKE_CHILD test.
7037
30852783
UW
70382011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
7039
7040 * gdb.base/signest.exp: New file.
7041 * gdb.base/signest.c: Likewise.
7042
c7b1f0d9
JK
70432011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7044
7045 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
7046 thread and breakpoint notifications.
7047
559a7a62
JK
70482011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7049
7050 * gdb.base/fortran-sym-case.c: New file.
7051 * gdb.base/fortran-sym-case.exp: New file.
7052 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
7053 * gdb.dwarf2/dw2-case-insensitive.c: New file.
7054 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
7055
8344e389
JK
70562011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7057
7058 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
7059 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
7060 false #1', `if true else false #2' and `if true else false #3'.
7061
2484c66b
UW
70622011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
7063
7064 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
7065 while delivering signal.
7066
8d3788bd
VP
70672011-04-27 Vladimir Prus <vladimir@codesourcery.com>
7068
7069 MI breakpoint notifications.
7070
7071 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
7072 * testsuite/gdb.mi/mi2-cli.exp: Adust.
7073 * testsuite/gdb.mi/mi-watch.exp: Adust.
7074 * testsuite/gdb.mi/mi2-watch.exp: Adust.
7075 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
7076 notifications.
8d3788bd 7077
3e03848b
JK
70782011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7079
7080 * gdb.base/gdbindex-stabs-dwarf.c: New file.
7081 * gdb.base/gdbindex-stabs.c: New file.
7082 * gdb.base/gdbindex-stabs.exp: New file.
7083
918c9108
YQ
70842011-04-25 Yao Qi <yao@codesourcery.com>
7085
7086 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
7087 with /*...*/.
7088 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
7089
90556b8c
JK
70902011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7091
7092 * gdb.python/py-value.exp (test_objfiles): Name the first test
7093 `py-value in file.filename'.
7094
03f2bd59
JK
70952011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7096
7097 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
7098 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
7099 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
7100 !gdbserver_reconnect_p..
7101 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
7102
7b08b9eb
JK
71032011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7104
7105 * gdb.cp/cpcompletion.exp (complete class methods)
7106 (complete class methods beginning with F): Move them above runto. New
7107 comment about the runto delimiter.
7108
b78974c3
PA
71092011-04-20 Pedro Alves <pedro@codesourcery.com>
7110
7111 * gdb.base/maint.exp: Test that "maint print registers" works
7112 without a running program.
7113
20429c40 71142011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 7115
20429c40
MP
7116 * gdb.base/setshow.exp: Fix racy tests.
7117 ($old_gdb_prompt): New variable.
7118
7a9dd1b2
TT
71192011-04-19 Tom Tromey <tromey@redhat.com>
7120
7121 * gdb.mi/mi-nsmoribund.exp:
7122 * gdb.hp/gdb.objdbg/objdbg01.exp:
7123 * gdb.base/structs.exp (test_struct_returns):
7124 * gdb.base/call-sc.exp (test_scalar_returns):
7125 * gdb.base/bigcore.exp: Remove duplicate words.
7126
02835898
JK
71272011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7128
7129 * gdb.base/break-interp-lib.c (v, vptr): New variables.
7130 * gdb.base/break-interp.exp (test_attach): New comment.
7131
254f582e
JK
71322011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7133
7134 * gdb.threads/gcore-thread.exp ($core0file): New variable.
7135 (clear __stack_user.next, clear stack_used.next)
7136 (save a zeroed-threads corefile): New test.
7137 Call core_load for $core0file.
7138 (zeroed-threads cannot be listed): New test.
7139
4fe85f5c
JK
71402011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7141
7142 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
7143 filename.
7144 ($srcfile): Preserve the original value.
7145 ($testfile): Match it the .exp filename.
7146 ($corefile): New variable. Substitute it around.
7147 Use clean_restart.
7148 ($prev_timeout): Remove.
7149 (load_core): Move core loading into this proc.
7150 Fix restore of $timeout if load_core fails.
7151
63524580
JK
71522011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7153
7154 * gdb.base/eu-strip-infcall.c: New file.
7155 * gdb.base/eu-strip-infcall.exp: New file.
7156
90359a16
JK
71572011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7158
7159 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
7160 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
7161
626e7282
JK
71622011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7163
7164 Fix Python access to inlined frames.
7165 * gdb.python/py-frame-inline.c: New file.
7166 * gdb.python/py-frame-inline.exp: New file.
7167
3363d018
EBM
71682011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
7169
7170 * gdb.base/gdb1090.exp: Change breakpoint location to read the
7171 content of 's24' correctly (avoiding "optimized out").
7172 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
7173
28781456
JK
71742011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7175
7176 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
7177
4a4106ca
TJB
71782011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
7179
7180 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
7181 expect a colon in watch -location output.
7182
d26ccb4f
JK
71832011-04-13 Marek Polacek <mpolacek@redhat.com>
7184
df46027d 7185 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
7186 New testcase `expect response to define backtrace'. Also remove
7187 redundant `default' block.
7188
e1ab1f9c
JK
71892011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7190
7191 * gdb.python/py-prettyprint.c (struct hint_error): New.
7192 (main): New variable hint_error.
7193 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
7194 "print hint_error".
7195 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
7196 (register_pretty_printers): Register it.
7197
0c2e6019
TT
71982011-04-04 Tom Tromey <tromey@redhat.com>
7199
7200 * gdb.cp/maint.exp (test_help): Update.
7201 (test_namespace): Likewise.
7202
af57139d
JB
72032011-04-01 Joel Brobecker <brobecker@adacore.com>
7204
7205 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
7206 * gdb.ada/arrayptr.exp: Add new tests.
7207
956a9fb9
JB
72082011-04-01 Joel Brobecker <brobecker@adacore.com>
7209
7210 * gdb.ada/mi_catch_ex: New testcase.
7211
d0c4d642
PA
72122011-04-01 Pedro Alves <pedro@codesourcery.com>
7213
7214 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
7215 base::overload(void) method without specifying "const".
7216
18819fa6
UW
72172011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
7218
7219 * gdb.arch/thumb-singlestep.S: New file.
7220 * gdb.arch/thumb-singlestep.exp: Likewise.
7221
a4c8e806
TT
72222011-03-31 Tom Tromey <tromey@redhat.com>
7223
7224 * gdb.python/py-prettyprint.py (exception_flag): New global.
7225 (NoStringContainerPrinter._iterator.next): Check it.
7226 * gdb.python/py-prettyprint.c (main): New variable nstype2.
7227 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
7228
53832f31
TT
72292011-03-29 Tom Tromey <tromey@redhat.com>
7230
7231 * gdb.cp/anon-struct.cc: New file.
7232 * gdb.cp/anon-struct.exp: New file.
7233
e4620230
JK
72342011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7235
7236 Test STT_GNU_IFUNC support.
7237 * gdb.base/gnu-ifunc-lib.c: New file.
7238 * gdb.base/gnu-ifunc.c: New file.
7239 * gdb.base/gnu-ifunc.exp: New file.
7240
d0fb5eae
JK
72412011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7242
7243 Support a ring of related breakpoints.
7244 * gdb.base/watchpoint-delete.c: New file.
7245 * gdb.base/watchpoint-delete.exp: New file.
7246
20106cfb
JK
72472011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7248
7249 * gdb.ada/arrayparam.exp (print first after function call): Use
7250 explicit package name. Add a comment
7251 (print lasta after function call): Rename ...
7252 (print last after function call): ... it and use explicit package
7253 name.
7254 (print length after function call): Use explicit package name.
7255 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
7256 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
7257 (multiple matches for symbol i): Rename ...
7258 (multiple matches for symbol integervar): ... it.
7259 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
7260 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
7261
e7ab5e63
AB
72622011-03-25 Andrew Burgess <aburgess@broadcom.com>
7263
7264 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
7265 environment variable to make grep output more predictable. Move
7266 all the environment setup into gdb_init so it's done once per test
7267 case rather than each time we start gdb.
7268
9ef07c8c
TT
72692011-03-24 Tom Tromey <tromey@redhat.com>
7270
7271 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
7272 test.
7273
dd90784c
JK
72742011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7275
7276 * gdb.dwarf2/dw2-entry-value-main.c: New file.
7277 * gdb.dwarf2/dw2-entry-value.S: New file.
7278 * gdb.dwarf2/dw2-entry-value.exp: New file.
7279
05775840
PM
72802011-03-22 Phil Muldoon <pmuldoon@redhat.com>
7281
6fdff2c5 7282 PR python/12183
05775840
PM
7283
7284 * gdb.python/py-function.exp: Add GdbError tests.
7285
8661b11b
PA
72862011-03-18 Pedro Alves <pedro@codesourcery.com>
7287
7288 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
7289 (reglocal_test_func, statlocal_test_func): New functions.
7290 (globals_test_func): Call new functions.
7291 * gdb.trace/unavailable.exp (gdb_collect_args_test)
7292 (gdb_collect_locals_test): New procedure.
7293 (gdb_trace_collection_test): Call new procedures.
7294
0fdb4f18
PA
72952011-03-18 Pedro Alves <pedro@codesourcery.com>
7296
7297 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
7298 (test_register, test_register_unavailable): New procedures.
7299 (gdb_unavailable_registers_test): New procedure.
7300 (gdb_trace_collection_test): Call it.
7301
99c3dc11
PM
73022011-03-18 Phil Muldoon <pmuldoon@redhat.com>
7303
6fdff2c5 7304 PR python/12149
99c3dc11
PM
7305
7306 * gdb.python/python.exp: Add gdb.write tests.
7307
29703da4
PM
73082010-03-17 Phil Muldoon <pmuldoon@redhat.com>
7309
7310 * gdb.python/Makefile.in: Add py-objfile.
7311 * gdb.python/py-objfile.exp: New file.
7312 * gdb.python/py-objfile.c: New file.
7313 * gdb.python/py-block.exp: Add is_valid tests.
7314 * gdb.python/py-inferior.exp: Ditto.
7315 * gdb.python/py-infthread.exp: Ditto.
7316 * gdb.python/py-symbol.exp: Ditto.
7317 * gdb.python/py-symtab.exp: Ditto.
7318
598997c8
KS
73192011-03-16 Keith Seitz <keiths@redhat.com>
7320
7321 PR c++/12273
7322 * gdb.cp/cmpd-minsyms.exp: New test.
7323 * gdb.cp/cmpd-minsyms.cc: New file.
7324
7325 PR c++/11734
7326 * gdb.cp/ovsrch.exp: New test.
7327 * gdb.cp/ovsrch.h: New file.
7328 * gdb.cp/ovsrch1.cc: New file.
7329 * gdb.cp/ovsrch2.cc: New file.
7330 * gdb.cp/ovsrch3.cc: New file.
7331 * gdb.cp/ovsrch4.cc: New file.
7332
c91513d8
PP
73332011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7334
7335 PR gdb/12528
7336 * gdb.base/Makefile.in: Adjust EXECUTABLES.
7337 * gdb.base/break-on-linker-gcd-function.exp: New test.
7338 * gdb.base/break-on-linker-gcd-function.cc: New file.
7339
7470fc63
AT
73402011-03-15 Andreas Tobler <andreast@fgznet.ch>
7341
7342 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
7343
959e7469
PM
73442011-03-15 Phil Muldoon <pmuldoon@redhat.com>
7345
7346 * lib/gdb.exp (gdb_unload): Add another termination case.
7347
9373cf26
JK
73482011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7349
7350 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
7351 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
7352 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
7353 Provide a stub byte there.
7354 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
7355 DW_AT_entry_pc.
7356 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
7357
24e9cda0
UW
73582011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
7359
7360 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
7361 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
7362 "generic ABI, auto".
7363 (altivec_abi_tests): Accept vectors returned by reference.
7364
7371cf6d
PM
73652010-03-14 Phil Muldoon <pmuldoon@redhat.com>
7366
7367 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
7368
ce77046a
UW
73692011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
7370
7371 * gdb.python/py-section-script.exp: Skip test if no Python support.
7372
176400c3
UW
73732011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
7374
7375 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
7376
ecec24e6
PM
73772011-03-10 Phil Muldoon <pmuldoon@redhat.com>
7378
7379 * gdb.python/py-parameter.exp: Update tests to the new Python
7380 parameter API. Add "no documentation" test. Add deprecated API
7381 backward compatibility test.
7382
5dbdd470
TT
73832011-03-09 Tom Tromey <tromey@redhat.com>
7384
7385 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
7386 gdb_continue_to_end.
7387
b66e66ee
MK
73882011-03-09 Mark Kettenis <kettenis@gnu.org>
7389
7390 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
7391 tabs.
7392
eceb0c5f
TT
73932011-03-09 Tom Tromey <tromey@redhat.com>
7394
7395 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
7396 parentheses.
7397 (gdb_continue_to_end): Add "allow_extra" parameter. Use
7398 $command.
7399 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
7400 argument to gdb_continue_to_end.
7401 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
7402 argument to gdb_continue_to_end.
7403 * gdb.cp/annota3.exp: Fix regex.
7404 * gdb.cp/annota2.exp: Fix regex.
7405 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
7406 gdb_continue_to_end.
7407 * gdb.base/call-signal-resume.exp: Revert earlier patch.
7408 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
7409 gdb_continue_to_end.
7410
63154eca
PA
74112011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7412
7413 * gdb.server/ext-run.exp
7414 (load new file without any gdbserver inferior): New test.
7415
967d1f9b
TT
74162011-03-07 Tom Tromey <tromey@redhat.com>
7417
7418 * Makefile.in (TAGS): Rewrite.
7419
d68dcbb9
JK
74202011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7421
7422 * gdb.trace/report.exp (12.1: trace report #1): New match for the
7423 initial commands echo. New match for `Found trace'. Anchor all the
7424 other matches. Anchor and match for `No trace frame found' the final
7425 match.
7426
6bf58e63
TT
74272011-03-07 Tom Tromey <tromey@redhat.com>
7428
7429 * Makefile.in (TAGS): New target.
7430
fda326dd
TT
74312011-03-07 Tom Tromey <tromey@redhat.com>
7432
7433 * lib/opencl.exp (skip_opencl_tests): Update for exit message
7434 change.
7435 * lib/mi-support.exp (mi_gdb_test): Update for exit message
7436 change.
7437 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
7438 exit message change.
7439 (skip_altivec_tests): Update for exit message change.
7440 (skip_vsx_tests): Likewise.
7441 (gdb_continue_to_end): Likewise. Add 'command' argument.
7442 * lib/cell.exp (skip_cell_tests): Update for exit message change.
7443 * gdb.threads/tls.exp: Update for exit message change.
7444 * gdb.threads/thread-unwindonsignal.exp: Use
7445 gdb_continue_to_end.
7446 * gdb.threads/step.exp (step_it): Update for exit message change.
7447 (continue_all): Likewise.
7448 * gdb.threads/print-threads.exp (test_all_threads): Update for
7449 exit message change.
7450 * gdb.threads/interrupted-hand-call.exp: Use
7451 gdb_continue_to_end.
7452 * gdb.threads/execl.exp: Use gdb_continue_to_end.
7453 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
7454 gdb_continue_to_end.
7455 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
7456 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
7457 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
7458 * gdb.cp/method.exp: Update for exit message change.
7459 * gdb.cp/mb-templates.exp: Update for exit message change.
7460 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
7461 * gdb.cp/annota3.exp: Update for exit message change.
7462 * gdb.cp/annota2.exp: Update for exit message change.
7463 * gdb.cell/fork.exp: Use gdb_continue_to_end.
7464 * gdb.base/term.exp: Update for exit message change.
7465 * gdb.base/step-test.exp (test_i): Update for exit message change.
7466 * gdb.base/sigstep.exp (advance): Update for exit message change.
7467 (advancei): Likewise.
7468 * gdb.base/siginfo.exp: Update for exit message change.
7469 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
7470 * gdb.base/reread.exp: Use gdb_continue_to_end.
7471 * gdb.base/langs.exp: Use gdb_continue_to_end.
7472 * gdb.base/interrupt.exp: Update for exit message change.
7473 * gdb.base/gdb1555.exp: Update for exit message change.
7474 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
7475 * gdb.base/ending-run.exp: Update for exit message change.
7476 * gdb.base/chng-syms.exp: Update for exit message change.
7477 * gdb.base/checkpoint.exp: Update for exit message change.
7478 * gdb.base/catch-syscall.exp (check_for_program_end): Use
7479 gdb_continue_to_end.
7480 (test_catch_syscall_with_wrong_args): Likewise.
7481 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
7482 * gdb.base/break-interp.exp (test_ld): Update for exit message
7483 change.
7484 * gdb.base/bang.exp: Update for exit message change.
7485 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
7486 (do_call_attach_tests): Likewise.
7487 * gdb.base/a2-run.exp: Update for exit message change.
7488 * gdb.arch/ppc-dfp.exp: Update for exit message change.
7489 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
7490 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
7491
dd19bd70
JK
74922011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7493
7494 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
7495
30e62689
TT
74962011-03-03 Tom Tromey <tromey@redhat.com>
7497
7498 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
7499 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
7500 * gdb.hp/gdb.aCC/configure.ac: Remove.
7501 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
7502 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
7503 * gdb.hp/gdb.base-hp/configure.ac: Remove.
7504 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
7505 * gdb.hp/gdb.compat/configure (Makefile): Remove.
7506 * gdb.hp/gdb.compat/configure.ac: Remove.
7507 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
7508 * gdb.hp/gdb.defects/configure (Makefile): Remove.
7509 * gdb.hp/gdb.defects/configure.ac: Remove.
7510 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
7511 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
7512 * gdb.hp/gdb.objdbg/configure.ac: Remove.
7513 * gdb.hp/configure.ac: Remove.
7514 * gdb.hp/configure: Remove.
7515 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
7516 substitution.
7517 (Makefile): Remove rule.
7518 * gdb.cell/configure.ac: Remove.
7519 * gdb.cell/configure: Remove.
7520 * gdb.stabs/Makefile.in (Makefile): Remove.
7521 (distclean): Don't remove config.status or config.log.
7522 * gdb.stabs/configure (Makefile): Remove.
7523 * gdb.stabs/configure.ac: Remove.
7524 * configure: Rebuild.
7525 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
7526 Remove stabs- and cell-specific logic. Test for existence of
7527 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
7528 subdirectories, gdb.cell, and and gdb.stabs.
7529 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
7530
c171f854
JB
75312011-03-03 Joel Brobecker <brobecker@adacore.com>
7532
7533 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
7534 end of buffer.
7535
9a5193cb
JB
75362011-03-02 Joel Brobecker <brobecker@adacore.com>
7537
7538 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
7539 gdb_test when running a test where we expected no output back.
7540
9bb4c1bb
MS
75412011-02-28 Michael Snyder <msnyder@vmware.com>
7542
7543 * gdb.cp/overload.cc: Change initializer value to integer.
7544
3bd0f5ef
MS
75452011-02-27 Michael Snyder <msnyder@vmware.com>
7546
7547 * gdb.multi/base.exp: Add test for remove-inferiors.
7548
2279eaad
JB
75492011-02-26 Joel Brobecker <brobecker@adacore.com>
7550
7551 * gdb.python/py-frame.exp: Simplify the initialization phase
7552 using prepare_for_testing.
7553
c82c0b55
MS
75542011-02-25 Michael Snyder <msnyder@vmware.com>
7555
7556 * gdb.multi/base.exp: Add tests for info inferiors with args.
7557
1d94651b
JK
75582011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7559
7560 * gdb.dwarf2/dw2-ranges.S: Rename to ...
7561 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
7562 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
7563 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
7564 asmfile3. Comment the STABS (#3) file compilation. Compile
7565 everything through assembler. Provide KFAIL for symtab/12497.
7566 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
7567 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
7568 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
7569 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
7570
3bd0f5ef
MS
75712011-02-24 Michael Snyder <msnyder@vmware.com>
7572
7573 * gdb.base/break.exp: Add tests for delete breakpoints using
7574 convenience variables and value history references.
7575
12c1418e
MS
75762011-02-24 Michael Snyder <msnyder@vmware.com>
7577
7578 * gdb.base/break.exp: Remove debugging 'printf' accidentally
7579 left behind in previous check-in.
7580
e5a67952
MS
75812011-02-23 Michael Snyder <msnyder@vmware.com>
7582
7583 * gdb.base/break.exp: Add tests for "info break" with arguments.
7584 * gdb.trace/infotrace.exp: Update patterns for error and help.
7585 * gdb.base/completion.exp: Update pattern.
7586 * gdb.base/ena-dis-br.exp: Update pattern.
7587 * gdb.base/help.exp: Update patterns.
7588
75892011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
7590
7591 * gdb.base/memattr.exp: New test.
7592 * gdb.base/memattr.c: Test load for memattr.exp.
7593
6e6fbe60
DE
75942011-02-22 Doug Evans <dje@google.com>
7595
7596 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
7597
1d41d745
MS
75982011-02-22 Michael Snyder <msnyder@vmware.com>
7599
7600 * Makefile.in: Make more clean.
7601 * gdb.ada/Makefile.in: Ditto.
7602 * gdb.arch/Makefile.in: Ditto.
7603 * gdb.asm/Makefile.in: Ditto.
7604 * gdb.base/Makefile.in: Ditto.
7605 * gdb.cp/Makefile.in: Ditto.
7606 * gdb.dwarf2/Makefile.in: Ditto.
7607 * gdb.java/Makefile.in: Ditto.
7608 * gdb.mi/Makefile.in: Ditto.
7609 * gdb.modula2/Makefile.in: Ditto.
7610 * gdb.python/Makefile.in: Ditto.
7611 * gdb.server/Makefile.in: Ditto.
7612 * gdb.stabs/Makefile.in: Ditto.
7613 * gdb.threads/Makefile.in: Ditto.
7614 * gdb.trace/Makefile.in: Ditto.
7615
79ba84ca
MS
76162011-02-22 Michael Snyder <msnyder@vmware.com>
7617
df46027d 7618 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
7619 info threads.
7620
b9b35694
JB
76212011-02-22 Joel Brobecker <brobecker@adacore.com>
7622
7623 * gdb.python/py-breakpoint.exp: Fix the expected output of
7624 one of the "maint info breakpoints" tests to accept the output
7625 generated on platforms that do not have hardware watchpoints.
7626
8bfb830f
JB
76272011-02-22 Joel Brobecker <brobecker@adacore.com>
7628
7629 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
7630 clean_restart. Be a little stricter in the expected output
7631 for one of the tests. Fix a typo in one of the comments.
7632
c45f3c54
JB
76332011-02-22 Joel Brobecker <brobecker@adacore.com>
7634
7635 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
7636 Delete variable binfile, no longer use. Add or modify test
7637 comments to make them unique.
7638
b97c863c
MS
76392011-02-21 Michael Snyder <msnyder@vmware.com>
7640
7641 * Makefile.in: Update for make clean.
7642 * gdb.ada/Makefile.in: Ditto.
7643 * gdb.arch/Makefile.in: Ditto.
7644 * gdb.asm/Makefile.in: Ditto.
7645 * gdb.base/Makefile.in: Ditto.
7646 * gdb.cp/Makefile.in: Ditto.
7647 * gdb.dwarf2/Makefile.in: Ditto.
7648 * gdb.java/Makefile.in: Ditto.
7649 * gdb.mi/Makefile.in: Ditto.
7650 * gdb.modula2/Makefile.in: Ditto.
7651 * gdb.python/Makefile.in: Ditto.
7652 * gdb.server/Makefile.in: Ditto.
7653 * gdb.stabs/Makefile.in: Ditto.
7654 * gdb.threads/Makefile.in: Ditto.
7655 * gdb.trace/Makefile.in: Ditto.
7656
aea5b279
MS
76572011-02-21 Michael Snyder <msnyder@vmware.com>
7658
7659 * gdb.threads/thread-find.exp: Update patterns for changes in
7660 output of "info threads" command.
7661
e3039479
UW
76622011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7663 Ulrich Weigand <uweigand@de.ibm.com>
7664
7665 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
7666 (skip_hw_watchpoint_tests): Likewise.
7667 (skip_hw_watchpoint_multi_tests): Likewise.
7668
b800ec70
UW
76692011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
7670
7671 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
7672 (skip_hw_watchpoint_tests): Likewise.
7673 (skip_hw_watchpoint_multi_tests): Likewise.
7674 (skip_hw_watchpoint_access_tests): Likewise.
7675
7676 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
7677 * gdb.base/pr11022.exp: Likewise.
7678 * gdb.base/watch-read.exp: Likewise.
7679 * gdb.base/watch_thread_num.exp: Likewise.
7680 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7681 * gdb.base/watchpoint-hw.exp: Likewise.
7682 * gdb.base/watchpoint.exp: Likewise.
7683 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
7684 * gdb.threads/watchthreads-reorder.exp: Likewise.
7685 * gdb.threads/watchthreads.exp: Likewise.
7686 * gdb.threads/watchthreads2.exp: Likewise.
7687
91033e37
JB
76882011-02-21 Joel Brobecker <brobecker@adacore.com>
7689
7690 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
7691 the debugger is unable to find the array bounds.
7692
eeaafae2
JK
76932011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7694
7695 * gdb.cp/typedef-operator.exp: New file.
7696 * gdb.cp/typedef-operator.cc: New file.
7697
e338d953
MS
76982011-02-17 Michael Snyder <msnyder@vmware.com>
7699
7700 * gdb.threads/thread-find.exp: Fix regular expressions.
7701
e67ad678
JB
77022011-02-17 Joel Brobecker <brobecker@adacore.com>
7703
7704 * gdb.ada/packed_array: Expand testcase to test printing of
7705 unconstrained packed array.
7706
93084bca
JB
77072011-02-17 Joel Brobecker <brobecker@adacore.com>
7708
7709 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
7710
a0c78a73
PA
77112011-02-16 Pedro Alves <pedro@codesourcery.com>
7712
f65d5553 7713 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
7714 (main): Initialize it before collecting, and and clear it
7715 afterwards.
f65d5553
PA
7716 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7717 collecting with '{type} addr', where the addr expression is not an
7718 rvalue.
a0c78a73 7719
3dfcbbd2
KW
77202011-02-16 Ken Werner <ken.werner@de.ibm.com>
7721
7722 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
7723 a bool variable. Expect correct OpenCL names for vector types. Use the
7724 uc3 variable name instead of referring to the uchar3 built-in type.
7725 Escape the asterisk at the half pointer test.
7726
08807d5a
PA
77272011-02-16 Pedro Alves <pedro@codesourcery.com>
7728
f65d5553 7729 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
7730 (main): Initialize it before collecting, and and clear it
7731 afterwards.
f65d5553
PA
7732 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7733 collecting overlapping memory ranges.
08807d5a 7734
60f98dde
MS
77352011-02-15 Michael Snyder <msnyder@vmware.com>
7736
7737 * gdb.base/default.exp: Add tests for thread commands.
7738 * gdb.base/help.exp: Add tests for thread commands.
7739 * gdb.threads/thread-find.exp: New test for thread find command.
7740
648cd113
KW
77412011-02-15 Ken Werner <ken.werner@de.ibm.com>
7742
7743 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
7744
494e194e
YQ
77452011-02-15 Yao Qi <yao@codesourcery.com>
7746
7747 PR tdep/12352
7748 * gdb.arch/arm-disp-step.S : New test for str instruction.
7749 * gdb.arch/arm-disp-step.exp : Likewise.
7750
d9492458
TJB
77512011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
7752
7753 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
7754 "vector_register2_vr" test strings. Test the extended floating
7755 point registers (F32~F63).
7756 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
7757 IBM XL C compiler. Make the test program use a register provided
7758 by the compiler for the lxvd2x instruction.
7759
8af8e3bc
PA
77602011-02-14 Pedro Alves <pedro@codesourcery.com>
7761
7762 * gdb.trace/unavailable.cc (class Base, class Middle, class
7763 Derived): New types.
7764 (derived_unavail, derived_partial, derived_whole): New globals.
7765 (virtual_partial): New global.
7766 (virtualp): Point at virtual_partial.
7767 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
7768 related to unavailable vptr.
7769
1b28d0b3
PA
77702011-02-14 Pedro Alves <pedro@codesourcery.com>
7771
7772 * gdb.trace/unavailable.cc (a, b, c): New globals.
7773 (main): Set and clear them.
7774 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
7775 `a' and `c', and check that `b' isn't collected, although `a' and
7776 `c' are.
7777
ec0a52e1
PA
77782011-02-14 Pedro Alves <pedro@codesourcery.com>
7779
7780 * gdb.trace/unavailable.cc (struct Virtual): New.
7781 (virtualp): New global pointer.
7782 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
7783 printing a pointer to an object whose type has a vtable, with
7784 print object on.
7785
24e6bcee
PA
77862011-02-14 Pedro Alves <pedro@codesourcery.com>
7787
7788 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
7789 value repeat handles unavailableness.
7790
39d37385
PA
77912011-02-14 Pedro Alves <pedro@codesourcery.com>
7792
7793 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
7794 tests for building arrays from unavailable values, subscripting
7795 non-memory rvalue unvailable arrays, and accessing fields or
7796 baseclasses of non-lazy unavailable values,
7797 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
7798 struct types.
7799 (g_smallstruct, g_smallstruct_b): New globals.
7800
06d72e16
PA
78012011-02-14 Pedro Alves <pedro@codesourcery.com>
7802
7803 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
7804
bc9a5551
JK
78052011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7806
7807 Fix const/volatile qualifiers of C++ types, PR c++/12328.
7808 * gdb.cp/overload-const.exp: New file.
7809 * gdb.cp/overload-const.cc: New file.
7810
54fcddd0
UW
78112011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7812
7813 * gdb.opencl/callfuncs.cl: New file.
7814 * gdb.opencl/callfuncs.exp: New test.
7815 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
7816
d6dafb7c
UW
78172011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7818
7819 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
7820 when computing result.
7821 * gdb.arch/altivec-abi.exp: Update expected results.
7822
a449c2d8
TJB
78232011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7824
7825 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
7826 * gdb.base/jit.exp: Likewise.
7827 * gdb.base/pie-execl.exp: Likewise.
7828 * gdb.base/solib-nodir.exp: Likewise.
7829 * gdb.base/solib-overlap.exp: Likewise.
7830
764880b7
PA
78312011-02-07 Pedro Alves <pedro@codesourcery.com>
7832
7833 * gdb.trace/collection.c (global_pieces): New.
7834 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
7835 New procedure.
7836 (gdb_trace_collection_test): Call it.
7837
505500db
SW
78382011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
7839
7840 * gdb.python/py-evthreads.c: New file.
7841 * gdb.python/py-evthreads.exp: New file.
7842 * gdb.python/py-events.py: New file.
7843 * gdb.python/py-events.exp: New file.
7844 * gdb.python/py-events.c: New file.
7845
385203ed
DD
78462011-02-04 David Daney <ddaney@caviumnetworks.com>
7847
7848 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
7849
9011945e
AB
78502011-02-03 Andrew Burgess <aburgess@broadcom.com>
7851
7852 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
7853 gdb.base/disasm-end-cu.exp: New test for disassembling over the
7854 boundary between two compilation units.
7855
580688f3
PA
78562011-02-02 Pedro Alves <pedro@codesourcery.com>
7857
7858 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
7859 (Virtual): New structs.
7860 (virtual_o, virtual_middle_b): New globals.
7861 * gdb.cp/virtbase.exp: New tests.
7862
d3f0f853
PP
78632011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7864
7865 * gdb.base/jit.exp: New file.
7866 * gdb.base/jit-main.c: New file.
7867 * gdb.base/jit-solib.c: New file.
7868
b2030fb5
UW
78692011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
7870
7871 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
7872 proceed to initial kernel entry point.
7873 * gdb.opencl/datatypes.exp: Likewise.
7874 * gdb.opencl/operators.exp: Likewise.
7875 * gdb.opencl/vec_comps.exp: Likewise.
7876
2db19d1e
SW
78772011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
7878
7879 * gdb.cp/nsnested.cc: New.
7880 * gdb.cp/nsnested.exp: New.
7881 * gdb.cp/nsnoimports.exp: New.
7882 * gdb.cp/nsnoimports.cc: New.
7883
6b0c4c1f
JB
78842011-01-31 Joel Brobecker <brobecker@adacore.com>
7885
7886 * gdb.base/interact.exp: Add extra tests that verify that
7887 the value of the interactive-mode setting does not change
7888 after the script is sourced.
7889
80b23b6a
JK
78902011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7891
7892 * gdb.cp/noparam.exp: New file.
7893 * gdb.cp/noparam.cc: New file.
7894
ffd5ec24
PA
78952011-01-28 Pedro Alves <pedro@codesourcery.com>
7896
7897 * gdb.trace/tfile.exp: Test that with no traceframe selected,
7898 there's no stack or registers.
7899
a81766d8
TT
79002011-01-26 Tom Tromey <tromey@redhat.com>
7901
7902 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
7903 space before string output. Add test for "set print pretty off"
7904 case.
7905
585fdaa1
PA
79062011-01-25 Pedro Alves <pedro@codesourcery.com>
7907
7908 * gdb.base/frame-args.exp: Adjust.
7909 * gdb.dwarf2/dw2-noloc.exp: Adjust.
7910 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
7911 * gdb.dwarf2/pieces.exp: Adjust.
7912 * gdb.opt/clobbered-registers-O2.exp: Adjust.
7913 * gdb.opt/inline-locals.exp: Adjust.
7914 * gdb.threads/fork-child-threads.exp: Adjust.
7915
d468832a
KW
79162011-01-25 Ken Werner <ken.werner@de.ibm.com>
7917
7918 * gdb.opencl/convs_casts.cl: Move program scope variables into the
7919 OpenCL kernel function. Add a comment as marker. Add address space
7920 qualifiers for the remaining program scope variables.
7921 * gdb.opencl/datatypes.cl: Likewise.
7922 * gdb.opencl/operators.cl: Likewise.
7923 * gdb.opencl/vec_comps.cl: Likewise.
7924 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
7925 Add breakpoint at the marker comment.
7926 * gdb.opencl/datatypes.exp: Likewise.
7927 * gdb.opencl/operators.exp: Likewise.
7928 * gdb.opencl/vec_comps.exp: Likewise.
7929
490f124f
PA
79302011-01-24 Pedro Alves <pedro@codesourcery.com>
7931
7932 * gdb.base/printcmds.c (some_struct): New struct and instance.
7933 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
7934 procedure.
7935 <global scope>: Call it.
7936
6da78614
KW
79372011-01-21 Ken Werner <ken.werner@de.ibm.com>
7938
7939 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
7940 argument to the gdb_compile_opencl_hostapp call.
7941
ec64c9aa
YQ
79422011-01-19 Yao Qi <yao@codesourcery.com>
7943
7944 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
7945 positve list.
7946
810cfdbb
YQ
79472011-01-19 Yao Qi <yao@codesourcery.com>
7948
7949 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
7950 canonical form.
7951 Remove "xscale-*-*"
7952 * gdb.xml/tdesc-regs.exp: Likewise.
7953 * gdb.python/py-section-script.exp: Replace ARM target triplet
7954 with canonical form.
7955 Match arm*-*-symbianelf*.
7956 * gdb.base/dup-sect.exp: Likewise.
7957 * lib/dwarf.exp: New.
7958 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
7959 dwarf2_support.
7960 * gdb.dwarf2/dup-psym.exp: Likewise.
7961 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
7962 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7963 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
7964 * gdb.dwarf2/dw2-basic.exp: Likewise.
7965 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7966 * gdb.dwarf2/dw2-const.exp: Likewise.
7967 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
7968 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
7969 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7970 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
7971 * gdb.dwarf2/dw2-filename.exp: Likewise.
7972 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7973 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
7974 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7975 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7976 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
7977 * gdb.dwarf2/dw2-noloc.exp: Likewise.
7978 * gdb.dwarf2/dw2-op-call.exp: Likewise.
7979 * gdb.dwarf2/dw2-producer.exp: Likewise.
7980 * gdb.dwarf2/dw2-ranges.exp: Likewise.
7981 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
7982 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
7983 * gdb.dwarf2/dw2-strp.exp: Likewise.
7984 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
7985 * gdb.dwarf2/implptr.exp: Likewise.
7986 * gdb.dwarf2/mac-fileno.exp: Likewise.
7987 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
7988 * gdb.dwarf2/pieces.exp: Likewise.
7989 * gdb.dwarf2/pr11465.exp: Likewise.
7990 * gdb.dwarf2/valop.exp: Likewise.
7991 * gdb.dwarf2/watch-notconst.exp: Likewise.
7992 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
7993
4694da01
TT
79942011-01-19 Tom Tromey <tromey@redhat.com>
7995
7996 * gdb.python/py-infthread.exp: Add thread tests.
7997
b075872c
JB
79982011-01-14 Joel Brobecker <brobecker@adacore.com>
7999
8000 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
8001
2c3e6e24
JB
80022011-01-14 Joel Brobecker <brobecker@adacore.com>
8003
8004 * gdb.ada/widewide: New testcase.
8005
de8fa76c
JB
80062011-01-13 Joel Brobecker <brobecker@adacore.com>
8007
8008 * gdb.base/interact.exp: New testcase.
8009
1b05df00
TT
80102011-01-12 Tom Tromey <tromey@redhat.com>
8011
8012 * gdb.mi/gdb2549.exp: Update for error message changes.
8013 * gdb.mi/mi-cli.exp: Likewise.
8014 * gdb.mi/mi-disassemble.exp: Likewise.
8015 * gdb.mi/mi-pthreads.exp: Likewise.
8016 * gdb.mi/mi-regs.exp: Likewise.
8017 * gdb.mi/mi-stack.exp: Likewise.
8018 * gdb.mi/mi-var-block.exp: Likewise.
8019 * gdb.mi/mi-var-cmd.exp: Likewise.
8020 * gdb.mi/mi2-cli.exp: Likewise.
8021 * gdb.mi/mi2-disassemble.exp: Likewise.
8022 * gdb.mi/mi2-pthreads.exp: Likewise.
8023 * gdb.mi/mi2-regs.exp: Likewise.
8024 * gdb.mi/mi2-stack.exp: Likewise.
8025 * gdb.mi/mi2-var-block.exp: Likewise.
8026 * gdb.mi/mi2-var-cmd.exp: Likewise.
8027
c2ff108b
JK
80282011-01-12 Andrew Burgess <aburgess@broadcom.com>
8029 Jan Kratochvil <jan.kratochvil@redhat.com>
8030
8031 PR fortran/11104 and DWARF unbound arrays detection.
8032 * gdb.fortran/multi-dim.exp: New file.
8033 * gdb.fortran/multi-dim.f90: New file.
8034
b716877b
AB
80352011-01-12 Andrew Burgess <aburgess@broadcom.com>
8036
8037 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
8038 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
8039 add new tests for opcode dumping.
8040
6c162d5e
TT
80412011-01-11 Tom Tromey <tromey@redhat.com>
8042
8043 * gdb.python/py-infthread.exp: Load gdb-python.exp.
8044
77b06cd7
TJB
80452010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
8046
8047 Convert hardware watchpoints to use breakpoint_ops.
8048 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
8049 type is not supported.
8050 * gdb.base/foll-fork.exp: Likewise.
8051 * gdb.base/foll-vfork.exp: Likewise.
8052
f39a75d0
PM
80532011-01-10 Phil Muldoon <pmuldoon@redhat.com>
8054
8055 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
8056 Use load_lib gdb-python.exp.
8057 * gdb.python/python.exp: Ditto.
8058 * gdb.python/py-function.exp: Ditto.
8059
fc529d80
AS
80602011-01-09 Andreas Schwab <schwab@linux-m68k.org>
8061
8062 * gdb.threads/tls.exp ("info address me"): Fix expected output.
8063
fb03cb59
JK
80642011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8065
8066 * configure: Regenerate.
8067
d8e22779
TT
80682011-01-06 Tom Tromey <tromey@redhat.com>
8069
8070 * gdb.python/py-frame.exp: Test gdb.newest_frame.
8071
09050809
JB
80722011-01-06 Joel Brobecker <brobecker@adacore.com>
8073
fc529d80
AS
8074 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
8075 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
8076 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8077 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
8078 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
8079 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8080 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
8081 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
8082 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
8083 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
8084 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
8085 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
8086 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
8087 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8088 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8089 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
8090 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
8091 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
8092 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8093 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
8094 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
8095 gdb.ada/uninitialized_vars.exp,
8096 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
8097 Simplify by using clean_restart.
09050809 8098
8ed5dd9e
JB
80992011-01-06 Joel Brobecker <brobecker@adacore.com>
8100
8101 Add marker to be used as anchor for inserting breakpoints.
8102 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
8103 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
8104 Likewise.
8105
8106 Remove uses of gdb_start_cmd.
8107 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
8108 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
8109
8110 Do not run testcase if testing with GDBserver.
8111 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
8112 if testing with GDBserver.
8113
368a124f
JB
81142011-01-06 Joel Brobecker <brobecker@adacore.com>
8115
8116 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
8117 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
8118 copyright header.
8119
44944448
JB
81202011-01-05 Joel Brobecker <brobecker@adacore.com>
8121
8122 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
8123 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
8124 testsuite/gdb.fortran/complex.f,
8125 testsuite/gdb.fortran/derived-type.f90,
8126 testsuite/gdb.fortran/library-module-lib.f90,
8127 testsuite/gdb.fortran/library-module-main.f90,
8128 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
8129 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
8130 Copyright year update.
8131
31886ea6
JB
81322011-01-05 Joel Brobecker <brobecker@adacore.com>
8133
8134 * gdb.base/langs1.f: Add copyright header.
8135
ebedcab5
JK
81362011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8137
8138 * gdb.base/morestack.exp: New file.
8139 * gdb.base/morestack.c: New file.
8140
de1eb2f9
JK
81412011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8142
8143 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
8144
9e87a409
JB
81452010-12-29 Joel Brobecker <brobecker@adacore.com>
8146
8147 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
8148 * gdb.ada/arrayptr.exp: Add test printing that new variable.
8149
720d1a40
JB
81502010-12-29 Joel Brobecker <brobecker@adacore.com>
8151
8152 * gdb.ada/lang_switch.exp: Correct expected parameter value.
8153
a283af87
AS
81542010-12-25 Andreas Schwab <schwab@linux-m68k.org>
8155
5d3d9cba
AS
8156 * gdb.threads/tls.exp: Fix typo.
8157
a283af87
AS
8158 * gdb.threads/thread-specific.exp (get_thread_list): Update.
8159 * gdb.threads/execl.exp: Update.
8160
2a20745c
YQ
81612010-12-23 Yao Qi <yao@codesourcery.com>
8162
8163 * gdb.arch/arm-disp-step.exp: New.
8164 * gdb.arch/arm-disp-step.S: New.
8165
a7658b96
TT
81662010-12-21 Tom Tromey <tromey@redhat.com>
8167
8168 * gdb.threads/execl.exp: Update.
8169 * gdb.threads/linux-dp.exp: Update.
8170 * gdb.threads/manythreads.exp: Update.
8171 * gdb.threads/tls.exp: Update.
8172
5b79abe7
TT
81732010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8174
8175 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
8176 (NextOverThrowDerivates) <resumebpt>: New.
8177 (resumebpt_test): New.
8178 (main): Call resumebpt_test.
8179 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
8180
0914bcdb
SS
81812010-12-12 Stan Shebs <stan@codesourcery.com>
8182
8183 * gdb.trace/tsv.exp: Test print command on trace state variables.
8184
305aeedc
TT
81852010-12-09 Tom Tromey <tromey@redhat.com>
8186
8187 * gdb.base/interp.exp: Add regression test.
8188
186c406b
TT
81892010-12-09 Tom Tromey <tromey@redhat.com>
8190
8191 * gdb.java/jnpe.java: New file.
8192 * gdb.java/jnpe.exp: New file.
8193 * gdb.cp/nextoverthrow.exp: New file.
8194 * gdb.cp/nextoverthrow.cc: New file.
8195
aae1c79a
DE
81962010-12-07 Doug Evans <dje@google.com>
8197
8198 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
8199 of data-directory.
8200 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
8201 updated.
8202 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
8203
60f98dde 82042010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
8205
8206 * gdb.base/callfuncs.exp: Test for skip_float_tests.
8207 * gdb.base/call-sc.exp: Ditto.
8208 * gdb.base/finish.exp: Ditto.
8209 * gdb.base/return.exp: Ditto.
8210 * gdb.base/return2.exp: Ditto.
8211
5fa290c1
DE
82122010-11-30 Doug Evans <dje@google.com>
8213
8214 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
8215 (gdb_expect_list): Fix spelling errors in comments.
8216 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
8217 send_gdb/gdb_expect_list where applicable.
8218 * gdb.base/call-ar-st.exp: Ditto.
8219 * gdb.base/funcargs.exp: Ditto.
8220 * gdb.base/gcore.exp: Ditto.
8221 * gdb.base/page.exp: Ditto.
8222 * gdb.base/sigaltstack.exp: Ditto.
8223 * gdb.base/siginfo.exp: Ditto.
8224 * gdb.base/sigstep.exp: Ditto.
8225 * gdb.base/trace-commands.exp: Ditto.
8226
4e04c971
DE
82272010-11-29 Doug Evans <dje@google.com>
8228
8229 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
8230 printer-name;subprinter-name.
8231
8cf6f0b1
TT
82322010-11-29 Tom Tromey <tromey@redhat.com>
8233
8234 * gdb.dwarf2/implptr.exp: New file.
8235 * gdb.dwarf2/implptr.c: New file.
8236 * gdb.dwarf2/implptr.S: New file.
8237
94b6973e
PM
82382010-11-29 Phil Muldoon <pmuldoon@redhat.com>
8239
fc529d80 8240 PR python/12199
94b6973e
PM
8241
8242 * gdb.python/py-breakpoint.exp: Test the delete method.
8243
8358c15c
JK
82442010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8245
8246 Fix step_resume_breakpoint unsaved during an infcall.
8247 * gdb.base/step-resume-infcall.exp: New file.
8248 * gdb.base/step-resume-infcall.c: New file.
8249
f6df29bc
TJB
82502010-11-24 Edjunior Machado <emachado@br.ibm.com>
8251
8252 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
8253
f2b5a5cf
TJB
82542010-11-24 Edjunior Machado <emachado@br.ibm.com>
8255
8256 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
8257 on ppc64's symbols; "finish" and "return" commands must accept to
8258 show the caller line again as well as the line after.
8259 * gdb.asm/powerpc64.inc: New file.
8260
6b0ecdc2
DE
82612010-11-23 Doug Evans <dje@google.com>
8262
8263 * lib/gdb.exp (gdb_test_sequence): New function.
8264 (gdb_expect_list): Add verbose -log call for each pattern.
8265 * gdb.base/signals.exp (test_handle_all_print): Call it.
8266 Reduce timeout increment from 6 minutes to 1 minute.
8267 * gdb.server/ext-run.exp: Call it.
8268
ea976c60
PM
82692010-11-23 Phil Muldoon <pmuldoon@redhat.com>
8270
f2b5a5cf 8271 PR python/12212
ea976c60
PM
8272
8273 * gdb.python/python.exp: Check that selected_thread raises an
8274 error when no inferior is loaded.
8275
c0efa795
JK
82762010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8277
8278 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
8279 * gdb.dwarf2/dw2-stack-boundary.S: New file.
8280
ec3aa567
JK
82812010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8282
8283 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
8284 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
8285
d8249011
DE
82862010-11-18 Doug Evans <dje@google.com>
8287
8288 * gdb.server/ext-run.exp: Fix intermittent failures.
8289
d4eba7d1
NF
82902010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8291
8292 * gdb.stabs/gdb11479.exp: Use runto_main.
8293
b04c2f88
NF
82942010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8295
8296 * gdb.base/break-entry.exp: Skip if using a stub.
8297
ae9d7ce4
NF
82982010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8299
8300 * gdb.python/py-inferior.exp: Pack values in target endianness.
8301
621c8364
TT
83022010-11-12 Tom Tromey <tromey@redhat.com>
8303
8304 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
8305 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
8306 MemoryError.
8307 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
8308 type.
8309 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
8310 MemoryError.
8311 (test_subscript_regression): Update exception type.
8312
84f4c1fe
PM
83132010-11-11 Phil Muldoon <pmuldoon@redhat.com>
8314
8315 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
8316 breakpoint tests.
8317
a1442452
PA
83182010-11-09 Pedro Alves <pedro@codesourcery.com>
8319
8320 * gdb.base/watchpoint.exp: Test "watch -location" with an
8321 innacessible location.
8322
efd11a33
JK
83232010-11-09 Edjunior Machado <emachado@br.ibm.com>
8324 Luis Machado <luisgpm@br.ibm.com>
8325
8326 * gdb.base/maint.exp: Expect "." prefix.
8327 * gdb.base/nodebug.exp: Expect "." Likewise.
8328 * gdb.base/sepsymtab.exp: Expect "." Likewise.
8329 * gdb.base/watchpoint-cond-gone.exp: Likewise.
8330 * gdb.base/watchpoint.exp: Expect a software watch to be created for
8331 POWER server processors.
8332
aa00efb5
JK
83332010-11-08 Edjunior Machado <emachado@br.ibm.com>
8334 Luis Machado <luisgpm@br.ibm.com>
8335
8336 * gdb.base/break-entry.exp: convert entry point for
8337 ppc64 and expect leading `.' on ppc64's symbols
8338
99e7ae30
DE
83392010-11-05 Doug Evans <dje@google.com>
8340
8341 * gdb.base/help.exp: Update expected output.
b521dba8
DE
8342 * gdb.python/py-param.exp: Delete, contents moved to ...
8343 * gdb.python/py-parameter.exp: ... here. New file.
8344 Add test for gdb.parameter ("directories").
99e7ae30 8345
f4b8a18d
KW
83462010-11-05 Ken Werner <ken.werner@de.ibm.com>
8347
8348 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
8349 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
8350 * configure: Regenerate.
8351 * gdb.opencl/Makefile.in: New File.
8352 * gdb.opencl/datatypes.exp: Likewise.
8353 * gdb.opencl/datatypes.cl: Likewise.
8354 * gdb.opencl/operators.exp: Likewise.
8355 * gdb.opencl/operators.cl: Likewise.
8356 * gdb.opencl/vec_comps.exp: Likewise.
8357 * gdb.opencl/vec_comps.cl: Likewise.
8358 * gdb.opencl/convs_casts.exp: Likewise.
8359 * gdb.opencl/convs_casts.cl: Likewise.
8360 * lib/opencl.exp: Likewise.
8361 * lib/opencl_hostapp.c: Likewise.
8362 * lib/opencl_kernel.cl: Likewise.
8363 * lib/cl_util.c: Likewise.
8364 * lib/cl_util.c: Likewise.
8365 * gdb.base/default.exp (set language): Add "opencl" to the list of
8366 languages.
8367
a9d5ef47
SW
83682010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
8369
8370 * gdb.cp/overload.exp: Added test for inheritance overload.
8371 * gdb.cp/overload.cc: Ditto.
8372 * gdb.cp/oranking.exp: Removed releveant kfails.
8373
03eb1c79
JK
83742010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8375 Joel Brobecker <brobecker@adacore.com>
8376
8377 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
8378 check test_compiler_info.
8379
dbc98a8b
KW
83802010-11-03 Ken Werner <ken.werner@de.ibm.com>
8381
8382 * gdb.base/gnu_vector.exp: Adjust expect messages.
8383
120bd360
KW
83842010-11-03 Ken Werner <ken.werner@de.ibm.com>
8385
8386 * gdb.base/gnu_vector.exp: Add unary operator tests.
8387
c37f7098
KW
83882010-11-03 Ken Werner <ken.werner@de.ibm.com>
8389
8390 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
8391
7b51bc51
DE
83922010-11-02 Doug Evans <dje@google.com>
8393
8394 * gdb.python/py-pp-maint.c: New file.
8395 * gdb.python/py-pp-maint.exp: New file.
8396 * gdb.python/py-pp-maint.py: New file.
8397
50c97f38
TT
83982010-11-02 Tom Tromey <tromey@redhat.com>
8399
8400 * gdb.base/default.exp: Remove "scheme" from language list.
8401
a289b8f6
JK
84022010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8403
8404 Revert:
8405 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8406 * gdb.threads/sigstep-threads.exp: New file.
8407 * gdb.threads/sigstep-threads.c: New file.
8408
cd017491
MS
84092010-10-20 Michael Snyder <msnyder@vmware.com>
8410
8411 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
8412
8e6a5956
UW
84132010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8414
8415 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
8416 Skip test completely if gdb,no_hardware_watchpoints.
8417
2c04da0d
UW
84182010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8419
8420 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
8421 strict, but do not check for any particular function name within libc.
8422
79afc5ef
SW
84232010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8424
8425 * gdb.cp/smartp.exp: New test.
8426 * gdb.cp/smartp.cc : New test.
8427
026ffab7
SW
84282010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8429
8430 * gdb.cp/converts.exp: Test pointer to bool conversion.
8431 Test pointer to long conversion.
8432 * gdb.cp/oranking.exp: Removed relevant kfail.
8433
3a772aa4
TT
84342010-10-18 Tom Tromey <tromey@redhat.com>
8435
8436 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
8437 argument to lazy_string.
8438 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
8439 (pp_ls.to_string): Use it.
8440 * gdb.python/py-prettyprint.c (main): Move declarations to top.
8441 Add "estring2" local.
8442
5fc3827b
JK
84432010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8444
8445 Fix s390x compatibility.
8446 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
8447 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
8448
8aeb23f3
JK
84492010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8450
8451 * gdb.threads/sigstep-threads.exp: New file.
8452 * gdb.threads/sigstep-threads.c: New file.
8453
c1e56572
JK
84542010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8455
8456 * gdb.base/pie-execl.exp: New file.
8457 * gdb.base/pie-execl.c: New file.
8458
92163a10
JK
84592010-10-13 Doug Evans <dje@google.com>
8460 Jan Kratochvil <jan.kratochvil@redhat.com>
8461
8462 PR exp/12117
8463 * gdb.cp/ptype-cv-cp.cc: New file.
8464 * gdb.cp/ptype-cv-cp.exp: New file.
8465
7062b0a0
SW
84662010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
8467
8468 * gdb.cp/converts.cc: New test program.
8469 * gdb.cp/converts.exp: New test.
8470 * gdb.cp/overload.exp: Added test for void* vs int*.
8471 * gdb.cp/overload.exp: Ditto.
8472 * gdb.cp/oranking.exp: Removed related kfail.
8473
0e3509db
DE
84742010-10-13 Doug Evans <dje@google.com>
8475
8476 * lib/gdb-python.exp (gdb_check_python_config): New function.
8477 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
8478 * gdb.python/lib-types.cc: New file.
8479 * gdb.python/lib-types.exp: New file.
8480
8dc78533
JK
84812010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8482
8483 * gdb.python/py-error.exp: New file.
8484 * gdb.python/py-error.py: New file.
8485
93c17e06
JK
84862010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8487
8488 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
8489 gdb_test_multiple.
8490
d8b34041
JK
84912010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8492
8493 * gdb.base/break-interp.exp: Use ldlags for linking flags.
8494 * gdb.base/prelink.exp: Likewise.
8495 * gdb.base/solib-nodir.exp: Likewise.
8496 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
8497 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
8498 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
8499
e0cc584e
UW
85002010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
8501
8502 * break-interp.exp (test_ld): Use two separate gdb_expect statements
8503 for the "info files" test to avoid timeouts on slow machines.
8504
cfc353b1
JK
85052010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8506
8507 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
8508 (main): Make openlib dummy call.
8509
d3d7896d
JK
85102010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8511
8512 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
8513 * break-interp.exp (reach): Move the core body ...
8514 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
8515 (test_ld): Provide always real argument, even to the linker. Replace
8516 dl_main by _dl_debug_state.
8517
5e533c94
JK
85182010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8519
8520 Fix results of prelinked PIEs on ppc*.
8521 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
8522 Accept also DISPLACEMENT "PRESENT".
8523 (main): Replace "ZERO" displacements by "PRESENT".
8524
33540610
SW
85252010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
8526
8527 * gdb.cp/oranking.exp: New test.
8528 * gdb.cp/oranking.cc: New test program.
8529
3bdf2bbd
KW
85302010-10-08 Ken Werner <ken.werner@de.ibm.com>
8531
8532 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
8533 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
8534
2f608a3a
KW
85352010-10-06 Ken Werner <ken.werner@de.ibm.com>
8536
8537 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
8538 lush, lynx) New constant.
8539 * gdb.base/constvars.exp: Test const array types.
8540 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
8541
aa2e2d8d
DE
85422010-10-06 Doug Evans <dje@google.com>
8543
8544 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
8545 of syscall staging area.
8546
2844d6b5
KW
85472010-10-06 Ken Werner <ken.werner@de.ibm.com>
8548
8549 * gdb.base/gnu_vector.c: Add variable c4.
8550 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
8551 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
8552
7d8ac8bb
MR
85532010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
8554
8555 * gdb.arch/altivec-abi.exp: Fix a typo.
8556
84a02e58
MR
85572010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
8558
8559 * lib/mi-support.exp (thread_selected_re): Correct pattern used
8560 to match a thread ID.
8561
b18e6318
JK
85622010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8563
8564 Fix s390x testcase compatibility.
8565 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
8566
a2c09bd0
DE
85672010-10-01 Doug Evans <dje@google.com>
8568
8569 * lib/gdb-python.exp: New file.
8570 * gdb.python/py-block.exp: Use it.
8571 * gdb.python/py-breakpoint.exp: Ditto.
8572 * gdb.python/py-frame.exp: Ditto.
8573 * gdb.python/py-inferior.exp: Ditto.
8574 * gdb.python/py-param.exp: Ditto.
8575 * gdb.python/py-prettyprint.exp: Ditto.
8576 * gdb.python/py-shared.exp: Ditto.
8577 * gdb.python/py-symbol.exp: Ditto.
8578 * gdb.python/py-symtab.exp: Ditto.
8579 * gdb.python/py-type.exp: Ditto.
8580 * gdb.python/py-value.exp: Ditto.
8581 * gdb.python/python.exp: Ditto.
8582
38f12cfc
TT
85832010-09-30 Tom Tromey <tromey@redhat.com>
8584
8585 * gdb.base/anon.exp: New file.
8586 * gdb.base/anon.c: New file.
8587
9ae8282d
TT
85882010-09-30 Tom Tromey <tromey@redhat.com>
8589
8590 * gdb.base/completion.exp: Test completion through anonymous
8591 union.
8592 * gdb.base/break1.c (struct some_struct): Add anonymous union.
8593
e9e07ba6
JK
85942010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8595
8596 Fix printing parameters of inlined functions.
8597 * gdb.dwarf2/dw2-inline-param.exp: New file.
8598 * gdb.dwarf2/dw2-inline-param-main.c: New file.
8599 * gdb.dwarf2/dw2-inline-param.S: New file.
8600
cd2effb2
JK
86012010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8602
8603 PR corefiles/12071.
8604 * gdb.base/corefile.exp (quit with a process, no question: load core)
8605 (quit with a core file): New tests.
8606
bceffbf3
JK
86072010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8608
8609 Fix GDB crash on inferior calls with self-referencing classes.
8610 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
8611 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
8612 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
8613
1736ad11
JK
86142010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8615
8616 Fix lost siginfo_t for inferior calls.
8617 * gdb.base/siginfo-infcall.exp: New file.
8618 * gdb.base/siginfo-infcall.c: New file.
8619
a176ad92
JB
86202010-09-22 Joel Brobecker <brobecker@adacore.com>
8621
8622 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
8623
c2b0a229
JK
86242010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8625
8626 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
8627 New test.
8628 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
8629
e8ae22d1
JB
86302010-09-22 Joel Brobecker <brobecker@adacore.com>
8631
8632 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
8633 type of our const type.
8634
ec322823
SW
86352010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
8636
8637 * gdb.cp/pr12028.cc: New.
8638 * gdb.cp/pr12028.exp: New.
8639
72929c62
JB
86402010-09-22 Joel Brobecker <brobecker@adacore.com>
8641
8642 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
8643
875b4ff5 86442010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 8645 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
8646
8647 PR mi/11407
8648 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
8649 * gdb.mi/dw2-ref-missing-frame-main.c New File.
8650 * gdb.mi/dw2-ref-missing-frame.S New File.
8651 * gdb.mi/dw2-ref-missing-frame.exp New File.
8652
7155d578
TT
86532010-09-14 Tom Tromey <tromey@redhat.com>
8654
8655 PR symtab/8399:
8656 * gdb.threads/tls.exp: Remove kfail. Update expected output.
8657
515ed532
TT
86582010-09-14 Tom Tromey <tromey@redhat.com>
8659
8660 PR exp/11803:
8661 * gdb.threads/tls.exp: Use C++.
8662 (check_thread_local): Use K::another_thread_local.
8663 * gdb.threads/tls.c (class K): New.
8664 (another_thread_local): Now a member of K.
8665 (spin): Update. No longer K&R C.
8666
450ca57c
SW
86672010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
8668
8669 * gdb.cp/koenig.cc: created class for testing member lookup.
8670 * gdb.cp/koenig.exp: Added test for member lookup.
8671
dbd492a3
JK
86722010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8673
8674 Fix false FAILs on sourcetree topdir directory containing "kill".
8675 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
8676 source line matching regexp.
8677
8d4d924b
JK
86782010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8679
8680 * gdb.python/python.exp (set height 0, collect help from uiout)
8681 (verify help to uiout): New tests.
8682
8e64f2a0
JK
86832010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8684
8685 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
8686 is_lp64_target to check 64bit target.
8687
4569eed2
JK
86882010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8689
8690 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
8691 (test_ld) <powerpc64-*>: New.
8692
5e1617b1
DJ
86932010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8694
8695 * gdb.cp/templates.exp (test_template_args): Allow "struct".
8696
c767944b
DJ
86972010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8698
8699 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
8700 (FunctionArg::method): New function.
8701 (empty, arg): New variables.
8702 (main): Call arg.method.
8703 * gdb.cp/templates.exp (test_template_args): New function.
8704 (do_tests): Call it.
8705
27d3a3fc
UW
87062010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8707
8708 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
8709 of "next" to proceed over pthread_exit call.
8710
55b7ce7f
UW
87112010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8712
8713 * gdb.base/maint.exp: Avoid wildcards against potentially very long
8714 "maint print statistics" output to prevent expect timeouts.
8715
809df446
JK
87162010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8717
8718 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
8719 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8720 (test_float_rejected): ... here.
8721 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
8722 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8723 (test_float_rejected): ... here.
8724 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
8725 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8726 (test_float_rejected): ... here.
8727 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
8728 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8729 (test_float_rejected): ... here.
8730
8464be76
DJ
87312010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8732
8733 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
8734 before disabling hardware watchpoints.
8735 (test_inaccessible_watchpoint): Check that hardware watchpoints
8736 are used. Test for watchpoints on a constant address.
8737
14dba4b4
JK
87382010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8739
8740 * gdb.base/ui-redirect.exp: New file.
8741
3f3540e1 87422010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 8743 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
8744
8745 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
8746
0f254bb7
DE
87472010-08-31 Doug Evans <dje@google.com>
8748
8749 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
8750
03f17ccf
TT
87512010-08-30 Tom Tromey <tromey@redhat.com>
8752
8753 PR python/11792:
8754 * gdb.python/py-value.exp (test_subscript_regression): Add
8755 dynamic_type test.
8756
640617ad
DJ
87572010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
8758
8759 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
8760 instead of running to main. Do not test the main function.
8761 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
8762 Add new main.
8763
2ed91d1b
PA
87642010-08-26 Pedro Alves <pedro@codesourcery.com>
8765
8766 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
8767 one test.
8768
673bfd45
DE
87692010-08-24 Doug Evans <dje@google.com>
8770
8771 PR symtab/11942
8772 * gdb.dwarf2/dw4-sig-types.cc: New file.
8773 * gdb.dwarf2/dw4-sig-types.h: New file.
8774 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
8775 * gdb.dwarf2/dw4-sig-types.exp: New file.
8776
f9ffd4bb
TT
87772010-08-23 Tom Tromey <tromey@redhat.com>
8778
8779 PR python/11145:
8780 * gdb.python/py-value.c (Base, Derived): New types.
8781 (base): New global.
8782 * gdb.python/py-value.exp (test_subscript_regression): Add
8783 dynamic_cast test.
8784
d839c8a4
TT
87852010-08-23 Tom Tromey <tromey@redhat.com>
8786
8787 PR python/10676:
8788 * gdb.python/py-type.exp (test_fields): Add tests for type
8789 equality.
8790
702c2711
TT
87912010-08-23 Tom Tromey <tromey@redhat.com>
8792
8793 PR python/11915:
8794 * gdb.python/py-type.exp (test_fields): Add tests for array.
8795
832bafd3
KS
87962010-08-23 Keith Seitz <keiths@redhat.com>
8797
8798 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
8799 have any children. Create a new abbrev for it.
8800 Add missing terminal sequence to .debug_abbrev.
8801
c37bf528
KS
88022010-08-20 Keith Seitz <keiths@redhat.com>
8803
8804 PR symtab/11465:
8805 * gdb.dwarf2/pr11465.exp: New test.
8806 * gdb.dwarf2/pr11465.S: New file.
8807 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
8808 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
8809
4572cbac
TJB
88102010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
8811
8812 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
8813 registers. Update data sets with the new v2_double element in the
8814 VSX register union. Add vector_register3_vr data set for the AltiVec
8815 registers. Use gdb_test_no_output instead of send_gdb.
8816
e7fbb131
PA
88172010-08-19 Pedro Alves <pedro@codesourcery.com>
8818
8819 * gdb.python/py-shared.exp: New file, factored out from
8820 python.exp.
8821 * gdb.python/py-shared.c: New file.
8822 * gdb.python/py-shared-sl.c: New file.
8823 * gdb.python/python-1.c: New file.
8824 * gdb.python/python-sl.c: Delete.
8825 * gdb.python/python.c: Mention python-1.c.
8826 * gdb.python/python.exp: Move shared library tests to
8827 py-shared.exp.
8828 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
8829 (MISCELLANEOUS): New.
8830 (clean mostlyclean): Also remove $MISCELLANEOUS.
8831
d30f5e1f
DE
88322010-08-19 Doug Evans <dje@google.com>
8833
8834 PR exp/11926
8835 * gdb.base/printcmds.exp (test_float_accepted): New function.
8836 Move existing float tests there. Add tests for floats with suffixes.
8837 (test_float_rejected): New function.
8838 * gdb.java/jv-print.exp (test_float_accepted): New function.
8839 (test_float_rejected): New function.
8840 * gdb.objc/print.exp: New file.
8841 * gdb.pascal/print.exp: New file.
8842 * lib/objc.exp: New file.
8843
7b3fd859
PM
88442010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
8845
8846 * gdb.base/default.exp (info set): Avoid full buffer error and force
8847 reading up to final gdb prompt.
8848 (show): Likewise.
8849
c92817ce
TT
88502010-08-18 Tom Tromey <tromey@redhat.com>
8851
8852 PR symtab/11919:
8853 * gdb.base/completion.exp: Add test.
8854
f1208f9e
DE
88552010-08-18 Doug Evans <dje@google.com>
8856
8857 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
8858 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
8859 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
8860 Simplify, early exit if runto_main fails.
8861 * gdb.fortran/exprs.exp: load_lib fortran.exp.
8862 (set_lang_fortran): Moved to lib/fortran.exp.
8863 * gdb.fortran/types.exp: load_lib fortran.exp.
8864 (set_lang_fortran): Moved to lib/fortran.exp.
8865 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
8866 * gdb.java/jprint.exp (set_lang_java): Ditto.
8867 * gdb.java/jv-exp.exp: load_lib java.exp.
8868 If set_lang_java fails, issue a warning instead of failure to be
8869 consistent with other set_lang_foo uses.
8870 (set_lang_java): Moved to lib/java.exp.
8871 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
8872 If set_lang_java fails, issue a warning instead of failure to be
8873 consistent with other set_lang_foo uses.
8874 * gdb.pascal/types.exp: load_lib pascal.exp.
8875 (set_lang_pascal): Moved to lib/pascal.exp.
8876 * lib/fortran.exp: New file.
8877 * lib/java.exp (set_lang_java): New function.
8878 * lib/pascal.exp (set_lang_pascal): New function.
8879
2f06b485
YQ
88802010-08-18 Yao Qi <yao@codesourcery.com
8881
8882 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
8883 func_nofb_start and func_loopfb_start, so that address of functions
8884 is equal to these labels on Thumb.
8885
96e25403
YQ
88862010-08-18 Yao Qi <yao@codesourcery.com>
8887
8888 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
8889 to reflect latest c source file.
8890
36e6adc4
JK
88912010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8892
8893 * gdb.cp/infcall-dlopen.exp: New file.
8894 * gdb.cp/infcall-dlopen.cc: New file.
8895 * gdb.cp/infcall-dlopen-lib.cc: New file.
8896
f431efe5
PA
88972010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8898 Pedro Alves <pedro@codesourcery.com>
8899
8900 PR breakpoints/11371
8901
8902 * gdb.base/watch-cond-infcall.exp: New file.
8903 * gdb.base/watch-cond-infcall.c: New file.
8904
06a64a0b
TT
89052010-08-16 Tom Tromey <tromey@redhat.com>
8906
8907 * gdb.base/help.exp: Update.
8908 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
8909 watchpoint.
8910 (test_watch_location): New proc.
8911 (test_watchpoint_in_big_blob): Delete watchpoint.
8912 * gdb.base/watchpoint.c (func5): New function.
8913 (main): Call it.
8914
70ebf4ed
DE
89152010-08-16 Doug Evans <dje@google.com>
8916
8917 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
8918
ca5c20b6
PM
89192010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8920
8921 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
8922 tests.
8923
7346b668
KW
89242010-08-11 Ken Werner <ken.werner@de.ibm.com>
8925
8926 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
8927 * gdb.base/gnu_vector.c: New File.
8928 * gdb.base/gnu_vector.exp: Likewise.
8929
cb2e07a6
PM
89302010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8931
8932 * gdb.python/python.c: New File.
8933 * gdb.python/python-sl.c: New File.
8934 * gdb.python/python.exp: Test solib_address and decode_line
8935 * functions.
8936
5da1313b
JK
89372010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8938
8939 * gdb.python/python.exp (show height, set height 10)
8940 (verify pagination beforehand, verify pagination beforehand: q)
8941 (gdb.execute does not page, verify pagination afterwards)
8942 (verify pagination afterwards: q): New.
8943
49c3ccf7
DE
89442010-08-02 Doug Evans <dje@google.com>
8945
8946 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
8947 because of an older gcc, change test2
8948 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
8949 to unsupported.
8950
42c0c4f1
KH
89512010-07-30 Kazu Hirata <kazu@codesourcery.com>
8952
8953 * gdb.base/break-always.exp: Do not expect full paths to file
8954 names.
8955 * gdb.base/commands.exp: Likewise.
8956
d3765805
DE
89572010-07-30 Doug Evans <dje@google.com>
8958
c98ee71b
DE
8959 * gdb.cp/temargs.exp: For new tests that require newer gccs,
8960 xfail them when run with older gccs.
8961
fd961404
DE
8962 * lib/gdb.exp (build_executable): Forward "c++" option to
8963 get_compiler_info.
8964
999adef4
DE
8965 * gdb.python/py-type.exp (test_template): Mark as xfail tests
8966 "python print ttype.template_argument(1)" and
8967 "python print isinstance(ttype.template_argument(1), gdb.Value)"
8968 if using gcc 4.4 or earlier.
8969
d3765805
DE
8970 * gdb.base/valgrind-db-attach.exp: Use unique test name for
8971 attach-to-debugger handling.
8972
1276c759
JK
89732010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8974
8975 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
8976 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
8977 (main): Use copyreloc.
8978 * gdb.base/prelink.exp (split debug of executable)
8979 (.dynbss vs. .bss address shift): New tests.
8980
88caa9b9
PA
89812010-07-29 Pedro Alves <pedro@codesourcery.com>
8982
8983 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
8984 in gdb_test_multiple.
8985
c6f2ac43
PA
89862010-07-29 Pedro Alves <pedro@codesourcery.com>
8987
8988 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
8989 environment.
8990
326fd672
TT
89912010-07-28 Tom Tromey <tromey@redhat.com>
8992
8993 PR python/11060:
8994 * gdb.python/py-type.c (Temargs): New template.
8995 (temvar): New variable.
8996 * gdb.python/py-type.exp (test_template): New proc.
8997
3ce3b1ba
PA
89982010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8999
9000 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
9001 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
9002
34eaf542
TT
90032010-07-28 Tom Tromey <tromey@redhat.com>
9004
9005 PR c++/9946:
9006 * gdb.cp/temargs.exp: New file.
9007 * gdb.cp/temargs.cc: New file.
9008
d41b819e
JK
90092010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9010
9011 * gdb.base/help.exp (help disassemble): Update the content.
9012
26ab7092
JK
90132010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9014
9015 * gdb.threads/ia64-sigill.exp: New file.
9016 * gdb.threads/ia64-sigill.c: New file.
9017
5283e9e1
TT
90182010-07-27 Tom Tromey <tromey@redhat.com>
9019
9020 * gdb.opt/inline-cmds.c (ATTR): New define.
9021 (func1): Use it.
9022 (func2): Likewise.
9023 (func3): Likewise.
9024 (outer_inline1): Likewise.
9025 (outer_inline2): Likewise.
9026 * gdb.opt/inline-bt.c (ATTR): New define.
9027 (func1): Use it.
9028 (func2): Likewise.
9029 * gdb.opt/inline-locals.c (ATTR): New define.
9030 (func1): Use it.
9031 (func2): Likewise.
9032
e992ef73
TT
90332010-07-27 Tom Tromey <tromey@redhat.com>
9034
9035 * gdb.stabs/gdb11479.c (hack): New function.
9036 (test): Use it.
9037 (test2): Use it.
9038 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
9039 (int32_search_buf, int64_search_buf): No longer static.
9040 (x): Remove.
9041 * gdb.base/relocate.c (hack): New function.
9042
5374244e
PM
90432010-07-27 Phil Muldoon <pmuldoon@redhat.com>
9044
9045 * gdb.python/py-value.exp (test_inferior_function_call): New function.
9046 * gdb.python/py-value.c (func1): New function.
9047 (func2): Likewise.
9048
a99aee83
CV
90492010-07-26 Corinna Vinschen <vinschen@redhat.com>
9050
9051 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
9052 as not to clash with .data section.
9053
a04ba985
JG
90542010-07-26 Jerome Guitton <guitton@adacore.com>
9055
9056 * gdb.base/code_elim.exp: New file.
9057 * gdb.base/code_elim1.c: New file.
9058 * gdb.base/code_elim2.c: New file.
9059
23bd0f7c
PA
90602010-07-21 Pedro Alves <pedro@codesourcery.com>
9061
9062 PR symtab/11827
9063
9064 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
9065 (some_volatile_enum): New variable.
9066 * gdb.base/printcmds.exp (test_print_enums): New.
9067 <top level>: Call it.
9068
883df6dd
SW
90692010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
9070
9071 * gdb.cp/fpointer.cc: New test.
9072 * gdb.cp/fpointer.exp: New test.
9073
569b05a5
JK
90742010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9075
9076 * gdb.base/solib-nodir.exp: New file.
9077 * lib/gdb.exp (runto): New case for a GDB internal error.
9078
51d7d803
JK
90792010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9080 Ulrich Weigand <uweigand@de.ibm.com>
9081 Tom Tromey <tromey@redhat.com>
9082
9083 * gdb.base/charset-malloc.c: New file.
9084 * gdb.base/charset.c (malloc_stub): New prototype.
9085 (main): Call it instead of malloc itself.
9086 * gdb.base/charset.exp: Use only prepare_for_testing.
9087 (binfile): Remove the variable.
9088
c0edd9ed
JK
90892010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9090
9091 Make core files the process_stratum.
9092 * gdb.base/corefile.exp (run: load core again)
9093 (run: sanity check we see the core file, run: with core)
9094 (run: core file is cleared, attach: load core again)
9095 (attach: sanity check we see the core file, attach: with core)
9096 (attach: core file is cleared): New tests.
9097 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
9098
3cbaedff
KW
90992010-07-14 Ken Werner <ken.werner@de.ibm.com>
9100
9101 * gdb.arch/altivec-abi.exp: New tests.
9102
91158a56
TT
91032010-07-13 Tom Tromey <tromey@redhat.com>
9104
9105 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
9106 (main): Use it.
9107 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
9108
0f5238ed
TT
91092010-07-13 Tom Tromey <tromey@redhat.com>
9110
9111 * gdb.base/label.exp: New file.
9112 * gdb.base/label.c: New file.
9113
add265ae
L
91142010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
9115 H.J. Lu <hongjiu.lu@intel.com>
9116
9117 * lib/gdb.exp (is_ilp32_target): New.
9118 (is_lp64_target): Likewise.
9119
9120 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
9121 target.
9122 * gdb.arch/amd64-disp-step.exp: Likewise.
9123 * gdb.arch/amd64-dword.exp: Likewise.
9124 * gdb.arch/amd64-i386-address.exp: Likewise.
9125 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 9126
add265ae
L
9127 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
9128 target.
9129 * gdb.arch/i386-bp_permanent.exp: Likewise.
9130 * gdb.arch/i386-byte.exp: Likewise.
9131 * gdb.arch/i386-disp-step.exp: Likewise.
9132 * gdb.arch/i386-gnu-cfi.exp: Likewise.
9133 * gdb.arch/i386-prologue.exp: Likewise.
9134 * gdb.arch/i386-size-overlap.exp: Likewise.
9135 * gdb.arch/i386-size.exp: Likewise.
9136 * gdb.arch/i386-sse.exp: Likewise.
9137 * gdb.arch/i386-unwind.exp: Likewise.
9138 * gdb.arch/i386-word.exp: Likewise.
9139
9140 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
9141 test only when building 64-bit executables. Do not hard-code
9142 -m64 option.
9143
2dfb8c17
DE
91442010-07-07 Doug Evans <dje@google.com>
9145
9146 * lib/gdb.exp (gdb_test_list_exact): New function.
9147 * gdb.base/default.exp (show convenience): Call it, add tests for
9148 $_sdata = void, $_thread = 0.
9149
4e5799b6
JK
91502010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9151 Joel Brobecker <brobecker@adacore.com>
9152
9153 Fix re-run of PIE executable, PR shlibs/11776.
9154 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
9155 Remove $displacement_main to match the solib-svr4.c change. New "kill"
9156 and re-"run" of the inferior.
9157
1a219cc7
JK
91582010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9159 Joel Brobecker <brobecker@adacore.com>
9160
9161 Cope with missing /usr/sbin/prelink.
9162 * lib/prelink-support.exp (prelink_no):
9163 <result == 1 && $output is "no such file or directory">: New.
9164 (prelink_yes): Likewise. Return on failed prelink_no.
9165
5e3b36f8
JK
91662010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9167 Joel Brobecker <brobecker@adacore.com>
9168
9169 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
9170 build_executable by build_executable_own_libs. Replace "prelink -R"
9171 execution by a call of prelink_yes. Comment why "prelink -r" needs no
9172 change.
9173 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
9174 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
9175 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
9176 Replace build_executable by build_executable_own_libs's function
9177 build_executable_own_libs.
9178 (prelinkNO): Create new stub to call prelink_no.
9179 (prelinkYES): Create new stub to call prelink_yes.
9180 (test_attach): Rename calls of copy to file_copy.
9181 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
9182 (copy): Move to ...
9183 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
9184 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
9185 * gdb.base/prelink.exp: Disable testcase also for is_remote and
9186 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
9187 special flags by gdb_compile_shlib. Replace second gdb_compile by
9188 build_executable_own_libs. Replace "prelink -R" execution by a call of
9189 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
9190 a second call of prelink_yes. Replace restart commands by
9191 clean_restart.
9192 (prelink): Rename to ...
9193 (seen displacement message): ... this test. Extend its expectation
9194 strictness.
9195
86e4bafc
JK
91962010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9197
9198 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
9199 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
9200 displacement message exactly once.
9201
3cd07d20
JK
92022010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9203 Joel Brobecker <brobecker@adacore.com>
9204
9205 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
9206 its restore after the <$relink_args != ""> loop. new comment.
9207
0a1e94c7
JK
92082010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9209 Joel Brobecker <brobecker@adacore.com>
9210
9211 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
9212 code for it. New variable relink_args.
9213 (prelinkYES): Call prelinkNO.
9214 (test_attach): Accept new parameter relink_args. Re-prelink the binary
9215 in such case. Move the core code to ...
9216 (test_attach_gdb): ... a new function. Send GDB command "file".
9217 Extend expected "Attaching to " string.
9218
2f70bcfb
TT
92192010-07-02 Tom Tromey <tromey@redhat.com>
9220
9221 * gdb.base/bitops.exp: Remove extraneous "pass".
9222
a17ac5b0
TT
92232010-07-02 Ken Werner <ken.werner@de.ibm.com>
9224
9225 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9226
dc10affe
PA
92272010-07-01 Pedro Alves <pedro@codesourcery.com>
9228
d41c0fc8
PA
9229 * gdb.base/help.exp: Adjust expected output.
9230
92312010-07-01 Pedro Alves <pedro@codesourcery.com>
9232
9233 * gdb.base/help.exp: Adjust expected output.
dc10affe 9234
0a600c36
JK
92352010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9236
9237 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
9238 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
9239 c++/11702.
9240
37cc8bfe
JK
92412010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9242 Doug Evans <dje@google.com>
9243
9244 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
9245 add .dynamic entry'.
9246
254e6b9e
DE
92472010-06-29 Doug Evans <dje@google.com>
9248
9249 Test PR c++/11702.
9250 * gdb.cp/m-static.exp: Add testcase.
9251 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
9252
595939de 92532010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
9254 Tom Tromey <tromey@redhat.com>
9255 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
9256
9257 * gdb.python/py-inferior.c: New File.
9258 * gdb.python/py-infthread.c: New File.
9259 * gdb.python/py-inferior.exp: New File.
9260 * gdb.python/py-infthread.exp: New File.
9261
98751a41
JK
92622010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9263
9264 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
9265 (ptype ::C::OtherFileClass typedefs): New.
9266 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
9267 (C::OtherFileClass::cOtherFileClassVar2): New.
9268 (C::OtherFileClass::cOtherFileClassVar_use): Use also
9269 cOtherFileClassVar2.
9270 (C::cOtherFileType2, C::cOtherFileVar2): New.
9271 (C::cOtherFileVar_use): use also cOtherFileVar2.
9272 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
9273
41f62f39
JK
92742010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9275
9276 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
9277 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
9278 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
9279 (print ::C::cOtherFileVar)
9280 (whatis C::OtherFileClass::cOtherFileClassType)
9281 (whatis ::C::OtherFileClass::cOtherFileClassType)
9282 (print C::OtherFileClass::cOtherFileClassVar)
9283 (print ::cOtherFileClassVar)
9284 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
9285 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
9286 trailing content.
9287 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
9288 (C::OtherFileClass::cOtherFileClassVar)
9289 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
9290 (C::cOtherFileVar, C::cOtherFileVar_use): New.
9291
af53d231
JK
92922010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9293
9294 Test PR c++/11703 and PR gdb/1448.
9295 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
9296 gdb/1448.
9297
9655fd1a
JK
92982010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9299
9300 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
9301 (main) <rtti_data>: New.
9302 * gdb.cp/virtbase.exp (print rtti_data): New.
9303
824cc8dd
JK
93042010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9305 Joel Brobecker <brobecker@adacore.com>
9306
9307 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
9308
6036c742
JK
93092010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9310
9311 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
9312
de6a0421
DE
93132010-06-28 Doug Evans <dje@google.com>
9314
9315 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
9316
b2dae948
DE
93172010-06-27 Doug Evans <dje@google.com>
9318
9319 * gdb.cp/m-static.exp: Update expected test output.
9320
0f3bb72e
PH
93212010-06-25 Paul Hilfinger <hilfinger@adacore.com>
9322
889bf7c5
PA
9323 * gdb.gdb/selftest.exp: Adjust expected message for
9324 capturing start-up runtime.
0f3bb72e 9325
bc9f0842
TT
93262010-06-25 Tom Tromey <tromey@redhat.com>
9327
9328 PR python/10808:
9329 * gdb.python/python.exp: Add new tests.
9330
099ef718
SW
93312010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
9332
9333 * gdb.cp/operator.cc: Created an import loop.
9334 * gdb.cp/operator.exp: Added testcase for import loop.
9335
5868a632
JK
93362010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9337
9338 Test PR python/11407.
9339 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
9340 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
9341 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
9342 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
9343 executable_nofb and executable_fb. New variables srcsfile, objsfile,
9344 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
9345 binfile. Call gdb_compile with clean_restart twice.
9346 (func_nofb print, func_nofb backtrace, func_loopfb print)
9347 (func_loopfb backtrace): New.
9348
af76db58
JK
93492010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9350
9351 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
9352 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
9353 by a hand made one.
9354 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
9355 i?86 requirement. Remove variables srcfile and binfile. New variable
9356 sources, executable_nofb and executable_fb. Call prepare_for_testing.
9357
f2c7657e
UW
93582010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9359
9360 * gdb.cell/dwarfaddr.exp: New file.
9361 * gdb.cell/dwarfaddr.S: New file.
9362
628fe4e4
JK
93632010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9364
9365 Test PR 9436.
9366 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
9367
f1421989
HZ
93682010-06-24 Hui Zhu <teawater@gmail.com>
9369
9370 * gdb.base/eval.exp: New file.
9371
d03285ec
UW
93722010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9373
9374 * gdb.cell/fork.exp: New file.
9375 * gdb.cell/fork.c: Likewise.
9376 * gdb.cell/fork-spu.c: Likewise.
9377
41b2c92d
PM
93782010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
9379
9380 * lib/gdb.exp (banned_variables_traced): New global variable.
9381 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
9382 (gdb_init): Use `trace add variable' instead of obsolete
9383 `trace variable'.
9384
d5bc977f
DE
93852010-06-21 Doug Evans <dje@google.com>
9386
9387 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
9388
d2ed6730
UW
93892010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9390
9391 * gdb.arch/spu-ls.exp: New file.
9392 * gdb.arch/spu-ls.c: Likewise.
9393
6aed2dbc
SS
93942010-06-18 Stan Shebs <stan@codesourcery.com>
9395
9396 * gdb.threads/thread-specific.exp: Add tests of $_thread.
9397
e0756905
UW
93982010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9399
9400 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
9401 * gdb.base/watch-cond.exp: Likewise.
9402 * gdb.python/py-breakpoint.exp: Likewise.
9403
d8053d4d
PA
94042010-06-18 Pedro Alves <pedro@codesourcery.com>
9405
9406 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
9407 clean_restart, make sure every test has a distinct message, and
9408 that messages don't include the executable' full path.
9409
81ce510c
DE
94102010-06-17 Doug Evans <dje@google.com>
9411
9412 * gdb.arch/i386-size.exp: Updated expected output for
9413 DISASSEMBLY_OMIT_FNAME.
9414
65d79d4b
SDJ
94152010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9416 Sergio Durigan Junior <sergiodj@redhat.com>
9417
9418 * gdb.base/watch-notconst.c: New file.
9419 * gdb.base/watch-notconst.S: New file.
9420 * gdb.base/watch-notconst2.c: New file.
9421 * gdb.base/watch-notconst2.S: New file.
9422 * gdb.base/watch-notconst.exp: New file.
9423 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
9424 (func4): Add operations on `global_ptr_ptr'.
9425 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
9426 routine to test watchpoints created with a constant expression.
9427 (test_inaccessible_watchpoint): Include tests for watchpoints
9428 created with a constant expression.
9429
df0f4836
KB
94302010-06-14 Kevin Buettner <kevinb@redhat.com>
9431
9432 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9433 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
9434 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
9435 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
9436 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9437 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9438 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
9439 of `_start'.
9440
b769def5
UW
94412010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9442
9443 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
9444 not supported on the target.
9445 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9446 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9447 * gdb.mi/mi-nsintrall.exp: Likewise.
9448 * gdb.mi/mi-nsmoribund.exp: Likewise.
9449 * gdb.mi/mi-nsthrexec.exp: Likewise.
9450
d914c394
SS
94512010-06-11 Stan Shebs <stan@codesourcery.com>
9452
9453 * gdb.base/permissions.exp: New file.
9454
94552010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
9456
9457 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
9458 does not support ELF executable class.
9459
f3ce5b9c
UW
94602010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9461
9462 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
9463
8e46892c
JK
94642010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9465
9466 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
9467 (runto): Catch "The target does not support running in non-stop mode.".
9468
6cc55c64
MS
94692010-06-11 Michael Snyder <msnyder@vmware.com>
9470
9471 * gdb.base/setshow.exp (set language asm): Don't use
9472 gdb_test_no_output, fails on some targets.
9473
caddefa4
UW
94742010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9475
9476 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
9477 * gdb.cp/pr9167.exp: Likewise.
9478
468b1aa7
UW
94792010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9480
9481 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
9482
5c3552dc
UW
94832010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9484
9485 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
9486
02e6fe6a
UW
94872010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9488
9489 * gdb.base/charset.c (main): Make sure malloc gets linked in.
9490
0e03807e
TT
94912010-06-11 Tom Tromey <tromey@redhat.com>
9492
9493 PR gdb/9977, PR exp/11636::
9494 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
9495 (pieces_test_f6): Update expected output.
9496
2bdf28a0
JK
94972010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9498
9499 * gdb.base/moribund-step.exp: New.
9500
f6978de9
MS
95012010-06-08 Michael Snyder <msnyder@vmware.com>
9502
9503 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 9504 * gdb.ada/boolean_expr.exp:
f6978de9
MS
9505 * gdb.ada/frame_args.exp: Ditto.
9506 * gdb.ada/lang_switch.exp: Ditto.
9507 * gdb.ada/ptype_arith_binop.exp: Ditto.
9508 * gdb.ada/ref_param.exp: Ditto.
9509 * gdb.ada/type_coercion.exp:Ditto.
9510
9511 * gdb.asm/asm-source.exp: Ditto.
9512
9513 * gdb.base/attach.exp: Ditto.
9514 * gdb.base/bitfields2.exp: Ditto.
9515 * gdb.base/call-signal-resume.exp: Ditto.
9516 * gdb.base/callfuncs.exp: Ditto.
9517 * gdb.base/commands.exp: Ditto.
9518 * gdb.base/dbx.exp: Ditto.
9519 * gdb.base/default.exp: Ditto.
9520 * gdb.base/dump.exp: Ditto.
9521 * gdb.base/exprs.exp: Ditto.
9522 * gdb.base/freebpcmd.exp: Ditto.
9523 * gdb.base/interrupt.exp: Ditto.
9524 * gdb.base/list.exp: Ditto.
9525 * gdb.base/long_long.exp: Ditto.
9526 * gdb.base/maint.exp: Ditto.
9527 * gdb.base/ptype.exp: Ditto.
9528 * gdb.base/return.exp: Ditto.
9529 * gdb.base/setshow.exp: Ditto.
9530 * gdb.base/sigbpt.exp: Ditto.
9531 * gdb.base/sigrepeat.exp: Ditto.
9532
9533 * gdb.cp/classes.exp: Ditto.
9534
9535 * gdb.dwarf2/dw2-restore.exp: Ditto.
9536
9537 * gdb.gdb/selftest.exp: Ditto.
9538
9539 * gdb.multi/base.exp: Ditto.
9540 * gdb.multi/bkpt-multi-exec.exp: Ditto.
9541
9542 * gdb.python/py-block.exp: Ditto.
9543 * gdb.python/py-prettyprint.exp: Ditto.
9544 * gdb.python/py-template.exp: Ditto.
9545
9546 * gdb.server/ext-attach.exp: Ditto.
9547 * gdb.server/ext-run.exp: Ditto.
9548 * gdb.server/server-mon.exp: Ditto.
9549
9550 * gdb.threads/fork-thread-pending.exp: Ditto.
9551 * gdb.threads/hand-call-in-threads.exp: Ditto.
9552 * gdb.threads/interrupted-hand-call.exp: Ditto.
9553 * gdb.threads/linux-dp.exp: Ditto.
9554 * gdb.threads/manythreads.exp: Ditto.
9555 * gdb.threads/print-threads.exp: Ditto.
9556 * gdb.threads/pthreads.exp: Ditto.
9557 * gdb.threads/schedlock.exp: Ditto.
9558 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9559 * gdb.threads/threadapply.exp: Ditto.
9560
de7ff789
MS
95612010-06-08 Michael Snyder <msnyder@vmware.com>
9562
889bf7c5 9563 * gdb.ada/exec_changed.exp:
de7ff789
MS
9564 Use ".*" instead of "" as wildcard regexp.
9565
9566 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
9567 * gdb.base/call-ar-st.exp: Ditto.
9568 * gdb.base/checkpoint.exp: Ditto.
9569 * gdb.base/default.exp: Ditto.
9570 * gdb.base/dump.exp: Ditto.
9571 * gdb.base/ending-run.exp: Ditto.
9572 * gdb.base/fileio.exp: Ditto.
9573 * gdb.base/miscexprs.exp: Ditto.
9574 * gdb.base/pointers.exp: Ditto.
9575 * gdb.base/readline.exp: Ditto.
9576 * gdb.base/reread.exp: Ditto.
9577 * gdb.base/restore.exp: Ditto.
9578 * gdb.base/shlib-call.exp: Ditto.
9579 * gdb.base/valgrind-db-attach.exp: Ditto.
9580 * gdb.base/volatile.exp: Ditto.
9581 * gdb.base/watchpoints.exp: Ditto.
9582
9583 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
9584
9585 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
9586 * gdb.python/py-value.exp: Ditto.
9587
9588 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
9589 * gdb.trace/circ.exp: Ditto.
9590 * gdb.trace/collection.exp: Ditto.
9591 * gdb.trace/packetlen.exp: Ditto.
9592 * gdb.trace/passc-dyn.exp: Ditto.
9593 * gdb.trace/report.exp: Ditto.
9594 * gdb.trace/tfile.exp: Ditto.
9595 * gdb.trace/tfind.exp: Ditto.
9596 * gdb.trace/while-dyn.exp: Ditto.
9597
3bebe2f2
JK
95982010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9599
9600 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
9601
5c631832
JK
96022010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9603
9604 Test PR 10640.
9605 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
9606
4c3376c8
SW
96072010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
9608
9609 * gdb.cp/koenig.exp: Test for ADL operators.
9610 * gdb.cp/koenig.cc: Added ADL operators.
9611 * gdb.cp/operator.exp: New test.
9612 * gdb.cp/operator.cc: New test.
9613
dc226d5a
MS
96142010-06-04 Michael Snyder <msnyder@vmware.com>
9615
dfb88a23
MS
9616 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
9617 * gdb.base/pending.exp: Ditto.
f7ae76b3 9618
dc226d5a
MS
9619 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
9620
967cf477
DE
96212010-06-04 Doug Evans <dje@google.com>
9622
9623 * gdb.python/py-prettyprint.exp: Add new test for enabled and
9624 disabled printers.
9625 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
9626 (enable_lookup_function): New function.
9627
eb801841
TT
96282010-06-04 Tom Tromey <tromey@redhat.com>
9629
9630 * gdb.python/py-value.exp (test_value_hash): Don't test equality
9631 of hash and id.
9632
38979823
JK
96332010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9634
9635 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
9636 newline.
9637 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
9638 (empty verbose non-noisy clear, empty verbose noisy clear)
9639 (empty non-verbose noisy clear): Likewise.
9640
35ec993f
MS
96412010-06-03 Michael Snyder <msnyder@vmware.com>
9642
9643 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
9644 * gdb.base/display.exp: Ditto.
9645 * gdb.base/find.exp: Ditto.
9646 * gdb.base/ifelse.exp: Ditto.
9647 * gdb.base/multi-forks.exp: Ditto.
9648 * gdb.base/recurse.exp: Ditto.
9649 * gdb.base/setshow.exp: Ditto.
9650 * gdb.base/value-double-free.exp: Ditto.
9651 * gdb.base/watch-vfork.exp: Ditto.
9652 * gdb.base/watch_thread_num.exp: Ditto.
9653 * gdb.base/watchpoint-solib.exp: Ditto.
9654 * gdb.base/watchpoint.exp: Ditto.
9655 * gdb.base/watchpoints.exp: Ditto.
9656
9657 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
9658 * gdb.cp/overload.exp: Ditto.
9659 * gdb.cp/virtfunc.exp: Ditto.
9660
9661 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
9662
889bf7c5 9663 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
9664 Replace gdb_test with gdb_test_no_output.
9665
889bf7c5 9666 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
9667 Replace gdb_test with gdb_test_no_output.
9668 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9669 * gdb.threads/watchthreads.exp: Ditto.
9670 * gdb.threads/watchthreads2.exp: Ditto.
9671
9672 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
9673 * gdb.trace/tfind.exp: Ditto.
9674
c22decce
JB
96752010-06-03 Joel Brobecker <brobecker@adacore.com>
9676
9677 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
9678 successful test if message is the empty string.
9679
fd5700c7
JK
96802010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9681
9682 * gdb.fortran/module.exp (stopped language detection): New test.
9683
f55ee35c
JK
96842010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9685
9686 Support DW_TAG_module as separate namespaces.
9687 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
9688 gdb.fortran/library-module-lib.f90: New.
9689 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
9690 (print i): Remove.
9691 (continue to breakpoint: i-is-1, print var_i value 1)
9692 (continue to breakpoint: i-is-2, print var_i value 2)
9693 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
9694 (print var_d, print var_i value 14, ptype modmany, complete `modm)
9695 (complete `modmany, complete `modmany`, complete `modmany`var)
9696 (show language, setting breakpoint at module): New tests.
9697 * gdb.fortran/module.f90 (module mod): Remove.
9698 (module mod1, module mod2, module modmany, subroutine sub1)
9699 (subroutine sub2, program module): New.
9700
b8e8282f
JK
97012010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9702
9703 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
9704 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
9705 * gdb.cp/anon-union.exp (pass): Rename to ...
9706 (print z 2): ... here.
b8e8282f 9707
019ebafc
MS
97082010-06-02 Michael Snyder <msnyder@vmware.com>
9709
e68d8fd4
MS
9710 * gdb.trace/actions.exp: Use gdb_test_no_output.
9711 * gdb.trace/circ.exp: Ditto.
9712 * gdb.trace/packetlen.exp: Ditto.
9713 * gdb.trace/save-trace.exp: Ditto.
9714 * gdb.trace/tracecmd.exp: Ditto.
9715 * gdb.trace/tsv.exp: Ditto.
9716
12b5d08a
MS
9717 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
9718 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
9719 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9720 * gdb.threads/manythreads.exp: Ditto.
9721 * gdb.threads/print-threads.exp: Ditto.
9722 * gdb.threads/pthreads.exp: Ditto.
9723 * gdb.threads/schedlock.exp: Ditto.
9724 * gdb.threads/staticthreads.exp: Ditto.
9725 * gdb.threads/thread-specific.exp: Ditto.
9726 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9727 * gdb.threads/threadapply.exp: Ditto.
9728 * gdb.threads/watchthreads.exp: Ditto.
9729 * gdb.threads/watchthreads2.exp: Ditto.
9730
89493308
MS
9731 * gdb.python/py-block.exp: Use gdb_test_no_output.
9732 * gdb.python/py-prettyprint.exp: Ditto.
9733 * gdb.python/py-template.exp: Ditto.
9734 * gdb.python/py-value.exp: Ditto.
9735
9736 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
9737 * gdb.reverse/watch-reverse.exp: Ditto.
9738
9739 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
9740 * gdb.server/ext-run.exp: Ditto.
9741
019ebafc
MS
9742 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
9743 * gdb.dwarf2/dw2-compressed.exp: Ditto.
9744 * gdb.dwarf2/dw2-intercu.exp: Ditto.
9745 * gdb.dwarf2/dw2-intermix.exp: Ditto.
9746 * gdb.dwarf2/dw2-producer.exp: Ditto.
9747 * gdb.dwarf2/mac-fileno.exp: Ditto.
9748
9749 * gdb.gdb/observer.exp: Use gdb_test_no_output.
9750 * gdb.gdb/selftest.exp: Ditto.
9751
9752 * gdb.multi/base.exp: Use gdb_test_no_output.
9753
9754 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
9755
3e0ca3a5
JK
97562010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9757
9758 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
9759
9db70545
MS
97602010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
9761
a8d52276
MS
9762 * gdb.cp/class2.exp: Use gdb_test_no_output.
9763 * gdb.cp/classes.exp: Ditto.
9764 * gdb.cp/extern-c.exp: Ditto.
9765 * gdb.cp/inherit.exp: Ditto.
9766 * gdb.cp/maint.exp: Ditto.
9767 * gdb.cp/mb-inline.exp: Ditto.
9768 * gdb.cp/mb-templates.exp: Ditto.
9769 * gdb.cp/method2.exp: Ditto.
9770 * gdb.cp/misc.exp: Ditto.
9771 * gdb.cp/ovldbreak.exp: Ditto.
9772 * gdb.cp/punctuator.exp: Ditto.
9773 * gdb.cp/templates.exp: Ditto.
9774 * gdb.cp/virtbase.exp: Ditto.
9775
889bf7c5 9776 * gdb.threads/attach-stopped.exp:
9db70545 9777 Replace uses of send_gdb / gdb_expect.
889bf7c5 9778 * gdb.threads/attachstop-mt.exp:
9db70545 9779 Replace uses of send_gdb / gdb_expect.
889bf7c5 9780 * gdb.threads/gcore-thread.exp:
9db70545 9781 Replace uses of send_gdb / gdb_expect.
889bf7c5 9782 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
9783 Replace uses of send_gdb / gdb_expect.
9784 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 9785 * gdb.threads/print-threads.exp:
9db70545
MS
9786 Replace uses of send_gdb / gdb_expect.
9787 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
9788 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
9789 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
9790
9791 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
9792 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
9793 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
9794 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
9795 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
9796 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
9797 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
9798 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
9799 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
9800 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
9801 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
9802
359cc68c
JK
98032010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9804
9805 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
9806
7d3fe98e
SW
98072010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
9808
9809 * gdb.cp/koenig.exp: Added new test case.
9810 * gdb.cp/koenig.cc: Ditto.
9811
27d3a1a2
MS
98122010-06-01 Michael Snyder <msnyder@vmware.com>
9813
9814 * gdb.base/arithmet.exp: Use gdb_test_no_output.
9815 * gdb.base/arrayidx.exp: Ditto.
9816 * gdb.base/attach.exp: Ditto.
9817 * gdb.base/auxv.exp: Ditto.
9818 * gdb.base/bigcre.exp: Ditto.
9819 * gdb.base/break-always.exp: Ditto.
9820 * gdb.base/break-interp.exp: Ditto.
9821 * gdb.base/break.exp: Ditto.
9822 * gdb.base/breakpoint-shadow.exp: Ditto.
9823 * gdb.base/call-ar-st.exp: Ditto.
9824 * gdb.base/call-sc.exp: Ditto.
9825 * gdb.base/call-signal-resume.exp: Ditto.
9826 * gdb.base/callfuncs.exp: Ditto.
9827 * gdb.base/catch-syscall.exp: Ditto.
9828 * gdb.base/charset.exp: Ditto.
9829 * gdb.base/code-expr.exp: Ditto.
9830 * gdb.base/commands.exp: Ditto.
9831 * gdb.base/cond-expr.exp: Ditto.
9832 * gdb.base/condbreak.exp: Ditto.
9833 * gdb.base/cursal.exp: Ditto.
9834 * gdb.base/cvexpr.exp: Ditto.
9835 * gdb.base/default.exp: Ditto.
9836 * gdb.base/del.exp: Ditto.
9837 * gdb.base/detach.exp: Ditto.
9838 * gdb.base/display.exp: Ditto.
9839 * gdb.base/ena-dis-br.exp: Ditto.
9840 * gdb.base/eval-skip.exp: Ditto.
9841 * gdb.base/foll-fork.exp: Ditto.
9842 * gdb.base/foll-vfork.exp: Ditto.
9843 * gdb.base/frame-args.exp: Ditto.
9844 * gdb.base/funcargs.exp: Ditto.
9845 * gdb.base/gcore-buffer-overflow.exp: Ditto.
9846 * gdb.base/gdbvars.exp: Ditto.
9847 * gdb.base/help.exp: Ditto.
9848 * gdb.base/ifelse.exp: Ditto.
9849 * gdb.base/included.exp: Ditto.
9850 * gdb.base/list.exp: Ditto.
9851 * gdb.base/macscp.exp: Ditto.
9852 * gdb.base/maint.exp: Ditto.
9853 * gdb.base/multi-fork.exp: Ditto.
9854 * gdb.base/overlays.exp: Ditto.
9855 * gdb.base/page.exp: Ditto.
9856 * gdb.base/pending.exp: Ditto.
9857 * gdb.base/pointers.exp: Ditto.
9858 * gdb.base/pr11022.exp: Ditto.
9859 * gdb.base/prelink.exp: Ditto.
9860 * gdb.base/printcmds.exp: Ditto.
9861 * gdb.base/psymtab.exp: Ditto.
9862 * gdb.base/randomize.exp: Ditto.
9863 * gdb.base/relational.exp: Ditto.
9864 * gdb.base/relocate.exp: Ditto.
9865 * gdb.base/remote.exp: Ditto.
9866 * gdb.base/sepdebug.exp: Ditto.
9867 * gdb.base/set-lang-auto.exp: Ditto.
9868 * gdb.base/setshow.exp: Ditto.
9869 * gdb.base/setvar.exp: Ditto.
9870 * gdb.base/signals.exp: Ditto.
9871 * gdb.base/signull.exp: Ditto.
9872 * gdb.base/sigstep.exp: Ditto.
9873 * gdb.base/sizeof.exp: Ditto.
9874 * gdb.base/solib-disc.exp: Ditto.
9875 * gdb.base/store.exp: Ditto.
9876 * gdb.base/structs.exp: Ditto.
9877 * gdb.base/structs2.exp: Ditto.
9878 * gdb.base/subst.exp: Ditto.
9879 * gdb.base/term.exp: Ditto.
9880 * gdb.base/trace-commands.exp: Ditto.
9881 * gdb.base/unwindonsignal.exp: Ditto.
9882 * gdb.base/valgrind-db-attach.exp: Ditto.
9883 * gdb.base/varargs.exp: Ditto.
9884 * gdb.base/watch-cond.exp: Ditto.
9885 * gdb.base/watch_thread_num.exp: Ditto.
9886 * gdb.base/watchpoint-cond-gone.exp: Ditto.
9887 * gdb.base/watchpoint.exp: Ditto.
9888 * gdb.base/whatis-exp.exp: Ditto.
9889
f8d3bf8f
MS
98902010-06-01 Michael Snyder <msnyder@vmware.com>
9891
9892 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
9893 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
9894 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
9895 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
9896 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
9897 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
9898 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
9899 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
9900 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
9901 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
9902 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
9903 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
9904 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
9905 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
9906 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
9907
3f9e0d32
JK
99082010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9909
9910 * gdb.base/commands.exp (begin commands on watch): Remove excessive
9911 trailing newline.
9912 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
9913 * gdb.java/jmisc.exp (p *args\n): Rename to ...
9914 (p *args): ... here and remove excessive trailing newline.
9915
f629457d
JB
99162010-05-31 Joel Brobecker <brobecker@adacore.com>
9917
9918 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
9919
09eef106
JK
99202010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
9921
9922 Accept the new Linux kernel "t (tracing stop)" string.
9923 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
9924 Update comment.
9925 (state_wait) <T (tracing stop)>: New.
9926 (main): Update the state_wait expect string.
9927
94f31136
PA
99282010-05-28 Pedro Alves <pedro@codesourcery.com>
9929
9930 * limits.c, limits.exp: Delete files.
9931 * Makefile.in (clean mostlyclean): Adjust.
9932 * tracecmd.exp: Adjust.
9933
096554ab
JK
99342010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9935
9936 * gdb.base/tui-layout.exp: New.
9937
27d3a1a2 99382010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 9939
889bf7c5 9940 * gdb.reverse/break-precsave.exp:
bcd2dc50 9941 Replace uses of send_gdb / gdb_expect.
889bf7c5 9942 * gdb.reverse/break-reverse.exp:
bcd2dc50 9943 Replace uses of send_gdb / gdb_expect.
889bf7c5 9944 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 9945 Replace uses of send_gdb / gdb_expect.
889bf7c5 9946 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 9947 Replace uses of send_gdb / gdb_expect.
889bf7c5 9948 * gdb.reverse/finish-precsave.exp:
bcd2dc50 9949 Replace uses of send_gdb / gdb_expect.
889bf7c5 9950 * gdb.reverse/finish-reverse.exp:
bcd2dc50 9951 Replace uses of send_gdb / gdb_expect.
889bf7c5 9952 * gdb.reverse/i386-precsave.exp:
bcd2dc50 9953 Replace uses of send_gdb / gdb_expect.
889bf7c5 9954 * gdb.reverse/i386-reverse.exp:
bcd2dc50 9955 Replace uses of send_gdb / gdb_expect.
889bf7c5 9956 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 9957 Replace uses of send_gdb / gdb_expect.
889bf7c5 9958 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 9959 Replace uses of send_gdb / gdb_expect.
889bf7c5 9960 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 9961 Replace uses of send_gdb / gdb_expect.
889bf7c5 9962 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 9963 Replace uses of send_gdb / gdb_expect.
889bf7c5 9964 * gdb.reverse/machinestate.exp:
bcd2dc50 9965 Replace uses of send_gdb / gdb_expect.
889bf7c5 9966 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 9967 Replace uses of send_gdb / gdb_expect.
889bf7c5 9968 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 9969 Replace uses of send_gdb / gdb_expect.
889bf7c5 9970 * gdb.reverse/solib-precsave.exp:
bcd2dc50 9971 Replace uses of send_gdb / gdb_expect.
889bf7c5 9972 * gdb.reverse/solib-reverse.exp:
bcd2dc50 9973 Replace uses of send_gdb / gdb_expect.
889bf7c5 9974 * gdb.reverse/step-precsave.exp:
bcd2dc50 9975 Replace uses of send_gdb / gdb_expect.
889bf7c5 9976 * gdb.reverse/step-reverse.exp:
bcd2dc50 9977 Replace uses of send_gdb / gdb_expect.
889bf7c5 9978 * gdb.reverse/until-precsave.exp:
bcd2dc50 9979 Replace uses of send_gdb / gdb_expect.
889bf7c5 9980 * gdb.reverse/until-reverse.exp:
bcd2dc50 9981 Replace uses of send_gdb / gdb_expect.
889bf7c5 9982 * gdb.reverse/watch-precsave.exp:
bcd2dc50 9983 Replace uses of send_gdb / gdb_expect.
889bf7c5 9984 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
9985 Replace uses of send_gdb / gdb_expect.
9986
3def43e0
JK
99872010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9988
9989 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
9990 excessive newline.
9991
27d3a1a2 99922010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
9993
9994 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
9995 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
9996 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
9997 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
9998 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
9999 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
10000 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
10001 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
10002 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
10003 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
10004 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
10005 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
10006 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
10007 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
10008 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
10009 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
10010 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
10011 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
10012 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 10013
27d3a1a2 100142010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 10015
22454424
MS
10016 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
10017 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
10018
10019 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
10020 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
10021 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
10022
889bf7c5 10023 * gdb.reverse/consecutive-reverse.exp:
22454424 10024 Replace uses of send_gdb / gdb_expect.
889bf7c5 10025 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
10026 Replace uses of send_gdb / gdb_expect.
10027
10028 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
10029 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
10030 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 10031 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
10032 Replace uses of send_gdb / gdb_expect.
10033 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
10034 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
10035 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
10036 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
10037 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
10038 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
10039 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
10040 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
10041 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
10042
100432010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 10044
22454424 10045 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10046
22454424 10047 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10048
22454424
MS
10049 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
10050 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
10051 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
10052 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
10053 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
10054 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
10055 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
10056 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
10057 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10058
6e5f2c59
TT
100592010-05-25 Tom Tromey <tromey@redhat.com>
10060
10061 * gdb.base/macscp.exp: Add missing space after setup_kfail.
10062
bbc8b958
TT
100632010-05-25 Tom Tromey <tromey@redhat.com>
10064
10065 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
10066 argument order.
10067 * gdb.base/macscp.exp: Fix setup_kfail argument order.
10068 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
10069 order.
10070 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
10071 order.
10072 * gdb.base/call-sc.exp (setup_kfails): Remove.
10073 (setup_compiler_kfails): Remove.
10074 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
10075 argument order.
10076 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
10077 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
10078 (advancei): Fix setup_kfail argument order.
10079 * gdb.base/radix.exp: Fix setup_kfail argument order.
10080 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
10081 order.
10082 * gdb.base/structs.exp (setup_kfails): Remove.
10083 (setup_compiler_kfails): Fix setup_kfail argument order.
10084 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
10085 order.
10086 * gdb.java/jmain.exp: Fix setup_kfail argument order.
10087 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
10088 setup_kfail argument order.
10089 * gdb.cp/overload.exp: Fix setup_kfail argument order.
10090
83d1babf
TT
100912010-05-25 Tom Tromey <tromey@redhat.com>
10092
10093 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
10094
6acb16a2
MS
100952010-05-25 Michael Snyder <msnyder@vmware.com>
10096
10097 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
10098 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
10099 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
10100 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
10101 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
10102 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
10103 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
10104 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
10105 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
10106 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
10107 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
10108 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
10109 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
10110 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
10111 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
10112 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
10113 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
10114 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
10115 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
10116 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
10117 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
10118 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
10119 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
10120 * gdb.base/default.exp: Replace send_gdb with gdb_test.
10121 * gdb.base/define.exp: Replace send_gdb with gdb_test.
10122 * gdb.base/display.exp: Replace send_gdb with gdb_test.
10123 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
10124 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
10125 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
10126 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
10127 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
10128 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
10129 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
10130 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
10131 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
10132 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
10133 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
10134 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
10135 * gdb.base/help.exp: Replace send_gdb with gdb_test.
10136 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
10137 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
10138 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
10139 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
10140 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
10141 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
10142 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
10143 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 10144 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
10145
101462010-05-25 Doug Evans <dje@google.com>
10147
10148 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
10149 gdb.string_to_argv.
ad3986f0 10150
d3b1e874
TT
101512010-05-21 Tom Tromey <tromey@redhat.com>
10152
10153 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
10154 Call it.
10155 * gdb.dwarf2/pieces.S: Update.
10156 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
10157
cb826367
TT
101582010-05-21 Tom Tromey <tromey@redhat.com>
10159
10160 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
10161 Call it.
10162 * gdb.dwarf2/pieces.c (struct C): New.
10163 (f6): New function.
10164 * gdb.dwarf2/pieces.S: Replace.
10165
74de6778
TT
101662010-05-21 Tom Tromey <tromey@redhat.com>
10167
10168 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
10169 Call it.
10170
afd74c5f
TT
101712010-05-21 Tom Tromey <tromey@redhat.com>
10172
10173 * gdb.dwarf2.pieces.exp: New file.
10174 * gdb.dwarf2.pieces.S: New file.
10175 * gdb.dwarf2.pieces.c: New file.
10176
a7b75dfd 101772010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 10178 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
10179
10180 * lib/gdb.exp (gdb_test_no_output): New function.
10181 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
10182 when testing commands that should produce no output.
10183
c81c812a
JB
101842010-05-17 Joel Brobecker <brobecker@adacore.com>
10185
10186 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
10187 parameter that we want to watch being a constant.
10188
0cce5bd9
JB
101892010-05-17 Joel Brobecker <brobecker@adacore.com>
10190
10191 * gdb.ada/cond_lang: New testcase.
10192
47050449
JB
101932010-05-17 Joel Brobecker <brobecker@adacore.com>
10194
10195 * lib/gdb.exp (banned_variables): New variable/constant.
10196 (gdb_init): Add write trace on variables listed in banned_variables.
10197 (gdb_finish): Remove write traces on variables listed in
10198 banned_variables.
10199
77c01586
JB
102002010-05-17 Joel Brobecker <brobecker@adacore.com>
10201
10202 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
10203 * gdb.cp/koenig.exp: Likewise.
10204
88d4aea7
PM
102052010-05-14 Phil Muldoon <pmuldoon@redhat.com>
10206
889bf7c5 10207 PR python/11482
88d4aea7
PM
10208
10209 * gdb.python/py-value.exp (test_value_hash): New function.
10210
f5a010c0
PM
102112010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
10212
10213 PR exp/11530.
10214 * gdb.base/gdb11530.c: New file.
10215 * gdb.base/gdb11530.exp: New file.
10216
8ef4892f
JK
102172010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10218
10219 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
10220 * gdb.dwarf2/dw2-modula2-self-type.S: New.
10221
7322dca9
SW
102222010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
10223
10224 * gdb.cp/koenig.exp: New test.
10225 * gdb.cp/koenig.cc: New test program.
10226
02e7ea18
JB
102272010-05-05 Joel Brobecker <brobecker@adacore.com>
10228
10229 Remove the use of prms_id and bug_id throughout the testsuite.
10230
e1c34c5d
PM
102312010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
10232
10233 PR exp/11349.
10234 * testsuite/gdb.cp/ref-types.exp: Add test to examine
10235 use a reference local variable.
10236
8e1d0c49
JK
102372010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10238
10239 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
10240 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
10241 variable different_dir. Move debugfile into a full directory pathname
10242 under DIFFERENT_DIR.
10243 * lib/gdb.exp (separate_debug_filename): Remove.
10244 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
10245 variable debug_dir and mkdir of it. Update function comments.
10246
e66408ed
PA
102472010-04-29 Pedro Alves <pedro@codesourcery.com>
10248
10249 PR gdb/11557
10250
10251 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
10252 files.
10253
d7b32ed3
PM
102542010-04-29 Phil Muldoon <pmuldoon@redhat.com>
10255
889bf7c5 10256 * gdb.python/py-param.exp: New File.
d7b32ed3 10257
6aecb9c2
JB
102582010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
10259
10260 * gdb.base/default.exp: Fix "set language" test.
10261
bdf92a1c
PM
102622010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
10263
10264 PR breakpoints/11531.
10265 * gdb.base/gdb11531.c: New file.
10266 * gdb.base/gdb11531.exp: New file.
10267
3f172e24
TT
102682010-04-26 Tom Tromey <tromey@redhat.com>
10269
10270 * gdb.base/completion.exp: Add tests for completion and deprecated
10271 commands.
10272
64af4c92
JK
102732010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10274
10275 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
10276 (print /x char_array): Escape curly brackets.
10277
492928e4
JK
102782010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10279
10280 Fix deadlock on looped list of loaded shared objects.
10281 * gdb.base/solib-corrupted.exp: New.
10282
66d09542
DE
102832010-04-23 Doug Evans <dje@google.com>
10284
10285 * gdb.python/py-section-script.c: New file.
10286 * gdb.python/py-section-script.exp: New file.
10287 * gdb.python/py-section-script.py: New file.
10288
8bd10a10
CM
102892010-04-20 Chris Moller <cmoller@redhat.com>
10290
10291 PR 10179
10292
10293 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
10294 * gdb.base/pr10179-a.c:
10295 * gdb.base/pr10179-b.c:
10296 * gdb.base/pr10179.exp: New files.
10297
c0201579
JK
102982010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10299
10300 Fix crashes on dangling display expressions.
10301 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
10302 is SEP.
10303 (lib_flags): Remove the "debug" keyword.
10304 (libsepdebug): New variable for iterating new loop.
10305 (save_pf_prefix): New variable wrapping the loop.
10306 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
10307 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
10308
793b0ff8
PM
103092010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10310
10311 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
10312
097f51f7
PM
103132010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10314
10315 PR stabs/11479.
10316 * gdb.stabs/gdb11479.exp: New file.
10317 * gdb.stabs/gdb11479.c: New file.
10318
9a22f0d0
PM
103192010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10320
10321 * gdb.base/charset.c (Strin16, String32): New variables.
10322 * gdb.base/charset.exp (gdb_test): Test correct display
10323 of 16 or 32 bit strings.
10324
103252010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
10326
10327 PR 9167
10328 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
10329 * gdb.cp/pr9167.cc: New file.
10330 * gdb.cp/pr9167.exp: New file.
10331
10332
6e354e5e
PM
103332010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
10334
10335 PR pascal/11492.
10336 * gdb.pascal/gdb11492.pas: New file.
10337 * gdb.pascal/gdb11492.exp: New file.
10338
be942545
JB
103392010-04-20 Joel Brobecker <brobecker@adacore.com>
10340
1667e6e3 10341 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 10342
0c3acc09
JB
103432010-04-20 Joel Brobecker <brobecker@adacore.com>
10344
10345 * gdb.ada/dyn_loc: New testcase.
10346
ec31cde5
CM
103472010-04-20 Chris Moller <cmoller@redhat.com>
10348
10349 PR 10867
889bf7c5 10350
ec31cde5
CM
10351 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
10352 * gdb.cp/pr10687.cc: New file.
10353 * gdb.cp/pr10687.exp: New file.
10354
10355
ce4b0682
SDJ
103562010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10357 Sergio Durigan Junior <sergiodj@redhat.com>
10358
10359 * gdb.fortran/logical.exp: New testcase.
10360 * gdb.fortran/logical.f90: New file.
10361
3436961f
DE
103622010-04-19 Doug Evans <dje@google.com>
10363
10364 * gdb.base/help.exp (help source): Update expected output.
10365
4d836c09
JK
103662010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10367
10368 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
10369 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
10370 gdb_exit and return.
10371 (executable): New variable.
10372 (binfile): Use it.
10373
6149aea9
PA
103742010-04-19 Pedro Alves <pedro@codesourcery.com>
10375
10376 PR breakpoints/8554.
10377
10378 * gdb.trace/save-trace.exp: Adjust.
10379
ed41462c
L
103802010-04-17 H.J. Lu <hongjiu.lu@intel.com>
10381
10382 PR corefiles/11511
10383 * gdb.arch/system-gcore.exp: New.
10384 * gdb.arch/gcore.c: Likewise.
10385
3f7b2faa
DE
103862010-04-15 Doug Evans <dje@google.com>
10387
fa33c3cd
DE
10388 * gdb.python/py-progspace.c: New file.
10389 * gdb.python/py-progspace.exp: New file.
10390
3f7b2faa
DE
10391 * gdb.base/source.exp: Add tests for "source -s".
10392
79f283fe
PM
103932010-04-14 Phil Muldoon <pmuldoon@redhat.com>
10394
10395 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
10396 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
10397 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
10398 * gdb.python/py-mi.exp: New test for to_string returning None.
10399
fc8eb08a
PM
104002010-04-12 Phil Muldoon <pmuldoon@redhat.com>
10401
10402 * gdb.python/py-breakpoint.c: Make result global.
10403
26e197f6
JK
104042010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10405
10406 Fix non-GNU make compatibility.
10407 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
10408
adc36818
PM
104092010-04-09 Phil Muldoon <pmuldoon@redhat.com>
10410
10411 * gdb.python/py-breakpoint.exp: New File.
10412 * gdb.python/py-breakpoint.C: Ditto.
10413
64e17368
SS
104142010-04-08 Stan Shebs <stan@codesourcery.com>
10415
10416 * gdb.trace/actions.exp: Clear default-collect.
10417 * gdb.trace/save-trace.exp: Clear default-collect.
10418
fff5cc64
PM
104192010-04-08 Phil Muldoon <pmuldoon@redhat.com>
10420
10421 * gdb.python/py-value: Add null string variable.
10422 (test_lazy_string): Test zero length, NULL address lazy
10423 strings.
10424
a055a187
L
104252010-04-07 H.J. Lu <hongjiu.lu@intel.com>
10426
10427 * gdb.arch/i386-avx.c: New.
10428 * gdb.arch/i386-avx.exp: Likewise.
10429
10430 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
10431
96e39866
DE
104322010-04-06 Doug Evans <dje@google.com>
10433
10434 * gdb.base/source-test.gdb: New file.
10435 * gdb.base/source.exp: Test source -v.
10436
5984a431
UW
104372010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10438
10439 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
10440
ec8a089a
PM
104412010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
10442
10443 * gdb.stabs/aout.sed: Convert all backslash to double backslash
10444 within one line, unless it is followed by a double quote.
10445 * gdb.stabs/hppa.sed: Idem.
10446 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
10447 * gdb.stabs/weird.exp: Check for correct parsing of
10448 char and string constants.
ec8a089a
PM
10449 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
10450 in .stabs to .stabx substitution.
10451
fce3c1f0
SS
104522010-04-05 Stan Shebs <stan@codesourcery.com>
10453
10454 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
10455 constant global.
10456 * gdb.trace/tfile.exp: Try to print them.
10457
d77f58be
SS
104582010-04-04 Stan Shebs <stan@codesourcery.com>
10459
10460 * gdb.base/completion.exp: Update for new "info watchpoints".
10461 * gdb.base/default.exp: Ditto.
10462 * gdb.base/help.exp: Ditto.
10463 * gdb.base/watchpoint.exp: Ditto.
10464 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 10465
af54718e
SS
104662010-04-04 Stan Shebs <stan@codesourcery.com>
10467
10468 * gdb.trace/tfile.exp: Sharpen tfind test.
10469
74d1f91e
JK
104702010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10471
10472 * gdb.base/break-entry.exp: New.
10473
eb8e76db 104742010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 10475 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
10476
10477 * gdb.reverse/i386-sse-reverse.exp: New file.
10478 * gdb.reverse/i386-sse-reverse.c: New file.
10479
bf65cad8
PA
104802010-04-02 Pedro Alves <pedro@codesourcery.com>
10481
10482 * gdb.trace/tfind.exp: Adjust expected disassembly output.
10483
fff87407
SS
104842010-04-01 Stan Shebs <stan@codesourcery.com>
10485
10486 * gdb.trace/actions.exp: Tweak expected output.
10487 * gdb.trace/while-stepping.exp: Tweak expected output.
10488
fe01d668
L
104892010-04-01 H.J. Lu <hongjiu.lu@intel.com>
10490
10491 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
10492
86b17b60
PA
104932010-04-01 Pedro Alves <pedro@codesourcery.com>
10494
10495 * gdb.base/commands.exp: Adjust.
10496 * gdb.cp/extern-c.exp: Adjust.
10497
2c58c0a9
PA
104982010-04-01 Pedro Alves <pedro@codesourcery.com>
10499
10500 * gdb.trace/collection.c (local_test_func): Define a local struct,
10501 and instanciate it.
10502
0db9b91c
PA
105032010-04-01 Pedro Alves <pedro@codesourcery.com>
10504
10505 * gdb.trace/collection.exp (gdb_collect_args_test)
10506 (gdb_collect_argarray_test): XFAIL the tests that assume the
10507 argarray argument's elements are collected.
10508
8072405b
JK
105092010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
10510
10511 * gdb.dwarf2/dw2-bad-parameter-type.exp,
10512 gdb.dwarf2/dw2-bad-parameter-type.S: New.
10513
8bf6485c
SS
105142010-03-31 Stan Shebs <stan@codesourcery.com>
10515
10516 * gdb.trace/save-trace.exp: Test save/restore of default-collect
10517 and tracepoint conditionals.
10518 (gdb_verify_tracepoints): Delete unused return.
10519
fd7f724a
KS
105202010-03-26 Keith Seitz <keiths@redhat.com>
10521
10522 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
10523 appear in the output before main.
10524 Remove KFAIL for gdb/2215 aka bz 9320.
10525
8d9e7719
DE
105262010-03-30 Doug Evans <dje@google.com>
10527
0906dd0b
DE
10528 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
10529 by dejagnu.
10530 * gdb.arch/amd64-dword.exp: Ditto.
10531
8d9e7719
DE
10532 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
10533 match.
10534 (break printf): Ditto.
10535
1da644f0
SW
105362010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
10537
10538 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
10539 gcc < 4.4.
10540 * gdb.cp/shadow.exp: Ditto.
10541
a8121990
PA
105422010-03-29 Pedro Alves <pedro@codesourcery.com>
10543
10544 * gdb.trace/collection.exp (run_trace_experiment): Make sure
10545 "tstart" is silent.
10546
6e79d367
PA
105472010-03-29 Pedro Alves <pedro@codesourcery.com>
10548
10549 * gdb.trace/collection.exp (executable): New.
10550 (binfile): Use it.
10551 (fpreg, spreg, pcreg): New.
10552 (test_register): Use gdb_test_multiple. Pass /x to print.
10553 (prepare_for_trace_test): New.
10554 (run_trace_experiment): Use "continue", not gdb_run_cmd.
10555 (gdb_collect_args_test, gdb_collect_argstruct_test)
10556 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
10557 prepare_for_trace_test.
10558 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
10559 fpreg, spreg and pcreg.
10560 (gdb_collect_expression_test, gdb_collect_globals_test): Use
10561 prepare_for_trace_test.
10562 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
10563 try to detect tracing support here. Don't set breakpoints at
10564 `begin' or `end' here.
10565 <global scope>: Use clean_restart. Run to main before checking
10566 for tracing support. Check for for tracing support here.
10567
09248348
JK
105682010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10569
10570 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
10571 " as $displacement" to "seen displacement message".
10572
d350db38
PA
105732010-03-28 Pedro Alves <pedro@codesourcery.com>
10574
10575 * gdb.trace/while-dyn.exp (executable): New variable.
10576 (binfile): Use it.
10577 (test_while_stepping): New function. Move most tests here. Call
10578 it once for each of the while-stepping, stepping and ws aliases.
10579
907af001
UW
105802010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10581
10582 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
10583 that do not provide the tagless_struct type name at all.
10584 (test_print_anon_union): Do not check value of uninitialized
10585 union member. Do not use cp_test_ptype_class, so we can accept
10586 "long" as well as "long int".
10587
610197fd
PA
105882010-03-26 Pedro Alves <pedro@codesourcery.com>
10589
10590 * gdb.trace/tfile.c (tohex, bin2hex): New.
10591 (write_error_trace_file): Hexify error description.
10592
6c28cbf2
SS
105932010-03-25 Stan Shebs <stan@codesourcery.com>
10594
10595 * gdb.trace/tfile.c: Generate an additional trace file, improve
10596 portability.
10597 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
10598 files in a better way.
10599
e62b8c7e
KS
106002010-03-25 Keith Seitz <keiths@redhat.com>
10601
10602 * gdb.java/jprint.exp: XFAIL printing of static class members
10603 because of GCC debuginfo problem.
10604
82ccf5a5
JK
106052010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10606
10607 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
10608
293e2f9e
DJ
106092010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10610
10611 * gdb.base/completion.exp: Allow long instead of long int.
10612 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
10613 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
10614 variable p.
10615 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
10616 * gdb.base/pointers.exp: Allow long instead of long int.
10617 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
10618 * gdb.base/step-line.exp: Allow a directory before the source file name.
10619
95a42b64
TT
106202010-03-24 Tom Tromey <tromey@redhat.com>
10621
10622 PR breakpoints/9352:
10623 * gdb.base/default.exp: Update.
10624 * gdb.base/commands.exp: Update.
10625 * gdb.cp/extern-c.exp: Test setting commands on multiple
10626 breakpoints at once.
10627
2390201f
DJ
106282010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10629
10630 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
10631 if gdb,nosignals.
10632 * gdb.base/watchpoints.c: Do not include unnecessary headers.
10633 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
10634 exited".
10635
8c9a6790
SS
106362010-03-24 Stan Shebs <stan@codesourcery.com>
10637
10638 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
10639
a6c727b2
DJ
106402010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10641
10642 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
10643 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
10644 argument. Handle "short" and "long".
10645 (Top level): Pass overprototyped output for old_fptr and xptr.
10646
4dfd5423
PA
106472010-03-23 Pedro Alves <pedro@codesourcery.com>
10648
10649 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
10650 format strings and add casts to avoid compiler warnings.
10651
106522010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
10653
10654 * lib/trace-support.exp (gdb_trace_setactions):
10655 Don't expect whitespace after ">" prompt.
10656 * gdb.trace/actions.exp: Adjust for output changes.
10657 * gdb.trace/while-stepping.exp: Likewise.
10658
c847d045
JK
106592010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10660
10661 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
10662 and r157645).
10663
5f717f1d
JK
106642010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10665
10666 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
10667 New.
10668
7d6d51d5
DJ
106692010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
10670
10671 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
10672 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
10673
3b11a015
SS
106742010-03-19 Stan Shebs <stan@codesourcery.com>
10675
10676 * gdb.trace/ax.exp: New file.
10677
d7d158ed
DE
106782010-03-19 Doug Evans <dje@google.com>
10679
6bb85cd1
DE
10680 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
10681 output from gcc.
10682
d7d158ed
DE
10683 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
10684 named /usr/sbin/prelink<foo>.
10685
4daf5ac0
SS
106862010-03-18 Stan Shebs <stan@codesourcery.com>
10687
10688 * gdb.trace/circ.exp: Test circular-trace-buffer.
10689 * gdb.trace/tfile.exp: Update tstatus test.
10690
e8d05480
JB
106912010-03-18 Joel Brobecker <brobecker@adacore.com>
10692
10693 * gdb.dwarf2/dw2-anonymous-func.S: New file.
10694 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
10695
441b986a
UW
106962010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10697
10698 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
10699
4247603b
PA
107002010-03-18 Pedro Alves <pedro@codesourcery.com>
10701
10702 * gdb.base/default.exp: Adjust the expected output of the finish
10703 and until commands when the inferior is not being run.
10704
13387711
SW
107052010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
10706
10707 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
10708 * gdb.cp/nsusing.exp: Ditto.
10709
6e31430b
TT
107102010-03-15 Tom Tromey <tromey@redhat.com>
10711
10712 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
10713 * gdb.cp/userdef.cc (operator==): New function.
10714 (main): New locals mem1, mem2.
10715
e2d69cb5
JZ
107162010-03-15 Jie Zhang <jie@codesourcery.com>
10717
10718 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
10719 Declare and use new loadtimeout variable.
10720
f572f0a9
DJ
107212010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
10722
10723 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
10724 Use gdb_load later.
10725
51f4c0b0
PA
107262010-03-14 Pedro Alves <pedro@codesourcery.com>
10727
10728 * gdb.base/solib-disc.c (main): Make format of fprintf a string
10729 literal. Add missing endlines to prints to stderr.
10730
1c809c68
TT
107312010-03-12 Tom Tromey <tromey@redhat.com>
10732
10733 PR c++/9708:
10734 * gdb.cp/m-static.exp: Add regression test.
10735 * gdb.cp/m-static.cc (method): New method.
10736 (main): Call it.
10737
00ae8fef
SW
107382010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
10739
10740 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
10741 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
10742
759f0f0b
PA
107432010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10744
21e24d21
PA
10745 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
10746
107472010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10748
759f0f0b
PA
10749 * lib/gdb.exp (skip_stl_tests): New.
10750 (gdb_compile): Symbian needs -ldl.
10751 (shlib_target_file): New.
10752 (shlib_symbol_file): New.
10753 (gdb_load_shlibs): Use shlib_target_file.
10754 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
10755 * gdb.cp/exception.exp: Use skip_stl_tests.
10756 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
10757 * gdb.cp/try_catch.exp: Use skip_stl_tests.
10758 * gdb.cp/mb-templates.exp: Ditto.
10759 * gdb.base/commands.exp: Relax regexes.
10760 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
10761 shlib_target_file and shlib_symbol_file.
10762 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
10763 sections.
10764 * gdb.base/ending-run.exp: Accept E32Main for symbian.
10765 * gdb.base/solib-disc.exp: Use
10766 shlib_target_file and shlib_symbol_file.
10767 * gdb.base/unload.exp: Don't skip on symbian. Use
10768 shlib_target_file and shlib_symbol_file.
10769 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
10770
6a8f2671 107712010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 10772
6a8f2671
PA
10773 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
10774 * gdb.trace/report.exp: Adjust for x86 and x86_64.
10775 Issue a tfind end before looking for a tracepoint frame.
10776 * gdb.trace/tfind.exp: Adjust tstatus output.
10777 Adjust disassembly output.
10778 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
10779
ccf26247
JK
107802010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10781
10782 * gdb.base/break-interp.exp: Create new displacement parameter value
10783 for the test_ld calls.
10784 (reach): New parameter displacement, verify its content. New push of
10785 pf_prefix "reach-$func:". Import global expect_out.
10786 (test_core): New parameter displacement, verify its content. New push
10787 of pf_prefix "core:". New command "set verbose on". Import global
10788 expect_out.
10789 (test_attach): New parameter displacement, verify its content. New
10790 push of pf_prefix "attach:". New command "set verbose on". Import
10791 global expect_out.
10792 (test_ld): New parameter displacement, pass it to the reach, test_core
10793 and test_attach calls and verify its content in the "ld.so exit" test.
10794 * gdb.base/prelink.exp: Remove gdb_exit and final return.
10795 (prelink): Update expected text, use gdb_test.
10796
e469c7fb
DE
107972010-03-10 Doug Evans <dje@google.com>
10798
10799 * gdb.base/checkpoint.exp: Fix comment.
10800 Lengthen timeout while doing >600 checkpoints test.
10801 Rename duplicate "kill all one" test to keep test names unique.
10802
60e1c644
PA
108032010-03-10 Pedro Alves <pedro@codesourcery.com>
10804
10805 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
10806
cec808ec
KS
108072010-03-08 Keith Seitz <keiths@redhat.com>
10808
889bf7c5
PA
10809 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
10810 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
10811 (dm_type_long): New function.
10812 (dm_type_unsigned_short): New function.
10813 (dm_type_unsigned_long): New function.
10814 (myint): New typedef.
10815 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
10816 long, unsigned shor and long, operator char*, and typedef.
10817 (test_lookup_operator_functions): Add operator char* test.
10818 (test_paddr_operator_functions): Likewise.
10819 (test_paddr_overloaded_functions): Use probe values for
10820 short, long, and unsigned short and long.
10821 (test_paddr_hairy_functions): If the demangler probe detected
10822 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
10823 demangler.
10824 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
10825 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
10826 and "print null_pmf".
10827 Add test "ptype a.*pmf".
10828 * gdb.cp/overload.exp: Allow optional "int" to appear with
10829 "short" and "long".
10830 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
10831 long expect value for men_overload1arg.
10832 Allow "int" to appear with "short" and "long".
10833 When testing "info break", add argument for main (void).
10834 Also allow "int" to appear with "short" and "long".
10835 Ditto with "unsigned" and "long long".
cec808ec
KS
10836 * gdb.java/jmain.exp: Do not enclose methods names in single
10837 quotes.
10838 * gdb.java/jmisc.exp: Likewise.
10839 * gdb.java/jprint.exp: Likewise.
10840 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
10841
10842 From Jan Kratochvil <jan.kratochvil@redhat.com>:
10843 * gdb.cp/exception.exp (backtrace after first throw)
10844 (backtrace after second throw): Allow a namespace before __cxa_throw.
10845 (backtrace after first catch, backtrace after second catch): Allow
10846 a namespace before __cxa_begin_catch.
10847
10848 * gdb.cp/cpexprs.exp: New file.
10849 * gdb.cp/cpexprs.cc: New file.
10850
10851 From Daniel Jacobowitz <dan@codesourcery.com>
10852 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
10853 to use string_to_regexp.
10854 (ctor, dtor): New functions. Use them to match constructor
10855 and destructor function types.
10856 (Top level): Use runto_main.
10857
f870a310
TT
108582010-03-05 Tom Tromey <tromey@redhat.com>
10859
10860 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
10861 gdb.target_charset.
10862 (pp_ns.to_string): Likewise.
10863
0c199f28
KS
108642010-03-04 Keith Seitz <keiths@redhat.com>
10865
10866 * gdb.cp/overload.exp: Test that the filename portion of a linespec
10867 can be quoted. Test that both the filename and function/line
10868 portions can be quoted at the same time.
10869
c7437ca6
PA
108702010-03-04 Pedro Alves <pedro@codesourcery.com>
10871
10872 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
10873
b111b805
DE
108742010-03-03 Doug Evans <dje@google.com>
10875
24486cb7
DE
10876 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
10877 libc contains libpthread.
10878
b111b805
DE
10879 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
10880 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
10881 of gdb_compile. Add another pattern to match android backtrace.
10882
a0e0ef55
TT
108832010-03-03 Tom Tromey <tromey@redhat.com>
10884
10885 PR gdb/11345:
10886 * gdb.base/printcmds.exp (test_printf): Add test.
10887
1ba53b71
L
108882010-03-02 H.J. Lu <hongjiu.lu@intel.com>
10889
10890 * gdb.arch/amd64-byte.exp: New.
10891 * gdb.arch/amd64-dword.exp: Likewise.
10892 * gdb.arch/amd64-pseudo.c: Likewise.
10893 * gdb.arch/amd64-word.exp: Likewise.
10894 * gdb.arch/i386-byte.exp: Likewise.
10895 * gdb.arch/i386-pseudo.c: Likewise.
10896 * gdb.arch/i386-word.exp: Likewise.
10897
f5dff777
DJ
108982010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10899
10900 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
10901 types. Add structreg, bitfields, and flags registers.
10902 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
10903 registers.
10904
90884b2b
L
109052010-03-01 H.J. Lu <hongjiu.lu@intel.com>
10906
10907 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
10908 (load_description): Set architecture if defined.
10909
dc00d89f
PM
109102010-02-28 Phil Muldoon <pmuldoon@redhat.com>
10911
10912 * gdb.python/py-frame.exp: Add read_var block tests.
10913 * gdb.python/py-frame.c (block): New function.
10914
0e095b7e
JK
109152010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10916 Daniel Jacobowitz <dan@codesourcery.com>
10917
10918 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
10919
624f1a65
DM
109202010-02-25 David S. Miller <davem@davemloft.net>
10921
10922 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
10923 fix logic for setting all_syscalls_numbers.
10924
f3e9a817
PM
109252010-02-24 Phil Muldoon <pmuldoon@redhat.com>
10926
10927 * Makefile.in: Add py-block and py-symbol.
10928 * gdb.python/py-symbol.exp: New File.
10929 * gdb.python/py-symtab.exp: New File.
10930 * gdb.python/py-block.exp: New File.
10931 * gdb.python/py-symbol.c: New File.
10932 * gdb.python/py-block.c: New File.
10933
f6bbabf0
PM
109342010-02-24 Phil Muldoon <pmuldoon@redhat.com>
10935
10936 PR python/11314
10937 * lib/gdb.exp (skip_python_tests): New function.
10938 * gdb.python/py-cmd.exp: Use skip_python_tests.
10939 * gdb.python/py-frame.exp: Likewise.
10940 * gdb.python/py-function.exp: Likewise.
10941 * gdb.python/py-prettyprint.exp: Likewise.
10942 * gdb.python/py-template.exp: Likewise.
10943 * gdb.python/py-type.exp: Likewise.
10944 * gdb.python/py-value.exp: Likewise.
10945
85d721b8
PA
109462010-02-22 Pedro Alves <pedro@codesourcery.com>
10947
10948 PR9605
10949
10950 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
10951
48e32051
TT
109522010-02-19 Tom Tromey <tromey@redhat.com>
10953
10954 PR c++/8693, PR c++/9496:
10955 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
10956 regression tests.
10957
ac9c0048
JK
109582010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10959
10960 Fix compatibility with m68k as.
10961 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
10962 Use only /* comments */.
10963
57bb97a4
UW
109642010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10965
10966 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
10967 * configure: Regenerate.
10968
7d1bf85c
DJ
109692010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
10970
10971 * gdb.python/py-type.exp: Check for Python support.
10972
061b5285
PA
109732010-02-17 Pedro Alves <pedro@codesourcery.com>
10974
10975 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
10976 `regsub' syntax available.
10977
f8a8bc2c
PA
109782010-02-17 Pedro Alves <pedro@codesourcery.com>
10979
10980 * gdb.base/shmain.c (main): Remove printf call.
10981 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
10982 * gdb.base/unload.c (main): Make format of fprintf a string
10983 literal. Add missing endlines to prints to stderr.
10984 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
10985
6f451e5e
TT
109862010-02-17 Tom Tromey <tromey@redhat.com>
10987
10988 * gdb.java/jprint.java (jprint.props): New field.
10989 * gdb.java/jprint.exp (set_lang_java): Add regression test.
10990
12d79008
PA
109912010-02-17 Pedro Alves <pedro@codesourcery.com>
10992
ef801a0e 10993 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
10994 available.
10995
d252f7e5
DJ
109962010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10997
10998 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
10999 creation to support remote host testing.
11000
67bdab6c
DJ
110012010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11002
11003 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
11004 Recognize "command not found".
11005
bb391223
DJ
110062010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11007
11008 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
11009 single-stepping.
11010
70362913
DJ
110112010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11012
11013 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
11014 if arguments are not supported.
11015
493f3c00
DJ
110162010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11017
11018 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
11019 be const or non-const.
11020
8034c749
DJ
110212010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11022
11023 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
11024 mi_send_resuming_command to send -exec-continue.
11025
791dfb64
DJ
110262010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11027
11028 * gdb.base/list.exp (test_list_filename_and_function): Add test
11029 with single quotes.
11030 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
11031 matching.
11032 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
11033 Add KFAIL'd tests for PR gdb/11289.
11034
7c5fe868
DJ
110352010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11036
11037 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
11038
fdc498b8
DJ
110392010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11040
11041 * gdb.base/comp-dir/subdir/dummy.txt: New file.
11042 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
11043 a temporary directory.
11044
b519e2a6
DJ
110452010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11046
11047 * gdb.base/charset.exp: Use a single regular expression to match
11048 show host-charset and show target-charset output.
11049
74164c56
JK
110502010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11051
11052 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
11053 "Illegal process-id" expect string more exact.
11054 (attach to digits-starting nonsense is prohibited): New.
11055
701ed6dc
JK
110562010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11057
11058 * gdb.base/prelink.exp (set verbose on): New.
11059
889bf7c5 110602010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
11061
11062 * mi-reverse.exp: New file. Test for reverse option to the
11063 following MI commands: exec-continue, exec-finish, exec-next,
11064 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 11065
dadf0e9c
JB
110662010-02-09 Joel Brobecker <brobecker@adacore.com>
11067
11068 * gdb.ada/ptype_tagged_param: New testcase.
11069
714f19d5
TT
110702010-02-08 Tom Tromey <tromey@redhat.com>
11071
11072 PR c++/8017:
11073 * gdb.cp/overload.exp: Add tests.
11074 * gdb.cp/overload.cc (struct K): New.
11075 (namespace N): New.
11076 (main): Call new functions.
11077 (K::staticoverload): Define.
11078
889bf7c5 110792010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
11080
11081 PR gdb/10728
11082 * gdb.cp/pr10728-x.h: New file.
11083 * gdb.cp/pr10728-x.cc: New file.
11084 * gdb.cp/pr10728-y.cc: New file.
11085 * gdb.cp/pr10728.exp: New file.
11086 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
11087
889bf7c5 110882010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
11089
11090 PR gdb/9067
11091 * gdb.cp/pr9067.exp: New
11092 * gdb.cp/pr9067.cc: New
11093 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
11094
7b356089
JB
110952010-02-08 Joel Brobecker <brobecker@adacore.com>
11096
11097 * lib/gdb.exp (gdb_test_timeout): New global variable.
11098 Set it to timeout if not already set.
11099 (gdb_init): Reset the value of timeout to gdb_test_timeout.
11100
1be00882
DE
111012010-02-05 Doug Evans <dje@google.com>
11102
11103 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
11104 user.
11105
82856980
SW
111062010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
11107
11108 PR c++/7935:
11109 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
11110
1a334831
TT
111112010-02-04 Tom Tromey <tromey@redhat.com>
11112
11113 * gdb.cp/virtbase.exp: Make test case names unique.
11114
9c3c02fd
TT
111152010-02-02 Tom Tromey <tromey@redhat.com>
11116
11117 * gdb.cp/virtbase.exp: Add regression tests.
11118 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
11119 (main): Instantiate RHC.
11120
0cc2414c
TT
111212010-02-02 Tom Tromey <tromey@redhat.com>
11122
11123 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
11124 type-printing change.
11125
edf3d5f3
TT
111262010-02-02 Tom Tromey <tromey@redhat.com>
11127
11128 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
11129 * gdb.cp/virtbase.cc: New file.
11130 * gdb.cp/virtbase.exp: New file.
11131 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
11132
e4b7f41c
JK
111332010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11134
11135 PR libc/11214:
11136 * gdb.threads/current-lwp-dead.c: Include features.h.
11137 (HAS_NOMMU): New.
11138 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
11139
b381ea14
JK
111402010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11141
11142 * gdb.base/symbol-without-target_section.exp,
11143 gdb.base/symbol-without-target_section.c: New.
11144
c593ac0e
DJ
111452010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11146
11147 * gdb.base/bigcore.exp: Reset increased timeout.
11148 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
11149
db25f29d
DJ
111502010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11151
11152 * gdb.base/gcore.exp (capture_command_output): Use
11153 gdb_test_multiple.
11154
f9d67f43
DJ
111552010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11156
11157 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
11158 * gdb.arch/thumb2-it.exp (test_it_break): New function.
11159 (Top level): Call it.
11160
177321bd
DJ
111612010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11162
11163 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
11164
97f2ed50
DJ
111652010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11166
11167 * gdb.base/call-strs.exp, gdb.base/default.exp,
11168 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
11169 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
11170 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
11171 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
11172 gdb.base/watchpoint-solib.exp: Save and restore timeout.
11173 * gdb.base/ending-run.exp: Correct restore of timeout.
11174 * gdb.base/page.exp: Remove unnecessary timeout setting.
11175
e4e2711a
JB
111762010-01-29 Joel Brobecker <brobecker@adacore.com>
11177
11178 * gdb.ada/rec_return: New testcase.
11179
ba581dc1
JB
111802010-01-29 Joel Brobecker <brobecker@adacore.com>
11181
11182 * gdb.ada/call_pn: New testcase.
11183
4ea95be9
DJ
111842010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11185
11186 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
11187 (Top level): Use it to resume.
11188 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
11189 the Thumb mode displaced stepping error as unsupported.
11190
df83a9bf
SW
111912010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
11192
889bf7c5
PA
11193 * gdb.cp/nsusing.exp: Added more tests.
11194 * gdb.cp/nsrecurs.exp: Ditto.
11195 * gdb.cp/nsusing.cc: Added test functions.
11196 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 11197
40b27cdc
JK
111982010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11199
11200 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
11201 absolute directory pathnames in gdb.sum file.
11202
de958931
SW
112032010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
11204
11205 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
11206 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
11207
708ead4e
TT
112082010-01-26 Tom Tromey <tromey@redhat.com>
11209
11210 PR exp/7643:
11211 * gdb.base/printcmds.exp (test_print_string_constants): Remove
11212 setup_kfail.
11213
b14e635e
SW
112142010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
11215
11216 * gdb.cp/nsrecurs.exp: New test.
11217 * gdb.cp/nsrecurs.cc: New test program.
11218 * gdb.cp/nsstress.exp: New test.
11219 * gdb.cp/nsstress.cc: New test program.
11220 * gdb.cp/nsdecl.exp: New test.
11221 * gdb.cp/nsdecl.cc: New test program.
11222
8540c487
SW
112232010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
11224
11225 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
11226 imported into file scope.
11227 Marked test as xfail.
11228 * gdb.cp/namespace-using.cc (marker5): New function.
11229 * gdb.cp/shadow.exp: New test.
11230 * gdb.cp/shadow.cc: New test program.
11231 * gdb.cp/nsimport.exp: New test.
11232 * gdb.cp/nsimport.cc: New test program.
11233
421d5d99
TT
112342010-01-25 Tom Tromey <tromey@redhat.com>
11235
11236 PR gdb/11049:
11237 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
11238 with "set print null-stop on".
11239
691f8dc1
JK
112402010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11241
11242 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
11243 Adjust it for DISASSEMBLY_OMIT_FNAME.
11244
0b92b5bb
TT
112452010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11246
11247 PR symtab/11199:
11248 * gdb.dwarf2/member-ptr-forwardref.exp,
11249 gdb.dwarf2/member-ptr-forwardref.S: New.
11250
23787403
JK
112512010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11252
11253 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
11254 (thread1_func): Protect thread1_tid with thread1_tid_cond by
11255 thread1_tid_mutex. Remove gdbstop_mutex handling.
11256 (thread2_func): Protect thread2_tid with thread2_tid_cond by
11257 thread2_tid_mutex. Remove gdbstop_mutex handling.
11258 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
11259 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
11260 pthread_cond_wait conditionalizations by while loops.
11261
b966cb8a
TT
112622010-01-20 Tom Tromey <tromey@redhat.com>
11263
11264 PR backtrace/10770:
11265 * gdb.dwarf2/pr10770.exp: New file.
11266 * gdb.dwarf2/pr10770.c: New file.
11267 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
11268
fcae584b
VP
112692010-01-20 Vladimir Prus <vladimir@codesourcery.com>
11270
11271 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
11272 that target was removed, and the test always runs native anyway.
11273
a0f49112
JK
112742010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11275
11276 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
11277 gdb.base/watchpoint-cond-gone-stripped.c: New.
11278
ceeb3d5a
TT
112792010-01-19 Tom Tromey <tromey@redhat.com>
11280
11281 PR c++/8000:
11282 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
11283 existing tests.
11284 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
11285 (main): Use AAA::SomeEnum.
11286
dd322c54
JK
112872010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11288
11289 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
11290 (test_ignore_count): Declare line_callme_body global.
11291 (run to breakpoint with ignore count): Use line_callme_body.
11292 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
11293 (set line_main_hello, set line_main_return): Reindent.
11294 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
11295 New.
11296 (continue to callee4): Use line_callee4_body.
11297 (check *stopped from CLI command): Use line_callee4_next.
11298 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
11299 (set line_main_hello, set line_main_return): Reindent.
11300 (set line_callee4_head, set line_callee4_body): New.
11301 (continue to callee4): Use line_callee4_body.
11302
4e8f195d
TT
113032010-01-18 Tom Tromey <tromey@redhat.com>
11304
11305 PR c++/9680:
11306 * gdb.cp/casts.cc: Add new classes and variables.
11307 * gdb.cp/casts.exp: Test new operators.
11308
9e14a9ba
JB
113092010-01-18 Tom Tromey <tromey@redhat.com>
11310 Thiago Jung Bauermann <bauerman@br.ibm.com>
11311
11312 * gdb.python/source2.py: New file.
11313 * gdb.python/source1: New file.
11314 * gdb.python/python.exp: Test "source" command.
11315
00bf0b85
SS
113162010-01-15 Stan Shebs <stan@codesourcery.com>
11317
11318 * gdb.trace/tfile.c: New file.
11319 * gdb.trace/tfile.exp: New file.
889bf7c5 11320
55235ad7
JK
113212010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11322
11323 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
11324
9f2982ff
JK
113252010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11326
11327 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
11328
bbfba9ed
JK
113292010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11330
11331 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
11332 (libfunc): New parameter action. Implement also selectable "sleep".
11333 * gdb.base/break-interp-main.c: Include assert.h.
11334 (libfunc): New parameter action.
11335 (main): New parameters argc and argv. Assert argc. Pass argv.
11336 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
11337 (test_attach): New proc.
11338 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
11339 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
11340
61f0d762
JK
113412010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11342
11343 * gdb.base/break-interp.exp (test_core): New proc.
11344 (test_ld): Call it.
11345
06a6f270
JK
113462010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11347
11348 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
11349 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
11350 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
11351 and gdb_compile_shlib. Use new -Wl compiler options.
11352 (dl bt, main bt): New tests.
11353
51bee8e9
JK
113542010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11355
11356 Support PIEs with no symfile_objfile.
11357 * gdb.base/break-interp.exp: New argument at the test_ld calls.
11358 (test_ld): New parameter trynosym.
11359 (test_ld <$trynosym>): New block.
11360
b8040f19
JK
113612010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11362
11363 * gdb.base/break-interp.exp: New file.
11364
be759fcf
PM
113652010-01-13 Phil Muldoon <pmuldoon@redhat.com>
11366
11367 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
11368 * gdb.python/py-prettyprint.py (pp_ls): New printer.
11369 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
11370 test.
11371 * gdb.python/py-prettyprint.c: Define lazystring test structure.
11372 * gdb.python/py-mi.exp: Add lazy string test.
11373
dc146f7c
VP
113742010-01-13 Vladimir Prus <vladimir@codesourcery.com>
11375
11376 * lib/mi-support.exp (mi_check_thread_states): Handle
11377 core number in thread listing.
11378
b4ba55a1
JB
113792010-01-12 Joel Brobecker <brobecker@adacore.com>
11380
11381 * gdb.base/maint.exp: Adjust the expected output for the
11382 "maint print type" test. Use gdb_test_multiple instead of
11383 gdb_sent/gdb_expect.
11384
08e24bd4
DE
113852010-01-11 Doug Evans <dje@google.com>
11386
6496a609
DE
11387 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
11388 from gdbserver_download. All callers updated.
11389
08e24bd4
DE
11390 * gdb.server/ext-run.exp: "info os processes" requires xml support.
11391
b5cfddf5
JK
113922010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11393
11394 Implement binary numbers parsing.
11395 * gdb.base/printcmds.exp (test_integer_literals_accepted)
11396 (test_integer_literals_rejected): New binary tests.
11397
3725885a
RW
113982010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11399
11400 * gdb.cell/configure: Regenerate.
11401
37aeb5df
JK
114022010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11403
11404 * gdb.base/corefile.exp: Move the core finding block out and call it as
11405 core_find, new variable $corefile, replace corefile by $corefile and
11406 [file tail $corefile] for usage vs. test names resp.
11407 * lib/gdb.exp (core_find): Move it as a new function here. New
11408 parameter binfile and deletefiles. New variable $destcore. Pre-delete
11409 $destcore. Return "" on error.
11410
d521f563
JK
114112010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11412
11413 Workaround PR binutils/10802.
11414 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
11415 (twice).
11416
28f24826
DJ
114172010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11418
11419 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
11420
2de75e71
JB
114212010-01-08 Joel Brobecker <brobecker@adacore.com>
11422
11423 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
11424 call, to avoid interruption.
11425
fe00719b 114262010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
11427
11428 * gdb.stabs/weird.def (args93): New.
11429
d0ef5df8
DE
114302010-01-07 Doug Evans <dje@google.com>
11431
11432 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
11433
3a08d52f
TT
114342010-01-07 Tom Tromey <tromey@redhat.com>
11435
11436 * gdb.base/source.exp: Use correct line number.
11437
7a697b8d
SS
114382010-01-05 Stan Shebs <stan@codesourcery.com>
11439
11440 * gdb.trace/tracecmd.exp: Test ftrace.
11441
7803799a
UW
114422010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11443
11444 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
11445
c54eabfa
JK
114462010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11447
11448 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
11449 "uint_for_mi_testing".
11450
02e7ef19
JB
114512010-01-01 Joel Brobecker <brobecker@adacore.com>
11452
11453 Test indented comment in file being sourced.
11454 * gdb.base/commands.exp: Test indented comment in file being sourced.
11455
abd775ce
JB
114562010-01-01 Joel Brobecker <brobecker@adacore.com>
11457
11458 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
11459 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
11460 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
11461 notice.
11462
79b55b82
JB
114632010-01-01 Joel Brobecker <brobecker@adacore.com>
11464
11465 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
11466 notice.
11467
8997583e
JK
114682010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11469
11470 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
11471 missing $after_stopped and comma (,) expectation.
11472
6da95a67
SS
114732009-12-31 Stan Shebs <stan@codesourcery.com>
11474
11475 * gdb.trace/actions.exp: Test teval action.
889bf7c5 11476
218d2fc6
TJB
114772009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11478
11479 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
11480 (top level): Call test_watchpoint_in_big_blob.
11481 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
11482 watchpoints.
11483 (func3): Write to buf.
11484
236f1d4d
SS
114852009-12-29 Stan Shebs <stan@codesourcery.com>
11486
11487 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 11488
f61e138d
SS
114892009-12-28 Stan Shebs <stan@codesourcery.com>
11490
11491 * gdb.trace/tsv.exp: New file.
11492 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 11493
0219b378
DJ
114942009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
11495
11496 * gdb.base/find.c (main): Reference search buffers.
11497 * gdb.base/included.c (main): Reference integer.
11498 * gdb.base/ptype.c (charfoo): Declare.
11499 (intfoo): Call charfoo.
11500 * gdb.base/scope0.c (useitp): New function.
11501 (usestatics): Use useitp.
11502 (useit): Add a type for val.
11503 * gdb.base/scope1.c (useit1): Take a pointer argument.
11504 (usestatics1): Update calls to useit1.
11505 * gdb.cp/call-c.cc: Declare foo.
11506 (main): Call foo.
11507 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
11508 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
11509 (main): Call C::ensureRefs and ensureOtherRefs.
11510 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
11511 variables.
11512 (ensureOtherRefs): New function.
11513 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
11514 * gdb.cp/templates.cc (main): Call t5i.value.
11515
3f78692f
JK
115162009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11517
11518 Fix compatibility with G++-4.5.
11519 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
11520 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
11521 (uncaught return): Remove.
11522
429374b8
JK
115232009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11524 Phil Muldoon <pmuldoon@redhat.com>
11525
11526 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
11527 (bp_location13, bp_location14, bp_location17, bp_location18)
11528 (marker3_proto, marker4_proto): New variables.
11529 (breakpoint info): Update output.
11530 (run until breakpoint at marker3, run until breakpoint at marker4): New
11531 tests.
11532
859825b8
JK
115332009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11534
11535 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
11536 Replace the printf call of Y by provided "y-set-1" label. New block
11537 for the second shared library.
11538 * gdb.base/unload.exp: Compile also the second library, call
11539 gdb_load_shlibs also for it. Use now gdb_breakpoint.
11540 (single pending breakpoint info): Rename to ...
11541 (pending breakpoint info before run): ... this extended test.
11542 (libfile2, libname2, libsrcfile2, libsrc2)
11543 (lib_sl2): New variables.
11544 (exec_opts): Set also SHLIB_NAME2.
11545 (pending breakpoint info on first run at shrfunc1)
11546 (pending breakpoint info on second run at shrfunc1)
11547 (pending breakpoint info on second run at shrfunc2)
11548 (print y from libfile, print y from libfile2): New tests.
11549 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
11550 * gdb.base/unloadshr2.c: New.
11551
e6a386cd
HZ
115522009-12-22 Hui Zhu <teawater@gmail.com>
11553
11554 * gdb.reverse/sigall-reverse.exp: Adjust.
11555
9e19b45e
VP
115562009-12-21 Vladimir Prus <vladimir@codesourcery.com>
11557
11558 PR gdb/10884
11559
11560 * gdb.mi/var-cmd.c (do_bitfield_tests): New
11561 (main): Call do_bitfield_tests.
aacf5b1e 11562 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 11563
d53a7b30
JB
115642009-12-20 Joel Brobecker <brobecker@adacore.com>
11565
11566 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
11567 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
11568 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
11569 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
11570 gdb.modula2/unbounded1.c: Update copyright header.
11571
191ca0a1
CM
115722009-12-10 Chris Moller <moller@mollerware.com>
11573
11574 PR gdb/9399
11575 * gdb.cp/virtfunc2.exp: New tests
11576 * gdb.cp/virtfunc2.cc: New tests
11577 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
11578
0fa6cf1b
MS
115792009-12-10 Oza Pawandeep (paawan1982@yahoo.com
11580
11581 * gdb.reverse/i387-env-reverse.c: New file.
11582 * gdb.reverse/i387-env-reverse.exp: New file.
11583 * gdb.reverse/i387-stack-reverse.c: New file.
11584 * gdb.reverse/i387-stack-reverse.exp: New file.
11585
361ae042
PM
115862009-12-08 Phil Muldoon <pmuldoon@redhat.com>
11587
11588 * gdb.python/py-type.exp (test_range): New test.
11589
bfd31e71
PM
115902009-12-03 Phil Muldoon <pmuldoon@redhat.com>
11591
11592 PR python/10805
11593
11594 * gdb.python/py-type.exp: New file.
11595 * gdb.python/py-type.c: New file.
11596 * Makefile.in: Add py-type.
11597
57a1d736
TT
115982009-12-03 Tom Tromey <tromey@redhat.com>
11599
11600 * gdb.python/py-value.exp (test_parse_and_eval): New
11601 function.
11602
1f3b5d1b
PP
116032009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11604
11605 PR gdb/11022
11606
11607 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
11608 * gdb.base/pr11022.c: New test.
11609
8b7dbdc9
JK
116102009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11611
11612 Fix spurious false FAILs.
11613 * gdb.base/structs.c (chartest): New.
11614 (main): Fill-in chartest.
11615 * gdb.base/structs.exp (anychar_re, first): New.
11616 (start_structs_test): Import global anychar_re and first.
11617 New gdb_test call "set print elements 300; ${testfile}"
11618 (start_structs_test <$first>): New block.
11619 (any): Import global anychar_re. New variable ac. Use ${ac}.
11620
6a53b2ec
JK
116212009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11622
11623 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
11624
d7167b4c
JK
116252009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11626
11627 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
11628 Force $srcfile file.
11629 * gdb.base/foll-fork.c (callee): Comment out the printf call.
11630
b1798462
UW
116312009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11632
11633 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
11634 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
11635 * gdb.threads/watchthreads-reorder.exp: Likewise.
11636
b6199126
DJ
116372009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
11638
11639 PR gdb/8704
11640
11641 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
11642 "if", and "thread". Correct matching in the previous test.
11643
b22a0510
DJ
116442009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
11645
11646 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
11647
930636d2
MS
116482009-11-23 Michael Snyder <msnyder@vmware.com>
11649
11650 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
11651 * gdb.reverse-watch-precsave.exp: Ditto.
11652
21a0512e
PP
116532009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
11654
11655 * gdb.asm/asm-source.exp: Adjust.
11656 * gdb.base/help.exp: Adjust.
889bf7c5 11657
fc30d5e0
PA
116582009-11-22 Pedro Alves <pedro@codesourcery.com>
11659
11660 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
11661 (do_syscall_tests_without_xml): Set data-directory to
11662 /the/path/to/nowhere.
11663
f6bc2008
PA
116642009-11-21 Pedro Alves <pedro@codesourcery.com>
11665
11666 * gdb.threads/local-watch-wrong-thread.c,
11667 gdb.threads/local-watch-wrong-thread.exp: New files.
11668
8c2fb5de
PA
116692009-11-21 Pedro Alves <pedro@codesourcery.com>
11670
11671 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
11672 assume new `regsub' syntax available.
11673
ebec9a0f
PA
116742009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11675
a79d3c27
JK
11676 * gdb.base/watchpoint-hw-hit-once.exp,
11677 gdb.base/watchpoint-hw-hit-once.c: New.
11678
116792009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11680
11681 * gdb.threads/watchthreads-reorder.exp,
11682 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 11683
276a961b
MK
116842009-11-17 Nathan Sidwell <nathan@codesourcery.com>
11685
11686 * gdb.xml/tdesc-regs.exp: Use for m68k.
11687
4867c1fb
PA
116882009-11-15 Pedro Alves <pedro@codesourcery.com>
11689
11690 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
11691
f6838f81
DJ
116922009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11693
11694 * lib/gdb.exp (current_target_name): New procedure.
11695 (gdb_wrapper_target): New variable.
11696 (gdb_wrapper_init): Set gdb_wrapper_target.
11697 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
11698 wrapper.
11699
4ac4dd3f
DJ
117002009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11701
11702 * gdb.base/remote.exp: Delete the slowest load test.
11703 Do not load with fixed packet sizes.
11704
a7881759
DJ
117052009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11706
11707 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
11708
97a5b505
DJ
117092009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11710
11711 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
11712 srcfile when setting a breakpoint.
11713
d3e1fc54
DJ
117142009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
11715
11716 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
11717 macros.
11718
7cbcbded
DJ
117192009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11720
11721 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
11722 to be in memory.
11723 * gdb.base/display.c (force_mem): New.
11724 (do_loops): Use it. Add breakpoint comments.
11725 (do_vars): Add a breakpoint comment.
11726 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
11727 line numbers.
11728
bdea3a92
NF
117292009-11-13 Nathan Froyd <froydnj@codesourcery.com>
11730
11731 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
11732 instead of a bare "run".
11733
269f82e5
PP
117342009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11735
11736 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 11737
a69b7d9d
DJ
117382009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11739
11740 * lib/cell.exp (skip_cell_tests): Clean up test files before
11741 returning.
11742
b598bfda
DJ
117432009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11744
11745 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
11746 and the breakpoint menu. Do not call perror if a prompt is seen.
11747 Consume the following GDB prompt.
11748 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
11749 * gdb.cp/namespace.exp: Use gdb_test.
11750 * gdb.cp/templates.exp: Use gdb_test.
11751 (test_template_breakpoints): Use gdb_test_multiple.
11752
87728fa0
DJ
117532009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11754
11755 * gdb.base/break1.c (struct some_struct, values): Move earlier.
11756 (marker4): Reference values.
11757
b67c692f
DJ
117582009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11759
11760 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
11761 is missing.
11762
f0df251a
DJ
117632009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11764
11765 * gdb.base/break.c (need_malloc): New.
11766 * gdb.base/constvars.c (main): Reference crass and crisp.
11767 * gdb.base/gdb1821.c (main): Reference bar.
11768 * gdb.cp/gdb1355.cc (main): Reference s1.
11769 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
11770 (main): Call them.
11771 * gdb.cp/hang2.cc (dummy2): Define.
11772 * gdb.cp/hang3.cc (dummy3): Define.
11773 * gdb.cp/m-data.cc (main): Reference shadow.
11774
bdf7534a
NF
117752009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11776 Nathan Froyd <froydnj@codesourcery.com>
11777
11778 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
11779 remote host.
11780
f24fce77
NF
117812009-11-12 Nathan Froyd <froydnj@codesourcery.com>
11782
11783 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
11784 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
11785 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11786 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11787 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11788 * gdb.dwarf2/dw2-producer.exp: Likewise.
11789 * gdb.dwarf2/mac-fileno.exp: Likewise.
11790 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
11791 py-prettyprint.py to the remote host.
11792 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
11793
40f0318e
KS
117942009-11-11 Keith Seitz <keiths@redhat.com>
11795
11796 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
11797 use it instead of "Foo".
11798 * gdb.cp/classes.exp (do_tests): Add a test to access
11799 a method through a typedef'd class name.
11800
f3d9f7fb
NF
118012009-11-11 Nathan Froyd <froydnj@codesourcery.com>
11802
11803 * gdb.base/long_long.exp: Permit leading zeros on floating-point
11804 exponents.
11805 * gdb.base/pointers.exp: Likewise.
11806 * gdb.cp/ref-types.exp: Likewise.
11807
a4216f37
KS
118082009-11-11 Keith Seitz <keiths@redhat.com>
11809
11810 * gdb.cp/cplusfuncs.cc (class foo): Add operators
11811 new[] and delete[].
11812 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
11813 "void".
11814 (probe_demangler): Remove all single-quoting of
11815 method and variable names.
11816 (info_func_regexp): Remove the word "void" from any
11817 occurrence of "(void)".
11818 (print_addr_2): Remove all single-quoting of
11819 method names.
11820 (print_addr_2_kfail): Likewise.
11821 (print_addr): Single-quote C function names before
11822 passing to print_addr_2.
11823 (test_paddr_operator_functions): Remove single-quoting
11824 for method names.
11825 Add tests for operator new[] and operator delete[].
11826
9b14d7aa
JK
118272009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11828
11829 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
11830
85feb311
KS
118312009-11-09 Keith Seitz <keiths@redhat.com>
11832
11833 * gdb.cp/overload.exp: Add tests for resolving overloaded
11834 methods in expression parsing/evaluation.
11835
fa335448
DJ
118362009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
11837
11838 * lib/gdb.exp (default_gdb_version): Use --version instead of
11839 --command.
11840
ec3c07fc
NS
118412009-11-10 Nathan Sidwell <nathan@codesourcery.com>
11842
11843 * lib/gdb.exp (gdb_compile_test): New.
11844 (skip_ada_tests, skip_java_tests): New.
11845 (gdb_compile): Use gdb_compile_test for f77.
11846 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
11847 * lib/java.exp (compile_java_from_source): Remove runtests check,
11848 use gdb_compile_test to record result.
11849 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
11850 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
11851 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
11852 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
11853 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
11854 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
11855 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
11856 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
11857 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
11858 adjust gdb_compile invocations.
11859
b8b4e42b
JK
118602009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11861
11862 * Makefile.in (abs_builddir): New.
11863 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
11864 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
11865 `$(abs_builddir)/site.exp'.
11866
f8b7eaf3
DJ
118672009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
11868
11869 * config/m68k-emc.exp, lib/emc-support.exp,
11870 gdb.trace/gdb_c_test.c: Delete.
11871 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
11872 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
11873 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
11874 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
11875 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
11876 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
11877 casing for m68k-*-elf.
11878
c4187697
NS
118792009-11-03 Pedro Alves <pedro@codesourcery.com>
11880
11881 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
11882 * gdb.arch/i386-prologue.exp: Likewise.
11883 * gdb.arch/i386-unwind.exp: Likewise.
11884
db16b772
DJ
118852009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11886
11887 * lib/gdb.exp (gdb_expect): Fix timeout typo.
11888
bcf71277
DJ
118892009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11890
11891 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
11892
0105cee2
DJ
118932009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11894
11895 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
11896
24ddea62
JK
118972009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11898
11899 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
11900
287ccc17
JK
119012009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11902
11903 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
11904 * gdb.base/sepdebug2.c: New file.
11905
08bca259 119062009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
11907
11908 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
11909 the modified warnings for catch syscall. Verify if GDB was compiled
11910 with support for lib expat, and choose which tests to run depending
11911 on this.
11912
5d4e2b76
VP
119132009-10-30 Vladimir Prus <vladimir@codesourcery.com>
11914
11915 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
11916 that composite commands are parsed OK. And also test
11917 that breakpoint commands do work.
11918
240e538a
MS
119192009-10-23 Michael Snyder <msnyder@vmware.com>
11920
11921 gdb.reverse/consecutive-precsave.exp: Change expect pattern
11922 to allow for new disassembly style.
11923
9c419145
PP
119242009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11925
11926 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 11927
02506ff1
MS
119282009-10-22 Michael Snyder <msnyder@vmware.com>
11929
11930 * gdb.reverse/break-precsave.exp: New test.
11931 * gdb.reverse/consecutive-precsave.exp: Ditto.
11932 * gdb.reverse/finish-precsave.exp: Ditto.
11933 * gdb.reverse/i386-precsave.exp: Ditto.
11934 * gdb.reverse/machinestate-precsave.exp: Ditto.
11935 * gdb.reverse/sigall-precsave.exp: Ditto.
11936 * gdb.reverse/solilb-precsave.exp: Ditto.
11937 * gdb.reverse/step-precsave.exp: Ditto.
11938 * gdb.reverse/until-precsave.exp: Ditto.
11939 * gdb.reverse/watch-precsave.exp: Ditto.
11940
4cf866a3
MS
119412009-10-22 Michael Snyder <msnyder@vmware.com>
11942
11943 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
11944 for gdb_expect. Adjust one test's expect strings for the new
11945 format of disassemble.
11946 * gdb.reverse/finish-reverse.exp: Delete 'return'.
11947 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
11948 gdb_test_multiple.
11949 * gdb.reverse/step-reverse.exp: Delete 'return'.
11950 * gdb.reverse/until-reverse.exp: Delete blank lines.
11951 * gdb.reverse/watch-reverse.exp: Delete blank lines.
11952
2b28d209
PP
119532009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
11954
11955 * gdb.base/consecutive.exp: Adjust.
11956 * gdb.base/display.exp: Likewise.
11957 * gdb.base/pc-fp.exp: Likewise.
11958 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 11959
33b9c32b
MS
119602009-10-19 Michael Snyder <msnyder@vmware.com>
11961
11962 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
11963 * gdb.reverse/finish-reverse.c: Ditto.
11964 * gdb.reverse/sigall-reverse.c: Ditto.
11965 * gdb.reverse/solib-reverse.c: Ditto.
11966 * gdb.reverse/step-reverse.c: Ditto.
11967 * gdb.reverse/watch-reverse.c: Ditto.
11968
6c95b8df
PA
119692009-10-19 Pedro Alves <pedro@codesourcery.com>
11970 Stan Shebs <stan@codesourcery.com>
11971
11972 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
11973 * gdb.base/foll-exec.exp: Adjust to expect a process id before
11974 "Executing new program".
11975 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
11976 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
11977 left listed after having been killed.
11978 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
11979 * gdb.base/maint.exp: Adjust test.
11980
11981 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
11982 * gdb.multi/Makefile.in: New.
11983 * gdb.multi/base.exp: New.
11984 * gdb.multi/goodbye.c: New.
11985 * gdb.multi/hangout.c: New.
11986 * gdb.multi/hello.c: New.
11987 * gdb.multi/bkpt-multi-exec.c: New.
11988 * gdb.multi/bkpt-multi-exec.exp: New.
11989 * gdb.multi/crashme.c: New.
11990
279017b7
TG
119912009-10-13 Tristan Gingold <gingold@adacore.com>
11992
11993 * gdb.base/sepdebug.exp: Check debug info are found.
11994
0413d738
PA
119952009-10-08 Pedro Alves <pedro@codesourcery.com>
11996
11997 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
11998 bits.
11999
c628eecc
JK
120002009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12001
12002 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
12003
38af1bfe
JB
120042009-10-07 Joel Brobecker <brobecker@adacore.com>
12005
12006 * gdb.base/watchpoints.c: Add copyright header. Reformat one
12007 of the comments.
12008
2b0adecd
PM
120092009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
12010
12011 * gdb.base/annota1.exp: Remove obsolete match_max increase.
12012 * gdb.base/annota3.exp: Idem.
12013 * gdb.base/maint.exp: Idem.
12014
8d417781
PM
120152009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
12016
889bf7c5 12017 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
12018 to default.
12019
bb61102d
PM
120202009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
12021
889bf7c5 12022 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
12023 mingw and cygwin targets.
12024
ace5c364
PM
120252009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
12026 Pedro Alves <pedro@codesourcery.com>
12027
889bf7c5 12028 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
12029 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
12030
c2d494a0
PM
120312009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12032
e1b52ce2
PM
12033 * gdb.base/shr1.c: Use %p in format string.
12034 * gdb.base/unload.c: Avoid warning in fprintf.
12035 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 12036
209f53f5
PM
120372009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12038
12039 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
12040 long type.
12041 (test_unlink): Correct printf string.
12042 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
12043 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
12044
8172766a
JK
120452009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12046
12047 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
12048 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
12049 * gdb.arch/ia64-breakpoint-shadow.S: New file.
12050
0f73703c
UW
120512009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12052
12053 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
12054 * gdb.objc/nondebug.exp: Likewise.
12055
b32306ca
UW
120562009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12057
12058 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
12059 target_info setting.
12060
12061 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
12062 that detect new threads during "info threads".
12063
0057022f
UW
120642009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12065
12066 * gdb.threads/manythreads.c (main): Increase thread stack size
12067 to 2*PTHREAD_STACK_MIN.
12068 * gdb.threads/multi-create.c (main): Likewise.
12069 (create_function): Likewise.
12070
f29c0325
UW
120712009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12072
12073 * gdb.base/dump.exp: Pass difference of pointer types instead
12074 of integer types as offset to restore in intarr3.srec case.
12075
fcb34849
UW
120762009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12077
12078 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
12079
d5142e3b
UW
120802009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12081
12082 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
12083
087b74b2 120842009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 12085
087b74b2
PM
12086 New test for two watchpoints, with disabling of
12087 the first inserted.
12088 * testsuite/gdb.base/watchpoints.c: New file.
12089 * testsuite/gdb.base/watchpoints.exp: New file.
12090
96c07c5b
TT
120912009-09-25 Tom Tromey <tromey@redhat.com>
12092
12093 * gdb.base/charset.exp: Test utf-16 strings with Python.
12094
b8899f2b
TT
120952009-09-25 Tom Tromey <tromey@redhat.com>
12096
12097 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
12098 UCS-4.
12099 * gdb.base/charset.c (utf_32_string): Rename.
12100 (init_utf32): Rename.
12101 (main): Update.
12102
329719ec
TT
121032009-09-22 Tom Tromey <tromey@redhat.com>
12104
12105 * gdb.python/py-function.exp: Add regression tests.
12106
11ef0d76
KS
121072009-09-21 Keith Seitz <keiths@redhat.com>
12108
12109 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
12110 with invalid operator.
12111
3fe8f3b3
KS
121122009-09-21 Keith Seitz <keiths@redhat.com>
12113
12114 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
12115 and destructor using typedef name of class.
12116 * gdb.cp/classes.cc (class Base1): Add a destructor.
12117 (base1): New typedef.
12118 (use_methods): Instanitate an object of type base1.
12119 * gdb.cp/templates.exp (test_template_typedef): New procedure.
12120 (do_tests): Call test_template_typedef.
12121 * gdb.cp/templates.cc (Baz::~Baz): New method.
12122 (intBazOne): New typedef.
12123 (main): Instantiate intBazOne.
12124
7a9fe101
PM
121252009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12126
12127 PR python/10633
12128
12129 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
12130 Function.
12131 (run_lang_tests): Add print elements test.
12132
2e4d963f
PM
121332009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12134
12135 * gdb.python/py-value.exp (test_subscript_regression): New
12136 function. Test for invalid subscripts.
12137 * gdb.python/py-value.c (main): Add test array, and pointer to it.
12138 (ptr_ref): New function.
12139
ec7e75e7
PP
121402009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12141
12142 * gdb.base/default.exp: Fix "show convenience".
12143
0cc7d26f
TT
121442009-09-15 Tom Tromey <tromey@redhat.com>
12145
12146 * lib/mi-support.exp (mi_create_varobj): Update.
12147 (mi_create_floating_varobj): Likewise.
12148 (mi_create_dynamic_varobj): New proc.
12149 (mi_varobj_update): Update.
12150 (mi_varobj_update_with_type_change): Likewise.
12151 (mi_varobj_update_kv_helper): New proc.
12152 (mi_varobj_update_dynamic_helper): Rewrite.
12153 (mi_varobj_update_dynamic): New proc.
12154 (mi_list_varobj_children): Update.
12155 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
12156 * gdb.python/python-prettyprint.py (pp_outer): New class.
12157 (pp_nullstr): Likewise.
12158 (lookup_function): Register new printers.
12159 * gdb.python/python-prettyprint.c (struct substruct): New type.
12160 (struct outerstruct): Likewise.
12161 (substruct_test): New function.
12162 (struct nullstr): New type.
12163 (string_1, string_2): New globals.
12164 (main): Add new tests.
12165 * gdb.python/python-mi.exp: Added regression tests.
12166 * gdb.mi/mi2-var-display.exp: Update.
12167 * gdb.mi/mi2-var-cmd.exp: Update.
12168 * gdb.mi/mi2-var-child.exp: Update.
12169 * gdb.mi/mi2-var-block.exp: Update.
12170 * gdb.mi/mi-var-invalidate.exp: Update.
12171 * gdb.mi/mi-var-display.exp: Update.
12172 * gdb.mi/mi-var-cmd.exp: Update.
12173 * gdb.mi/mi-var-child.exp: Update.
12174 * gdb.mi/mi-var-block.exp: Update.
12175 * gdb.mi/mi-break.exp: Update.
12176 * gdb.mi/gdb701.exp: Update.
12177
a96d9b2e
SDJ
121782009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
12179
12180 * Makefile.in: Inclusion of catch-syscall object.
12181 * gdb.base/catch-syscall.c: New file.
12182 * gdb.base/catch-syscall.exp: New file.
12183
b43b923a
MS
121842009-09-12 Michael Snyder <msnyder@vmware.com>
12185
12186 * gdb.reverse/step-reverse.exp: Explicitly check for targets
12187 that can support reverse debuggnig.
12188
cec03d70
TT
121892009-09-11 Tom Tromey <tromey@redhat.com>
12190
12191 * gdb.dwarf2/valop.S: New file.
12192 * gdb.dwarf2/valop.exp: New file.
12193
e23bb3fc
MK
121942009-09-11 Mark Kettenis <kettenis@gnu.org>
12195
12196 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
12197
37c3696d
DE
121982009-09-10 Doug Evans <dje@google.com>
12199
12200 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
12201 Add $gdb_prompt to second breakpoint regexp.
12202
5172aecb
JB
122032009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
12204
12205 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
12206 names, add missing ones.
12207 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
12208 * gdb.python/py-frame.c: Rename from python-frame.c.
12209 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
12210 testfile name.
12211 * gdb.python/py-function.exp: Rename from python-function.exp.
12212 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
12213 testfile name.
12214 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
12215 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
12216 Adjust testfile name.
12217 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
12218 * gdb.python/py-template.cc: Rename from python-template.cc.
12219 * gdb.python/py-template.exp: Rename from python-template.exp.
12220 Adjust testfile name.
12221 * gdb.python/py-value.c: Rename from python-value.c.
12222 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
12223 testfile name.
12224
b554e4bd
JK
122252009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12226
12227 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
12228 $bpt2address.
12229 (Second breakpoint address is valid on ia64)
12230 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
12231
9a68ae16
JM
122322009-09-03 Joseph Myers <joseph@codesourcery.com>
12233
12234 * gdb.base/ending-run.exp: Restrict regular expression matching
12235 line number to require closing brace following.
12236
146b9145
DE
122372009-09-03 Doug Evans <dje@google.com>
12238
12239 * gdb.base/store.exp (check_set): Fix typo in expected value message.
12240
787d21e1
TT
122412009-09-02 Tom Tromey <tromey@redhat.com>
12242
12243 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
12244
e7802207
TT
122452009-09-02 Tom Tromey <tromey@redhat.com>
12246
12247 * gdb.dwarf2/callframecfa.exp: New file.
12248 * gdb.dwarf2/callframecfa.S: New file.
12249
817aadd2
JK
122502009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12251
12252 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
12253 gdb.base/solib-overlap-main.c: New.
12254
4a76eae5
DJ
122552009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
12256
12257 PR gdb/10565
12258
12259 * gdb.base/bitfields.c (struct container, container): New.
12260 (main): Initialize it and call break5.
12261 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
12262
d4b96c9a
JK
122632009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12264
12265 Support constant DW_AT_data_member_location by GCC PR debug/40659.
12266 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
12267
4e22772d
JK
122682009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12269
12270 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
12271
2efab443
MS
122722009-08-26 Michael Snyder <msnyder@vmware.com>
12273
12274 * gdb.base/i386-reverse.c: New file.
12275 * gdb.base/i386-reverse.exp: New file.
12276 * gdb.base/Makefile.in: Add new files to be removed.
12277
07ab73a0
JM
122782009-08-26 Joseph Myers <joseph@codesourcery.com>
12279
12280 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
12281 environment-pwd for remote host.
12282 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
12283
676accff
KS
122842009-08-24 Keith Seitz <keiths@redhat.com>
12285
12286 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
12287 Add two new C++ completer tests which limit the output to a
889bf7c5 12288 given class.
676accff 12289
f9f7ad22
MS
122902009-08-24 Michael Snyder <msnyder@vmware.com>
12291
12292 * gdb.base/del.exp: Fix typo in comment.
12293 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
12294
81ecdfbb
RW
122952009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12296
12297 * configure: Regenerate.
12298 * gdb.hp/configure: Likewise.
12299 * gdb.hp/gdb.aCC/configure: Likewise.
12300 * gdb.hp/gdb.base-hp/configure: Likewise.
12301 * gdb.hp/gdb.compat/configure: Likewise.
12302 * gdb.hp/gdb.defects/configure: Likewise.
12303 * gdb.hp/gdb.objdbg/configure: Likewise.
12304 * gdb.stabs/configure: Likewise.
12305
cab0c772
UW
123062009-08-19 Doug Evans <dje@google.com>
12307
12308 * gdb.base/gdbvars.c: New file.
12309 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
12310
b8fa0bfa
PA
123112009-08-14 Pedro Alves <pedro@codesourcery.com>
12312
12313 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12314 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
12315
b84aa90a
PA
123162009-08-13 Pedro Alves <pedro@codesourcery.com>
12317
12318 * gdb.base/default.exp: Adjust "set language test": it's now an
12319 enum command. Larger help string moved to "help set language".
12320 * gdb.base/help.exp: Adjust "help set language" expected output,
12321 now lists all known languages.
12322
0d8f9b2c
NF
123232009-08-11 Nathan Froyd <froydnj@codesourcery.com>
12324
12325 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
12326 all frame arguments.
12327 * gdb.arch/altivec-regs.exp: Likewise.
12328
bda180e0
TT
123292009-08-07 Tom Tromey <tromey@redhat.com>
12330
12331 * gdb.base/setshow.exp: Add tests for changes to set language, set
12332 check range, and set check type.
12333
48cb2d85
VP
123342009-08-03 Vladimir Prus <vladimir@codesourcery.com>
12335
12336 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
12337 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 12338 Call it.
48cb2d85 12339
1ea34204
UW
123402009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12341
12342 * configure.ac: Run gdb.cell tests when appropriate.
12343 * configure: Regenerate.
12344 * lib/cell.exp: New file.
12345 * gdb.cell: New directory.
12346 * gdb.cell/configure.ac: New file.
12347 * gdb.cell/configure: New file.
12348 * gdb.cell/Makefile.in: New file.
12349 * gdb.cell/arch.exp: New file.
12350 * gdb.cell/break.c: New file.
12351 * gdb.cell/break.exp: New file.
12352 * gdb.cell/break-spu.c: New file.
12353 * gdb.cell/bt.c: New file.
12354 * gdb.cell/bt2-spu.c: New file.
12355 * gdb.cell/bt-spu.c: New file.
12356 * gdb.cell/bt.exp: New file.
12357 * gdb.cell/coremaker.c: New file.
12358 * gdb.cell/coremaker-spu.c: New file.
12359 * gdb.cell/core.exp: New file.
12360 * gdb.cell/gcore.exp: New file.
12361 * gdb.cell/data.c: New file.
12362 * gdb.cell/data.exp: New file.
12363 * gdb.cell/data-spu.c: New file.
12364 * gdb.cell/ea-cache.exp: New file.
12365 * gdb.cell/ea-cache.c: New file.
12366 * gdb.cell/ea-cache-spu.c: New file.
12367 * gdb.cell/ea-standalone.c: New file.
12368 * gdb.cell/ea-standalone.exp: New file.
12369 * gdb.cell/ea-test.c: New file.
12370 * gdb.cell/ea-test.exp: New file.
12371 * gdb.cell/f-regs.exp: New file.
12372 * gdb.cell/mem-access.c: New file.
12373 * gdb.cell/mem-access.exp: New file.
12374 * gdb.cell/mem-access-spu.c: New file.
12375 * gdb.cell/ptype.exp: New file.
12376 * gdb.cell/registers.exp: New file.
12377 * gdb.cell/size.c: New file.
12378 * gdb.cell/sizeof.exp: New file.
12379 * gdb.cell/size-spu.c: New file.
12380 * gdb.cell/solib.exp: New file.
12381 * gdb.cell/solib-symbol.exp: New file.
12382
85e747d2
UW
123832009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12384
12385 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
12386
58d6951d
DJ
123872009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
12388
12389 * gdb.base/float.exp: Handle VFP registers.
12390
6e0a4f15
MS
123912009-07-14 Michael Snyder <msnyder@vmware.com>
12392
dcd5da87
MS
12393 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
12394 to bring gdb to the beginning of the calling line.
12395
6e0a4f15
MS
12396 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
12397 confusing the i386 epilogue unwinder.
12398
782b2b07
SS
123992009-07-14 Stan Shebs <stan@codesourcery.com>
12400
12401 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
12402
f662c3bc
MS
124032009-07-14 Michael Snyder <msnyder@vmware.com>
12404
12405 * gdb.reverse/step-reverse.exp (stepi into function call):
12406 Call instruction may not be first instruction in the line.
12407 (reverse stepi from a function call): Used wrong line number.
12408
8f313923
JK
124092009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12410
12411 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
12412
4662c76e
JK
124132009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12414
12415 Fix gdb.base/macscp.exp when using custom inputrc.
12416 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
12417 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
12418 env(TERM) set.
12419 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
12420 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
12421
aa81e255
JK
124222009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12423
12424 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
12425 * gdb.base/annota1.exp (thread_test): Import global $testfile.
12426 Change the compilation target to match the testcase name.
12427 * gdb.base/sect-cmd.exp: Change the compilation target to match the
12428 testcase name.
12429 * a2-run.exp: Use for setup prepare_for_testing. Change the
12430 compilation target to match the testcase name.
12431 * gdb.base/commands.exp: Likewise.
12432 * gdb.base/finish.exp: Likewise.
12433 * gdb.base/float.exp: Likewise.
12434 * gdb.base/info-target.exp: Likewise.
12435 * gdb.base/relational.exp: Likewise.
12436 * gdb.base/term.exp: Likewise.
12437 * gdb.base/until.exp: Likewise.
12438 * gdb.base/volatile.exp: Likewise.
12439 * gdb.base/whatis-exp.exp: Likewise.
12440
4c93b1d7
HZ
124412009-07-11 Hui Zhu <teawater@gmail.com>
12442
12443 * gdb.base/help.exp (disassemble): Update expected help text.
12444
812f7342
TT
124452009-07-09 Tom Tromey <tromey@redhat.com>
12446
12447 * lib/gdb.exp: Handle TRANSCRIPT.
12448 (remote_spawn, remote_close, send_gdb): New procs.
12449
fbb8f299
PM
124502009-07-10 Phil Muldoon <pmuldoon@redhat.com>
12451
12452 * gdb.python/python-prettyprint.c: Add counted null string
12453 structure.
12454 * gdb.python/python-prettyprint.exp: Print null string. Test for
12455 embedded nulls.
12456 * gdb.python/python-prettyprint.py (pp_ns): New Function.
12457 * gdb.python/python-value.exp (test_value_in_inferior): Add
12458 variable length string fetch tests.
12459 * gdb.python/python-value.c (main): Add strings for string fetch tests.
12460
c0ac0ec7
JK
124612009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12462
12463 * gdb.base/dump.exp (inaccessible memory is reported): New test.
12464
30b66ecc
TT
124652009-07-07 Tom Tromey <tromey@redhat.com>
12466
12467 * gdb.base/call-rt-st.exp: Update for change to escape output.
12468 * gdb.base/callfuncs.exp: Likewise.
12469 * gdb.base/charset.exp: Likewise.
12470 * gdb.base/constvars.exp: Likewise.
12471 * gdb.base/long_long.exp: Likewise.
12472 * gdb.base/pointers.exp: Likewise.
12473 * gdb.base/printcmds.exp: Likewise.
12474 * gdb.base/setvar.exp: Likewise.
12475 * gdb.base/store.exp: Likewise.
12476 * gdb.cp/ref-types.exp: Likewise.
12477 * gdb.mi/mi-var-child.exp: Likewise.
12478 * gdb.mi/mi-var-display.exp: Likewise.
12479 * gdb.mi/mi2-var-display.exp: Likewise.
12480 * gdb.base/charset.exp: Test octal escape sequence length.
12481 Update for change to escape output.
12482
187c4a2b
JK
124832009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12484
12485 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
12486
d80a43f9
DJ
124872009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
12488
12489 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
12490
047427a8
JK
124912009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12492
12493 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
12494 gdbserver increasing $portnum if "Can't bind address" has been seen.
12495
8b5a0f4f
PA
124962009-07-05 Pedro Alves <pedro@codesourcery.com>
12497
12498 * gdb.base/ending-run.exp: Add "step out of main" pattern for
12499 mingw32ce.
12500
7d93ba58
PA
125012009-07-05 Pedro Alves <pedro@codesourcery.com>
12502
12503 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
12504 VFP format.
12505
2277426b
PA
125062009-07-02 Pedro Alves <pedro@codesourcery.com>
12507
12508 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
12509 linux. Adjust to use "inferior", "info inferiors", "detach
12510 inferior" and "kill inferior" instead of "restart", "info fork",
12511 "detach fork" and "delete fork".
12512 * gdb.base/ending-run.exp: Spell out "info".
12513 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
12514 the "kill" command.
12515
5af949e3
UW
125162009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12517
12518 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
12519 change to prefix TLS offset in hex with 0x.
12520
5d3729b5
UW
125212009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12522
12523 * gdb.base/default.exp: Update test case for "x" changes.
12524
af589bd0
TG
125252009-07-01 Tristan Gingold <gingold@adacore.com>
12526
12527 * gdb.base/bigcore.exp: Make darwin untested.
12528
40974f91
JK
125292009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12530
12531 * gdb.base/completion.exp (directory completion): Create the directory.
12532 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
12533 escapeuniquesub.
12534 (directory completion 2): Expect now ${escapeuniquesub}.
12535 (Glob remaining of directory test): Remove one excessive newline.
12536 Expect the real output.
12537
59dd3af6
JK
125382009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12539
12540 Fix `make check//%' target after `make check' has been ran.
12541 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
12542 a mkdir call.
12543 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
12544 (%/.dir): Remove.
12545
f4e164aa
JK
125462009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12547
12548 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
12549 the expected result record.
12550
69af2122
JK
125512009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12552
12553 Remove racy FAILs relying just on the timeouts.
12554 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
12555 (annotation_level 2): Remove racy FAILs.
12556
2fd481e1
PP
125572009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12558
12559 gdb/10275
889bf7c5
PA
12560 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
12561
c38f313d
DJ
125622009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
12563
12564 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
12565
8b777f02
VP
125662009-06-30 Vladimir Prus <vladimir@codesourcery.com>
12567
12568 * gdb.mi/mi-stack.exp: Testing symbolic options
12569 to -stack-list-locals and -stack-list-arguments.
12570
00c7eacf
JK
125712009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12572
12573 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
12574
6bc80edc
TT
125752009-06-29 Tom Tromey <tromey@redhat.com>
12576
12577 * dg-extract-results.sh: New file.
12578 * Makefile.in (FORCE_PARALLEL): New variable.
12579 (CHECK_TARGET): New conditional variable.
12580 (check): Use CHECK_TARGET.
12581 (DO_RUNTEST): New variable.
12582 (check-single): New target.
12583 (TEST_DIRS): New variable.
12584 (TEST_TARGETS): Likewise.
12585 (check-parallel): New target.
12586 (check-gdb.%): New pattern.
12587 (BASE1_FILES): New variable.
12588 (BASE2_FILES): Likewise.
12589 (check-gdb.base%): New pattern.
12590 (%/.dir): New pattern.
12591 * configure: Rebuild.
12592 * aclocal.m4 (AM_CONDITIONAL): New defun.
12593 * configure.ac: Check whether user is using GNU make.
12594 (GMAKE): New conditional.
12595
794684b6
SW
125962009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
12597
12598 * gdb.cp/namespace-nested-import.cc: New test.
12599 * gdb.cp/namespace-nested-import.exp: New test.
12600
edb3359d
DJ
126012009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
12602
12603 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
12604 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
12605 * gdb.opt/Makefile.in (EXECUTABLES): Update.
12606 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
12607 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
12608 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
12609 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
12610 gdb.opt/inline-markers.c: New files.
12611 * lib/gdb.exp (skip_inline_frame_tests): New function.
12612 (skip_inline_var_tests): New function.
12613
cf657a0c
AS
126142009-06-27 Andreas Schwab <schwab@linux-m68k.org>
12615
12616 * gdb.cp/exception.exp: Don't require $hex before inner frame in
12617 backtrace.
12618
28d41a99
MS
126192009-06-27 Michael Snyder <msnyder@vmware.com>
12620
12621 * gdb.reverse: New directory.
12622 * gdb.reverse/break-reverse.c: New test.
12623 * gdb.reverse/break-reverse.exp: New test.
12624 * gdb.reverse/consecutive-reverse.c: New test.
12625 * gdb.reverse/consecutive-reverse.exp: New test.
12626 * gdb.reverse/finish-reverse.c: New test.
12627 * gdb.reverse/finish-reverse.exp: New test.
12628 * gdb.reverse/machinestate.c: New test.
12629 * gdb.reverse/ms1.c: New test.
12630 * gdb.reverse/machinestate.exp: New test.
12631 * gdb.reverse/Makefile.in: New file.
12632 * gdb.reverse/shr2.c: New test.
12633 * gdb.reverse/solib-reverse.c: New test.
12634 * gdb.reverse/solib-reverse.exp: New test.
12635 * gdb.reverse/step-reverse.c: New test.
12636 * gdb.reverse/step-reverse.exp: New test.
12637 * gdb.reverse/until-reverse.c: New test.
12638 * gdb.reverse/ur1.c: New test.
12639 * gdb.reverse/until-reverse.exp: New test.
12640 * gdb.reverse/watch-reverse.c: New test.
12641 * gdb.reverse/watch-reverse.exp: New test.
12642 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
12643 * configure: Regenerate.
12644
fe3c8b0d
DE
126452009-06-26 Doug Evans <dje@google.com>
12646
12647 * gdb.base/psymtab.exp: Turn off pending breakpoints.
12648
3a72a602
PM
126492009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
12650
12651 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
12652 windows problem for 'file delete $binfile'.
12653
27aa8d6a
SW
126542009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
12655
12656 * gdb.cp/namespace-using.exp: New test.
12657 * gdb.cp/namespace-using.cc: New test.
12658
8ac055f8
JB
126592009-05-20 Joel Brobecker <brobecker@adacore.com>
12660
12661 * gdb.ada/variant_record_packed_array: New testcase.
12662
85e306ed
TT
126632009-06-23 Tom Tromey <tromey@redhat.com>
12664
12665 * gdb.base/charset.exp (test_combination): Regression test.
12666 * gdb.base/charset.c (my_wchar_t): New typedef.
12667 (myvar): New global.
12668 (main): Set myvar.
12669
56643c5e
PM
126702009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
12671
12672 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
12673 target.
12674
1fac167a
UW
126752009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12676
12677 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
12678
7ccb0be9
UW
126792009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12680
12681 * gdb.mi/gdb680.exp: Update test for error message.
12682
568d6575
UW
126832009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12684
12685 * gdb.base/annota1.exp: Allow multiple occurrences of the
12686 frames-invalid annotation.
12687 * gdb.cp/annota2.exp: Likewise.
12688
7cd1089b
PM
126892009-06-15 Phil Muldoon <pmuldoon@redhat.com>
12690
12691 * gdb.cp/gdb2495.cc: New file.
12692 * gdb.cp/gdb2495.exp: New file.
12693
72c63395
JK
126942009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12695
12696 Report error on GDB crash during runto.
12697 * lib/gdb.exp (runto <eof>): New.
12698
3788363d
DJ
126992009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
12700
12701 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
12702 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
12703 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
12704 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
12705 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
12706 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
12707 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
12708 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
12709 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
12710 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
12711 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
12712 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
12713 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12714 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
12715 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
12716 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
12717 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
12718 gdb.server/server-mon.exp, gdb.server/server-run.exp,
12719 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12720 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
12721 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
12722 gdb.trace/passcount.exp, gdb.trace/report.exp,
12723 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
12724 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
12725 gdb.trace/while-stepping.exp: Use a unique name for the compiled
12726 executable.
12727
17592de3
PA
127282009-06-07 Pedro Alves <pedro@codesourcery.com>
12729
12730 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
12731 defined before referencing it.
12732
701e355d
DE
127332009-06-03 Doug Evans <dje@google.com>
12734
12735 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
12736 * gdb.arch/i386-see.c: Ditto.
12737
f2292c65
PM
127382009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
12739
12740 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
12741 (check_macro): Return 1 if undefined.
12742 If first test fails, check if macro debug information is available,
12743 and report unsupported test if no macro information is found.
12744
5a437975
DE
127452009-05-29 Doug Evans <dje@google.com>
12746
12747 * gdb.threads/hand-call-in-threads.exp: New.
12748 * gdb.threads/hand-call-in-threads.c: New.
12749
c141c696
MS
127502009-05-29 Michael Snyder <msnyder@vmware.com>
12751
12752 * gdb.base/break-always.exp: Change "1" to "on".
12753 Add confirmation check.
12754
b3444185
PA
127552009-05-28 Pedro Alves <pedro@codesourcery.com>
12756
12757 * gdb.threads/threxit-hop-specific.c: New.
12758 * gdb.threads/threxit-hop-specific.exp: New.
12759 * gdb.threads/thread-execl.c: New.
12760 * gdb.threads/thread-execl.exp: New.
12761
b6313243
TT
127622009-05-27 Tom Tromey <tromey@redhat.com>
12763 Thiago Jung Bauermann <bauerman@br.ibm.com>
12764
12765 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
12766 (mi_child_regexp): Likewise.
12767 (mi_list_varobj_children_range): Likewise.
12768 (mi_get_features): Likewise.
12769 (mi_list_varobj_children): Rewrite.
12770 * gdb.python/python-mi.exp: New file.
12771
a6bac58e
TT
127722009-05-27 Tom Tromey <tromey@redhat.com>
12773 Thiago Jung Bauermann <bauerman@br.ibm.com>
12774 Phil Muldoon <pmuldoon@redhat.com>
12775 Paul Pluzhnikov <ppluzhnikov@google.com>
12776
12777 * gdb.python/python-prettyprint.exp: New file.
12778 * gdb.python/python-prettyprint.c: New file.
12779 * gdb.python/python-prettyprint.py: New file.
12780 * gdb.base/display.exp: print/r is now valid.
12781
2c74e833
TT
127822009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
12783 Tom Tromey <tromey@redhat.com>
12784 Pedro Alves <pedro@codesourcery.com>
12785 Paul Pluzhnikov <ppluzhnikov@google.com>
12786
12787 * gdb.python/python-template.exp: New file.
12788 * gdb.python/python-template.cc: New file.
12789 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12790 tests.
12791 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12792 Call it.
12793 (test_value_after_death): New proc.
12794 * gdb.python/python-value.c (PTR): New typedef.
12795 (main): New variable 'x'.
12796
89c73ade
TT
127972009-05-27 Tom Tromey <tromey@redhat.com>
12798
12799 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12800 tests.
12801 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12802 Call it.
12803
a75724bc
PA
128042009-05-27 Pedro Alves <pedro@codesourcery.com>
12805
12806 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
12807
e58b0e63
PA
128082009-05-24 Pedro Alves <pedro@codesourcery.com>
12809
12810 * gdb.threads/fork-thread-pending.c: New.
12811 * gdb.threads/fork-thread-pending.exp: New.
12812
4ac36638
JK
128132009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12814
12815 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
12816 * gdb.dwarf2/dw2-strp.S (a_string2): New.
12817
889bf7c5 128182009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 12819
889bf7c5 12820 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 12821
b242c3c2
PA
128222009-05-17 Pedro Alves <pedro@codesourcery.com>
12823
12824 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
12825 `gdb_get_line_number'. Call `callee' in both parent and child.
12826 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
12827 `gdb_get_line_number' instead of hardcoding line numbers.
12828 (catch_fork_unpatch_child): New procedure to test detaching
12829 breakpoints from child fork.
12830 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
12831 hardcoding line numbers.
12832 (do_fork_tests): Run `catch_fork_unpatch_child'.
12833
ee342b23
VP
128342009-05-17 Vladimir Prus <vladimir@codesourcery.com>
12835
12836 * gdb.mi/mi-cmd-var.exp: Check that when varobj
12837 of structure type enters or leaves the scope, it
12838 is reported by -var-update.
12839
e2009e98
DE
128402009-05-11 Doug Evans <dje@sebabeach.org>
12841
12842 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 12843 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
12844 * gdb.threads/schedlock.c (main): Fix off-by-one error.
12845
00903456
JK
128462009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12847
12848 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
12849
dc621c35
DE
128502009-04-30 Doug Evans <dje@google.com>
12851
12852 * gdb.threads/watchthreads2.exp: New testcase.
12853 * gdb.threads/watchthreads2.c: New testcase.
12854
9ab4e744
DE
128552009-04-29 Doug Evans <dje@google.com>
12856
12857 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
12858 * gdb.cp/mb-ctor.cc: Ditto.
12859 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
12860 * gdb.cp/mb-inline.h (multi_line_foo): New function.
12861 * gdb.cp/mb-inline1.cc: Call it.
12862 * gdb.cp/mb-inline2.cc: Ditto.
12863 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
12864 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
12865
484086b7
JK
128662009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12867
12868 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
12869 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
12870 Replace all uses of `decimal' by `nonzero'.
12871 (info macro FROM_COMMANDLINE): New test.
12872
379a77b5
TT
128732009-04-27 Tom Tromey <tromey@redhat.com>
12874
12875 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
12876
b92b73c2
DE
128772009-04-27 Doug Evans <dje@google.com>
12878
12879 * gdb.threads/watchthreads.c (main): Initialize args before starting
12880 the threads. Plus formatting cleanup.
12881 * gdb.threads/watchthreads.exp: Avoid errant failures due to
12882 biased scheduling of one thread.
12883
945a118d
JG
128842009-04-27 Jerome Guitton <guitton@adacore.com>
12885
12886 * gdb.cp/templates.cc (GetMax): New template.
12887 (main): Declare two instances of GetMax.
12888 * gdb.cp/templates.exp: Add new test.
12889
d389af10
JK
128902009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12891
12892 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
12893
e7f86de9
JM
128942009-04-22 Joseph Myers <joseph@codesourcery.com>
12895
12896 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
12897
334cc82d
TT
128982009-04-15 Tom Tromey <tromey@redhat.com>
12899
12900 * gdb.base/charset.exp: Add regression test.
12901
d12672cc
JB
129022009-04-14 Joel Brobecker <brobecker@adacore.com>
12903
12904 * gdb.base/exe-lock.exp: New testcase.
12905
18e8c3bc
TT
129062009-04-13 Tom Tromey <tromey@redhat.com>
12907
12908 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
12909 operator on Frame.
12910
5ecd5cbe
UW
129112009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12912
12913 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
12914 * gdb.server/ext-attach.exp: Likewise.
12915
7309f756
VP
129162009-04-03 Vladimir Prus <vladimir@codesourcery.com>
12917
12918 Eliminate some sleep usage.
12919
889bf7c5
PA
12920 * gdb.mi/basics.c (do_nothing): New.
12921 (main): Use do_nothing instead of printf, so that
12922 not to introduce race condition between output of
12923 inferiour and output of gdb. Do not use sleep as it
12924 is not generally available on embedded targets.
7309f756 12925
f4b95f6f
PA
129262009-04-02 Pedro Alves <pedro@codesourcery.com>
12927
12928 * gdb.server/ext-attach.exp: Expect an optional process id after
12929 "Detached from remote process".
12930
de40b933
JK
129312009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12932
12933 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
12934 gdb.dwarf2/dw2-unresolved.exp: New.
12935
2ae101a4
PA
129362009-04-02 Pedro Alves <pedro@codesourcery.com>
12937
12938 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
12939 mi_run_to_main.
12940
56a8e183
PA
129412009-04-02 Pedro Alves <pedro@codesourcery.com>
12942
12943 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
12944 mi_run_to_main. Skip thread exit test on remote targets.
12945 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
12946 mi_run_to_main.
12947 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
12948 mi_run_to_main.
12949 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
12950 when expecting ^connected. Detect when the target doesn't support
12951 non-stop mode.
12952 (mi_run_cmd): Detect if non-stop mode was requested by isn't
12953 supported. Return -1 on error, 0 on success.
12954 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
12955 (mi_runto): Return mi_runto_helper's result explicitly.
12956
c35fafde
PA
129572009-04-01 Pedro Alves <pedro@codesourcery.com>
12958
12959 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
12960
f8a8dce6
JB
129612009-04-01 Tom Tromey <tromey@redhat.com>
12962
12963 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
12964 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
12965 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
12966 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
12967
71c25dea
TT
129682009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
12969 Jan Kratochvil <jan.kratochvil@redhat.com>
12970
12971 PR gdb/931
12972 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
12973 output.
12974 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
12975 for gdb/931.
12976 * dw2-strp.S (DW_AT_language): Change to C++.
12977 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
12978
02d9a9ce
JB
129792009-03-31 Joel Brobecker <brobecker@adacore.com>
12980
12981 * gdb.ada/tasks: New testcase.
12982
1042e4c0
SS
129832009-03-30 Stan Shebs <stan@codesourcery.com>
12984
12985 * gdb.trace/actions.exp: Update to match new info trace format.
12986 * gdb.trace/deltrace.exp: Ditto.
12987 * gdb.trace/infotrace.exp: Ditto.
12988 * gdb.trace/passcount.exp: Ditto.
12989 * gdb.trace/save-trace.exp: Ditto.
12990 * gdb.trace/while-stepping.exp: Ditto.
12991 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
12992
f8f6f20b
TJB
129932009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12994
12995 * gdb.python/python-frame.c: New file.
12996 * gdb.python/python-frame.exp: New file.
12997
c0c6f777
TJB
129982009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
12999
13000 * gdb.python/python-value.exp: Add tests for the address
13001 attribute.
13002
3cb51905
AS
130032009-03-29 Andreas Schwab <schwab@linux-m68k.org>
13004
13005 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
13006
88fc996f
DE
130072009-03-26 Doug Evans <dje@google.com>
13008
13009 * gdb.mi/mi-nonstop-exit.exp: New file.
13010 * gdb.mi/non-stop-exit.c: New file.
13011
56ef84b1
TT
130122009-03-26 Tom Tromey <tromey@redhat.com>
13013
13014 Update for change to prologue skipping:
13015 * gdb.mi/mi2-simplerun.exp: Update.
13016 * gdb.mi/mi2-break.exp: Update.
13017 * gdb.mi/mi-simplerun.exp: Update.
13018 * gdb.mi/mi-break.exp: Update.
13019 * gdb.base/ending-run.exp: Update.
13020
def2b000
TJB
130212009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
13022
13023 * gdb.python/python-value.exp (test_value_in_inferior): Test
13024 gdb.Value.is_optimized_out attribute.
13025
442ddf59
JK
130262009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13027
13028 * gdb.dwarf2/dw2-noloc-main.c: New file.
13029 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
13030 (.text): Remove.
13031 (.data): New.
13032 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
13033 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
13034 (DW_TAG_subprogram func_cu1, noloc): Remove.
13035 (main): New.
13036 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
13037 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
13038 (file_symbols): New procedure.
13039
a8df5de4
TT
130402009-03-25 Tom Tromey <tromey@redhat.com>
13041
13042 * gdb.base/charset.exp (valid_target_charset): New proc.
13043 Use it to skip tests on invalid charsets.
13044
cc1d7add
PM
130452009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
13046
13047 * gdb.base/completion.exp: Add a test for directory completion.
13048
bcd5727b
JK
130492009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13050
13051 Fix a racy FAIL.
13052 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
13053 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
13054
cc924cad
TJB
130552009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
13056
13057 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
13058 * gdb.python/python-function.exp: Add test for function returning
13059 a GDB value.
13060
bc3b79fd
TJB
130612009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
13062
13063 * gdb.python/python-function.exp: New file.
13064
6c7a06a3
TT
130652009-03-20 Tom Tromey <tromey@redhat.com>
13066
13067 * gdb.base/store.exp: Update for change to escape output.
13068 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
13069 to escape output.
13070 * gdb.base/pointers.exp: Update for change to escape output.
13071 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
13072 to escape output.
13073 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
13074 escape output.
13075 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
13076 to escape output.
13077 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
13078 escape output.
13079 * gdb.base/setvar.exp: Update for change to escape output.
13080 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
13081 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
13082 to escape output.
13083 (test_print_string_constants): Likewise.
13084 * gdb.base/charset.exp (valid_host_charset): Check size of
13085 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
13086 cases. Handle "auto"-related output.
13087 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
13088 (uvar, Uvar): New globals.
13089
c31af87b
JG
130902009-03-19 Jerome Guitton <guitton@adacore.com>
13091
13092 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
13093 deltas.
13094 * gdb.ada/fixed_points.exp: Ditto.
13095
51272cf2
PA
130962009-03-18 Pedro Alves <pedro@codesourcery.com>
13097
13098 * return-nodebug.c: Don't include stdio.h.
13099 (init): Delete.
13100 (func): Delete definition and provide extern declaration.
13101 (t): New.
13102 (main): Don't call printf. Call func and store its result in t.
13103 * return-nodebug1.c: New.
13104 * return-nodebug.exp: Don't expect stdio output. Instead, print
13105 the global variable t. Drop printf formatters and cast types from
13106 foreach loop. Don't use prepare_for_testing. Compile
13107 return-nodebug.c and return-nodebug1.c in separate steps. Don't
13108 define FORMAT or CAST.
13109
d24948ac
PP
131102009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13111
13112 * gdb.base/solib-display.exp: Disable test for remote targers.
13113
61ff14c6
JK
131142009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13115
13116 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
13117
cb4dce93
JK
131182009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13119
13120 Fix a racy FAIL.
13121 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
13122 code from `follow parent, print pids'.
13123 (`follow child, print pids', `follow parent, print pids'): Call it.
13124 Replace `gdb_test "break..."' by gdb_breakpoint.
13125
f7c60c5e
VP
131262009-03-13 Vladimir Prus <vladimir@codesourcery.com>
13127
13128 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 13129 sync and async modes.
f7c60c5e 13130
383ace49
JB
131312009-03-12 Joel Brobecker <brobecker@adacore.com>
13132
13133 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
13134 that was checked in by mistake. Remove loading of ada.exp, since
13135 this is not necessary in this case.
13136
4ce102af
JB
131372009-03-12 Joel Brobecker <brobecker@adacore.com>
13138
13139 * gdb.ada/ptype_arith_binop.exp: New testcase.
13140
529a2aef
JB
131412009-03-12 Joel Brobecker <brobecker@adacore.com>
13142
13143 * gdb.ada/mod_from_name: New testcase.
13144
8a38181c
JB
131452009-03-12 Joel Brobecker <brobecker@adacore.com>
13146
13147 * gdb.ada/tick_last_segv: New testcase.
13148
11436dee
VP
131492009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13150
61ff14c6 13151 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 13152
1f31650a
VP
131532009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13154
61ff14c6
JK
13155 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
13156 include the token in ^running and frame info in *stopped.
1f31650a 13157
a3247a22
PP
131582009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13159
13160 * solib-display.exp: New file.
13161 * solib-display-main.c: New file.
13162 * solib-display-lib.c: New file.
61ff14c6 13163
aae64587
PA
131642009-03-05 Pedro Alves <pedro@codesourcery.com>
13165
13166 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
13167
44aabfbc
JK
131682009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13169
13170 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
13171 (list_and_check_macro): Use more specific test name.
13172 (next to definition): Make the test names unique.
13173
c087fcd3
PM
131742009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
13175
13176 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 13177
c86cf029
VP
131782009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13179
13180 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
13181 notifications.
13182 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
13183 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
13184 * lib/mi-support.exp (library_loaded_re): New.
13185 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
13186
3ea85240
VP
131872009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13188
13189 * gdb.gdb/observer.exp: Use test_notification observer, not
13190 normal_stop, everywhere.
13191 (test_normal_stop_notifications): Rename to...
13192 (test_notifications): ...this.
13193 (test_observer_normal_stop): Rename to...
13194 (test_observer): ...this.
13195
1903f0e6
DE
131962009-02-16 Doug Evans <dje@google.com>
13197
13198 * gdb.arch/amd64-disp-step.S (test_int3): New test.
13199 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
13200 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
13201 (test_prefixed_syscall,test_int3): New tests.
13202 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
13203 (test_prefixed_syscall,test_int3): New tests.
13204
1d33d6ba
VP
132052009-02-14 Vladimir Prus <vladimir@codesourcery.com>
13206
3cb51905
AS
13207 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
13208 (mi_expect_interrupt): Likewise.
13209 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
13210 response.
1d33d6ba 13211
faafb047
PM
132122009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13213
13214 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
13215 * gdb.base/pc-fp.exp (get_valueofx): Remove.
13216 Replace calls to get_valueofx by get_hexadecimal_valueof.
13217
417e16e2
PM
132182009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13219
13220 * lib/gdb.exp (get_valueof): Accept anything as a return value.
13221 (get_integer_valueof): New procedure.
13222 (get_sizeof): Use new get_integer_value_of.
13223 * gdb.base/sizeof.exp: Replace all uses of get_valueof
13224 by get_integer_valueof.
13225
7065b901
TT
132262009-02-13 Tom Tromey <tromey@redhat.com>
13227
13228 * gdb.base/remote.exp (get_sizeof): Remove.
13229 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
13230 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
13231 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
13232 * lib/gdb.exp (get_valueof): Move from long_long.exp.
13233 (get_sizeof): Likewise.
13234
5d7cb8df
JK
132352009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13236
13237 PR fortran/9806
13238 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
13239
b2febfff
PP
132402009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13241
13242 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
13243
4aa995e1
PA
132442009-02-06 Pedro Alves <pedro@codesourcery.com>
13245
13246 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
13247
d8906c6f
TJB
132482009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
13249
13250 * gdb.python/python-cmd.exp: New file.
13251
ff4ab08d
TG
132522009-02-06 Tristan Gingold <gingold@adacore.com>
13253
13254 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
13255
aacd552b
TG
132562009-02-05 Tristan Gingold <gingold@adacore.com>
13257
13258 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
13259 pointer is dereferenced and use this signal name in regexp.
13260 * gdb.base/signull.exp: Ditto.
13261 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
13262 * gdb.base/signull.c (main): Ditto.
13263
08c637de
TJB
132642009-02-04 Tom Tromey <tromey@redhat.com>
13265 Thiago Jung Bauermann <bauerman@br.ibm.com>
13266
13267 * gdb.python/python-value.exp: Use `gdb.history' instead of
13268 `gdb.value_from_history'.
13269 (test_value_numeric_ops): Add test for conversion of enum constant.
13270 * gdb.python/python-value.c (enum e): New type.
13271 (evalue): New global.
13272 (main): Use argv.
13273
20261af8
JG
132742009-02-04 Jerome Guitton <guitton@adacore.com>
13275
13276 * gdb.ada/uninitialized_vars: New test program.
13277 * gdb.ada/uninitialized_vars.exp: New testcase.
13278
52e44b43
TT
132792009-02-02 Tom Tromey <tromey@redhat.com>
13280
13281 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
13282 * gdb.cp/pr2489.cc: Rename...
13283 * gdb.cp/pr9594.cc: ... to this.
13284
1c71341a
TT
132852009-02-02 Tom Tromey <tromey@redhat.com>
13286
13287 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
13288 * gdb.cp/pr2489.cc: New file.
13289 * gdb.cp/cpcompletion.exp: New file.
13290
a4295225
TT
132912009-02-02 Tom Tromey <tromey@redhat.com>
13292
13293 PR exp/9059:
13294 * gdb.cp/call-c.exp: Add regression test.
13295 * gdb.cp/call-c.cc (FooHandle): New typedef.
13296 (main): New variable 'handle'.
13297
592375cd
VP
132982009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13299
13300 * lib/mi-support.exp (et_mi_thread_list)
13301 (check_mi_and_console_threads): Adjust for current thread in
13302 -thread-list-ids output.
13303
41447f92
VP
133042009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13305
889bf7c5
PA
13306 * gdb.mi/mi-break.exp (test_disabled_creation): New.
13307 Call it.
41447f92 13308
35669430
DE
133092009-01-28 Doug Evans <dje@google.com>
13310
13311 * gdb.arch/amd64-disp-step.S: New file.
13312 * gdb.arch/amd64-disp-step.exp: New file.
13313 * gdb.arch/i386-disp-step.S: New file.
13314 * gdb.arch/i386-disp-step.exp: New file.
13315
09f00d9a
PM
133162009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
13317
13318 * gdb.base/find.exp: Set newline variable
13319 using quotes instead of braces to fix cygwin failures.
13320
1e8fb976
PA
133212009-01-23 Pedro Alves <pedro@codesourcery.com>
13322
13323 * gdb.base/radix.exp: Add tests to ensure that that set
13324 input-radix 0 and set output-radix 0 are really rejected.
13325
da061712
PA
133262009-01-23 Pedro Alves <pedro@codesourcery.com>
13327
13328 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
13329 copyright years.
13330
dd7e2d2b
PA
133312009-01-23 Pedro Alves <pedro@codesourcery.com>
13332
13333 PR gdb/9664:
13334 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
13335
392452f6
PA
133362009-01-22 Pedro Alves <pedro@codesourcery.com>
13337
13338 PR c++/9631:
13339 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
13340
8653e71c
PM
133412009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
13342
13343 * gdb.server/file-transfer.exp: Use EXEEXT variable for
13344 binfile definition to fix Windows OS failure.
13345
a12cc160
DJ
133462009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13347
13348 PR gdb/9346
13349 * gdb.base/interrupt.c (sigint_handler): New.
13350 (main): Install a SIGINT handler if SIGNALS is defined. Exit
13351 on error.
13352 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
13353 Test "signal SIGINT".
13354
b89667eb
DE
133552009-01-19 Doug Evans <dje@google.com>
13356
13357 * gdb.base/break.exp: Update expected gdb output.
13358 * gdb.base/sepdebug.exp: Ditto.
13359 * gdb.mi/mi-syn-frame.exp: Ditto.
13360 * gdb.mi/mi2-syn-frame.exp: Ditto.
13361 * gdb.base/call-signal-resume.exp: New file.
13362 * gdb.base/call-signals.c: New file.
13363 * gdb.base/unwindonsignal.exp: New file.
13364 * gdb.base/unwindonsignal.c: New file.
13365 * gdb.threads/interrupted-hand-call.exp: New file.
13366 * gdb.threads/interrupted-hand-call.c: New file.
13367 * gdb.threads/thread-unwindonsignal.exp: New file.
13368
adb483fe
DJ
133692009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
13370
13371 * gdb.base/define.exp: Test defining and hooking prefix commands.
13372 * gdb.python/python.exp: Update test for "show user" output.
13373
60023297
JK
133742009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13375
13376 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
13377 now the output exactly, using less wildcards. Expect also the output
13378 of gfortran-4.3. Update for the f-valprint.c modification from
13379 2008-04-22.
13380 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
13381 Remove gdb_test test names where matching the command.
13382
ccc57cf9
PA
133832009-01-01 Pedro Alves <pedro@codesourcery.com>
13384
13385 PR breakpoints/9681:
13386 * gdb.base/watchpoint.exp: Add regression test.
13387
c7a6ca08
PA
133882008-12-31 Pedro Alves <pedro@codesourcery.com>
13389
13390 * gdb.threads/attach-into-signal.exp: Don't use
13391 gdb_suppress_entire_file.
13392 * gdb.threads/attach-stopped.exp: Ditto.
13393 * gdb.threads/attachstop-mt.exp: Ditto.
13394
3a031f65
PA
133952008-12-31 Pedro Alves <pedro@codesourcery.com>
13396
13397 PR gdb/8812:
13398 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
13399
09e6485f
PA
134002008-12-29 Pedro Alves <pedro@codesourcery.com>
13401
13402 PR gdb/7536:
13403 * gdb.base/radix.exp: Add tests to ensure invalid input radices
13404 and unsupported output radices are really rejected.
13405
0cd53049
JK
134062008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13407
13408 * gdb.cp/punctuator.exp: Backslash the '$' signs.
13409
ba163c7e
TT
134102008-12-22 Tom Tromey <tromey@redhat.com>
13411
13412 * gdb.cp/punctuator.exp: New file.
13413
6f4de6c9
JK
134142008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13415
13416 * gdb.base/completion.exp (Completing non-existing component): New test.
13417
0f34d0b4
JK
134182008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13419
13420 Fix for PR gdb/8648.
13421 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
13422 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
13423 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
13424 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
13425
db2ad4c3
JK
134262008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13427
13428 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
13429
bb5ef15e
DP
134302008-12-16 Christophe Lyon <christophe.lyon@st.com>
13431
13432 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
13433 compiler actually generate code at the expected line number.
13434
90142adc
JZ
134352008-12-15 Jie Zhang <jie.zhang@analog.com>
13436
13437 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
13438
fad6eecd
TT
134392008-12-12 Tom Tromey <tromey@redhat.com>
13440
13441 * gdb.base/commands.exp (redefine_hook_test): New proc.
13442 Call it.
13443
17c8aaf5
TT
134442008-12-11 Tom Tromey <tromey@redhat.com>
13445
13446 * gdb.base/macscp.exp: New regression test.
13447
7c8adf68
TT
134482008-12-11 Tom Tromey <tromey@redhat.com>
13449
13450 * gdb.base/macscp.exp: Print "address.addr".
13451 * gdb.base/macscp1.c (struct outer): New struct.
13452 (address): New global.
13453
b05dcbb7
TT
134542008-12-09 Tom Tromey <tromey@redhat.com>
13455
13456 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
13457 Call it.
13458
2d476de1
DE
134592008-12-04 Doug Evans <dje@google.com>
13460
13461 * gdb.server/ext-run.exp: Relax regexp for init program.
13462
87bdc959
TG
134632008-12-03 Tristan Gingold <gingold@adacore.com>
13464
13465 * gdb.base/macscp.exp: Generate an object file during compilation
13466 to work around Darwin dsymutil limitations.
13467
e0740f77
JK
134682008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13469
13470 Test resolving external references to TLS variables.
13471 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
13472 FILE2_THREAD_LOCAL.
13473 (testfile2, srcfile2): New variables.
13474 * gdb.threads/tls.c (file2_thread_local)
13475 (function_referencing_file2_thread_local): New.
13476 * gdb.threads/tls2.c: New file.
13477
67f0aac5
JB
134782008-11-28 Joel Brobecker <brobecker@adacore.com>
13479
13480 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
13481 rather than integer, as integer might not be big enough when
13482 on 64bit targets.
67f0aac5 13483
c332165e
JG
134842008-11-27 Jerome Guitton <guitton@adacore.com>
13485
13486 * gdb.cp/formatted-ref.exp: Add equality test.
13487 * gdb.ada/formatted_ref.exp: Ditto.
13488
fc9b693c
JK
134892008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13490
13491 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
13492 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
13493
a9c64011
AS
134942008-11-20 Andreas Schwab <schwab@suse.de>
13495
13496 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
13497 matching syscall entry point.
13498 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13499 (tcatch_vfork_then_child_follow): Likewise. Finish through
13500 vfork even if we stopped at the syscall trampoline.
13501
e2fd701e
DE
135022008-11-20 Doug Evans <dje@google.com>
13503
13504 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
13505
69abc51c
TJB
135062008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
13507
13508 * gdb.arch/ppc-dfp.exp: New file.
13509 * gdb.arch/ppc-dfp.c: New file.
13510
c14c28ba
PP
135112008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13512
13513 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 13514
2e74121d
DE
135152008-11-17 Doug Evans <dje@google.com>
13516
13517 * gdb.mi/mi-syn-frame.exp: Update expected output.
13518 * gdb.mi/mi2-syn-frame.exp: Update expected output.
13519
66bb093b
VP
135202008-11-17 Vladimir Prus <vladimir@codesourcery.com>
13521
13522 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
13523 "thread N" results in =thread-selected.
13524 * lib/mi-support (mi_run_cmd, mi_expect_stop)
13525 (mi_send_resuming_command_raw): Be prepared for
13526 =thread-selected.
13527
3d043ef6
VP
135282008-11-17 Vladimir Prus <vladimir@codesourcery.com>
13529
a9c64011
AS
13530 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
13531 * lib/mi-support.exp: Likewise.
3d043ef6 13532
808104c8
JB
135332008-11-16 Joel Brobecker <brobecker@adacore.com>
13534
13535 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
13536 commands from the expected output for "help catch".
13537
00b22944
JB
135382008-11-15 Joel Brobecker <brobecker@adacore.com>
13539
13540 * gdb.ada/int_deref.exp: New testcase.
13541
59669435
TT
135422008-11-14 Nick Roberts <nickrob@snap.net.nz>
13543
13544 * gdb.mi/gdb2549.exp: New file.
13545
de04a248
DE
135462008-11-11 Doug Evans <dje@google.com>
13547
13548 * gdb.base/callexit.exp: New file.
13549 * gdb.base/callexit.c: New file.
13550
6b8ce727
DE
135512008-11-10 Doug Evans <dje@google.com>
13552
13553 * lib/gdb.exp (GDBFLAGS): Move -nx ...
13554 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
13555 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
13556 (default_gdb_start,default_gdb_exit): Ditto.
13557 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
13558 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
13559 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
13560 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
13561 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
13562 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
13563
1b14b8aa
AS
135642008-11-03 Andreas Schwab <schwab@suse.de>
13565
13566 * gdb.base/hashline2.exp: Fix typo.
13567 * gdb.base/hashline3.exp: Likewise.
13568
f3134b88
TT
135692008-10-30 Tom Tromey <tromey@redhat.com>
13570
13571 * gdb.base/pointers.exp: Add test.
13572 * gdb.base/pointers.c (k, S): New typedefs.
13573 (instance): New global.
13574
c2226152
AS
135752008-10-30 Andreas Schwab <schwab@suse.de>
13576
13577 * gdb.base/args.exp: Add tests for newlines.
13578
462f405c
JB
135792008-10-30 Joel Brobecker <brobecker@adacore.com>
13580
13581 gdb.base/foll-exec.exp: Update the expected output of a couple
13582 of "info breakpoints" tests.
13583
79a45b7d
TT
135842008-10-28 Tom Tromey <tromey@redhat.com>
13585
13586 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
13587
adc13a14
PA
135882008-10-24 Pedro Alves <pedro@codesourcery.com>
13589
13590 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
13591 gdb_start_cmd.
13592 Use runto_main before any test that requires execution.
13593
252fbfc8
PA
135942008-10-23 Pedro Alves <pedro@codesourcery.com>
13595
13596 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
13597 instead of SIGINT.
13598
28148e3d
JB
135992008-10-22 Joel Brobecker <brobecker@adacore.com>
13600
13601 * gdb.base/completion.exp: Update expected output following
13602 the addition of the "info tasks" command.
13603
c209f847
TT
136042008-10-22 Tom Tromey <tromey@redhat.com>
13605
13606 * gdb.base/exprs.exp (test_expr): Add test for string
13607 concatenation.
13608
f177e350
PA
136092008-10-19 Pedro Alves <pedro@codesourcery.com>
13610
13611 * configure.ac: Output gdb.python/Makefile.
13612 * configure: Regenerate.
13613 * gdb.python/Makefile.in: New.
13614
cce89356
JB
136152008-10-16 Joel Brobecker <brobecker@adacore.com>
13616
13617 * gdb.base/foll-fork.exp: Adjust the expected output to match
13618 the new description for fork/vfork catchpoints in the "info
13619 breakpoints" output.
13620
176d289d
TJB
136212008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13622
13623 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
13624
a08702d6
TJB
136252008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13626
13627 * gdb.python/python-value.c: New file.
13628 * gdb.python/python-value.exp: New file.
13629
1c5cfe86
PA
136302008-10-15 Pedro Alves <pedro@codesourcery.com>
13631
13632 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
13633
5a98ad69
DP
136342008-10-15 Denis Pilat <denis.pilat@st.com>
13635
41702f1b 13636 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 13637
dcb1a1e2
TT
136382008-10-09 Tom Tromey <tromey@redhat.com>
13639
13640 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
13641 'fprintf' and 'stderr'.
13642
9124fe48
JB
136432008-10-07 Joel Brobecker <brobecker@adacore.com>
13644
13645 * gdb.ada/ref_tick_size.exp: New testcase.
13646
45452591
DE
136472008-10-06 Doug Evans <dje@google.com>
13648
13649 * gdb.dwarf2/dw2-cu-size.exp: New file.
13650 * gdb.dwarf2/dw2-cu-size.S: New file.
13651
13652 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
13653 .Ltype_int for clarity.
13654
4fc5b208
PP
136552008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13656
13657 PR gdb/2384:
13658 * gdb.cp/gdb2384.exp: Extended to test more cases.
13659 * gdb.cp/gdb2384.cc: Likewise.
13660 * gdb.cp/gdb2384-base.h: Likewise.
13661 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 13662
d78df370
JK
136632008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13664
13665 * gdb.base/maint.exp (maint print type): Remove printing
13666 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
13667
9a044a89
TT
136682008-09-30 Tom Tromey <tromey@redhat.com>
13669
13670 * gdb.base/macscp.exp: Add completion tests.
13671 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
13672 (TWENTY_THREE): Likewise.
13673 (FORTY_EIGHT): Likewise.
13674
506800a9
TT
136752008-09-30 Tom Tromey <tromey@redhat.com>
13676
13677 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
13678 everywhere.
13679 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
13680
1a6f01b5
JK
136812008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13682
13683 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
13684 testcase is derived from. Fix racy dependency on an expected PID
13685 number. No longer support the testcase on Linux kernel 2.4.x.
13686
2fae03e8
TT
136872008-09-27 Tom Tromey <tromey@redhat.com>
13688
13689 * gdb.base/macscp.exp: Add tests for stringification, splicing,
13690 and varargs.
13691
1ad15515
PA
136922008-09-22 Pedro Alves <pedro@codesourcery.com>
13693
13694 * lib/mi-support.exp (mi_expect_interrupt): New.
13695 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
13696 from gdb.mi/mi-nonstop.exp.
13697 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
13698 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
13699 lib/mi-support.exp.
13700 Use mi_check_thread_states throughout. Avoid ".*" and do not
13701 require an anchor after -exec-run.
13702
d0b76dc6
DJ
137032008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
13704
13705 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
13706 stop is pending. Avoid ".*" when two stops are pending.
13707 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
13708 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
13709 newlines in fullnames.
13710 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
13711 (mi_expect_stop): Update comments. Only anchor in sync mode.
13712 Do not match newlines.
13713 (mi_send_resuming_command_raw): Always return status.
13714 (mi_get_stop_line): Do not match more than one line by accident.
13715 Only anchor in sync mode.
13716 (mi_run_inline_test): If -exec-next fails, give up.
13717
9990c830
UW
137182008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13719
13720 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
13721 on SPU.
13722
ebcf6f00
JB
137232008-09-10 Joel Brobecker <brobecker@adacore.com>
13724
13725 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
13726
b6db24e5
JB
137272008-09-10 Joel Brobecker <brobecker@adacore.com>
13728
13729 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
13730 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
13731 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
13732 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
13733 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
13734 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
13735 gdb.ada/interface.exp, gdb.ada/null_array.exp,
13736 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
13737 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
13738 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
13739 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
13740 Include the "= " sequence in the expected output of print tests.
13741
2bf448e0
JB
137422008-09-10 Joel Brobecker <brobecker@adacore.com>
13743
13744 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
13745 description for boolean types.
13746
d51fd4c8
PA
137472008-09-09 Pedro Alves <pedro@codesourcery.com>
13748
13749 * gdb.base/hook-stop-continue.c: New.
13750 * gdb.base/hook-stop-continue.exp: New.
13751
694182d2
DJ
137522008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
13753
13754 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
13755
3b8a7fc0
JG
137562008-09-08 Jerome Guitton <guitton@adacore.com>
13757
13758 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
13759 (stack_check_probe_2, stack_check_probe_loop_1)
13760 (stack_check_probe_loop_2): New functions.
13761 (main): Add call to these new functions.
13762 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
13763 functions, check that the breakpoint is inserted at the appropriate
13764 location.
13765 (insert_breakpoint): Slightly refine this procedure so that it can
13766 be called several times in the test.
13767
96cc0ae8
JG
137682008-09-08 Jerome Guitton <guitton@adacore.com>
13769
13770 * gdb.base/stack-checking.c: New file.
13771 * gdb.base/stack-checking.exp: New file.
13772
1f08b409
TJB
137732008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13774
13775 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
13776 * gdb.arch/altivec-regs.exp: Likewise.
13777 * gdb.arch/vsx-regs.exp: Likewise.
13778
3099e1c4
TJB
137792008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13780
13781 * gdb.arch/ppc-fp.exp: New file.
13782 * gdb.arch/ppc-fp.c: New file.
13783
cc69bfc1
PP
137842008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13785
13786 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
13787 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 13788
b02a33db
MS
137892008-09-04 Michael Snyder <msnyder@vmware.com>
13790
13791 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
13792 as "at" (for non-debug functions such as _start).
13793
2992cbe0
UW
137942008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13795
13796 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
13797 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
13798 software watchpoints.
13799 * gdb.base/watch_thread_num.exp: Likewise.
13800
514f746b
AR
138012008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
13802
13803 * gdb.arch/i386-bp_permanent.exp: New test.
13804
876cecd0
TT
138052008-08-24 Tom Tromey <tromey@redhat.com>
13806
13807 * gdb.base/maint.exp: Update "maint print type".
13808
80f73d71
VP
138092008-08-21 Vladimir Prus <vladimir@codesourcery.com>
13810
13811 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
13812 support. Adjust the order of "*running" notifications.
13813 * gdb.mi/non-stop.c: Don't cast from int to void* and
13814 back.
13815
d9c78d7d
MK
138162008-08-20 Mark Kettenis <kettenis@gnu.org>
13817
13818 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
13819 expect to find it in the "info frame" output.
13820
97a2d1d3
DJ
138212008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
13822
13823 * gdb.base/interp.exp: Always consume both prompts.
13824
b96e2927
PA
138252008-08-20 Pedro Alves <pedro@codesourcery.com>
13826
13827 * gdb.base/pending.exp: Test pending breakpoints without symbols
13828 loaded.
13829
8cf6e61a
VP
138302008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13831
13832 * lib/mi-support.exp (mi_expect_stop): Produce
13833 more details on failures.
13834 * gdb.mi/mi-nonstop.exp: New.
13835 * gdb.mi/non-stop.c: New.
13836
c6ebd6cf
VP
138372008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13838
a9c64011
AS
13839 * gdb.mi/mi-async.exp: Use 'set target-async'.
13840 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 13841
46a9b8ed
DJ
138422008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
13843
13844 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
13845
44feb3ce
TT
138462008-08-17 Tom Tromey <tromey@redhat.com>
13847
13848 * gdb.base/help.exp (help catch): Rewrite.
13849
311a4e6b
TJB
138502008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13851
13852 * gdb.base/define.exp: Test indented command documentation.
13853 * gdb.python/python.exp: Test indented multi-line command.
13854
604c2f83
LM
138552008-08-15 Luis Machado <luisgpm@br.ibm.com>
13856
13857 * testsuite/gdb.arch/vsx-regs.c: New source file.
13858 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
13859 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
13860
886a217c
TT
138612008-08-14 Tom Tromey <tromey@redhat.com>
13862
13863 * gdb.base/macscp.exp: Add regression test for "macro define" or
13864 "macro undef" with no arguments.
13865
c814a4f3
PP
138662008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13867
13868 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 13869
12ab8a60
UW
138702008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13871
13872 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
13873
d57a3c85
TJB
138742008-08-06 Tom Tromey <tromey@redhat.com>
13875
13876 * gdb.python/python.exp: New file.
13877
c7b778ff
JK
138782008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13879
13880 Fix for PR gdb/1543.
13881 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
13882 $LOCATION.
13883 (location): New variable.
13884 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
13885 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
13886 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
13887 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
13888 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
13889 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
13890 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
13891 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
13892 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
13893 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
13894 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
13895 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
13896 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
13897 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
13898 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
13899 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
13900 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
13901 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
13902 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
13903 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
13904 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
13905 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
13906 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
13907 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
13908 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
13909 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
13910 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
13911 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
13912 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
13913 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
13914 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
13915 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
13916 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
13917 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
13918 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
13919 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
13920 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
13921 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
13922 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
13923 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
13924 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
13925 gdb.base/type-opaque.exp, gdb.base/until.exp,
13926 gdb.base/value-double-free.c, gdb.base/varargs.exp,
13927 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
13928 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
13929 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
13930 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
13931 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
13932 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
13933 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
13934 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
13935 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
13936 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
13937 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
13938 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
13939 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
13940 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
13941 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
13942 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
13943 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
13944 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
13945 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
13946 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13947 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
13948 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
13949 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
13950 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13951 gdb.pascal/types.exp, gdb.stabs/weird.exp,
13952 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
13953 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
13954 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
13955 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
13956 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
13957 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
13958 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13959 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13960 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13961 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13962 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13963 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
13964 lib/mi-support.exp, lib/trace-support.exp: Remove reference
13965 to bug-gdb@prep.ai.mit.edu .
13966
5e06a3d1
VP
139672008-07-31 Vladimir Prus <vladimir@codesourcery.com>
13968
13969 * lib/mi-support.exp (mi_load_shlibs): New.
13970 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
13971
9d81d21b
VP
139722008-07-30 Vladimir Prus <vladimir@codesourcery.com>
13973
13974 * lib/mi-support.exp (get_mi_thread_list)
13975 (check_mi_and_console_threads): New, moved from ...
13976 * gdb.mi/mi-pthread.exp: ...here.
13977 * gdb.mi/gdb669.exp (get_mi_thread_list)
13978 (check_mi_and_console_threads): Delete.
13979 * gdb.mi/mi2-pthread.exp: Likewise.
13980
bae98fe0
TT
139812008-07-28 Tom Tromey <tromey@redhat.com>
13982
13983 * Makefile.in (just-check): Remove. Move body to...
13984 (check): ... here.
13985
57380f4e
DJ
139862008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13987
13988 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
13989 Add a test for duplicated SIGINTs.
13990
e09490f1
DJ
139912008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13992
13993 * gdb.threads/schedlock.exp (get_args): Update to work for any
13994 value of NUM.
13995 (Top level): Report the number of threads that did not resume.
13996
6387b45f
DJ
139972008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13998
13999 * gdb.dwarf2/dw2-compressed.S: Also define __start.
14000
62f64ff2
DJ
140012008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14002
14003 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
14004 non-MI prompt.
14005
fa8de41e
TT
140062008-07-26 Tom Tromey <tromey@redhat.com>
14007
14008 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
14009 (function_struct, function_struct_ptr): New globals.
14010 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
14011 function pointer in a struct.
14012
ccb3ac8a
TT
140132008-07-26 Tom Tromey <tromey@redhat.com>
14014
14015 * gdb.base/macscp.exp: Add test for macro lexing bug.
14016
d7d9f01e
TT
140172008-07-18 Tom Tromey <tromey@redhat.com>
14018
14019 * gdb.base/macscp.exp: Add macro tests.
14020
9bf07184
PP
140212008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14022
14023 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
14024
becf6477
PP
140252008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14026
14027 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
14028
0709f7d3
PP
140292008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
14030
14031 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 14032
7093c834
PP
140332008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14034
14035 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 14036
b432ffe3
JK
140372008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14038
14039 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
14040
b1a268e5
VP
140412008-07-12 Vladimir Prus <vladimir@codesourcery.com>
14042
14043 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
14044
e2995f8e
KB
140452008-07-11 Kevin Buettner <kevinb@redhat.com>
14046
14047 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
14048 of regexp to account for changes made to GDB in the printing of
14049 byte vectors.
14050
14032a66
TT
140512008-07-11 Tom Tromey <tromey@redhat.com>
14052
14053 * gdb.base/completion.exp: Add 'help' completion test.
14054
981505ef
JK
140552008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14056
14057 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
14058
10568435
JK
140592008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14060
14061 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
14062
4487aabf
PA
140632008-07-09 Pedro Alves <pedro@codesourcery.com>
14064
14065 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
14066
a4a9b1c4
PA
140672008-07-09 Pedro Alves <pedro@codesourcery.com>
14068
14069 * gdb.base/fullname.exp: Restore pwd if compiling failed.
14070
3c3185ac
JK
140712008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14072
14073 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
14074
7ebd49dc
VP
140752008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14076
14077 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
14078 previous commit. Add a comment.
14079
84e46146
PA
140802008-06-28 Pedro Alves <pedro@codesourcery.com>
14081
14082 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
14083
0f8d4a2f
VP
140842008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14085
14086 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
14087
f747e0ce
PA
140882008-06-27 Pedro Alves <pedro@codesourcery.com>
14089
14090 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
14091 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
14092 compiling an executable, link in an object that forces unbuffered
14093 output.
14094 * lib/set_unbuffered_mode.c: New file.
14095
734a5c36
JK
140962008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14097
14098 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
14099
a2840c35
VP
141002008-06-25 Vladimir Prus <vladimir@codesourcery.com>
14101
a9c64011
AS
14102 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
14103 mi_expect_stop.
14104 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
14105 Demand that *running is output.
14106 (detect_async): Perform checking every time.
14107 (mi_send_resuming_command): Extract everything into...
14108 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
14109 (mi_expect_stop): Don't accept any output before *stopped.
14110
6ae37fef
VP
141112008-06-13 Vladimir Prus <vladimir@codesourcery.com>
14112
14113 Robustify mi-simplerun.
a9c64011
AS
14114 * gdb.mi/basics.c (main): Add a call to sleep.
14115 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
14116 * gdb.mi/mi2-cli.exp: Likewise.
14117 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 14118
b4aa76f0 141192008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
14120
14121 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
14122
e1ac3328
VP
141232008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14124
a9c64011
AS
14125 * gdb.mi/mi-console.exp: Adjust.
14126 * gdb.mi/mi-syn-frame.exp: Adjust.
14127 * gdb.mi/mi2-console.exp: Adjust.
14128 * gdb.mi/mi2-syn-frame.exp: Adjust.
14129 * lib/mi-support.exp (mi_run_cmd): Adjust.
14130 (mi_send_resuming_command): Adjust.
e1ac3328 14131
f7f9a841
VP
141322008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14133
14134 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
14135 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
14136 testing of stopped.
14137 * gdb.mi/mi2-syn-frame.exp: Likewise.
14138 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
14139 (async, detect_async): New.
14140 (mi_expect_stop, mi_continue_to_line): Adjust expectation
14141 depending on if we're running in sync or async mode.
f7f9a841 14142
37cd5d19
TT
141432008-06-09 Tom Tromey <tromey@redhat.com>
14144
14145 * gdb.base/completion.exp: New tests for field name completion
14146 with spaces, and field name completion with '->'.
14147
65d12d83
TT
141482008-06-06 Tom Tromey <tromey@redhat.com>
14149
14150 * gdb.base/break1.c (struct some_struct): New struct.
14151 (values): New global.
14152 * gdb.base/completion.exp: Add field name completion test.
14153
ebfe2e3f
PP
141542008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14155
14156 * gdb.cp/call-c.exp: Test for incorrect handling of reference
14157 to pointer.
14158 * gdb.cp/call-c.cc: Likewise.
14159
bcf6fc3a
NR
141602008-06-06 Nick Roberts <nickrob@snap.net.nz>
14161
14162 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
14163 annotation.
14164
49fd4a42 141652008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 14166 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
14167
14168 * gdb.threads/execl.c, gdb.threads/execl1.c,
14169 gdb.threads/execl.exp: New tests.
a9c64011 14170
8a34ac3f
AR
141712008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
14172 Daniel Jacobowitz <dan@codesourcery.com>
14173
14174 * gdb.cp/exception.exp: Activate test, make it work with pending
14175 catchpoints.
14176
86ae69ef
JK
141772008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14178
14179 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
14180
f7f9ae2c
VP
141812008-05-28 Vladimir Prus <vladimir@codesourcery.com>
14182
a9c64011
AS
14183 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
14184 now printed.
14185 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 14186
2a2d4dc3
AS
141872008-05-27 Andreas Schwab <schwab@suse.de>
14188
14189 * gdb.base/frame-args.exp: Handle arguments that are optimized
14190 out.
14191
5099e4d9
LM
141922008-05-26 Luis Machado <luisgpm@br.ibm.com>
14193
14194 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
14195 quiet for ppc32 and group options into a single variable.
14196
d9c36a91
JB
141972008-05-23 Joel Brobecker <brobecker@adacore.com>
14198
14199 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
14200 of zero-size elements.
14201 * gdb.ada/null_array.exp: Test printing this new array.
14202
103a8671
JK
142032008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14204
14205 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
14206
07a4cc1a 142072008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
14208
14209 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
14210 of the "finish" command.
14211
55f996a7
NR
142122008-05-21 Nick Roberts <nickrob@snap.net.nz>
14213
14214 * gdb.base/annota1.exp: Test for new annotation.
14215
907fc202
UW
142162008-05-16 Pedro Alves <pedro@codesourcery.com>
14217
14218 * gdb.base/fixsection.exp: New file.
14219 * gdb.base/fixsection0.c: New file.
14220 * gdb.base/fixsection1.c: New file.
14221
e8f97270
UW
142222008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14223
14224 * gdb.base/annota1.exp: Accept printf@... in place of printf.
14225 * gdb.base/annota3.exp: Likewise.
14226
ac0bb574
NF
142272008-05-13 Nathan Froyd <froydnj@codesourcery.com>
14228
14229 * gdb.base/watch_thread_num.exp: Don't run tests that require
14230 watchpoints if the target doesn't support them.
14231
6fadd07a
DE
142322008-05-12 Doug Evans <dje@google.com>
14233
14234 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
14235
6e9a4a30
JB
142362008-05-09 Joel Brobecker <brobecker@adacore.com>
14237
14238 * gdb.ada/assign_1.exp: New testcase.
14239
08388c79
DE
142402008-05-09 Doug Evans <dje@google.com>
14241
a3c83fae
DE
14242 * gdb.base/find.exp: New file.
14243 * gdb.base/find.c: New file.
08388c79 14244
bd5ddfe8
DJ
142452008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
14246
14247 * gdb.base/commands.exp (watchpoint_command_test): Handle
14248 gdb,no_hardware_watchpoints.
14249 * gdb.base/float.exp: Allow ARM targets without floating point.
14250 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
14251
b5dd68e2 142522008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 14253 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
14254
14255 * gdb.ada/lang_switch: New test program.
14256 * gdb.ada/lang_switch.exp: New testcase.
14257
382d13d1
DE
142582008-05-05 Doug Evans <dje@google.com>
14259
14260 * gdb.base/help.exp (disassemble): Update expected help text.
14261
9dd789d0
PA
142622008-05-04 Pedro Alves <pedro@codesourcery.com>
14263
14264 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
14265
611c83ae
PA
142662008-05-04 Pedro Alves <pedro@codesourcery.com>
14267
14268 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
14269 different times.
14270
ff013f42
JK
142712008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14272
14273 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
14274 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
14275 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
14276 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
14277
96dff6a2
VP
142782008-05-04 Vladimir Prus <vladimir@codesourcery.com>
14279
14280 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
14281 notification to appear.
14282
55cd6f92
DJ
142832008-05-04 Daniel Jacobowitz <dan@debian.org>
14284
14285 * gdb.base/fullname.c: New file.
14286 * gdb.base/fullname.exp: New file.
14287 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
14288
d705c43c
PA
142892008-05-03 Pedro Alves <pedro@codesourcery.com>
14290
14291 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
14292 expressions with macros.
14293
333222e1
JK
142942008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14295
14296 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
14297
5ac01682
DJ
142982008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
14299
14300 * gdb.base/completion.exp: Handle lack of other symbols beginning
14301 with "a".
14302
14303 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
14304
237fc4c9
PA
143052008-05-02 Jim Blandy <jimb@codesourcery.com>
14306
14307 * gdb.asm/asmsrc1.s: Add scratch space.
14308
ed5e9466
DJ
143092008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14310 Daniel Jacobowitz <dan@codesourcery.com>
14311
14312 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
14313 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
14314 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
14315
b39cc962
DJ
143162007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
14317
14318 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
14319
36d520f5
JB
143202008-05-01 Joel Brobecker <brobecker@adacore.com>
14321
14322 * gdb.base/info-target.exp: New testcase.
14323
8d4e3071
DJ
143242008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14325
14326 * gdb.cp/hang.exp: Use .cc instead of .C.
14327 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
14328 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
14329
6f3f3097
DJ
143302008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14331
14332 * gdb.base/gdb1250.exp: Remove perror.
14333 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
14334
5550a914
PA
143352008-04-30 Pedro Alves <pedro@codesourcery.com>
14336
14337 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
14338 .2byte.
14339
d848e687
DJ
143402008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
14341
14342 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
14343 (maybe_kfail): New.
14344
93b5768b
PA
143452008-04-25 Pedro Alves <pedro@codesourcery.com>
14346
14347 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
14348
721c02de
VP
143492008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14350
a9c64011
AS
14351 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
14352 * gdb.mi/mi2-syn-frame.exp: Likewise.
14353 * lib/mi-support.exp: Likewise.
721c02de 14354
74960c60
VP
143552008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14356
14357 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
14358 to specify regexp for the location to stop at.
14359 * gdb.base/break-always.c: New.
14360 * gdb.base/break-always.exp: New.
14361
d24317b4
VP
143622008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14363
14364 * lib/mi-support.exp (mi_runto_helper): Adjust
14365 for the original-location field.
14366 (mi_create_breakpoint, mi_list_breakpoints): New.
14367 * gdb.mi/mi-break.exp: Adjust.
14368 * gdb.mi/mi2-break.exp: Adjust.
14369 * gdb.mi/mi-pending.exp: Adjust.
14370 * gdb.mi/mi-simplerun.exp: Adjust.
14371 * gdb.mi/mi2-simplerun.exp: Adjust.
14372 * gdb.mi/mi-syn-frame.exp: Adjust.
14373 * gdb.mi/mi2-syn-frame.exp: Adjust.
14374 * gdb.mi/mi-until.exp: Adjust.
14375 * gdb.mi/mi2-until.exp: Adjust.
14376 * gdb.mi/mi-var-display.exp: Adjust.
14377 * gdb.mi/mi2-var-display.exp: Adjust.
14378 * gdb.mi/mi-watch.exp: Adjust.
14379 * gdb.mi/mi2-watch.exp: Adjust.
14380
fdc59709 143812008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 14382
a9c64011
AS
14383 * aclocal.m4: Add override.m4.
14384 * configure: Regenerate.
fdc59709 14385
8e91f023
VP
143862008-04-19 Vladimir Prus <vladimir@codesourcery.com>
14387
14388 * gdb.mi/var-cmd.c (do_at_tests): Verify that
14389 '-var-update --all-values' reports new value even the type
14390 of a variable object has changed.
14391
233a11ab
CS
143922008-04-18 Craig Silverstein <csilvers@google.com>
14393
14394 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
14395 files.
d24317b4 14396
9c1137ad
JB
143972008-04-18 Joel Brobecker <brobecker@adacore.com>
14398
14399 * gdb.ada/atomic_enum: New test program.
14400 * gdb.ada/atomic_enum.exp: New testcase.
14401
66d0bbc7
DE
144022008-04-17 Doug Evans <dje@google.com>
14403
14404 * gdb.opt/Makefile.in: Fix whitespace.
14405
100906b0
UW
144062008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
14407
14408 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
14409
4584e32e
DE
144102008-04-17 Doug Evans <dje@google.com>
14411
14412 * gdb.base/hashline1.exp: New testcase.
14413 * gdb.base/hashline2.exp: New testcase.
14414 * gdb.base/hashline2.exp: New testcase.
14415
0a320680
PA
144162008-04-17 Pedro Alves <pedro@codesourcery.com>
14417
14418 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
14419
18ac113b
AR
144202008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
14421
14422 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
14423 temporary breakpoint to match "Temporary breakpoint".
14424 * gdb.base/break.exp (delete_breakpoints): Likewise.
14425 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
14426 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
14427 * gdb.base/display.exp: Likewise.
14428 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
14429 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
14430 * gdb.base/restore.exp (restore_tests): Likewise.
14431 * gdb.base/sepdebug.exp: Likewise.
14432 * gdb.base/watchpoint.exp: Likewise.
14433 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
14434 * gdb.mi/mi-pending.exp: Likewise.
14435 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
14436 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
14437 * gdb.mi/mi-var-cmd.exp: Likewise.
14438 * gdb.mi/mi-var-display.exp: Likewise.
14439 * gdb.mi/mi2-cli.exp: Likewise.
14440 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
14441 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
14442 * gdb.mi/mi2-var-display.exp: Likewise.
14443 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
14444 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
14445 new "disp" field.
a9c64011 14446 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
14447 reason. This is to support fix for PR2424.
14448
add38693
JK
144492008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14450
14451 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
14452
fcacd99f
VP
144532008-04-13 Vladimir Prus <vladimir@codesourcery.com>
14454
14455 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 14456 field. Add more floating varobj tests.
fcacd99f 14457 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
14458 field.
14459 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
14460 (main): Call do_at_tests.
14461 * lib/mi-support.exp (mi_create_floating_varobj)
14462 (mi_varobj_update_with_type_change): New.
fcacd99f 14463
de051565
MK
144642008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
14465
14466 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
14467 option of -var-evaluate-expression.
14468 * gdb.mi/mi2-var-display.exp: Likewise.
14469
dbc52822
VP
144702008-04-07 Vladimir Prus <vladimir@codesourcery.com>
14471
14472 Introduce test setup helpers.
a9c64011
AS
14473 * lib/gdb.exp (build_executable, clean_restart)
14474 (prepare_for_testing): New.
14475 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
14476 * gdb.base/return.exp: Likewise.
14477 * gdb.base/ending-run.exp: Likewise.
dbc52822 14478
473591da
NR
144792008-04-07 Nick Roberts <nickrob@snap.net.nz>
14480
14481 * gdb.mi/mi-async.exp: New test for asynchronous Machine
14482 Interface (MI) responses.
14483
2b2d9e11
VP
144842008-04-06 Vladimir Prus <vladimir@codesourcery.com>
14485
a9c64011
AS
14486 * gdb.cp/breakpoint.cc: New code to test conditions involving
14487 member variables.
14488 * gdb.cp/breakpoint.exp: Test condition involving member
14489 variables.
2b2d9e11 14490
bb378428
VP
144912008-04-05 Vladimir Prus <vladimir@codesourcery.com>
14492
14493 * lib/mi-support.exp (mi_expect_stop): New.
14494 (mi_run_cmd): Change the
14495 token. Use mi_send_resuming_command, use
14496 mi_expect_stop.
14497 (mi_execute_to_helper): Rename to mi_execute_to.
14498 (mi_send_resuming_command): Add more error patterns.
14499 (mi_wait_for_stop): Renamed to...
14500 (mi_get_stop_line): ...this.
14501 (mi_run_inline_test): Adjust.
14502
14503 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
14504 * gdb.mi/mi-console.exp: Likewise.
14505 * gdb.mi/mi-pending.exp: Likewise.
14506 * gdb.mi/mi-simplerun.exp: Likewise.
14507 * gdb.mi/mi-stack.exp: Likewise.
14508 * gdb.mi/mi-stepi.exp: Likewise.
14509 * gdb.mi/mi-syn-frame.exp: Add comment.
14510 * gdb.mi/mi-until.exp: Likewise.
14511 * gdb.mi/mi-var-display.exp: Likewise.
14512 * gdb.mi/mi-watch.exp: Likewise.
14513 * gdb.mi/mi2-cli.exp: Likewise.
14514 * gdb.mi/mi2-console.exp: Likewise.
14515 * gdb.mi/mi2-simplerun.exp: Likewise.
14516 * gdb.mi/mi2-stack.exp: Likewise.
14517 * gdb.mi/mi2-stepi.exp: Likewise.
14518 * gdb.mi/mi2-until.exp: Likewise.
14519 * gdb.mi/mi2-var-display.exp: Likewise.
14520 * gdb.mi/mi2-watch.exp: Likewise.
14521
62172bb9
UW
145222008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14523
14524 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
14525
14526 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
14527
a13e061a
PA
145282008-04-04 Pedro Alves <pedro@codesourcery.com>
14529
14530 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
14531 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
14532 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14533 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
14534 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
14535 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
14536 expect an mi error duplicated in stderr.
14537
eae06beb
JB
145382008-04-03 Joel Brobecker <brobecker@adacore.com>
14539
14540 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
14541 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
14542 Add a couple of tests that verify the behavior when the new setting
14543 is set to "cancel" and "all".
14544 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
14545 "ask" before we start the testing.
14546
79c6ced6
AR
145472008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
14548
14549 * gdb.cp/casts.cc: Add class reference variables.
14550 * gdb.cp/casts.exp: New test cases for up/down casting references.
14551
6c2d1a6b
MK
145522008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
14553
14554 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
14555 instead of beginning to make an extra test pass.
14556 * gdb.mi/mi2-var-display.exp: Likewise.
14557
55b411d9
MR
145582008-03-31 Maciej W. Rozycki <macro@mips.com>
14559
14560 * gdb.base/break.exp: Mark failures as such. Fix formatting.
14561
c6140da2
MD
145622008-03-31 Markus Deuling <deuling@de.ibm.com>
14563 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14564
14565 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
14566 value. Add xfail for older kernels.
14567
79732189
AR
145682008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
14569
14570 Bring mi-support in line with gdb.exp.
14571 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
14572 (mi_gdb_start): New function.
14573
33c3676e
MR
145742008-03-28 Maciej W. Rozycki <macro@mips.com>
14575
14576 * gdb.mi/mi-var-cmd.exp: Fix a typo.
14577
92e28119
VP
145782008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14579
14580 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
14581 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 14582
9e8e3afe
VP
145832008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14584
14585 * lib/mi-support.exp (mi_create_varobj_checked): New.
14586 (mi_list_varobj_children): Allow to check for a
14587 value.
14588 (mi_list_array_varobj_children): New.
14589
14590 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
14591 and mi_list_varobj_children, as opposed to hardcoding
14592 expected strings.
14593 * gdb.mi/gdb701.exp: Likewise.
14594 * gdb.mi/gdb792.exp: Likewise.
14595 * gdb.mi/mi-var-block.exp: Likewise.
14596 * gdb.mi/mi-var-cmd.exp: Likewise.
14597 * gdb.mi/mi-var-invalidate.exp: Likewise.
14598 * gdb.mi/mi2-var-block.exp: Likewise.
14599 * gdb.mi/mi2-var-child.exp: Likewise.
14600 * gdb.mi/mi2-var-cmd.exp: Likewise.
14601 * gdb.mi/mi2-var-display.exp: Likewise.
14602
9df50351
JK
146032008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14604
14605 Fix random false FAILs on i386.
14606 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
14607
31e5d73a
DJ
146082008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14609
14610 PR gdb/544
14611 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
14612
12f4afab
DJ
146132008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14614
14615 PR gdb/544
14616 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
14617
b562a0cb
DJ
146182008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14619
14620 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
14621 fixed PR gdb/544.
14622
17faa917
DJ
146232008-03-21 Pedro Alves <pedro@codesourcery.com>
14624
14625 * gdb.threads/fork-child-threads.exp: Test next over fork.
14626
6214f497
DJ
146272008-03-21 Chris Demetriou <cgd@google.com>
14628
14629 * gdb.base/break.exp (rbreak junk): New test for rbreak
14630 "Junk at end of arguments" issue.
14631
63092375
DJ
146322008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14633
14634 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
14635 *& to work on created array elements.
14636 (Top level): Test print $pc with a file. Test string operations
14637 without a target.
14638 * gdb.base/ptype.exp: Do not expect *& to work on created array
14639 elements.
14640
b21991b0
DJ
146412008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14642
14643 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14644 gdb.threads/staticthreads.exp: Update exit query.
14645
c4b347c7
SL
146462008-03-07 Sandra Loosemore <sandra@codesourcery.com>
14647
14648 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
14649
fa4727a6
DJ
146502008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
14651
14652 * gdb.base/watchpoint.c (global_ptr, func4): New.
14653 (main): Call func4.
14654 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
14655 (test_inaccessible_watchpoint): New.
14656
2f34202f
MR
146572008-02-29 Maciej W. Rozycki <macro@mips.com>
14658
14659 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
14660 select the largest.
14661
0d6ba1b1
DJ
146622008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
14663
14664 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
14665 frames-invalid annotations.
14666
e691325a
PM
146672008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
14668
a9c64011 14669 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 14670
f85b5ecc
DE
146712008-02-27 Doug Evans <dje@google.com>
14672
14673 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
14674 for bug 1738.
14675 (breakpoint_to_handler_entry): Ditto.
14676
b40e7bf3
JB
146772008-02-27 Joel Brobecker <brobecker@adacore.com>
14678
14679 * gdb.base/ending-run.exp: Use the first line of code inside
14680 function body to test breakpoints.
14681 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
14682 location where the breakpoint is inserted when using the line
14683 where a function is declared. Fix typo in the description of
14684 one of the tests.
14685 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
14686
2faca73a
PM
146872008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14688
14689 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 14690 tests.
2faca73a 14691
6f439c36
PM
146922008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14693
14694 * gdb.base/args.exp: avoid same output for tests
14695 with single quotes.
14696
54e52265
VP
146972008-02-26 Vladimir Prus <vladimir@codesourcery.com>
14698
a9c64011
AS
14699 * gdb.base/annota1.exp: Adjust for 'info break'
14700 format changes.
14701 * gdb.base/annota3.exp: Likewise.
14702 * gdb.base/break.exp: Likewise.
14703 * gdb.base/condbreak.exp: Likewise.
14704 * gdb.base/pending.exp: Likewise.
14705 * gdb.base/sepdebug.exp: Likewise.
14706 * gdb.base/unload.exp: Likewise.
14707 * gdb.cp/ovldbreak.exp: Likewise.
14708 * gdb.mi/mi-pending.exp: Likewise.
54e52265 14709
897b09ca
DE
147102008-02-07 Doug Evans <dje@google.com>
14711
14712 * gdb.cp/mb-inline.exp: New.
14713 * gdb.cp/mb-inline.h: New.
14714 * gdb.cp/mb-inline1.cc: New.
14715 * gdb.cp/mb-inline2.cc: New.
14716
b1c32d35
PM
147172008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
14718
14719 * gdb.pascal/floats.pas: New test program.
14720 * gdb.pascal/floats.exp: New testcase.
14721
1a4ca44a
TJB
147222008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14723
14724 * gdb.base/callfuncs.c (t_float_many_args): New function.
14725 (t_double_many_args): New function.
14726 * gdb.base/callfuncs.exp: Add tests for exceeding float
14727 and double parameters passed through the stack.
14728
439048e8
JB
147292008-02-05 Joel Brobecker <brobecker@adacore.com>
14730
14731 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
14732 gdb.ada/complete/foo.adb: New files.
14733 * gdb.ada/complete.exp: New testcase.
14734
81fe8080
DE
147352008-02-03 Doug Evans <dje@google.com>
14736
301f0ecf
DE
14737 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
14738
81fe8080
DE
14739 * gdb.cp/gdb2384.exp: New file.
14740 * gdb.cp/gdb2384.cc: New file.
14741 * gdb.cp/gdb2384-base.h: New file.
14742 * gdb.cp/gdb2384-base.cc: New file.
14743
4b071aec
DE
147442008-02-02 Doug Evans <dje@google.com>
14745
14746 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
14747
61137ba6
JB
147482007-02-01 Joel Brobecker <brobecker@adacore.com>
14749
14750 * gdb.ada/sym_print_name: New test program.
14751 * gdb.ada/sym_print_name.exp: New testcase.
14752
147532007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
14754
14755 * gdb.ada/nested/hello.adb: New file.
14756 * gdb.ada/nested.exp: New testcase.
14757 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
14758
98deb0da
VP
147592008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14760
14761 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
14762 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
14763 don't cause future evaluations of function to report
14764 creation of internal breakpoints.
98deb0da 14765
723a2275
VP
147662008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14767
14768 * gdb.mi/mi-break.exp (test_error): New.
14769 Call it.
14770
fb546a2f
LM
147712008-01-31 Luis Machado <luisgpm@br.ibm.com>
14772
14773 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
14774 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
14775
2d8fd90a
PM
147762008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14777
14778 * gdb.pascal/integers.pas: New test program.
14779 * gdb.pascal/integers.exp: New testcase.
14780
a7fa0ded
PM
147812008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14782
14783 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
14784
5e1a1926
TJB
147852008-01-30 Luis Machado <luisgpm@br.ibm.com>
14786
14787 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
14788 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
14789
8d04f9f0
JB
147902008-01-30 Paul Hilfinger <hilfinger@adacore.com>
14791
14792 * gdb.ada/formatted_ref: New test program.
14793 * gdb.ada/formatted_ref.exp: New testcase.
14794
14795 * gdb.cp/formatted-ref.cc: New file.
14796 * gdb.cp/formatted-ref.exp: New testcase.
14797
ce75a98f
JB
147982008-01-30 Joel Brobecker <brobecker@adacore.com>
14799
14800 * gdb.base/ptype.exp: Add testing of "ptype $pc".
14801
e835f6bf
NR
148022008-01-30 Nick Roberts <nickrob@snap.net.nz>
14803
14804 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
14805 (test_file_list_exec_source_file): Update to new macro-info field.
14806
d118ef87
PH
148072008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
14808
14809 * gdb.ada/exprs: New test program.
14810 * gdb.ada/exprs.exp: New testcase.
14811
7d35ab09
TJB
148122008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14813
14814 * dfp-test.c (DELTA, DELTA_B): New definitions.
14815 (double_val1, double_val2, double_val3, double_val4, double_val5,
14816 double_val6, double_val7, double_val8, double_val9, double_val10,
14817 double_val11, double_val12, double_val13, double_val14, dec32_val1,
14818 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
14819 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
14820 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
14821 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
14822 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
14823 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
14824 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
14825 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
14826 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
14827 dec128_val16): New global variables.
14828 (decimal_dec128_align): New function.
14829 (decimal_mixed): Likewise.
14830 (decimal_many_args_dec32): Likewise.
14831 (decimal_many_args_dec64): Likewise.
14832 (decimal_many_args_dec128): Likewise.
14833 (decimal_many_args_mixed): Likewise.
14834 * dfp-test.exp: Add tests calling new inferior functions.
14835
2d717e4f
DJ
148362008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14837
14838 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
14839 gdb.server/ext-run.exp: New files.
14840 * lib/gdbserver-support.exp (gdbserver_download): New.
14841 (gdbserver_start): New. Update gdbserver expected
14842 output.
14843 (gdbserver_spawn): Use them.
14844 (gdbserver_start_extended): New.
14845
e85a822c
DJ
148462008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14847
14848 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
14849 Run on GNU/Linux.
14850 (do_exec_tests): Check for systems which do not support catchpoints.
14851 Do not match START.
14852 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
14853 Run on GNU/Linux. Enable verbose output.
14854 (check_fork_catchpoints): New.
14855 (explicit_fork_child_follow, catch_fork_child_follow)
14856 (tcatch_fork_parent_follow): Update expected messages.
14857 (do_fork_tests): Use check_fork_catchpoints.
14858 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
14859 Run on GNU/Linux. Enable verbose output.
14860 (check_vfork_catchpoints): New.
14861 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
14862 expected messages.
14863 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
14864
401ea829
JB
148652008-01-29 Jim Blandy <jimb@red-bean.com>
14866
14867 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
14868 host' errors.
14869 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
14870
aceaf3ad
JB
148712008-01-29 Jim Blandy <jimb@red-bean.com>
14872
14873 * gdb.threads/sigthread.c: Use barriers to ensure that
14874 child_thread and child_thread_two are always initialized before we
14875 start to use them.
14876
a5606eee
VP
148772008-01-29 Vladimir Prus <vladimir@codesourcery.com>
14878
14879 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
14880 * gdb.base/watchpoint-solib.c: New.
14881 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 14882
c55a82bb
PM
148832008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
14884
14885 * gdb.base/gdb1056.exp: Add unsigned integer test.
14886
0993fe05
DE
148872008-01-28 Doug Evans <dje@google.com>
14888
14889 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
14890
4fe42e7f
JB
148912008-01-27 Jim Blandy <jimb@codesourcery.com>
14892
c7a69933
JB
14893 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
14894
4fe42e7f
JB
14895 * gdb.base/expand-psymtabs.exp: Doc fix.
14896
5def8285
MK
148972008-01-26 Mark Kettenis <kettenis@gnu.org>
14898
14899 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
14900
5313c911
NR
149012008-01-24 Nick Roberts <nickrob@snap.net.nz>
14902
a9c64011 14903 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
14904 -var-set-format.
14905
93815fbf
VP
149062008-01-23 Chris Demetriou <cgd@google.com>
14907
14908 * gdb.threads/thread_events.c: New testcase source file.
14909 * gdb.threads/thread_events.exp: New testcase expect file.
14910
467a88ee
NR
149112008-01-23 Nick Roberts <nickrob@snap.net.nz>
14912
14913 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
14914
14915 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
14916 -var-set-format.
14917
d8f82aba
DJ
149182008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
14919 Vladimir Prus <vladimir@codesourcery.com>
14920
14921 * gdb.base/float.exp: Allow missing floating point for m68k and
14922 PowerPC.
14923
60c46647
VP
149242008-01-22 Vladimir Prus <vladimir@codesourcery.com>
14925
14926 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
14927 ignore count.
14928 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
14929 * gdb.mi/mi-cli.exp: Adjust.
14930 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 14931
c7dd36a1
PA
149322008-01-17 Pedro Alves <pedro@codesourcery.com>
14933
14934 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
14935 and 'dummy_ptr' integer pointer. Initialize struct_declarations
14936 with dummy_ptr's address.
14937 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
14938 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
14939 all targets.
14940 * gdb.mi/mi2-var-child.exp: Likewise.
14941
39d5313e
JB
149422008-01-09 Joel Brobecker <brobecker@adacore.com>
14943
14944 * gdb.ada/null_array: New test program.
14945 * gdb.ada/null_array.exp: New testcase.
14946
0aea4bf3
LM
149472008-01-09 Luis Machado <luisgpm@br.ibm.com>
14948
14949 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
14950 with required float modifiers.
14951
0b354900
JB
149522008-01-08 Joel Brobecker <brobecker@adacore.com>
14953
14954 * gdb.ada/funcall_param: New test program.
14955 * gdb.ada/funcall_param.exp: New testcase.
14956
cdb7f5d4
JB
149572008-01-08 Joel Brobecker <brobecker@adacore.com>
14958
14959 * gdb.ada/arrayparam: New test program.
14960 * gdb.ada/arrayparam.exp: New testcase.
14961
88e2547f
JB
149622008-01-08 Joel Brobecker <brobecker@adacore.com>
14963
14964 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
14965 landed. Should also fix random failures in the test following it.
14966
f6867ce0
TJB
149672008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
14968
14969 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
14970 for expressions with decimal float values.
14971 (test_dfp_conversions): New function to test casts to and from
14972 decimal float types.
14973 Call test_dfp_conversions.
14974 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
14975 elements.
14976 (main): Initialize ds.float4 and ds.double8 elements.
14977 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
14978 string to new error message.
14979 (d64_set_tests): Likewise.
14980 (d128_set_tests): Likewise.
14981 Add tests for expressions with decimal float variables. Add tests for
14982 conversions to and from decimal float types.
14983
f9c11282
JB
149842008-01-05 Joel Brobecker <brobecker@adacore.com>
14985
14986 * gdb.ada/packed_tagged/comp_bug.adb: New file.
14987 * gdb.ada/packed_tagged.exp: New testcase.
14988
0ecbca72
JB
149892008-01-04 Joel Brobecker <brobecker@adacore.com>
14990
14991 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
14992 gdb.ada/homonym/homonym_main.adb: New files.
14993 * gdb.ada/homonym.exp: New testcase.
14994
c18d3d89
JB
149952008-01-04 Joel Brobecker <brobecker@adacore.com>
14996
14997 * gdb.ada/packed_array.exp: Add testing of references to
14998 a packed array.
14999
ecc7085b
JB
150002008-01-04 Joel Brobecker <brobecker@adacore.com>
15001
15002 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
15003 New files.
15004 * gdb.ada/type_coercion.exp: New testcase.
15005
c474c922
JB
150062008-01-04 Joel Brobecker <brobecker@adacore.com>
15007
15008 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
15009 gdb.ada/tagged/foo.adb: New file.
15010 * gdb.ada/tagged.exp: New testcase.
15011
9005b927
JB
150122008-01-04 Joel Brobecker <brobecker@adacore.com>
15013
15014 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
15015 gdb.ada/ptype_field/foo.adb: New files.
15016 * gdb.ada/ptype_field.exp: New testcase.
15017
1a6aaad8
JB
150182008-01-03 Joel Brobecker <brobecker@adacore.com>
15019
15020 * gdb.ada/print_pc.exp: New testcase.
15021
0ef22f53
JB
150222008-01-03 Joel Brobecker <brobecker@adacore.com>
15023
15024 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
15025 gdb.ada/taft_type/p.adb: New files.
15026 * gdb.ada/taft_type.exp: New testcase.
15027
1689ecf8
JB
150282008-01-03 Joel Brobecker <brobecker@adacore.com>
15029
15030 * gdb.ada/array_bounds/bar.adb: New file.
15031 * gdb.ada/array_bounds.exp: New testcase.
15032
a4d0b9c3
JB
150332008-01-03 Joel Brobecker <brobecker@adacore.com>
15034
15035 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
15036 gdb.ada/arrayptr/foo.adb: New files.
15037 * gdb.ada/arrayptr.exp: New testcase.
15038
a31ace00
JB
150392008-01-03 Joel Brobecker <brobecker@adacore.com>
15040
15041 * gdb.base/set-lang-auto.exp: New testcase.
15042
a97fced3
JB
150432008-01-03 Joel Brobecker <brobecker@adacore.com>
15044
15045 * gdb.ada/fun_addr/foo.adb: New file.
15046 * gdb.ada/fun_addr.exp: New testcase.
15047
ef29ce1a
JK
150482008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15049
15050 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
15051 New files
15052
0fafefe3
JB
150532008-01-02 Joel Brobecker <brobecker@adacore.com>
15054
15055 * array_subscript_addr/p.adb: New file.
a9c64011 15056 * array_subscript_addr.exp: New testcase.
0fafefe3 15057
c4359f8d
JB
150582008-01-02 Joel Brobecker <brobecker@adacore.com>
15059
a9c64011 15060 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
15061 New files.
15062 * gdb.ada/str_cmp_ref.exp: New testcase.
15063
1aa1b15b
JB
150642008-01-01 Joel Brobecker <brobecker@adacore.com>
15065
15066 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
15067 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 15068 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 15069
81c9b2cf
JB
150702008-01-01 Joel Brobecker <brobecker@adacore.com>
15071
15072 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
15073 gdb.ada/ref_param/pck.ads: New files.
15074 * gdb.ada/ref_param.exp: New testcase.
15075
319e4674
JB
150762008-01-01 Joel Brobecker <brobecker@adacore.com>
15077
15078 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
15079 gdb.ada/interface/foo.adb: New files.
15080 * gdb.ada/interface.exp: New testcase.
15081
ef682c56
JB
150822007-12-31 Jim Blandy <jimb@codesourcery.com>
15083
15084 * gdb.base/multi-forks.exp: Consume all output from child
15085 processes before proceeding to next test.
15086
f6f3eb6c
JB
150872007-12-29 Jim Blandy <jimb@codesourcery.com>
15088
15089 * configure: Regenerated.
15090
f652e42f
JB
150912007-12-27 Joel Brobecker <brobecker@adacore.com>
15092
15093 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
15094 gdb.ada/fixed_cmp/fixed.adb: New files.
15095 * gdb.ada/fixed_cmp.exp: New testcase.
15096
6943e596
JB
150972007-12-27 Joel Brobecker <brobecker@adacore.com>
15098
15099 * gdb.ada/boolean_expr.exp: New testcase.
15100
aad9a193
JB
151012007-12-26 Jim Blandy <jimb@codesourcery.com>
15102
15103 * gdb.base/multi-forks.exp: Doc fix.
15104
fb5f3683
JB
151052007-12-26 Joel Brobecker <brobecker@adacore.com>
15106
15107 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15108 * gdb.ada/char_param.exp: Do not compile our test program with
15109 -gnata, this is unnecessary.
15110 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
15111
384e4a9c
JB
151122007-12-24 Joel Brobecker <brobecker@adacore.com>
15113
15114 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
15115 gdb.ada/print_chars/foo.adb: New files.
15116 * gdb.ada/print_chars.exp: New testcase.
15117
01e044f7
JB
151182007-12-24 Joel Brobecker <brobecker@adacore.com>
15119
15120 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
15121 gdb.ada/char_param/foo.adb: New files.
15122 * gdb.ada/char_param.exp: New testcase.
15123
0ce17860
JB
151242007-12-22 Jim Blandy <jimb@codesourcery.com>
15125
15126 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
15127 hard-coding source line numbers into the test.
15128 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
15129 gdb_get_line_number to find.
15130
919809b9
JB
151312007-12-22 Joel Brobecker <brobecker@adacore.com>
15132
15133 * gdb.base/ptype.c (highest): New struct type.
15134 (the_highest): New variable of that type.
15135 (main): Add dummy assignment to a field of variable the_highest.
15136 * gdb.base/ptype.exp: Test type printing of our new variable.
15137
abc8a88d
PM
151382007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
15139
15140 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 15141 and record first explicitly generated thread number.
abc8a88d
PM
15142 Use that thread number for thread specific watchpoint test.
15143 Add iteration number to repetitive tests.
15144
5158f3e3
CES
151452007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15146 Jim Blandy <jimb@codesourcery.com>
15147
15148 * gdb.base/expand-psymtabs.c: New testcase
15149 source file.
15150 * gdb.base/expand-psymtabs.exp: New testcase
15151 expect file.
15152
37e4754d
LM
151532007-12-17 Luis Machado <luisgpm@br.ibm.com>
15154
15155 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
15156 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
15157
551e5d04
JB
151582007-12-17 Joel Brobecker <brobecker@adacore.com>
15159
15160 * gdb.ada/frame_args/foo.adb: New file.
15161 * gdb.ada/frame_args/pck.ads: New file.
15162 * gdb.ada/frame_args/pck.adb: New file.
15163 * gdb.ada/frame_args.exp: New testcase.
15164
a05ee097
JB
151652007-12-17 Joel Brobecker <brobecker@adacore.com>
15166
15167 * gdb.base/frame-args.c: New file.
15168 * gdb.base/frame-args.exp: New testcase.
15169
c162e8c9 151702007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 15171 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
15172
15173 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
15174
afe8ab22 151752007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15176
afe8ab22
VP
15177 * gdb.mi/mi-pending.exp: New.
15178 * gdb.mi/mi-pending.c: New.
15179 * gdb.mi/mi-pendshr.c: New.
15180
dfdfb3ca
JB
151812007-12-06 Jim Blandy <jimb@codesourcery.com>
15182
15183 * gdb.base/default.exp: Update expected output for 'info catch'.
15184
b7fca990
JK
151852007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15186
15187 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
15188 must be set to binary.
15189
6a1afc1e
PA
151902007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
15191
15192 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
15193
a6b151f1
DJ
151942007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
15195
15196 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
15197 gdb.mi/mi-file-transfer.exp: New.
15198
43039443
JK
151992007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15200
15201 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
15202
0ef2251b
MR
152032007-11-22 Maciej W. Rozycki <macro@mips.com>
15204
15205 * gdb.trace/backtrace.exp: Fix a typo.
15206 * gdb.trace/circ.exp: Likewise.
15207 * gdb.trace/collection.exp: Likewise.
15208 * gdb.trace/limits.exp: Likewise.
15209 * gdb.trace/report.exp: Likewise.
15210 * gdb.trace/tfind.exp: Likewise.
15211 * gdb.trace/while-dyn.exp: Likewise.
15212
5443631e
NR
152132007-11-21 Nick Roberts <nickrob@snap.net.nz>
15214
15215 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
15216 objects of pointers that can't be dereferenced are now
15217 "noneditable".
15218
a4ce5b0d
UW
152192007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15220
15221 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
15222 (target_cpu): Remove.
15223
d6e956e5
VP
152242007-10-15 Vladimir Prus <vladimir@codesourcery.com>
15225
15226 * gdb.base/ending-run.exp: Expect the list of cleared
15227 breakpoint to come in natural order, not the reversed one.
a9c64011 15228
214270ab
VP
152292007-11-07 Vladimir Prus <vladimir@codesourcery.com>
15230
15231 * gdb.mi/mi-var-child.c (do_child_deletion): New.
15232 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 15233
1a619819
LM
152342007-11-05 Luis Machado <luisgpm@br.ibm.com>
15235
15236 * gdb.base/printcmds.exp: New function
15237 test_printf_with_dfp.
15238
5b01a6fa
DE
152392007-11-02 Doug Evans <dje@google.com>
15240
15241 * gdb.disasm/t01_mov.s: Remove carriage returns.
15242 * gdb.disasm/t02_mova.s: Ditto.
15243 * gdb.disasm/t03_add.s: Ditto.
15244 * gdb.disasm/t04_sub.s: Ditto.
15245 * gdb.disasm/t05_cmp.s: Ditto.
15246 * gdb.disasm/t06_ari2.s: Ditto.
15247 * gdb.disasm/t07_ari3.s: Ditto.
15248 * gdb.disasm/t08_or.s: Ditto.
15249 * gdb.disasm/t09_xor.s: Ditto.
15250 * gdb.disasm/t10_and.s: Ditto.
15251 * gdb.disasm/t11_logs.s: Ditto.
15252 * gdb.disasm/t12_bit.s: Ditto.
15253 * gdb.disasm/t13_otr.s: Ditto.
15254
ec33ab7f
JK
152552007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15256
15257 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
15258
ae0d01ff
UW
152592007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15260
15261 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
15262 provide DFP support.
15263
55eddb0f
DJ
152642007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
15265
15266 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
15267 Test "set powerpc vector-abi". Skip auto-detection tests for old
15268 toolchains.
15269
7020f05c
PA
152702007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15271
15272 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
15273 with [string compare].
15274
84bc3db9
PA
152752007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15276
15277 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
15278 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
15279
5876dc88
LM
152802007-10-25 Luis Machado <luisgpm@br.ibm.com>
15281
15282 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
15283 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
15284 * gdb.opt/Makefile.in: New makefile.
15285 * Makefile.in: Create new directory "gdb.opt".
15286 * configure.ac: Add "gdb.opt" directory.
15287 * configure: Regenerated.
a9c64011 15288
c3ea9a14
DE
152892007-10-25 Doug Evans <dje@google.com>
15290
15291 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
15292 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
15293
a9c64011 152942007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
15295 Thiago Jung Bauermann <bauerman@br.ibm.com>
15296
15297 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
15298 Floating Point expressions.
15299 * gdb.base/dfp-test.exp: new file adding tests for Decimal
15300 Floating Point variables.
15301 * gdb.base/dfp-test.c: new file containing program with Decimal
15302 Floating variables, used by gdb.base/dfp-test.exp.
15303
62a24a2b
DJ
153042007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
15305
15306 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
15307
e7b1eae6
UW
153082007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15309
15310 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
15311 compiling test case with GCC.
15312 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
15313
c641edcc
UW
153142007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15315
15316 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15317 format changes.
15318
5e5ebfe6
MS
153192007-10-18 Michael Snyder <msnyder@specifix.com>
15320
15321 * gdb.base/dbx.exp: Add missing "-re " operator.
15322
e831e7b6
GM
153232007-10-16 Gaius Mulley <gaius@glam.ac.uk>
15324
15325 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
15326 * configure.ac: Removed trailing spaces after backslash.
15327 * gdb.modula2: New directory.
15328 * gdb.modula2/Makefile.in: New file.
15329 * gdb.modula2/unbounded-array.exp: New file.
15330 * gdb.modula2/unbounded1.c: New file.
15331
7cc46491
DJ
153322007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
15333
15334 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
15335
153362007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
15337
15338 * gdb.base/sigstep.c (main): Add checks for
15339 return values for setitimer call.
15340 Call setitimer again with itimer = ITIMER_REAL
15341 if first call to setitimer fails.
15342
e91528f0
KH
153432007-10-11 Kazu Hirata <kazu@codesourcery.com>
15344
15345 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
15346 of $timeout.
15347
2ec9a4f8
DJ
153482007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
15349
15350 * gdb.server/server-run.exp: Test for dynamic linker symbols.
15351
153522007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
15353
15354 * lib/gdb.exp (gdb_run_cmd): Move comment outside
15355 of gdb_expect call, to avoid interruption.
15356
64b2fa04
PA
153572007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
15358
15359 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
15360 (v_unsigned_long_long, v_long_long_array)
15361 (v_signed_long_long_array, v_unsigned_long_long_array)
15362 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
15363 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
15364 [!NO_LONG_LONG]: New.
15365 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
15366 v_long_long_member.
15367
15368 (v_long_long_func, v_signed_long_long_func)
15369 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
15370 (main) [!NO_LONG_LONG]: Initialize long long variants.
15371
15372 * gdb.base/whatis.exp: If board file requests no_long_long, build
15373 test with NO_LONG_LONG defined. Test long long, signed long long,
15374 and unsigned long long variants but only if board file doesn't
15375 disable it.
15376
a912286e 153772007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 15378 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
15379
15380 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
15381 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
15382 * configure: Regenerated.
15383 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
15384 gdb.pascal/types.exp, lib/pascal.exp: New files.
15385
471ba8c9
DJ
153862007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
15387
15388 * gdb.cp/classes.exp (do_tests): Always step to the line after the
15389 call.
15390 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
15391 to return to the call.
15392 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
15393 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
15394 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
15395 * gdb.mi/mi-until.exp (test_until): Likewise.
15396 * gdb.mi/mi2-until.exp (test_until): Likewise.
15397
fef8a650
DJ
153982007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
15399
15400 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
15401 two-char array.
15402 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
15403
d983da9c
DJ
154042007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
15405
15406 * gdb.threads/watchthreads.c (thread_function): Sleep between
15407 iterations.
15408 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
15409 at once for S/390. Generate matching fails and passes.
15410
17f62551
VP
154112007-09-27 Vladimir Prus <vladimir@codesourcery.com>
15412
15413 * gdb.mi/var-cmd.c (do_children_tests): Initialize
15414 the 'struct_declarations' variable to zeros.
a9c64011 15415
ed0616c6
VP
154162007-09-24 Vladimir Prus <vladimir@codesourcery.com>
15417
15418 * gdb.cp/mb-ctor.cc: New.
15419 * gdb.cp/mb-ctor.exp: New.
15420 * gdb.cp/mb-templates.cc: New.
15421 * gdb.cp/mb-templates.exp: New.
15422
41f1b697
DJ
154232007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
15424
15425 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
15426
3f213f78
PA
154272007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
15428
15429 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
15430 targets.
15431 * configure: Regenerate.
15432
0d381245 154332007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15434
0d381245
VP
15435 * gdb.base/annota1.exp: Adjust for 'info break'
15436 format changes.
15437 * gdb.base/annota3.exp: Likewise.
15438 * gdb.base/break.exp: Likewise.
15439 * gdb.base/condbreak.exp: Likewise.
15440 * gdb.base/pending.exp: Likewise.
15441 * gdb.base/sepdebug.exp: Likewise.
15442 * gdb.base/unload.exp: Likewise.
15443 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 15444
fe3f5fa8
VP
154452007-09-22 Vladimir Prus <vladimir@codesourcery.com>
15446
15447 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
15448 messages.
15449 * gdb.base/chng-syms.exp: Likewise.
15450 * gdb.base/unload.exp: Likewise.
a9c64011 15451
a75cf6c0
DJ
154522007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
15453
15454 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
15455
18ecae38
DJ
154562007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
15457
15458 * schedlock.c (NUM): Change to 1.
15459 (main): Use args[0] for the main thread.
15460 * schedlock.exp: Only expect two threads. Only issue one pass or fail
15461 regardless of the number of threads.
15462
5509918f
MR
154632007-09-14 Maciej W. Rozycki <macro@mips.com>
15464
4a543daf
MR
15465 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
15466 type down.
15467 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15468 test.
15469 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
15470 watchpoint type down.
15471 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15472 test.
15473
154742007-09-14 Maciej W. Rozycki <macro@mips.com>
15475
5509918f
MR
15476 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
15477 Move all the tests here and run them twice, once using software
15478 watchpoints and once using hardware watchpoints.
15479 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
15480
40b53987
DJ
154812007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
15482
15483 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
15484 test.
15485
695e2681
MK
154862007-09-10 Mark Kettenis <kettenis@gnu.org>
15487
8b3fc8d8
MK
15488 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
15489 build-id.
15490
695e2681
MK
15491 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
15492 know about $ORIGIN. Calculate output dir from $dest instead of
15493 using ${objdir}/{$subdir}.
15494
58d69f29
MK
154952007-09-09 Mark Kettenis <kettenis@gnu.org>
15496
15497 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
15498 gcore, before continuing with the test.
15499
3e347599
DJ
155002007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
15501
15502 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
15503 * gdb.mi/mi-watch.exp: Likewise.
15504
ea37ba09
DJ
155052007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
15506 Jim Blandy <jimb@codesourcery.com>
15507
15508 * gdb.arch/i386-sse.exp: Do not expect character constants.
15509 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
15510 * gdb.base/display.exp: Allow print/s.
15511 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
15512 and unsigned char array changes.
15513
2025a643
DJ
155142007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
15515
15516 * gdb.base/display.exp: Add tests for printf %p.
15517
26669a27
PA
155182007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
15519
15520 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
15521 the dll name to unicode.
15522
c8f021f8
JK
155232007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15524
15525 * gdb.base/default.exp (show version): Update the version text.
15526 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
15527
4cf31eea
JK
155282007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15529
15530 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
15531 New files.
15532
4935890f
JK
155332007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15534
15535 * lib/gdb.exp (build_id_debug_filename_get): New function.
15536 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
15537 Remove the generate DEBUG file for the future testcase runs.
15538 New testcase for the NT_GNU_BUILD_ID retrieval.
15539 Move the final testing step to ...
15540 (test_different_dir): ... a new function.
15541 New parameter XFAIL to XFAIL all the tests performed.
15542 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
15543 New parameter TYPE to PF_PREFIX all the tests performed.
15544
02142340
VP
155452007-08-31 Vladimir Prus <vladimir@codesourcery.com>
15546
15547 * gdb.mi/mi-var-cp.cc (path_expression): New
15548 function.
15549 * gdb.mi/mi-var-cp.exp: Run path exression tests.
15550
36acd84e
UW
155512007-08-27 Markus Deuling <deuling@de.ibm.com>
15552
15553 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
15554 to fit into SPU Local Store memory.
15555
a896d121
JB
155562007-08-23 Joel Brobecker <brobecker@adacore.com>
15557
15558 * gdb.base/default.exp: Adjust the expected output of "info
15559 warranty" after the switch to GPLv3.
15560
7b433602
JB
155612007-08-23 Joel Brobecker <brobecker@adacore.com>
15562
15563 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
15564 to 30000 (from 20000).
15565
e22f8b7c
JB
155662007-08-23 Joel Brobecker <brobecker@adacore.com>
15567
15568 Switch the license of all .exp files to GPLv3.
15569 Switch the license of all .f and .f90 files to GPLv3.
15570 Switch the license of all .s and .S files to GPLv3.
15571
5a0e3bd0
JB
155722007-08-23 Joel Brobecker <brobecker@adacore.com>
15573
15574 * configure.ac: Switch license to GPLv3.
15575
cc00619d
JB
155762007-08-23 Joel Brobecker <brobecker@adacore.com>
15577
15578 Switch the licensing to GPLv3 for all .ads and .adb files.
15579
8d26208a
DJ
155802007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
15581
15582 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
15583 and t_int_double.
15584 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
15585
4fcb9948
JB
155862007-08-17 Joel Brobecker <brobecker@adacore.com>
15587
15588 * gdb.base/step-line.c: Switch license to GPL version 3, and
15589 update copyright year.
15590 * gdb.base/step-line.inp: Likewise.
15591
b9c34f67
JB
155922007-08-17 Joel Brobecker <brobecker@adacore.com>
15593
15594 * gdb.base/gdb1555.exp: Make expected output immune to formatting
15595 changes inside gdb1555.c.
15596 * gdb.base/pending.exp: Likewise.
15597
2cc17678
DJ
155982007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
15599
15600 * config/default.exp: New file.
15601
e48883f7
DJ
156022007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15603
15604 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
15605 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
15606
1ab80e5b
MR
156072007-07-30 Maciej W. Rozycki <macro@mips.com>
15608
15609 * gdb.base/dump.exp: Force the correct endianness for binary
15610 formats not carrying this information.
15611
aba471f5
DJ
156122007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15613
15614 * gdb.threads/staticthreads.exp: Match .*sem_post.
15615
d4e07204
DJ
156162007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15617
15618 * gdb.base/readline.exp (operate_and_get_next): Match the final
15619 prompt.
15620
2b97317d
KB
156212007-07-23 Kevin Buettner <kevinb@redhat.com>
15622
15623 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
15624 to restarting SID.
15625
44efa07a
KB
156262007-07-18 Kevin Buettner <kevinb@redhat.com>
15627
15628 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
15629 prior to `gdb_start'.
15630
7b5ebade
KB
156312007-07-18 Kevin Buettner <kevinb@redhat.com>
15632
15633 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
15634 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
15635 Remove call to gdb_unload.
15636
255e7678
DJ
156372007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
15638 Daniel Jacobowitz <dan@codesourcery.com>
15639
15640 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
15641 for __WIN32__.
15642 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
15643 * gdb.base/unload.exp: Use shared library test routines.
15644
3a40aaa0
UW
156452007-07-03 Markus Deuling <deuling@de.ibm.com>
15646
15647 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
15648 * gdb.base/solib-symbol-lib.c: Likewise.
15649 * gdb.base/solib-symbol-main.c: Likewise.
15650
b0f4b84b
DJ
156512007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
15652
15653 * config/gdbserver.exp (gdb_reconnect): New.
15654 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
15655 gdb.base/solib-disc.exp: New files.
15656 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
15657 remote debugging".
15658 (gdb_compile): Add shlib_load flag.
15659 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
15660 port.
15661 (gdbserver_reconnect): New.
15662
1b05479a
DJ
156632007-07-01 Nick Roberts <nickrob@snap.net.nz>
15664 Daniel Jacobowitz <dan@codesourcery.com>
15665
15666 * gdb.base/annota3.exp: Test for if construct.
15667
86f78eb2
DJ
156682007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
15669
15670 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
15671
6a2eb474 156722007-06-21 Chris Dearman <chris@mips.com>
a9c64011 15673 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
15674
15675 * gdb.base/display.exp: Allow a newline after display/i.
15676 * gdb.base/pc-fp.exp: Likewise.
15677 * gdb.base/sigbpt.exp: Likewise.
15678
f8b73d13
DJ
156792007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15680
15681 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
15682 required features to be included.
15683
4339e69e
DJ
156842007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
15685
15686 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
15687 in info threads output.
15688
23d964e7
UW
156892007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15690 Markus Deuling <deuling@de.ibm.com>
15691
15692 * gdb.arch/spu-info.exp: New testcase.
15693 * gdb.arch/spu-info.c: New file.
15694
fd20f75b
DJ
156952007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
15696
15697 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
15698 tpcs_offset. Restore lr after the call.
15699 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
15700
2226f861
DJ
157012007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
15702
15703 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
15704 (gdbserver_run): Kill any running gdbserver.
15705 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
15706
d12371a9
MR
157072007-05-17 Maciej W. Rozycki <macro@mips.com>
15708
15709 * gdb.base/sigbpt.exp: Preset segv_addr.
15710
93f02886
DJ
157112007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
15712
15713 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
15714 (gdb_compile_shlib): Likewise.
15715 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
15716 (default_gdb_init): Clear cleanfiles.
15717 (gdb_finish): Delete recorded cleanfiles.
15718 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
15719
15720 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
15721 Do not use isnative.
15722 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
15723 gdb.base/so-impl-ld.exp: Likewise.
15724 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
15725 * gdb.base/unload.exp: Likewise. Do not pass empty option to
15726 gdb_compile.
15727
b04e06d7
VP
157282007-05-15 Vladimir Prus <vladimir@codesourcery.com>
15729
15730 * config/unknown.exp: Remove.
15731
069ed931
UW
157322007-05-15 Markus Deuling <deuling@de.ibm.com>
15733
15734 * gdb.base/info-proc.exp: Check is_remote.
15735
09db0d03
UW
157362007-05-14 Markus Deuling <deuling@de.ibm.com>
15737
15738 * gdb.base/gcore.exp: Initialize variable core_supported.
15739
af2cbe8c
DJ
157402007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15741
15742 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
15743
027c0295
DJ
157442007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15745
15746 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
15747 * gdb.threads/print-threads.exp (test_all_threads): Allow
15748 negative and hexadecimal thread IDs.
15749
dc5000e7
DJ
157502007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15751
15752 * gdb.java/jprint.java (public): Avoid invalid call to static
15753 method.
15754
2e74ed18
DP
157552007-05-14 Denis Pilat <denis.pilat@st.com>
15756
15757 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
15758 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
15759 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
15760 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
15761 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
15762
83547f02
UW
157632007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15764
15765 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 15766 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
15767 this mode.
15768 * gdb.base/ovlymgr.c: Provide stubs for spu target.
15769 * gdb.base/spu.ld: New file.
15770
b18be20d
DJ
157712007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
15772
15773 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
15774
be444858
DJ
157752007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
15776
15777 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
15778
b1d53152
DJ
157792007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15780
15781 * gdb.java/jmain.exp: Handle demangled names with and without method
15782 signatures.
15783
d084b331
DJ
157842007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15785
15786 * gdb.mi/mi-syn-frame.c (main, foo, bar)
15787 (have_a_very_merry_interrupt): Remove calls to puts.
15788 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
15789 inferior output.
15790 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
15791 test names.
15792
db9d7fc5
DJ
157932007-04-29 Markus Deuling <deuling@de.ibm.com>
15794 Daniel Jacobowitz <dan@codesourcery.com>
15795
15796 * gdb.base/auxv.exp (core_works): Also check is_remote.
15797 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
15798
ef783a7d 157992007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15800
ef783a7d
VP
15801 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
15802 message, not the undefined 'module' variable.
15803 * gdb.base/siginfo.exp: Likewise.
15804 * gdb.base/sigstep.exp: Likewise.
15805 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
15806 serialport.
15807 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
15808
b7b73cae
CV
158092007-04-25 Corinna Vinschen <vinschen@redhat.com>
15810
15811 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
15812 target sim fails. Return 0 otherwise.
15813 (gdb_load): Return prematurely if gdb_target_sim fails.
15814
7d90fdfa
DP
158152007-04-16 Denis Pilat <denis.pilat@st.com>
15816
15817 * gdb.base/setshow.exp: Reset height after having set it to 100.
15818
5d3e9c85
DP
158192007-04-16 Denis Pilat <denis.pilat@st.com>
15820
15821 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
15822
18e75969
DP
158232007-04-16 Denis Pilat <denis.pilat@st.com>
15824
15825 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
15826
25d5ea92
VP
158272007-04-14 Vladimir Prus <vladimir@codesourcery.com>
15828
15829 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
15830 tests. Run the frozen varobjs test.
15831 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 15832 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 15833
0b49cb80
JK
158342007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15835
15836 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
15837 gdb.base/type-opaque.exp: New files.
15838
a73bafbc 158392007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
15840
15841 * gdb.mi/mi-var-child.c
a73bafbc
VP
15842 (do_children_tests): User char[2] instead of
15843 char so that automatic printing of pointers to char
15844 don't give unpredicable result.
15845 * gdb.mi/var-cmd.c (do_locals_test): Initialize
15846 local variables.
15847 * gdb.mi/mi-var-child.exp: Step to right line
15848 of do_children_tests.
15849 * gdb.mi/mi2-var-child.exp: Likewise.
15850 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 15851 do_locals_tests.
a73bafbc
VP
15852 (do_children_tests): User char[2] instead of
15853 char so that automatic printing of pointers to char
a9c64011 15854 don't give unpredicable result.
a73bafbc 15855 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 15856 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
15857 Pass test name to mi_wait_for_stop.
15858
7ce59000
DJ
158592007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15860
15861 * gdb.asm/asm-source.exp: Remove d10v case.
15862 * lib/gdb.exp (skip_cplus_tests): Likewise.
15863 * gdb.asm/d10v.inc: Deleted.
15864
20389057
DJ
158652007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15866
15867 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
15868
8807d78b
DJ
158692007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15870
15871 * config/netware.exp: Delete file.
15872
aa3edb8e
JB
158732007-03-29 Joel Brobecker <brobecker@adacore.com>
15874
15875 * gdb.dwarf2/dw2-noloc.S: New file.
15876 * gdb.dwarf2/dw2-noloc.exp: New file.
15877
297561ac
PA
158782007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
15879
15880 * gdb.cp/method2.cc: New test.
15881 * gdb.cp/method2.exp: New test.
15882 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
15883
1f81bd39
DJ
158842007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15885
15886 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
15887
9453113a
DJ
158882007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
15889
15890 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
15891
b741e217
DJ
158922007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15893
15894 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
15895 (gdb_load): Delete, replace with...
15896 (gdb_reload): ...this.
15897 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
15898 * gdb.server/server-mon.exp: Likewise.
15899 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
15900 (gdb_start_cmd): New.
15901 (gdb_file_cmd): Save the last loaded file.
15902 (gdb_reload): New.
15903 (gdb_gnu_strip_debug): Use transform.
15904 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
15905 support here. Use new $last_loaded_file. Check mtime.
15906 (gdb_target_cmd): Handle ObjC failure case.
15907 (infer_host_exec): Delete.
15908 (gdbserver_load): Rename to...
15909 (gdbserver_run): ...this. Simplify.
15910 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
15911 (mi_gdb_load): Move most contents to a new function...
15912 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
15913 (mi_run_cmd): Use mi_gdb_target_load.
15914 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
15915 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
15916 Use gdb_run_cmd.
15917 * gdb.base/charsign.exp: Remove incorrect comment.
15918 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
15919 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
15920 gdb.base/start.exp: Use gdb_start_cmd.
15921
446ab585 159222007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 15923 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
15924
15925 * gdb.base/sigbpt.exp: Fix the message when skipping test.
15926 * gdb.base/signull.exp: Similarly.
15927
bbb88ebf
UW
159282007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15929
15930 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
15931 messages available to test cases (like chng-sym.exp).
15932
cb8c4a99
AS
159332007-03-14 Andreas Schwab <schwab@suse.de>
15934
15935 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15936 format changes.
15937
4e463ff5
DJ
159382007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
15939
15940 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
15941 (optimized_1): New.
15942 (main): Call optimized_1.
15943 (gdb2029): Correct typos. Call gdb2029_marker.
15944 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
15945 for gdb2029.
15946
b6db2c47
MK
159472007-03-12 Mark Kettenis <kettenis@gnu.org>
15948
15949 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
15950 as tabs. Remove redundant test pattern.
15951
70ed3737
UW
159522007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15953
15954 * gdb.base/long_long.exp: Accept optional symbol name in <...>
15955 for /a format output.
15956
47b67b60
DJ
159572007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
15958
15959 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
15960 collect output incrementally.
15961
b8953b0e
UW
159622007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15963
15964 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
15965 for -var-create lpcharacter test.
15966 * gdb.mi/mi2-var-cmd.exp: Likewise.
15967
7acd5c40
UW
159682007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15969
15970 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
15971 pass on targets where address zero is readable.
15972
9c6759c1
UW
159732007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15974
15975 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
15976 just a single architecture.
15977
a2f1aeb4
UW
159782007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15979
15980 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
15981 (fetch_all_registers): New function, uses gdb_test_multiple and
15982 exp_continue to fetch inferior output line-by-line.
15983 Replace all uses of do_get_all_registers by fetch_all_registers.
15984
46579ac2
UW
159852007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15986
15987 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
15988 in target_info.
15989
fc133f24
MS
159902007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15991
a9c64011 15992 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
15993 consistancy; add a default (timeout) case.
15994
7646a51d
MS
159952007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15996
15997 * gdb.base/watchpoint.exp: Fix truncated comment.
15998
dcfff61f
MS
159992007-03-02 Michael Snyder <michael.snyder@palmsource.com>
16000
16001 * Makefile.in: Remove spurious single-quotes from sed command.
16002
664e3ee9
DJ
160032007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16004
16005 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
16006 func.
16007 * gdb.mi/mi2-var-cmd.exp: Likewise.
16008
d7cc6f2f
JB
160092007-02-27 Joel Brobecker <brobecker@adacore.com>
16010
a9c64011
AS
16011 * gdb.dwarf2/dw2-producer.S: New file.
16012 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
16013
160142007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
16015
16016 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16017 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16018 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16019 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16020 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
16021 Revert tests to use mi_gdb_test and include value field in output
16022 of -var-create.
16023
93d42b30
DJ
160242007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
16025
16026 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
16027
c499ed39
DJ
160282007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
16029
16030 * gdb.base/maint.exp: Remove full paths from test names.
16031 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
16032 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
16033
9836f81b
JB
160342007-02-27 Joel Brobecker <brobecker@adacore.com>
16035
16036 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
16037
c74d0ad8
DJ
160382007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16039
16040 * gdb.server/server-mon.exp: New test.
16041
2711e456
DJ
160422007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16043
16044 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
16045
ff6f572f
DJ
160462007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16047
16048 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
16049 register capitalization.
16050
fada3feb
DP
160512007-02-13 Denis Pilat <denis.pilat@st.com>
16052
16053 * gdb.mi/mi-var-invalidate.exp: New file.
16054
fb1e4ffc
DJ
160552007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16056
16057 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
16058
3da939d7
DJ
160592007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16060
16061 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
16062
123dc839
DJ
160632007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16064
16065 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
16066 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
16067
877e3645 160682007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
16069
16070 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16071 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16072 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16073 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16074 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 16075 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 16076 Update tests to include value field in output of -var-create.
a9c64011 16077
3c0a2960
AS
160782007-02-08 Andreas Schwab <schwab@suse.de>
16079
16080 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
16081
108546a0
DJ
160822007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
16083
16084 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
16085 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
16086
d701dcab
DP
160872007-02-02 Denis Pilat <denis.pilat@st.com>
16088
16089 * gdb.threads/threadapply.exp: check that frame is not changed by
16090 the thread apply all command.
16091
783e3e2f
AS
160922007-01-31 Andreas Schwab <schwab@suse.de>
16093
6d9c3a87
AS
16094 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16095
3c50d7b9
AS
16096 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
16097 in the dwarf sections.
16098 * gdb.dwarf2/mac-fileno.S: Likewise.
16099
783e3e2f
AS
16100 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
16101 bspstore register on ia64.
16102
78ff580e
AS
161032007-01-29 Andreas Schwab <schwab@suse.de>
16104
cc8e9b12
AS
16105 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
16106 "frame-begin" annotation.
16107
78ff580e
AS
16108 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
16109 number of "frames-invalid" annotations.
16110
704a4f78
DJ
161112007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16112
16113 * gdb.base/commands.exp: Call if_commands_test.
16114 (gdb_test_no_prompt, if_commands_test): New.
16115
e741bf94
MK
161162007-01-28 Mark Kettenis <kettenis@gnu.org>
16117
16118 * gdb.threads/sigthread.c (NSIGS): Make bigger.
16119
474d0ad3
AS
161202007-01-27 Andreas Schwab <schwab@suse.de>
16121
16122 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
16123 .short/.int/.quad in the dwarf sections.
16124 * gdb.dwarf2/dw2-intercu.S: Likewise.
16125 * gdb.dwarf2/dw2-intermix.S: Likewise.
16126
e784b426
JK
161272007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16128
16129 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
16130 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
16131 array.
e784b426
JK
16132 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
16133 * gdb.base/setvar.exp: Likewise.
16134
37f08e04
AS
161352007-01-26 Andreas Schwab <schwab@suse.de>
16136
9a01813a
AS
16137 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
16138 test.
16139
37f08e04
AS
16140 * gdb.base/multi-forks.exp ("restart $i"): Also match
16141 __kernel_syscall_via_break.
16142
6e2a9270
VP
161432007-01-24 Vladimir Prus <vladimir@codesourcery.com>
16144
16145 * lib/mi-support.exp (mi_delete_varobj): New.
16146 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
16147 testcase.
16148 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
16149 (main): Call the above.
16150 (reference_update_test, base_in_reference_test)
16151 (reference_to_pointer): Delete the created varobjs.
a9c64011 16152
e515b470
DJ
161532007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
16154
16155 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
16156 * configure: Regenerated.
16157 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
16158 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
16159 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
16160 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
16161 * lib/gdb.exp (gdb_skip_xml_test): New function.
16162
08d8bcd7
DJ
161632007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
16164
16165 * gdb.base/sigrepeat.exp: Correct error message.
16166
161672007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
16168 Daniel Jacobowitz <dan@codesourcery.com>
16169
16170 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
16171 gdb.arch/i386-gnu-cfi-asm.S: New files.
16172
97c3f1f3
JK
161732007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16174
16175 * lib/gdb.exp: Abort on missing `site.exp'.
16176
cb1df416
DJ
161772007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16178 Daniel Jacobowitz <dan@codesourcery.com>
16179
16180 * gdb.base/included.c, gdb.base/included.exp,
16181 gdb.base/included.h: New files.
16182
35990120
DJ
161832007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16184
16185 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
16186 (maximize_rlimit): Reduce limits on 64-bit systems.
16187
6e81a116 161882007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
16189
16190 From Marcus Deuling <deuling@de.ibm.com>:
16191 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
16192 every case.
16193
6c3c41f3
NR
161942007-01-13 Nick Roberts <nickrob@snap.net.nz>
16195
16196 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
16197 (test_path_specification): Use objdir instead of srcdir to always
16198 get an absolute filename.
16199
2f12c312
DJ
162002007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
16201
16202 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
16203
81121995
VP
162042007-01-11 Vladimir Prus <vladimir@codesourcery.com>
16205
16206 * gdb.mi/mi-var-cp.cc (reference_update_tests):
16207 Make sure the variable we're using is in scope.
16208 (reference_to_pointer): Likewise.
16209
4741b737
DJ
162102007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16211
16212 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
16213 has no debug information.
16214
054410c3
DJ
162152007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16216
16217 * gdb.base/annota1.exp: Remove extra send_gdb.
16218
818f79f6
DJ
162192007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16220
16221 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
16222
f7a6bb70
DJ
162232007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16224
16225 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
16226
57e66780
DJ
162272007-01-08 Nick Roberts <nickrob@snap.net.nz>
16228 Daniel Jacobowitz <dan@codesourcery.com>
16229
16230 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
16231 lcharacter or linteger change. Correct duplicated test name.
16232 * gdb.mi/mi2-var-cmd.exp: Likewise.
16233
3d799a95
DJ
162342007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
16235
16236 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
16237
162382007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 16239
a9c64011
AS
16240 * gdb.base/nofield.c: New file.
16241 * gdb.base/nofield.exp: New testcase.
51679ba9 16242
eafb94e8
NR
162432007-01-05 Nick Roberts <nickrob@snap.net.nz>
16244
16245 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
16246
16247 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
16248 test.
16249
5e572bb4
DJ
162502007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16251
16252 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
16253
74a44383
DJ
162542007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16255
16256 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
16257 when continuing.
16258
1b572db9
DJ
162592007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16260
16261 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
16262 Expect ".exe" extension.
16263
381bc39b
DJ
162642007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16265
16266 * gdb.base/charset.exp: Add explicit filename to break.
16267 * gdb.base/dbx.exp: Add explicit filename to breaks.
16268
2b70e4c6
DJ
162692007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16270
16271 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
16272 * gdb.mi/mi2-file.exp: Likewise.
16273
303b6f5d
DJ
162742007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16275
16276 Implement specification of MI tests as comments
16277 in C and C++ sources.
16278 * lib/mi-support.exp (mi_autotest_data): New variable.
16279 (mi_autotest_source): New variable.
16280 (count_newlines, mi_prepare_inline_tests)
16281 (mi_get_inline_test, mi_continue_to_line)
16282 (mi_run_inline_test, mi_tbreak)
16283 (mi_send_resuming_command, mi_wait_for_stop): New functions.
16284 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
16285 Run inline tests.
16286 * gdb.mi/mi-var-cp.cc: Define tests here.
16287
23da0d94
VP
162882007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16289
16290 Simplify usage of mi_continue_to.
16291 * lib/mi-support.exp (mi_runto_helper): Renamed
16292 from mi_runto, added new parameter 'run_or_continue'.
16293 (mi_runto): Use mi_runto_helper.
16294 (mi_continue_to): Accept just function name as parameter.
16295 Use mi_runto_helper.
16296 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
16297 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 16298
f9e18282
JB
162992006-01-04 Joel Brobecker <brobecker@adacore.com>
16300
16301 Make this testcase a bit more realistic. The current code
16302 is too simplistic, and allows the compiler to optimize out
16303 some of the entities we need for this testcase.
16304 * gdb.ada/null_record/bar.ads (Void_Star): New type.
16305 (Do_Nothing): Add extra parameter.
16306 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
16307 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
16308 by using a variable of type Void_Star.
16309
fd678c65
JB
163102006-01-04 Joel Brobecker <brobecker@adacore.com>
16311
16312 * gdb.ada/catch_ex/foo.adb: New file.
16313 * gdb.ada/catch_ex.exp: New testcase.
16314
05cfdb42
DJ
163152007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
16316
16317 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
16318 pass --image-base to linker.
16319
2e03ee74
DJ
163202007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16321 Daniel Jacobowitz <dan@codesourcery.com>
16322
16323 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
16324 secondary prompts.
16325
0d5de010
DJ
163262007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16327
16328 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
16329 output. Test the types of members and member pointers.
16330 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
16331 gdb/2092.
16332 * gdb.cp/member-ptr.exp: Search for a comment instead of a
16333 statement. Enable for GCC. Update expected output for some tests
16334 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
16335 layout.
16336 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
16337 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
16338 (Diamond::vget_base): New.
16339 (main): Add new tests.
16340 * gdb.cp/printmethod.exp: Update expected output for member functions.
16341 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
16342 print pEe->D::vg().
16343
61a771aa
DJ
163442007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16345
16346 * gdb.threads/tls.exp: Allow stops in sem_post.
16347
2fa63963
DJ
163482006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
16349
16350 * gdb.base/annota1.exp: Allow .*printf in backtraces.
16351 * gdb.base/annota3.exp: Likewise.
16352 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
16353 again (instead of timing out).
16354 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
16355 GCC bug 26475.
16356 * gdb.java/jmisc.exp: Adjust to work with method signatures including
16357 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
16358 test from jmisc1.exp.
16359 * gdb.java/jmisc1.exp: Delete.
16360 * gdb.java/jprint.exp: Adjust to work with method signatures including
16361 return types.
16362 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
16363 * gdb.threads/linux-dp.exp: Don't be confused by program output.
16364 * lib/java.exp (compile_java_from_source): Pass the correct type
16365 to target_compile.
16366
5eefc2b7
JB
163672006-12-31 Joel Brobecker <brobecker@adacore.com>
16368
16369 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
16370 (stack_align_edx): New function.
16371 (stack_align_eax): New function.
16372 (main): Add calls to stack_align_edx and stack_align_eax.
16373 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
16374 Add testing for the cases where the register used during a stack
16375 realignment is edx. Same for eax.
16376
227c54da
DJ
163772006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
16378
16379 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
16380 and generic PE targets.
16381
cab8ac94
JB
163822006-12-29 Joel Brobecker <brobecker@adacore.com>
16383
16384 * gdb.ada/array_return.exp: Update copyright date list.
16385
ba54f318
JB
163862006-12-27 Joel Brobecker <brobecker@adacore.com>
16387
16388 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
16389 (Create_Small_Float_Vector): New function.
16390 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
16391 function body.
16392 * gdb.ada/array_return/p.adb: Use new type and function from
16393 package Pck.
16394 * gdb.ada/array_return.exp: Add a test verifying that GDB is
16395 able to print the value returned by a function returning an
16396 array of float.
16397
6b7a35dd
JB
163982006-12-20 Joel Brobecker <brobecker@adacore.com>
16399
16400 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
16401 The associated tests should be PASSing.
16402
038224f6
VP
164032006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16404
16405 Test for base in references.
16406 * gdb.mi/mi-var-cp.cc: Add test code.
16407 * gdb.mi/mi-var-cp.exp: Test for bases in references.
16408 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
16409 * gdb.mi/mi2-watch.exp: Likewise.
16410 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
16411 (mi_list_varobj_children): New function.
16412
b26ed50d
VP
164132006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16414
16415 * lib/mi-support.exp
16416 (mi_runto): Accept "()" after function name.
16417 (mi_create_varobj): New function.
16418 (mi_varobj_update): New function.
16419 (mi_Check_varobj_value): New function.
16420 * gdb.mi/mi-var-cp.exp: New file.
16421 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 16422
08232497
DJ
164232006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
16424
16425 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
16426 gdb.base/weaklib2.c: New files.
16427
d394c993 164282006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 16429
ac6c2fba
NS
16430 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
16431 info. Adjust test names.
16432
8ec659a0 16433 * gdb.base/break.c (main): Move position of malloc.
d394c993 16434 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 16435
acd65feb
VP
164362006-11-28 Vladimir Prus <vladimir@codesourcery.com>
16437
16438 * gdb.mi/mi-var-cmd.exp: Check -var-update after
16439 assignement of arrays and function pointers.
16440 * gdb.mi/var-cmd.c: Add declaration necessary for above
16441 tests.
16442
f556d5e5
NS
164432006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16444
16445 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
16446
16447 * gdb.threads/linux-dp.exp: Read thread table before and after
16448 creating each philosopher and verify it.
16449
697bc68d
NS
164502006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16451 Paul Brook <paul@codesourcery.com>
16452 Daniel Jacobowitz <dan@codesourcery.com>
16453
16454 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 16455 main to remove duplication. Add start function of the form
697bc68d
NS
16456 '_*start[1-9]*'. Add RVDS start function.
16457
29d73ae4
DJ
164582006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16459
16460 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
16461
c1d88655
UW
164622006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16463
16464 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
16465 * gdb.asm/spu.inc: New file.
16466 * gdb.base/term.exp: Disable if [target_info exists noargs].
16467 * gdb.gdb/complaints.exp: Disable if ![isnative].
16468 * gdb.gdb/selftest.exp: Likewise.
16469 * gdb.gdb/observer.exp: Likewise.
16470 * gdb.gdb/xfullpath.exp: Likewise.
16471 * gdb.base/attach.exp: Disable on SPU target.
16472 * gdb.cp/bs145503.exp: Likewise.
16473 * gdb.cp/exception.exp: Likewise.
16474 * gdb.cp/userdef.exp: Likewise.
16475
32a13b1a
DJ
164762006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16477
16478 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
16479
d8295fe9
VP
164802006-11-10 Vladimir Prus <vladimir@codesourcery.com>
16481
16482 * gdb.base/completion.exp: Fix completion tests for
16483 'info' and 'info '.
16484 * gdb.base/help.exp (help_test_raw, test_class_help)
16485 (test_prefix_command_help): Move...
16486 * lib/gdb.exp: Here.
16487 * gdb.base/main.exp: Adjust.
16488 * gdb.cp/maint.exp: Adjust.
16489 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 16490
8c394015
VP
164912006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16492
16493 * gdb.stabs/weird.exp (print_weird_var): Use
16494 gdb_test_multiple instead of gdb_expect.
16495
027fc1bc
VP
164962006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16497
16498 * gdb.base/help.exp (help_test_raw): New.
16499 (test_class_help): New.
16500 (test_prefix_command_help): New.
16501 Adjust testcases.
16502
67609209
FR
165032006-11-09 Christophe Lyon <christophe.lyon@st.com>
16504
16505 * gdb.base/constvars.c (main): Write to crass and crips, so that
16506 they are allocated by the compiler.
16507
f73adfeb
AS
165082006-10-27 Andreas Schwab <schwab@suse.de>
16509
16510 * gdb.base/multi-forks.exp: Use "detach fork" instead of
16511 "detach-fork".
16512
2f83a18e
DJ
165132006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
16514
16515 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
16516 of patterns.
16517
94277a38
DJ
165182006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
16519
16520 * gdb.base/sepdebug.exp: Remove debug format test.
16521 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
16522 Handle no-symtab.
16523 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
16524
5bd2f6e2
DJ
165252006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
16526
16527 * gdb.threads/manythreads.c (thread_function, main): Don't cast
16528 int to pointer or pointer to int.
16529 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
16530
8c008720
DJ
165312006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
16532
16533 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
16534
9e35dae4
DJ
165352006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16536
16537 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
16538
d9639e13
DJ
165392006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16540
16541 PR c++/2116
16542 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
16543
390a1bd0
JB
165442006-10-06 Joel Brobecker <brobecker@adacore.com>
16545
16546 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
16547 the corresponding bug has been fixed in GDB (PR/2018).
16548
dd920c33
JB
165492006-10-06 Joel Brobecker <brobecker@adacore.com>
16550
16551 * gdb.base/subst.exp: New testcase.
16552
53bbefe9
JB
165532006-10-06 Joel Brobecker <brobecker@adacore.com>
16554
16555 * gdb.ada/array_return/pck.ads: Add copyright notice.
16556 * gdb.ada/array_return/pck.adb: Likewise.
16557 * gdb.ada/array_return/p.adb: Likewise.
16558 * gdb.ada/exec_changed/first.adb: Likewise.
16559 * gdb.ada/exec_changed/second.adb: Likewise.
16560
09851417
JB
165612006-10-06 Joel Brobecker <brobecker@adacore.com>
16562
16563 * gdb.ada/watch_arg/watch.adb: New file.
16564 * gdb.ada/watch_arg.exp: New testcase.
16565
041bf30d
VP
165662006-10-02 Vladimir Prus <vladimir@codesourcery.com>
16567
16568 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 16569 via string_to_regexp.
041bf30d 16570 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 16571
f286fbdd 165722006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
16573
16574 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
16575 Remove unused / obsolete files.
16576
7c07f349
NR
165772006-09-19 Nick Roberts <nickrob@snap.net.nz>
16578
16579 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
16580
cd5ff84a
VP
165812006-09-17 Vladimir Prus <vladimir@codesourcery.com>
16582
16583 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
16584 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 16585 the number of frames.
cd5ff84a 16586
ae018d1a
DJ
165872006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
16588
16589 * gdb.base/args.c (main): Add breakpoint marker.
16590 * gdb.base/args.exp: Use args_test for tests. Add new tests which
16591 really test empty arguments.
16592 (args_load): Delete.
16593 (args_test): New.
16594
b399c549
NR
165952006-09-13 Nick Roberts <nickrob@snap.net.nz>
16596
16597 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 16598 check for one file.
b399c549 16599
2ab1eb7a
VP
166002006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
16601
16602 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
16603 HIGH_FRAME argument to -stack-list-locals can be larger than
16604 the number of frames.
a9c64011 16605
476308bf
FF
166062006-08-18 Fred Fish <fnf@specifix.com>
16607
16608 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
16609 '$' in front of skip_vmx_tests_saved when setting that.
16610
8625200f
AS
166112006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
16612
16613 * gdb.base/trace-commands.exp: New file.
16614
089ec8f1
DJ
166152006-08-10 Joel Brobecker <brobecker@adacore.com>
16616 Daniel Jacobowitz <dan@codesourcery.com>
16617
16618 * gdb.base/step-bt.exp: Make hexadecimal address optional in
16619 expected output of the backtrace commands.
16620
b60f0898
JB
166212006-08-09 Joel Brobecker <brobecker@adacore.com>
16622
16623 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
16624 untested followed by return combination.
16625 * gdb.arch/altivec-regs.exp: Likewise.
16626 * gdb.arch/e500-abi.exp: Likewise.
16627 * gdb.arch/e500-regs.exp: Likewise.
16628 * gdb.arch/gdb1291.exp: Likewise.
16629 * gdb.arch/gdb1431.exp: Likewise.
16630 * gdb.arch/gdb1558.exp: Likewise.
16631 * gdb.arch/i386-prologue.exp: Likewise.
16632 * gdb.arch/i386-unwind.exp: Likewise.
16633 * gdb.asm/asm-source.exp: Likewise.
16634 * gdb.base/a2-run.exp: Likewise.
16635 * gdb.base/advance.exp: Likewise.
16636 * gdb.base/all-bin.exp: Likewise.
16637 * gdb.base/annota1.exp: Likewise.
16638 * gdb.base/annota3.exp: Likewise.
16639 * gdb.base/args.exp: Likewise.
16640 * gdb.base/arithmet.exp: Likewise.
16641 * gdb.base/assign.exp: Likewise.
16642 * gdb.base/async.exp: Likewise.
16643 * gdb.base/attach.exp: Likewise.
16644 * gdb.base/bang.exp: Likewise.
16645 * gdb.base/bigcore.exp: Likewise.
16646 * gdb.base/bitfields.exp: Likewise.
16647 * gdb.base/bitfields2.exp: Likewise.
16648 * gdb.base/break.exp: Likewise.
16649 * gdb.base/call-sc.exp: Likewise.
16650 * gdb.base/call-strs.exp: Likewise.
16651 * gdb.base/callfuncs.exp: Likewise.
16652 * gdb.base/checkpoint.exp: Likewise.
16653 * gdb.base/chng-syms.exp: Likewise.
16654 * gdb.base/code-expr.exp: Likewise.
16655 * gdb.base/commands.exp: Likewise.
16656 * gdb.base/completion.exp: Likewise.
16657 * gdb.base/cond-expr.exp: Likewise.
16658 * gdb.base/condbreak.exp: Likewise.
16659 * gdb.base/consecutive.exp: Likewise.
16660 * gdb.base/constvars.exp: Likewise.
16661 * gdb.base/corefile.exp: Likewise.
16662 * gdb.base/cvexpr.exp: Likewise.
16663 * gdb.base/dbx.exp: Likewise.
16664 * gdb.base/define.exp: Likewise.
16665 * gdb.base/detach.exp: Likewise.
16666 * gdb.base/display.exp: Likewise.
16667 * gdb.base/dump.exp: Likewise.
16668 * gdb.base/ena-dis-br.exp: Likewise.
16669 * gdb.base/ending-run.exp: Likewise.
16670 * gdb.base/environ.exp: Likewise.
16671 * gdb.base/eval-skip.exp: Likewise.
16672 * gdb.base/exprs.exp: Likewise.
16673 * gdb.base/fileio.exp: Likewise.
16674 * gdb.base/finish.exp: Likewise.
16675 * gdb.base/float.exp: Likewise.
16676 * gdb.base/foll-exec.exp: Likewise.
16677 * gdb.base/foll-fork.exp: Likewise.
16678 * gdb.base/foll-vfork.exp: Likewise.
16679 * gdb.base/freebpcmd.exp: Likewise.
16680 * gdb.base/funcargs.exp: Likewise.
16681 * gdb.base/gcore.exp: Likewise.
16682 * gdb.base/gdb1090.exp: Likewise.
16683 * gdb.base/gdb1250.exp: Likewise.
16684 * gdb.base/huge.exp: Likewise.
16685 * gdb.base/info-proc.exp: Likewise.
16686 * gdb.base/interrupt.exp: Likewise.
16687 * gdb.base/jump.exp: Likewise.
16688 * gdb.base/langs.exp: Likewise.
16689 * gdb.base/lineinc.exp: Likewise.
16690 * gdb.base/list.exp: Likewise.
16691 * gdb.base/logical.exp: Likewise.
16692 * gdb.base/long_long.exp: Likewise.
16693 * gdb.base/macscp.exp: Likewise.
16694 * gdb.base/maint.exp: Likewise.
16695 * gdb.base/mips_pro.exp: Likewise.
16696 * gdb.base/miscexprs.exp: Likewise.
16697 * gdb.base/multi-forks.exp: Likewise.
16698 * gdb.base/opaque.exp: Likewise.
16699 * gdb.base/overlays.exp: Likewise.
16700 * gdb.base/pc-fp.exp: Likewise.
16701 * gdb.base/pointers.exp: Likewise.
16702 * gdb.base/printcmds.exp: Likewise.
16703 * gdb.base/psymtab.exp: Likewise.
16704 * gdb.base/ptype.exp: Likewise.
16705 * gdb.base/recurse.exp: Likewise.
16706 * gdb.base/relational.exp: Likewise.
16707 * gdb.base/relocate.exp: Likewise.
16708 * gdb.base/remote.exp: Likewise.
16709 * gdb.base/reread.exp: Likewise.
16710 * gdb.base/restore.exp: Likewise.
16711 * gdb.base/return.exp: Likewise.
16712 * gdb.base/return2.exp: Likewise.
16713 * gdb.base/scope.exp: Likewise.
16714 * gdb.base/sect-cmd.exp: Likewise.
16715 * gdb.base/sep.exp: Likewise.
16716 * gdb.base/sepdebug.exp: Likewise.
16717 * gdb.base/setshow.exp: Likewise.
16718 * gdb.base/setvar.exp: Likewise.
16719 * gdb.base/sigall.exp: Likewise.
16720 * gdb.base/sigbpt.exp: Likewise.
16721 * gdb.base/signals.exp: Likewise.
16722 * gdb.base/signull.exp: Likewise.
16723 * gdb.base/sizeof.exp: Likewise.
16724 * gdb.base/solib.exp: Likewise.
16725 * gdb.base/step-line.exp: Likewise.
16726 * gdb.base/step-test.exp: Likewise.
16727 * gdb.base/structs.exp: Likewise.
16728 * gdb.base/structs2.exp: Likewise.
16729 * gdb.base/term.exp: Likewise.
16730 * gdb.base/twice.exp: Likewise.
16731 * gdb.base/until.exp: Likewise.
16732 * gdb.base/varargs.exp: Likewise.
16733 * gdb.base/volatile.exp: Likewise.
16734 * gdb.base/watchpoint.exp: Likewise.
16735 * gdb.base/whatis-exp.exp: Likewise.
16736 * gdb.base/whatis.exp: Likewise.
16737 * gdb.cp/ambiguous.exp: Likewise.
16738 * gdb.cp/annota2.exp: Likewise.
16739 * gdb.cp/annota3.exp: Likewise.
16740 * gdb.cp/bool.exp: Likewise.
16741 * gdb.cp/breakpoint.exp: Likewise.
16742 * gdb.cp/casts.exp: Likewise.
16743 * gdb.cp/class2.exp: Likewise.
16744 * gdb.cp/classes.exp: Likewise.
16745 * gdb.cp/cplusfuncs.exp: Likewise.
16746 * gdb.cp/ctti.exp: Likewise.
16747 * gdb.cp/derivation.exp: Likewise.
16748 * gdb.cp/exception.exp: Likewise.
16749 * gdb.cp/gdb1355.exp: Likewise.
16750 * gdb.cp/hang.exp: Likewise.
16751 * gdb.cp/inherit.exp: Likewise.
16752 * gdb.cp/local.exp: Likewise.
16753 * gdb.cp/m-data.exp: Likewise.
16754 * gdb.cp/m-static.exp: Likewise.
16755 * gdb.cp/member-ptr.exp: Likewise.
16756 * gdb.cp/method.exp: Likewise.
16757 * gdb.cp/misc.exp: Likewise.
16758 * gdb.cp/namespace.exp: Likewise.
16759 * gdb.cp/overload.exp: Likewise.
16760 * gdb.cp/ovldbreak.exp: Likewise.
16761 * gdb.cp/pr-1023.exp: Likewise.
16762 * gdb.cp/pr-1210.exp: Likewise.
16763 * gdb.cp/pr-574.exp: Likewise.
16764 * gdb.cp/printmethod.exp: Likewise.
16765 * gdb.cp/psmang.exp: Likewise.
16766 * gdb.cp/ref-params.exp: Likewise.
16767 * gdb.cp/ref-types.exp: Likewise.
16768 * gdb.cp/rtti.exp: Likewise.
16769 * gdb.cp/templates.exp: Likewise.
16770 * gdb.cp/try_catch.exp: Likewise.
16771 * gdb.cp/userdef.exp: Likewise.
16772 * gdb.cp/virtfunc.exp: Likewise.
16773 * gdb.disasm/am33.exp: Likewise.
16774 * gdb.disasm/h8300s.exp: Likewise.
16775 * gdb.disasm/mn10300.exp: Likewise.
16776 * gdb.disasm/sh3.exp: Likewise.
16777 * gdb.disasm/t01_mov.exp: Likewise.
16778 * gdb.disasm/t02_mova.exp: Likewise.
16779 * gdb.disasm/t03_add.exp: Likewise.
16780 * gdb.disasm/t04_sub.exp: Likewise.
16781 * gdb.disasm/t05_cmp.exp: Likewise.
16782 * gdb.disasm/t06_ari2.exp: Likewise.
16783 * gdb.disasm/t07_ari3.exp: Likewise.
16784 * gdb.disasm/t08_or.exp: Likewise.
16785 * gdb.disasm/t09_xor.exp: Likewise.
16786 * gdb.disasm/t10_and.exp: Likewise.
16787 * gdb.disasm/t11_logs.exp: Likewise.
16788 * gdb.disasm/t12_bit.exp: Likewise.
16789 * gdb.disasm/t13_otr.exp: Likewise.
16790 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
16791 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
16792 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16793 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
16794 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
16795 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16796 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16797 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16798 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
16799 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
16800 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16801 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16802 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16803 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16804 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16805 * gdb.mi/gdb701.exp: Likewise.
16806 * gdb.mi/gdb792.exp: Likewise.
16807 * gdb.mi/mi-basics.exp: Likewise.
16808 * gdb.mi/mi-break.exp: Likewise.
16809 * gdb.mi/mi-cli.exp: Likewise.
16810 * gdb.mi/mi-console.exp: Likewise.
16811 * gdb.mi/mi-disassemble.exp: Likewise.
16812 * gdb.mi/mi-eval.exp: Likewise.
16813 * gdb.mi/mi-file.exp: Likewise.
16814 * gdb.mi/mi-read-memory.exp: Likewise.
16815 * gdb.mi/mi-regs.exp: Likewise.
16816 * gdb.mi/mi-return.exp: Likewise.
16817 * gdb.mi/mi-simplerun.exp: Likewise.
16818 * gdb.mi/mi-stack.exp: Likewise.
16819 * gdb.mi/mi-stepi.exp: Likewise.
16820 * gdb.mi/mi-syn-frame.exp: Likewise.
16821 * gdb.mi/mi-until.exp: Likewise.
16822 * gdb.mi/mi-var-block.exp: Likewise.
16823 * gdb.mi/mi-var-child.exp: Likewise.
16824 * gdb.mi/mi-var-cmd.exp: Likewise.
16825 * gdb.mi/mi-var-display.exp: Likewise.
16826 * gdb.mi/mi-watch.exp: Likewise.
16827 * gdb.mi/mi2-basics.exp: Likewise.
16828 * gdb.mi/mi2-break.exp: Likewise.
16829 * gdb.mi/mi2-cli.exp: Likewise.
16830 * gdb.mi/mi2-console.exp: Likewise.
16831 * gdb.mi/mi2-disassemble.exp: Likewise.
16832 * gdb.mi/mi2-eval.exp: Likewise.
16833 * gdb.mi/mi2-file.exp: Likewise.
16834 * gdb.mi/mi2-read-memory.exp: Likewise.
16835 * gdb.mi/mi2-regs.exp: Likewise.
16836 * gdb.mi/mi2-return.exp: Likewise.
16837 * gdb.mi/mi2-simplerun.exp: Likewise.
16838 * gdb.mi/mi2-stack.exp: Likewise.
16839 * gdb.mi/mi2-stepi.exp: Likewise.
16840 * gdb.mi/mi2-syn-frame.exp: Likewise.
16841 * gdb.mi/mi2-until.exp: Likewise.
16842 * gdb.mi/mi2-var-block.exp: Likewise.
16843 * gdb.mi/mi2-var-child.exp: Likewise.
16844 * gdb.mi/mi2-var-cmd.exp: Likewise.
16845 * gdb.mi/mi2-var-display.exp: Likewise.
16846 * gdb.mi/mi2-watch.exp: Likewise.
16847 * gdb.stabs/exclfwd.exp: Likewise.
16848 * gdb.stabs/weird.exp: Likewise.
16849 * gdb.threads/gcore-thread.exp: Likewise.
16850 * gdb.trace/actions.exp: Likewise.
16851 * gdb.trace/backtrace.exp: Likewise.
16852 * gdb.trace/circ.exp: Likewise.
16853 * gdb.trace/collection.exp: Likewise.
16854 * gdb.trace/deltrace.exp: Likewise.
16855 * gdb.trace/infotrace.exp: Likewise.
16856 * gdb.trace/limits.exp: Likewise.
16857 * gdb.trace/packetlen.exp: Likewise.
16858 * gdb.trace/passc-dyn.exp: Likewise.
16859 * gdb.trace/passcount.exp: Likewise.
16860 * gdb.trace/report.exp: Likewise.
16861 * gdb.trace/save-trace.exp: Likewise.
16862 * gdb.trace/tfind.exp: Likewise.
16863 * gdb.trace/tracecmd.exp: Likewise.
16864 * gdb.trace/while-dyn.exp: Likewise.
16865 * gdb.trace/while-stepping.exp: Likewise.
16866
f4b618d1
JB
168672006-08-08 Joel Brobecker <brobecker@adacore.com>
16868
16869 * gdb.base/step-bt.c: New file.
16870 * gdb.base/step-bt.exp: New testcase.
16871
3d00d119
DJ
168722006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
16873
16874 * config/monitor.exp (gdb_load): Remove support for obsolete
16875 download-write-size.
16876 * gdb.base/remote.exp: Likewise. Update all callers of
16877 gdb_timed_load.
16878
017b5bd4
DJ
168792006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
16880
16881 * cursal.exp: Pass binfile to gdb_load.
16882
837c599d
DJ
168832006-08-01 Nathan Sidwell <nathan@codesourcery.com>
16884
16885 * gdb.base/cursal.exp: Add "" to gdb_load call.
16886
8dd4540b
MK
168872006-07-29 Mark Kettenis <kettenis@gnu.org>
16888
16889 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
16890 NetBSD/ELF targets.
16891
ab5c9f60
DJ
168922006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
16893
16894 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
16895 operator*.
16896
4c42eaff
DJ
168972006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
16898
16899 * gdb.base/completion.exp: Update for change in "file" behavior.
16900 * gdb.stabs/weird.exp: Likewise.
16901 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
16902 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
16903
0155cc76
NS
169042006-07-24 Nathan Sidwell <nathan@codesourcery.com>
16905
16906 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
16907 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
16908
16026cd7
AS
169092006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
16910
16911 * gdb.base/default.exp: Update source command error message.
16912 * gdb.base/help.exp: Update 'help source' message.
16913
16963cb6
DJ
169142006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
16915
16916 * gdb.cp/bs15503.exp: Update comment for no longer crashing
16917 test.
16918
6d7fd486
AS
169192006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
16920
16921 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
16922
29e8a844
DJ
169232006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
16924
16925 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
16926
6afcfa39
DJ
169272006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
16928
16929 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
16930
267a692b
MK
169312006-07-17 Mark Kettenis <kettenis@gnu.org>
16932
16933 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
16934 *-*-openbsd* from targets for wich we expect ARM FPA floating
16935 point format.
16936
85d2fec4
NR
169372006-07-17 Nick Roberts <nickrob@snap.net.nz>
16938
16939 * gdb.cp/annota3.exp: Expect frame-begin annotation.
16940
169412006-07-17 Mark Kettenis <kettenis@gnu.org>
16942
16943 * gdb.base/annota3.exp: Expect frame-begin annotation.
16944
85b4c6e8
JB
169452006-07-14 Joel Brobecker <brobecker@adacore.com>
16946
16947 * gdb.base/help.exp: Adjust "help unset" test to accept
16948 any list of unset commands.
16949
fb933624
DJ
169502006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
16951 Daniel Jacobowitz <dan@codesourcery.com>
16952
16953 * gdb.cp/ref-params.exp: New test.
16954 * gdb.cp/ref-params.cc: New source file.
16955 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
16956
1dff4b64
MK
169572006-07-08 Mark Kettenis <kettenis@gnu.org>
16958
16959 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
16960 spaces/tabs in regular expressions since they might not be there.
16961
40d2e0e3
AS
169622006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
16963
16964 * gdb.base/ifelse.exp: New file.
16965
f6c957d2
NS
169662006-07-04 Nathan Sidwell <nathan@codesourcery.com>
16967
16968 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
16969 line.
16970 * gdb.base/huge.exp: Loop over compilation to find a size that
16971 is acceptable.
16972 * gdb.base/remote.exp: Correct expected strings.
16973 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
16974
b9c5a23d
DJ
169752006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16976
16977 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
16978
9af2e58d
DJ
169792006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16980
16981 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
16982 native.
16983
30930ca5
DJ
169842006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16985
16986 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
16987 enable stabs testing.
16988
aa32fa1d
DJ
169892006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16990
bd4a4c80 16991 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
16992 gdb_test_multiple does.
16993
321fef15
DJ
169942006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16995
16996 * Makefile.in (host_alias): Remove.
16997 (target_alias): Use @target_noncanonical@.
16998 (site.exp): Don't set host_alias.
16999 * aclocal.m4: Remove contents. Include acx.m4.
17000 * configure: Regenerated.
17001 * configure.ac: Use ACX_NONCANONICAL_TARGET.
17002
e1c2defa
NS
170032006-06-13 Nathan Sidwell <nathan@codesourcery.com>
17004
e63b55d1
NS
17005 * lib/gdb.exp (gdb_load_cmd): New.
17006
5600ea19
NS
17007 * gdb.base/fileio.c: Add system(NULL) test.
17008 * gdb.base/fileio.exp: Check it.
17009
e1c2defa
NS
17010 * gdb.base/break.c: Add 10a breakpoint at }
17011 * gdb.base/break.exp: Add test for breakpoint at }
17012 * gdb.cp/anon-union.cc: Add code at end of function.
17013 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
17014 * gdb.mi/var-cmd.c: Add code at end of function.
17015 * gdb.mi/mi-var-display.exp: Adjust end of next.
17016 * gdb.mi/mi2-var-display.exp: Likewise.
17017 * gdb.base/fileio.c: Add stop function and insert calls at
17018 stopping places.
17019 * gdb.base/fileio.exp: Breakpoint stop function and remove
17020 explicit line number references.
17021
6c0112ec
JB
170222006-05-19 Joel Brobecker <brobecker@adacore.com>
17023
a9c64011
AS
17024 * gdb.base/del.exp (test_delete_alias): New function.
17025 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 17026
154189a4
FF
170272006-05-18 Fred Fish <fnf@specifix.com>
17028
17029 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
17030 required. Check for spurious output after program exits normally.
17031
582e64c2
FF
170322006-05-17 Fred Fish <fnf@specifix.com>
17033
17034 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
17035 gdb_load, so it works in the simulator.
17036
8ef6493a
FF
170372006-05-11 Fred Fish <fnf@specifix.com>
17038
17039 * gdb.base/bang.exp: Ignore unexpected output between the
17040 "program exited normally" and the gdb prompt, as many other
17041 tests do.
17042
692b141c
MK
170432006-05-07 Mark Kettenis <kettenis@gnu.org>
17044
17045 * gdb.base/help.exp: Make "delete checkpoint" part option for
17046 "help d" and "help delete" tests.
17047
540b8a30
UW
170482006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17049
a9c64011 17050 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
17051 expected output in some mi_gdb_test statements.
17052 * gdb.mi/mi2-basics.exp: Likewise.
17053
9b6462d9
JB
170542006-05-05 Joel Brobecker <brobecker@adacore.com>
17055
17056 * gdb.base/del.c: New file.
17057 * gdb.base/del.exp: New testcase.
17058
954de43b
DM
170592006-05-05 David S. Miller <davem@sunset.davemloft.net>
17060
17061 * gdb.base/break.exp: Do not assume a breakpoint on
17062 main will actually be in $srcfile when optimizing.
1303f75e
DM
17063 * gdb.base/savedregs.exp: Do not require that the dummy
17064 frame location match up to a symbol and source file location.
c3242428
DM
17065 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
17066 will get printed without a mi_cmd_data_list_register_values prefix.
17067 (*-data-list-register-*): Correct regular expressions to expect the new
17068 pseudo d? floating point registers.
17069 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 17070
c7e64c9a
DJ
170712006-05-05 Christophe Lyon <christophe.lyon@st.com>
17072
17073 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
17074 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
17075 is allocated by the compiler.
17076 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
17077 anons, e, anone to force their allocation by the compiler.
17078
170792006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
17080
17081 * gdb.base/help.exp: Update expected text for help d and
17082 help delete.
17083
27ce9a6d
MK
170842006-05-02 Mark Kettenis <kettenis@gnu.org>
17085
17086 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
17087 NetBSD/ELF targets.
17088
8608915f
MK
170892006-04-30 Mark Kettenis <kettenis@gnu.org>
17090
17091 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
17092 single-step breakpoint fails; make this a KFAIL on
17093 sparc*-*-openbsd*.
17094 * gdb.base/siginfo.exp: Likewise.
17095 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17096
b8db102d
MS
170972006-04-26 Michael Snyder <msnyder@redhat.com>
17098
17099 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
17100 which may have to consume output from other forks.
17101 Add tests to make sure that "delete fork" succeeded.
17102
c702009a
MS
171032006-04-20 Michael Snyder <msnyder@redhat.com>
17104
17105 * 2006-03-22 Jim Blandy <jimb@redhat.com>
17106 Add support for the Renesas M32C and M16C.
17107
17108 * gdb.asm/asm-source.exp: Add m32c target.
17109 * gdb.asm/m32c.inc: Support for m32c target.
17110
e28493f2
AS
171112006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
17112
17113 * gdb.base/commands.exp (recursive_source_test): New test.
17114
880da185
DM
171152006-04-04 David S. Miller <davem@sunset.davemloft.net>
17116
17117 * gdb.base/float.exp: Add pattern for sparc targets.
17118
61d9b92f
DJ
171192006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17120
17121 * gdb.base/commands.exp (stray_arg0_test): New test.
17122
bd717df8
PB
171232006-03-30 Paul Brook <paul@codesourcery.com>
17124
17125 * gdb.mi/mi-until.exp: kfail broken until command.
17126 * gdb.mi/mi2-until.exp: Ditto.
17127
ec793d3c
NR
171282006-03-27 Nick Roberts <nickrob@snap.net.nz>
17129
17130 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
17131
831004b7
AO
171322006-03-08 Alexandre Oliva <aoliva@redhat.com>
17133
17134 * gdb.base/prelink.exp: Anchor tested-for regular expression
17135 on gdb prompt.
17136
effe49a0
PB
171372006-03-07 Paul Brook <paul@codesourcery.com>
17138
17139 * gdb.base/assign.exp: Correct fail message.
17140
e5461016
PB
171412006-03-07 Paul Brook <paul@codesourcery.com>
17142
17143 * lib/compiler.c: Extract armcc version number.
17144 * lib/compiler.cc: Ditto.
17145
fc91c6c2
PB
171462006-03-07 Paul Brook <paul@codesourcery.com>
17147
17148 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
17149 additional_flags=-w.
17150 * gdb.arch/altivec-regs.exp: Ditto.
17151 * gdb.arch/e500-abi.exp: Ditto.
17152 * gdb.arch/e500-regs.exp: Ditto.
17153 * gdb.base/all-bin.exp: Ditto.
17154 * gdb.base/annota1.exp: Ditto.
17155 * gdb.base/annota3.exp: Ditto.
17156 * gdb.base/args.exp: Ditto.
17157 * gdb.base/arithmet.exp: Ditto.
17158 * gdb.base/assign.exp: Ditto.
17159 * gdb.base/async.exp: Ditto.
17160 * gdb.base/bang.exp: Ditto.
17161 * gdb.base/break.exp: Ditto.
17162 * gdb.base/call-rt-st.exp: Ditto.
17163 * gdb.base/completion.exp: Ditto.
17164 * gdb.base/cond-expr.exp: Ditto.
17165 * gdb.base/condbreak.exp: Ditto.
17166 * gdb.base/consecutive.exp: Ditto.
17167 * gdb.base/define.exp: Ditto.
17168 * gdb.base/display.exp: Ditto.
17169 * gdb.base/ena-dis-br.exp: Ditto.
17170 * gdb.base/environ.exp: Ditto.
17171 * gdb.base/eval-skip.exp: Ditto.
17172 * gdb.base/info-proc.exp: Ditto.
17173 * gdb.base/jump.exp: Ditto.
17174 * gdb.base/logical.exp: Ditto.
17175 * gdb.base/long_long.exp: Ditto.
17176 * gdb.base/maint.exp: Ditto.
17177 * gdb.base/miscexprs.exp: Ditto.
17178 * gdb.base/pc-fp.exp: Ditto.
17179 * gdb.base/pointers.exp: Ditto.
17180 * gdb.base/relational.exp: Ditto.
17181 * gdb.base/reread.exp: Ditto.
17182 * gdb.base/sect-cmd.exp: Ditto.
17183 * gdb.base/sep.exp: Ditto.
17184 * gdb.base/sepdebug.exp: Ditto.
17185 * gdb.base/until.exp: Ditto.
17186 * gdb.base/whatis-exp.exp: Ditto.
17187 * gdb.cp/annota2.exp: Ditto.
17188 * gdb.cp/annota3.exp: Ditto.
17189 * gdb.trace/actions.exp: Ditto.
17190 * gdb.trace/backtrace.exp: Ditto.
17191 * gdb.trace/circ.exp: Ditto.
17192 * gdb.trace/collection.exp: Ditto.
17193 * gdb.trace/deltrace.exp: Ditto.
17194 * gdb.trace/infotrace.exp: Ditto.
17195 * gdb.trace/limits.exp: Ditto.
17196 * gdb.trace/packetlen.exp: Ditto.
17197 * gdb.trace/passc-dyn.exp: Ditto.
17198 * gdb.trace/passcount.exp: Ditto.
17199 * gdb.trace/report.exp: Ditto.
17200 * gdb.trace/save-trace.exp: Ditto.
17201 * gdb.trace/tfind.exp: Ditto.
17202 * gdb.trace/tracecmd.exp: Ditto.
17203 * gdb.trace/while-dyn.exp: Ditto.
17204 * gdb.trace/while-stepping.exp: Ditto.
17205 * lib/gdb.exp: Ditto.
17206 (gdb_compile): Handle nowarning option.
17207
5f4a23d9
AO
172082006-03-07 Alexandre Oliva <aoliva@redhat.com>
17209
17210 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
17211 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
17212 Rename executable to prelinkt. Don't re-prelink if we didn't
17213 get a core file. Test prelink -u exit status to tell whether
17214 prelinking failed. Use gdb_test_multiple.
17215
9733fc94
DJ
172162006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
17217
17218 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
17219 (do_tests): Call it.
17220
cc10cae3
AO
172212006-02-28 Alexandre Oliva <aoliva@redhat.com>
17222
17223 * gdb.base/prelink.exp: New test.
17224 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
17225
15c46491
WZ
172262006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
17227
17228 * gdb.fortran/derived-type.f90: New file.
17229 * gdb.fortran/derived-type.exp: New testcase.
17230
5c9f7ded
DJ
172312006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
17232
17233 * gdb.base/default.exp: Allow ';' as a directory separator.
17234
5b96932b
AS
172352006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17236
17237 * gdb.base/help.exp (help add-symbol-file): Update.
17238
1986bccd
AS
172392006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17240
17241 * gdb.base/help.exp (help load): Update expected results.
17242
a8b7528f
FF
172432006-02-19 Fred Fish <fnf@specifix.com>
17244
17245 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
17246 specifix hex value as part of results.
17247 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 17248
f8261448
FF
172492006-02-16 Fred Fish <fnf@specifix.com>
17250
17251 * gdb.base/whatis.c: Define variables using typedefs char_addr,
17252 ushort_addr, and slong_addr, so the typedefs are not optimized
17253 away.
17254 * gdb.base/whatis.exp: Add tests using type name for struct type,
17255 union type, enum type, and typedef.
a9c64011 17256
31d8bdd2
MK
172572006-02-13 Mark Kettenis <kettenis@gnu.org>
17258
17259 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
17260
34e41e63
JB
172612006-02-13 Jim Blandy <jimb@redhat.com>
17262
17263 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
17264 case where it takes two "next" commands to skip past the init
17265 call.
17266
ac6e4f31
FF
172672006-02-12 Fred Fish <fnf@specifix.com>
17268
17269 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
17270 to handle cases where it takes two "next" commands to skip
17271 past the init call.
17272
2db2d571
JB
172732006-02-07 Joel Brobecker <brobecker@adacore.com>
17274
17275 * gdb.ada/array_return.exp: Mark the last test as expected to fail
17276 on hppa32 targets.
17277
38fcd64c
DJ
172782006-02-06 Vladimir Prus <ghost@cs.msu.su>
17279
17280 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
17281 field.
17282
1315ad46
MK
172832006-01-29 Mark Kettenis <kettenis@gnu.org>
17284
17285 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
17286
5625b943
DJ
172872006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17288
17289 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
17290 files.
17291
80df1bbe
DJ
172922006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17293
17294 * gdb.cp/maint.exp: Set complaints to a positive value.
17295
9078e690
DJ
172962006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17297
17298 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
17299 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
17300 function name.
17301
9c903399
DJ
173022006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17303
17304 * gdb.base/checkpoint.c: Update copyright notice. Include
17305 <stdlib.h>.
17306
761ae4d6
JB
173072006-01-04 Jim Blandy <jimb@redhat.com>
17308
17309 * gdb.asm/asm-source.exp: Independently provide default values for
17310 asm-flags and debug-flags. Use 'string equal' to do the
17311 comparison, not the implicit expr's '==' operator. Remove
17312 now-unneeded assignments to asm-flags. In h8300 case, place
17313 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
17314
099ac3dd
MS
173152006-01-04 Michael Snyder <msnyder@redhat.com>
17316
17317 * gdb.base/checkpoint.c: New file.
17318 * gdb.base/checkpoint.exp: New file.
17319 * gdb.base/multi-fork.c: New file.
17320 * gdb.base/multi-fork.exp: New file.
17321 * gdb.base/pi.txt: New file (data for checkpoint.c test).
17322
f4d85314
FF
173232006-01-04 Fred Fish <fnf@specifix.com>
17324
17325 * gdb.base/ptype.c (foo): Add typedef.
17326 (intfoo): Add function.
17327 * gdb.base/ptype1.c: New file.
17328 * gdb.base/ptype.exp: Handle compilation and linking with two
17329 source files. Test that proper type for "foo" is found based
17330 on source context rather than first match found in symtabs.
17331
a1b06f35
MK
173322005-12-28 Mark Kettenis <kettenis@gnu.org>
17333
17334 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
17335 * gdb.asm/openbsd.inc: Indent commands.
17336
d082a1e2
MK
173372005-12-26 Mark Kettenis <kettenis@gnu.org>
17338
c65016bd
MK
17339 * gdb.base/freebpcmd.exp: Increase timeout.
17340
d082a1e2
MK
17341 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
17342
d3c32a0e
DJ
173432005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
17344
17345 * gdb.base/default.exp: Update check for "show version".
17346
9fdb1f50
RC
173472005-12-09 Randolph Chung <tausq@debian.org>
17348
17349 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
17350 * gdb.asm/pa64.inc: New file.
17351
5f2c56f7
RC
173522005-12-09 Randolph Chung <tausq@debian.org>
17353
17354 * gdb.asm/common.inc: Indent commands.
17355 * gdb.asm/asmsrc1.s: Likewise.
17356 * gdb.asm/asmsrc2.s: Likewise.
17357
8117349c
RC
173582005-12-09 Randolph Chung <tausq@debian.org>
17359
17360 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
17361 (get_addr_of_sym): Remove duplicate print.
17362 (gen_core): xfail hppa*-*-hpux*, update expected output.
17363 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
17364 * gdb.arch/pa64-nullify.s: New file.
17365
8f07f25a
RC
173662005-12-09 Randolph Chung <tausq@debian.org>
17367
17368 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
17369
55b39184
DJ
173702005-12-07 Christophe Lyon <christophe.lyon@st.com>
17371
17372 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
17373 code generation for these functions.
17374 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
17375 error message.
17376
31e2b00f
AS
173772005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
17378
17379 * gdb.base/help.exp (help b, help br, help bre, help brea)
17380 (help break): Update the expected message.
17381
c3d0b56e
SC
173822005-11-11 Stephane Carrez <stcarrez@nerim.fr>
17383
17384 * gdb.asm/m68hc11.inc: Setup the data section.
17385 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
17386 script for this test.
17387 (m6812-*-*): Likewise.
17388
36ae0ea9
RC
173892005-11-09 Randolph Chung <tausq@debian.org>
17390
17391 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
17392
9d6f42e9
WZ
173932005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
17394
17395 * gdb.base/break.exp: Fix a comment typo.
17396
e2126a14
EZ
173972005-11-03 Jim Blandy <jimb@redhat.com>
17398
a9c64011
AS
17399 Checked in by Elena Zannoni <ezannoni@redhat.com>
17400
889bf7c5 17401 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 17402
e0ac7199
CV
174032005-11-02 Corinna Vinschen <vinschen@redhat.com>
17404
17405 * gdb.arch/gdb1558.c: Include stdio.h.
17406
31d3fb18
MK
174072005-10-31 Mark Kettenis <kettenis@gnu.org>
17408
17409 * gdb.asm/asm-source.exp: Use -e instead of --entry.
17410
e52b687c
MK
174112005-10-31 Mark Kettenis <kettenis@gnu.org>
17412
17413 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
17414
f4711d79
PG
174152005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
17416
a9c64011
AS
17417 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17418 vscr" tests to better match output.
f4711d79 17419
987a9106
JB
174202005-10-12 Jim Blandy <jimb@redhat.com>
17421
17422 * gdb.base/structs.exp (any): New function.
17423 (test_struct_returns): Don't make any assumptions at all about
17424 what value the function returns when GDB can't set the return
17425 value.
17426
2336bb58
JB
174272005-10-09 Joel Brobecker <brobecker@adacore.com>
17428
17429 * gdb.ada/arrayidx/p.adb: New file.
17430 * gdb.ada/arrayidx.exp: New testcase
17431
174322005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
17433
17434 * gdb.ada/array_return/pck.ads: New file.
17435 * gdb.ada/array_return/pck.adb: New file.
17436 * gdb.ada/array_return/p.adb: New file.
17437 * gdb.ada/array_return.exp: New testcase.
17438
705335ea
JB
174392005-10-03 Joel Brobecker <brobecker@adacore.com>
17440
a9c64011
AS
17441 * gdb.base/arrayidx.c: New file.
17442 * gdb.base/arrayidx.exp: New testcase.
705335ea 17443
11ee9940
NR
174442005-09-29 Nick Roberts <nickrob@snap.net.nz>
17445
17446 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
17447 frames-invalid and breakpoints-invalid are no longer generated
17448 with level 3 so don't expect them in the output.
17449
39fb8e9e
BR
174502005-09-27 Bob Rossi <bob@brasko.net>
17451
a9c64011 17452 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
17453 from test. Escape the | in mi_gdb_test call.
17454 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
17455 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
17456 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
17457 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
17458 expected regex's in mi_gdb_test calls.
17459 * lib/mi-support.exp: Remove arbitrary .* from tests.
17460 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
17461 Fully anchor GDB/MI expected results in mi_gdb_test.
17462 * lib/gdb.exp (string_to_regexp): Escape the ] character.
17463 * gdb.base/sizeof.exp: Remove escape character. Correct test.
17464
2af48f68
PB
174652005-09-26 Paul Brook <paul@codesourcery.com>
17466
17467 * long_long.exp: Exclude eabi targets from arm FPA float format test.
17468
f34502bc
WZ
174692005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17470
17471 * bfp-test.c: New file.
17472 * bfp-test.exp: New testcase.
17473
ca929517
WZ
174742005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17475
17476 * gdb.fortran/subarray.exp: New testcase to test the evaluation
17477 of subarray and substring variable.
17478 * gdb.fortran/subarray.f: New source file for the test of subarray
17479 and substring variable evaluation.
17480 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
17481 of string constant.
17482
c761af65
DJ
174832005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
17484
17485 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
17486 copyright dates.
17487
561d7a1d
PG
174882005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
17489
17490 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
17491 powerpc altivec' test with an almost identical 'info vector' test.
17492
b2b64cc9
PG
174932005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17494
a9c64011
AS
17495 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17496 vscr" tests to match output.
b2b64cc9 17497
6ac4d15a
PG
174982005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17499
a9c64011
AS
17500 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
17501 output.
6ac4d15a 17502
40e55bef
BR
175032005-09-11 Bob Rossi <bob@brasko.net>
17504
889bf7c5
PA
17505 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
17506 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
17507 commands that return an MI output command and an asyncronous MI output
17508 command.
40e55bef
BR
17509 * gdb.mi/mi-console.exp: Ditto.
17510
3c7385ec
BR
175112005-09-11 Bob Rossi <bob@brasko.net>
17512
17513 * gdb.mi/mi-var-child.c: Include <string.h>.
17514
a6cd0eb3
DJ
175152005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
17516
17517 * killed.exp: Correct gdb_expect syntax.
17518
2f168eed
CV
175192005-08-09 Corinna Vinschen <vinschen@redhat.com>
17520
17521 * lib/mi-support.exp (mi_gdb_load): Fix typo.
17522
ecd3fd0f
BR
175232005-08-02 Bob Rossi <bob@brasko.net>
17524
17525 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
17526 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
17527 Change tests to inferior-tty-set/show.
17528 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
17529 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
17530 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
17531 inferior. Use mi_gdb_test to get GDB and Inferior output.
17532 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
17533 descriptor.
17534 (mi_inferior_tty_name): Add inferior PTY file name.
17535 (mi_gdb_start): Add INFERIOR_PTY parameter.
17536 (mi_gdb_test): Add IPATTERN parameter.
17537
f1ea48cb 175382005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 17539
f1ea48cb
BR
17540 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
17541 parameter to mi_gdb_test.
17542 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
17543
6e650a67
DJ
175442005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17545
17546 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
17547 struct_declarations.
17548 * gdb.mi/mi-var-child.exp: Step over the initialization of
17549 struct_declarations.
17550
8be260b6
DJ
175512005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17552
17553 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
17554 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
17555 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
17556 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
17557 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
17558 file.
17559
4e660f07
NR
175602005-07-27 Nick Roberts <nickrob@snap.net.nz>
17561
17562 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
17563 (do_children_tests): Assign values to the extra elements.
17564
17565 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
17566 them for tests for "-var-update --no-values" and
a9c64011 17567 "-var-update --all-values".
4e660f07
NR
17568 Add test for "-var-list-children --simple-values".
17569
17570 * gdb.mi/basics.c (callee4): Add integer array D[3]...
17571
17572 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
17573 "-stack-list-locals --simple-values" Improve doc strings and
17574 comments.
17575
6bdae935
MK
175762005-07-18 Mark Kettenis <kettenis@gnu.org>
17577
598b7a6f
MK
17578 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
17579 *-*-openbsd*.
17580 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
17581
6bdae935
MK
17582 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
17583 sigaltsatck'.
17584
1323e929 175852005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 17586
1323e929
BR
17587 * gdb.base/default.exp (tty): Changed output of command.
17588 * gdb.base/help.exp (help tty): Ditto.
17589
b1a9c082
MK
175902005-07-12 Mark Kettenis <kettenis@gnu.org>
17591
17592 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
17593
10a844a2
MK
175942005-07-10 Mark Kettenis <kettenis@gnu.org>
17595
17596 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
17597 -stack-select-frame without arguments.
17598 (test_stack_frame_listing): Add test for newly implemented command
17599 -stack-info-frame.
17600
3cb3b8df
BR
176012005-07-06 Bob Rossi <bob@brasko.net>
17602
17603 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
17604 command.
17605 (Copyright): Update copyright.
17606
a0c5fbcf
WZ
176072005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
17608
17609 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
17610 tests to evaluate exponentiation expression.
17611
984971d0
AS
176122005-06-29 Andreas Schwab <schwab@suse.de>
17613
17614 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
17615 main to avoid warnings.
17616
17617 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
17618
fe03833f
NR
176192005-06-20 Nick Roberts <nickrob@snap.net.nz>
17620
17621 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
17622 -stack-select-frame without arguments.
17623 (test_stack_frame_listing): Add test for newly implemented command
17624 -stack-info-frame.
a9c64011 17625
7a55f279
WZ
176262005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
17627
0ffa0ea5
DJ
17628 * gdb.fortran/array-element.f: New file.
17629 * gdb.fortran/array-element.exp: New testcase.
7a55f279 17630
26585198
DJ
176312005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17632
17633 * gdb.base/bigcore.exp: Correct checks for systems which can
17634 not dump a large core file.
17635
c1bd25fd
DJ
176362005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17637
17638 * gdb.base/relocate.c: Add a copyright notice.
17639 (dummy): Remove.
17640 * gdb.base/relocate.exp: Test printing the values of variables
17641 from a relocatable file.
17642
589e074d
DJ
176432005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17644
17645 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
17646 excess MI output after an error.
17647
0915f927
JB
176482005-05-29 Joel Brobecker <brobecker@adacore.com>
17649
17650 * gdb.arch/alpha-step.c: New file.
17651 * gdb.arch/alpha-step.exp: New testcase.
17652
76ff342d
DJ
176532005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
17654 Dennis Brueni <dennis@slickedit.com>
17655
17656 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
17657 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
17658 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
17659 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
17660 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
17661 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
17662 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
17663
96b0c7ac
DJ
176642005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
17665 Wu Zhou <woodzltc@cn.ibm.com>
17666
17667 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
17668 IBM's xlc compiler.
17669 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
17670 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
17671
f21565d2
JB
176722005-05-13 Jim Blandy <jimb@redhat.com>
17673
17674 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
17675 calling gdb_suppress_entire_file.
17676 * gdb.base/charset.exp: Same.
17677 * gdb.base/call-rt-st.exp: Same.
17678
6006a3a1
BR
176792005-05-05 Bob Rossi <bob_rossi@cox.net>
17680
17681 * lib/gdb.exp (fullname_syntax): Added global regex.
17682 (fullname_syntax_POSIX): Ditto.
17683 (fullname_syntax_UNC): Ditto.
17684 (fullname_syntax_DOS_CASE): Ditto.
17685 (fullname_syntax_DOS): Ditto.
17686 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
17687 fullname_syntax variable to scope and use it.
17688 (test_file_list_exec_source_files): Ditto.
17689 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
17690
c3b69c04
DJ
176912005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
17692
17693 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
17694
3c95e6af
PG
176952004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
17696
a9c64011
AS
17697 * lib/gdb.exp (skip_altivec_tests): New function, based on
17698 check_vmx_hw_available from the GCC testsuite.
17699 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
17700 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 17701
78df6c56
JB
177022005-05-02 Jim Blandy <jimb@redhat.com>
17703
17704 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
17705 calling gdb_suppress_entire_file.
17706
1690f9cf
DJ
177072005-04-30 Randolph Chung <tausq@debian.org>
17708
17709 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
17710 Slightly relax "sem_post" name checking.
17711
5ea106f7
PG
177122005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17713
17714 * gdb.base/unload.exp: Use new shared library infrastructure.
17715
bf7234cf
PG
177162005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17717
17718 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 17719 infrastructure.
bf7234cf 17720
547b869a
CV
177212005-04-29 Corinna Vinschen <vinschen@redhat.com>
17722
17723 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
17724 * gdb.asm/h8300.inc: New file.
17725
f07e55f0
PG
177262005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17727
17728 * gdb.base/shlib-call.exp: Change to use new shared library
17729 infrastructure.
17730
3cbba3d1
PG
177312005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17732
a9c64011
AS
17733 * gdb.base/pending.exp: Change to use new shared library
17734 infrastructure.
3cbba3d1 17735
ed6df200
PG
177362005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17737
a9c64011
AS
17738 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
17739 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 17740
8c8f4ebe
PG
177412005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
17742
a9c64011
AS
17743 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
17744 shared objects being adjusted and update copyright years.
8c8f4ebe 17745
607fbc54
DJ
177462005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
17747
17748 * ChangeLog: Correct some 2003-01-13 dates.
17749 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
17750 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
17751 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
17752 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
17753 gdb.trace/tfind.exp: Update copyright years.
17754
57bf0e56
DJ
177552005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
17756 Daniel Jacobowitz <dan@codesourcery.com>
17757
17758 * lib/gdb.exp (gdb_compile): Handle shlib=.
17759 (gdb_compile_shlib): New function.
17760
9b593790
PG
177612005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
17762
a9c64011 17763 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 17764
9494c6a5
DJ
177652005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17766
17767 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
17768 gdb.server.
17769 * configure.ac: Likewise.
17770 * configure: Regenerated.
17771 * gdb.gdbserver/Makefile.in: Moved to...
17772 * gdb.server/Makefile.in: ... here.
17773 * gdb.gdbserver/server.c: Moved to...
17774 * gdb.server/server.c: ... here.
17775 * gdb.gdbserver/server-run.exp: Moved to...
17776 * gdb.server/server-run.exp: ... here.
17777
6f8eac0e
DJ
177782005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17779
17780 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
17781 * configure.ac: Create gdb.gdbserver/Makefile.
17782 * configure: Regenerated.
17783 * lib/gdbserver-support.exp: New file, derived from
17784 config/gdbserver.exp.
17785 * config/gdbserver.exp: Use gdbserver-support.exp.
17786 * gdb.gdbserver/Makefile.in: New file.
17787 * gdb.gdbserver/server.c: New file.
17788 * gdb.gdbserver/server-run.exp: New file.
17789
6e87504d
PG
177902005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
17791
a9c64011
AS
17792 * lib/gdb.exp (test_compiler_info): Return compiler_info
17793 if no arguments are given.
6e87504d 17794
d1779be4
PG
177952005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
17796
17797 * gdb.arch/altivec-abi.exp: Check for compiler and set
17798 use altivec' flag accordingly.
17799 * gdb.arch/altivec-regs.exp: Likewise.
17800
88750304
DJ
178012005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
17802
17803 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
17804
f3fb768d
AS
178052005-03-27 Andreas Schwab <schwab@suse.de>
17806
17807 * gdb.base/bigcore.c (main): Add missing mode argument in open
17808 call.
17809
7e813ac5
DJ
178102005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
17811
17812 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
17813 downloads.
17814 * config/gdbserver.exp (gdb_load): Likewise.
17815
8e3049aa
PB
178162005-03-14 Paul Brook <paul@codesourcery.com>
17817
17818 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
17819 targets.
17820
a9df7c44
JB
178212005-03-09 Joel Brobecker <brobecker@adacore.com>
17822
17823 * gdb.dwarf2/dup-psym.S: New file.
17824 * gdb.dwarf2/dup-psym.exp: New testcase.
17825
9f0d94e8
JB
178262005-03-09 Joel Brobecker <brobecker@adacore.com>
17827
17828 * gdb.ada/exec_changed/first.adb: New file.
17829 * gdb.ada/exec_changed/second.adb: New file.
17830 * gdb.ada/exec_changed.exp: New testcase.
17831
5f579bc5
NS
178322005-03-08 Nathan Sidwell <nathan@codesourcery.com>
17833
36e9969c
NS
17834 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
17835 (A2): New class.
17836 (main): Test operator+.
17837 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
17838 breakpoint test.
17839
5f579bc5
NS
17840 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
17841 * gdb.base/signull.exp: Disable if gdb,nosignals.
17842 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
17843 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
17844 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
17845 * gdb.mi/mi2-console.exp: Likewise.
17846 * gdb.trace/collection.exp (run_trace_experiment): Consume the
17847 continue output at start.
17848 (gdb_collect_locals_test): Robustify regexp.
17849 * gdb.trace/passc-dyn.exp: Fix comment typo.
17850 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
17851
be46087e
CV
178522005-03-08 Corinna Vinschen <vinschen@redhat.com>
17853
17854 * gdb.asm/asm-source.exp: Add iq2000 case.
17855 * gdb.asm/iq2000.inc: New file.
17856
384e1a61 178572005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 17858
384e1a61
MI
17859 * gdb.base/command.exp: Change hardcoded value to regular expression.
17860 * gdb.base/float.exp: Add powerpc to the list of targets checked.
17861
584b6e9e
DJ
178622005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
17863
17864 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
17865 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
17866 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
17867 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
17868 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
17869
ab5b5d61
MK
178702005-03-05 Mark Kettenis <kettenis@gnu.org>
17871
17872 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
17873 changes.
17874
ae051c1b
PG
178752004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
17876
a9c64011
AS
17877 * lib/compiler.c: Add test for IBM's xlc compiler.
17878 * lib/compiler.cc: Likewise.
ae051c1b 17879
3f0f6ed2
JB
178802004-02-24 Joel Brobecker <brobecker@adacore.com>
17881
17882 * gdb.ada/fixed_points.exp: Create compilation object directory
17883 before running the test.
17884 * gdb.ada/null_record.exp: Likewise.
17885 * gdb.ada/packed_array.exp: Likewise.
17886 * gdb.ada/start.exp: Likewise.
17887
724f452b
JB
178882005-02-15 Joel Brobecker <brobecker@adacore.com>
17889
17890 * gdb.ada/packed_array/pa.adb: New file.
17891 * gdb.ada/packed_array.exp: New testcase.
17892
57f5cdfb 178932005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 17894
1f393151
MK
17895 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
17896 files.
17897
ebdda337
MK
17898 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
17899 on *-*-openbsd*. Correctly match whitespace in regukar
17900 expressions.
17901
cf309262
DJ
179022005-02-10 Daniel Jacobowitz <dan@debian.org>
17903
17904 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
17905 PR exp/1821
17906 * gdb.base/gdb1821.c: New test file.
17907 * gdb.base/gdb1821.exp: New test file.
17908
3be49e7a
JB
179092005-02-09 Joel Brobecker <brobecker@adacore.com>
17910
17911 * gdb.base/start.c: New file.
17912 * gdb.base/start.exp: New testcase.
17913
e292e67d
JB
179142005-02-09 Joel Brobecker <brobecker@adacore.com>
17915
17916 * gdb.ada/start/dummy.adb: New file.
17917 * gdb.ada/start.exp: New testcase.
17918
dbdfa66c
CV
179192005-02-09 Corinna Vinschen <vinschen@redhat.com>
17920
17921 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
17922 for printing symbols and statistics.
17923 Add test for using relative pathnames in "maint print msymbols" test.
17924 Mark "maint info sections DATA" XFAIL on Cygwin.
17925 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
17926 tests.
17927
d7941671
AC
179282005-02-09 Andreas Schwab <schwab@suse.de>
17929
17930 Committed by Andrew Cagney <cagney@gnu.org>
17931 * gdb.base/remotetimeout.exp: New file.
17932
74e5ef44
MK
179332005-02-07 Mark Kettenis <kettenis@gnu.org>
17934
17935 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
17936
464dd14d
JB
179372005-02-03 Joel Brobecker <brobecker@adacore.com>
17938
17939 * gdb.ada/gnat_ada.gpr: New file.
17940 * gdb.ada/gnat_ada.gin: Delete, no longer used.
17941 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
17942 * configure.ac: No longer generate gnat_ada.gpr.
17943 * configure: Regenerate.
17944 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
17945 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
17946 * gdb.ada/null_record/bar.ads: Likewise.
17947 * gdb.ada/null_record/bar.adb: Likewise.
17948 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
17949 * gdb.ada/null_record.exp (testdir): New variable.
17950 (testfile): executable is now in testdir subdirectory.
17951 (srcfile): Use full path to the main compilation unit.
17952 * gdb.ada/fixed_points.exp: Same changes as above.
17953
30d756ae
NR
179542005-02-03 Nick Roberts <nickrob@snap.net.nz>
17955
17956 * gdb.base/interp.exp: New test.
17957
9d799f85
AC
179582005-01-24 Andrew Cagney <cagney@gnu.org>
17959
17960 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
17961
15656118
AC
179622005-01-19 Andrew Cagney <cagney@gnu.org>
17963
a892c31b
AC
17964 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
17965 configure.ac not configure.in.
17966
15656118
AC
17967 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
17968 of powerpc*-*-*.
17969 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 17970 * gdb.base/list.exp (test_list_function)
15656118
AC
17971 (test_list_filename_and_function): Ditto.
17972 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
17973
a7b01baf
AC
179742005-01-16 Andrew Cagney <cagney@gnu.org>
17975
17d92a02
AC
17976 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
17977
a7b01baf
AC
17978 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
17979
bc8332bb
AC
179802005-01-14 Andrew Cagney <cagney@gnu.org>
17981
17982 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
17983 * gdb.mi/mi2-var-cmd.exp: Ditto.
17984
4d074752
CV
179852005-01-10 Corinna Vinschen <vinschen@redhat.com>
17986
17987 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
17988
bec39cab
AC
179892005-01-07 Andrew Cagney <cagney@gnu.org>
17990
17991 * configure.ac: Rename configure.in, require autoconf 2.59.
17992 * configure: Re-generate.
17993 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
17994 * gdb.stabs/configure: Re-generate.
17995 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
17996 * gdb.hp/configure: Re-generate.
17997 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
17998 autoconf 2.59.
17999 * gdb.hp/gdb.objdbg/configure: Re-generate.
18000 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
18001 autoconf 2.59.
18002 * gdb.hp/gdb.defects/configure: Re-generate.
18003 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
18004 autoconf 2.59.
18005 * gdb.hp/gdb.compat/configure: Re-generate.
18006 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
18007 autoconf 2.59.
18008 * gdb.hp/gdb.base-hp/configure: Re-generate.
18009 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
18010 autoconf 2.59.
18011 * gdb.hp/gdb.aCC/configure: Re-generate.
18012
f10b16d4
JB
180132004-12-15 Jim Blandy <jimb@redhat.com>
18014
18015 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
18016 under NPTL when there is debugging info available for libpthread.
18017
fb6e1814
JG
180182004-12-13 Jerome Guitton <guitton@gnat.com>
18019
18020 * gdb.ada/fixed_points.c: New file.
18021 * gdb.ada/fixed_points.exp: New file.
18022
fe46cd3a
RC
180232004-12-03 Randolph Chung <tausq@debian.org>
18024
18025 * gdb.arch/pa-nullify.exp: New file.
18026 * gdb.arch/pa-nullify.s: New file.
18027
8de0841b
RC
180282004-11-30 Randolph Chung <tausq@debian.org>
18029
18030 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
18031 instead of "tbug". Fix regexp to work properly with gdb_test.
18032
c8170782
PH
180332004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
18034
18035 * gdb.base/bitfields2.exp: New test.
18036 * gdb.base/bitfields2.c: New file.
18037
954269c2
RE
180382004-11-28 Richard Earnshaw <rearnsha@arm.com>
18039
18040 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
18041
0107feed
RC
180422004-11-16 Randolph Chung <tausq@debian.org>
18043
18044 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
18045
f073ae8c
DJ
180462004-11-14 Daniel Jacobowitz <dan@debian.org>
18047
18048 * gdb.threads/threadapply.exp: Correct "macro details" test.
18049
19ad59e7
JJ
180502004-11-11 Jeff Johnston <jjohnstn@redhat.com>
18051
18052 * gdb.threads/threadapply.exp: New test.
18053 * gdb.threads/threadapply.c: New file.
18054
9cf0961b
MK
180552004-11-07 Mark Kettenis <kettenis@gnu.org>
18056
18057 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
18058 frames.
18059
c789492a
FL
180602004-11-05 Felix Lee <felix+log1@specifixinc.com>
18061
18062 * gdb.base/cursal.exp: New file.
18063 * gdb.base/cursal.c: New file.
18064
a1e167bb
AC
180652004-11-03 Andrew Cagney <cagney@gnu.org>
18066
18067 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
18068
b7cbf173
MK
180692004-10-30 Mark Kettenis <kettenis@gnu.org>
18070
18071 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
18072 NetBSD/ELF targets.
18073
88f9d34f
JB
180742004-10-29 Joel Brobecker <brobecker@gnat.com>
18075
18076 * gdb.threads/bp_in_thread.c: New file, copied from
18077 pthread_cond_wait.c.
18078 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
18079 file, rather than reusing the .c file from another testcase.
18080
ca7d6a0c
JB
180812004-10-20 Joel Brobecker <brobecker@gnat.com>
18082
18083 * gdb.ada/null_record.exp: Check where we stopped after
18084 sending the start command, instead of where the associated
18085 temporary breakpoint was inserted.
18086
0d863d03
AC
180872004-10-14 Andrew Cagney <cagney@gnu.org>
18088
18089 * gdb.mi/gdb701.c (main): Return 0.
18090
d11e72cb
DJ
180912004-10-13 Daniel Jacobowitz <dan@debian.org>
18092
d40539a4 18093 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 18094
e1923096
JJ
180952004-10-12 Jeff Johnston <jjohnstn@redhat.com>
18096
18097 * gdb.threads/schedlock.c: Add comment markers to use to find
18098 line numbers.
18099 * gdb.threads/schedlock.exp: Adjust regex to handle the new
18100 comments.
18101 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
18102 breakpoint lines.
18103
ec8ba2c9
DJ
181042004-10-12 Daniel Jacobowitz <dan@debian.org>
18105
18106 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
18107
0eb3658b
DJ
181082004-10-12 Daniel Jacobowitz <dan@debian.org>
18109
18110 * configure.in: Add gdb.dwarf2.
18111 * configure: Regenerated.
18112 * Makefile.in: Add gdb.dwarf2.
18113 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
18114 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
18115 gdb.dwarf2/file1.txt: New files.
18116
a271cc33
OF
181172004-10-11 Orjan Friberg <orjanf@axis.com>
18118
a9c64011 18119 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
18120 of "run", since the latter doesn't work with remote targets. Adjust
18121 the breakpoint numbering accordingly.
18122 * gdb.threads/pthread_cond_wait.exp: Ditto.
18123
895ce074
MC
181242004-10-08 Michael Chastain <mec.gnu@mindspring.com>
18125
18126 * gdb.base/overlays.exp: Update copyright years.
18127
6be3092d
KI
181282004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
18129
18130 * gdb.base/overlays.exp: Disable if target is Linux.
18131
e05389b8
FL
181322004-10-06 Felix Lee <felix+log1@specifixinc.com>
18133
18134 * config/gdbserver.exp (gdb_load): Use right filename on remote.
18135
73cb587d
KI
181362004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
18137
18138 * gdb.asm/asm-source.exp: Add m32r-linux target.
18139 * gdb.asm/m32r-linux.inc: New file.
18140
3c0edcdc
AC
181412004-09-24 Andrew Cagney <cagney@redhat.com>
18142 David Anderson <anderson@redhat.com>
18143
18144 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
18145 command fails, assume things will work.
18146 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
18147 (_GNU_SOURCE): Define.
18148 (print_unsigned, print_hex): Change parameter to "long long".
18149 (print_byte_count): New function, use to print byte counts.
18150 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
18151 O_LARGEFILE.
18152 (main): Compute an upper bound on a corefile in max_core_size.
18153 Limit memory chunk size to max_core_size. Limit total memory
18154 allocated to max_core_size.
18155
4bb3667f
AC
181562004-09-23 Andrew Cagney <cagney@gnu.org>
18157
18158 * gdb.base/bigcore.exp: Replace the code that creates a corefile
18159 from a separate process with code that creates a corefile by
18160 making the inferior dump core.
18161
60fe1a51
MK
181622004-09-23 Mark Kettenis <kettenis@gnu.org>
18163
18164 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
18165 block.
18166
8e937346
MC
181672004-09-23 Michael Chastain <mec.gnu@mindspring.com>
18168
18169 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
18170 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
18171 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
18172 Likewise.
18173
7213f6d6
JJ
181742004-09-20 Jeff Johnston <jjohnstn@redhat.com>
18175
18176 * gdb.java/jprint.exp: New test case for java inferior call.
18177 * gdb.java/jprint.java: Ditto.
18178
eac69dca
JB
181792004-09-15 Joel Brobecker <brobecker@gnat.com>
18180
18181 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
18182
22227696
MC
181832004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18184
18185 * gdb.threads/killed.c: Include <stdlib.h>.
18186 * gdb.threads/pthreads.c: Likewise.
18187
7dd403a4
MC
181882004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18189
18190 * gdb.threads/killed.c: Add copyright notice.
18191
33f2d567
JM
181922004-09-10 Jason Molenda (jmolenda@apple.com)
18193
a9c64011
AS
18194 * gdb.base/define.exp: Two new tests to verify zero space chars
18195 after 'if' and 'while' commands in a user-defined command is correctly
18196 parsed.
33f2d567 18197
e05b62ac
AC
181982004-09-08 Andrew Cagney <cagney@gnu.org>
18199
18200 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
18201 delivery test with duplicate at end of file.
18202
9cbe82da
MK
182032004-09-06 Mark Kettenis <kettenis@jive.nl>
18204
18205 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
18206
564803d9
MC
182072004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18208
18209 * config/hppro.exp: Removed.
18210
7c6807ce
MC
182112004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18212
18213 * config/sparclet.exp: Removed.
18214
bf7e26dd
MC
182152004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18216
18217 * config/udi.exp: Removed.
18218
714e341b
MC
182192004-09-02 Michael Chastain <mec.gnu@mindspring.com>
18220
18221 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
18222 of "exp_continue".
18223 (advancei): Likewise.
18224
1236e623
JJ
182252004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18226
18227 * gdb.base/unload.exp: Fix so messages aren't duplicated.
18228
3bdcad15
MI
182292004-09-01 Manoj Iyer <manjo@austin.ibm.com>
18230
228af206 18231 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
18232 to check for nodebug in executable.
18233 * gdb.gdb/observer.exp (setup_test): Likewise.
18234 * gdb.gdb/selftest.exp (test_with_self): Likewise.
18235 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
18236
c72b934c
AC
182372004-09-01 Andrew Cagney <cagney@gnu.org>
18238
18239 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18240 files.
18241
edd9b715
JJ
182422004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18243
18244 * gdb.base/unload.exp: Fix expected warning message to match
18245 latest format.
18246
fb4ce06b
CV
182472004-09-01 Corinna Vinschen <vinschen@redhat.com>
18248
18249 * gdb.base/call-rt-st.exp: Fix typos.
18250
ce78e7c3
MI
182512004-08-31 Manoj Iyer <manjo@austin.ibm.com>
18252
18253 * gdb.threads/thread_check.exp: New testcase.
18254 * gdb.threads/thread_check.c: New testcase.
18255
2dedb159
AC
182562004-08-31 Andrew Cagney <cagney@gnu.org>
18257
18258 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
18259 (skip_to_handler_entry): New procedures. Test stepping into a
18260 handler when the breakpoint is at the handler's entry point.
18261
68f53502
AC
182622004-08-30 Andrew Cagney <cagney@gnu.org>
18263
18264 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
18265 gdb/1757.
18266
3e3ffd2b
MC
182672004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18268
18269 With code from Manoj Iyer <manjo@austin.ibm.com>:
18270 * lib/gdb.exp (gdb_file_cmd): Return more information in the
18271 return value. Add an arm for "no debugging symbols found".
18272 Change a stray "error" to "perror".
18273 (gdb_run_cmd): Adapt to new return value.
18274 * gdb.base/remote.exp: Adapt to new return value.
18275 * gdb.gdb/complaints.exp: Likewise.
18276 * gdb.gdb/observer.exp: Likewise.
18277 * gdb.gdb/selftest.exp: Likewise.
18278 * gdb.gdb/xfullpath.exp: Likewise.
18279
4b6f5fd2
JB
182802004-08-27 Joel Brobecker <brobecker@gnat.com>
18281
18282 * gdb.threads/bp_in_thread.exp: New testcase.
18283
e5b25496
MC
182842004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18285
18286 Fix PR testsuite/1735.
18287 * gdb.threads/schedlock.c (thread_function): Add a cast
18288 to suppress a gcc warning.
18289 * gdb.threads/thread-specific.c (thread_function): Likewise.
18290
934353d6
MC
182912004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18292
18293 * gdb.base/unload.c: Include <stdlib.h>.
18294
f98a0aef 182952004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 18296
f98a0aef 18297 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
18298 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
18299 synchronized after the "return".
18300
5a2e8882
MC
183012004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18302
18303 * gdb.mi/basics.c: Include <stdio.h>.
18304 * gdb.mi/pthreads.c: Include <stdlib.h>.
18305 * gdb.mi/var-cmd.c: Include <stdlib.h>.
18306
a9640423
MC
183072004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18308
18309 * gdb.threads/schedlock.c: Add copyright notice.
18310
b04e311d
AC
183112004-08-25 Andrew Cagney <cagney@gnu.org>
18312
18313 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
18314 (skip_over_handler, breakpoint_over_hander): New test procedures.
18315 (advance, advancei): Add a proper prefix, do not use
18316 rerun_to_main.
18317 * gdb.base/sigstep.c (main): Change to use an infinite loop.
18318
7c27f15b
MC
183192004-08-24 Michael Chastain <mec.gnu@mindspring.com>
18320
18321 * gdb.mi/basics.c: Add copyright notice.
18322 * gdb.mi/var-cmd.c: Add copyright notice.
18323
fffc87ae
MC
183242004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18325
18326 * lib/gdb.exp: Remove signed_keyword_not_used.
18327 * lib/compiler.c: Likewise.
18328 * lib/compiler.cc: Likewise.
18329
d782e0bf
MC
183302004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18331
18332 * gdb.base/whatis.c: Remove conditional disabling of "signed".
18333 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
18334
96033e83
MC
183352004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18336
18337 * gdb.base/whatis.c: Add copyright notice.
18338
cf38c229
MK
183392004-08-20 Mark Kettenis <kettenis@gnu.org>
18340
18341 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
18342 it to skip the breakpoints encoded in the inline assembly.
18343
f4b49756
MC
183442004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18345
18346 * Makefile.in: Add gdb.fortran.
18347
2f193b69
MC
183482004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18349
18350 * gdb.base/call-sc.exp (test_scalar_returns):
18351 Fix cut-and-paste glitch in "Make fun return now".
18352
89a237cb
MC
183532004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18354
18355 * configure.in: Add gdb.fortran.
18356 * configure: Regenerate.
18357 * gdb.fortran/Makefile.in: New file.
18358 * lib/gdb.exp (skip_fortran_tests): New procedure.
18359
469aff8e
MC
183602004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18361
18362 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
18363 reference to bug-gnu@prep.ai.mit.edu.
18364 * gdb.mi/mi-var-child.exp: Likewise.
18365 * gdb.mi/mi-var-cmd.exp: Likewise.
18366 * gdb.mi/mi-var-display.exp: Likewise.
18367 * gdb.mi/mi2-var-block.exp: Likewise.
18368 * gdb.mi/mi2-var-child.exp: Likewise.
18369 * gdb.mi/mi2-var-cmd.exp: Likewise.
18370 * gdb.mi/mi2-var-display.exp: Likewise.
18371
00b51b9f
MK
183722004-08-15 Mark Kettenis <kettenis@gnu.org>
18373
18374 * gdb.base/unload.c (main): Make local variable msg const.
18375
45f07fef
MC
183762004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18377
18378 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
18379 to bug-gnu@prep.ai.mit.edu.
18380 * gdb.mi/mi-disassemble.exp: Likewise.
18381 * gdb.mi/mi-eval.exp: Likewise.
18382 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
18383 default line number.
18384 * gdb.mi/mi-return.exp: Likewise.
18385 * gdb.mi/mi-simplerun.exp: Likewise.
18386 * gdb.mi/mi-stack.exp: Likewise.
18387 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
18388 number with explicit range test.
18389 * gdb.mi/mi-watch.exp: Likewise.
18390 * gdb.mi/mi2-break.exp: Likewise.
18391 * gdb.mi/mi2-cli.exp: Likewise.
18392 * gdb.mi/mi2-disassemble.exp: Likewise.
18393 * gdb.mi/mi2-eval.exp: Likewise.
18394 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
18395 default line number.
18396 * gdb.mi/mi2-return.exp: Likewise.
18397 * gdb.mi/mi2-simplerun.exp: Likewise.
18398 * gdb.mi/mi2-stack.exp: Likewise.
18399 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
18400 number with explicit range test.
18401 * gdb.mi/mi2-watch.exp: Likewise.
18402
dd8c8ee7
MC
184032004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18404
18405 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
18406 * gdb.cp/m-static.exp: Likewise.
18407 * gdb.cp/rtti.exp: Likewise.
18408
4e838464
MK
184092004-08-14 Mark Kettenis <kettenis@gnu.org>
18410
18411 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
18412
8d8cb839
EZ
184132004-08-14 Eli Zaretskii <eliz@gnu.org>
18414
18415 * ChangeLog: Prefix Local Variables with semi-colons and indent
18416 the reference to older ChangeLog files, to fix fontification in
18417 Emacs.
18418
deea8bb0
MC
184192004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18420
18421 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
18422 * gdb.mi/mi2-break.exp: Likewise.
18423
c3297504
MC
184242004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18425
18426 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
18427
25808999
MC
184282004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18429
18430 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
18431
226a8d71
MC
184322004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18433
18434 * gdb.cp/classes.exp: Remove unused declarations. Just let
18435 test names default instead of providing special names. Remove
18436 extraneous demangler test.
18437
37fdf854
JJ
184382004-08-12 Jeff Johnston <jjohnstn@redhat.com>
18439
18440 * gdb.base/unload.exp: New test for breakpoints in dynamically
18441 loaded libraries.
18442 * gdb.base/unload.c: Ditto.
18443 * gdb.base/unloadshr.c: Ditto.
18444
2d3a7986
MC
184452004-08-12 Michael Chastain <mec.gnu@mindspring.com>
18446
18447 * gdb.cp/classes.exp (test_ptype_class_objects): Call
18448 cp_test_ptype_class.
18449 (test_enums): Likewise.
18450
c72b934c
AC
184512004-08-10 Andrew Cagney <cagney@gnu.org>
18452
18453 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18454 files.
18455
cc503c8a
AC
184562004-08-10 Andrew Cagney <cagney@gnu.org>
18457
18458 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
18459 init_malloc call.
18460
902f2ccb
MC
184612004-08-10 Michael Chastain <mec.gnu@mindspring.com>
18462
18463 * ChangeLog: Add copyright notice. The notice is copied
18464 from emacs 21.3 top level ChangeLog.
18465
78c90502
MC
184662004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18467
18468 * lib/cp-support.exp: New file.
18469 * lib/cp-support.exp (cp_test_type_class): New function.
18470 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
18471 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
18472 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
18473 cp_test_ptype_class.
18474
88e5ea78
MC
184752004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18476
18477 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
18478 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
18479 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
18480 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
18481 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
18482 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
18483 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
18484 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
18485 gdb.mi/mi2-watch.exp: Update copyright years.
18486
6a89fc9c
MK
184872004-08-09 Mark Kettenis <kettenis@gnu.org>
18488
18489 * gdb.base/sigaltstack.exp: Provide proper anchoring.
18490
1482e0de
MC
184912004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18492
18493 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
18494 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
18495 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
18496 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
18497 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
18498 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
18499 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
18500 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
18501 gdb.mi/mi-watch.exp: Update copyright years.
18502
1a5ce3f3
DJ
185032004-08-08 Daniel Jacobowitz <dan@debian.org>
18504
18505 PR gdb/1738
18506 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
18507 from a breakpoint with a pending signal.
18508
04f6ecf2
DJ
185092004-08-08 Daniel Jacobowitz <dan@debian.org>
18510
18511 PR gdb/1736
18512 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
18513 * gdb.base/sigaltstack.exp (finish_test): Consume output until
18514 the prompt.
18515 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
18516
54d90d35
DJ
185172004-08-08 Daniel Jacobowitz <dan@debian.org>
18518
18519 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
18520
d2f6abb0
DJ
185212004-08-08 Daniel Jacobowitz <dan@debian.org>
18522
18523 PR gdb/1736
18524 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
18525 for i?86-*-linux*.
18526
5598c03d
DJ
185272004-08-08 Daniel Jacobowitz <dan@debian.org>
18528
18529 * gdb.arch/i386-prologue.exp: Compile without debug information.
18530
c6fee705
MC
185312004-08-08 Michael Chastain <mec.gnu@mindspring.com>
18532
18533 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
18534 rather than asking gdb to search.
18535
dd90efdb
MC
185362004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18537
18538 * gdb.base/gcore.c: Include <string.h>.
18539
1e84bec1
MC
185402004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18541
18542 * gdb.base/gcore.c: Add copyright notice.
18543
e425eb2b
MC
185442004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18545
18546 * gdb.base/freebpcmd.c: Include <stdio.h>.
18547 * gdb.base/long_long.c: Include <string.h>.
18548 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
18549 * gdb.base/siginfo.c: Include <string.h>.
18550 * gdb.base/sigstep.c: Include <string.h>.
18551
cb9aaed5
MC
185522004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18553
18554 * gdb.base/complex.c: Include <stdlib.h>.
18555
55944f3d
MC
185562004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18557
18558 * gdb.base/complex.c: Add copyright notice.
18559
7b2953d9
MC
185602004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18561
18562 * gdb.base/charset.c: Include <stdlib.h>.
18563
c9133d23
MC
185642004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18565
18566 * gdb.base/auxv.c: Include <stdlib.h>.
18567
0a8490ad
MC
185682004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18569
18570 * gdb.base/auxv.c: Add copyright notice.
18571
3426d5ec
MC
185722004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18573
18574 * gdb.base/coremaker.c: Add copyright notice.
18575 * gdb.base/coremaker2.c: Add copyright notice.
18576
8da195dd
AC
185772004-08-04 Andrew Cagney <cagney@gnu.org>
18578
18579 * gdb.base/store.exp: Update copyright.
18580 (check_set, up_set, check_struct, up_struct): Add a prefix to test
18581 names, do not import gdb_prompt.
18582
8d394f98
AC
185832004-08-01 Andrew Cagney <cagney@gnu.org>
18584
18585 Fix PR testsuite/1729.
18586 * gdb.base/dump.exp: Add test name to callers of capture_value, do
18587 not use capture_value with value 4.
18588 (capture_value): Add optional test name parameter.
18589 (test_reload_saved_value, test_restore_saved_value): Use $msg as
18590 the prefix, pass to capture_value.
18591
b6702b23
MK
185922004-08-01 Mark Kettenis <kettenis@gnu.org>
18593
18594 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
18595 * gdb.arch/i386-prologue.c (standard): New prototype and function.
18596 (main): Call new function.
18597
c203e0ca
MC
185982004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18599
18600 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
18601
a7995a30
MC
186022004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18603
18604 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
18605
9366563b
MC
186062004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18607
b6eeaf26 18608 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
18609 Accept more values of vtbl pointer. Remove some messages
18610 about "obsolete gcc or gdb".
18611
2fc1f950
MC
186122004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18613
18614 * gdb.cp/classes.exp: Accept more varieties of ptype output.
18615
c724d49b
MC
186162004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18617
18618 * gdb.base/asm-source.exp: Properly convert target board
18619 debug flags from gcc format to binutils format.
18620
736b0fce
MK
186212004-07-28 Mark Kettenis <kettenis@gnu.org>
18622
18623 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
18624 gdb1718". PR backtrace/1718 partially fixed.
18625
5633ea5c
JJ
186262004-07-27 Jeff Johnston <jjohnstn@redhat.com>
18627
18628 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
18629
575eebb1
NC
186302004-07-26 Nick Clifton <nickc@redhat.com>
18631
18632 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
18633 good default value for a specific architecture is available then
18634 set it to that value. Otherwise default to the -gstabs switch.
18635 Remove the -g... switches from the asm-flags variable. Allow the
18636 target board info to override the value if it wants to. Pass the
18637 switch on the assembler command line.
18638
62104619
MK
186392004-07-23 Mark Kettenis <kettenis@gnu.org>
18640
18641 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
18642 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
18643 (main): Call new function.
18644
4a1135b8
MC
186452004-07-22 Michael Chastain <mec.gnu@mindspring.com>
18646
18647 Test for PR exp/1715.
18648 * gdb.base/radix.exp: Refactor common procedures. Make all
18649 test names unique. Change XFAIL to KFAIL.
18650
8a12c1f0
MC
186512004-07-20 Michael Chastain <mec.gnu@mindspring.com>
18652
18653 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
18654 * gdb.ada/gnat_ada.gin: ... to here.
18655 * configure.in: Use gnat_ada.gin.
18656 * configure: Regenerate.
18657
23b451cf
AC
186582004-07-20 Andrew Cagney <cagney@gnu.org>
18659
18660 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
18661 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
18662 XFAILs. Clean up test messages and comments. Check backtraces.
18663 Delete re-sync code.
18664
ab618a02
MC
186652004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18666
18667 Fix PR cli/740.
18668 * gdb.base/annota1.exp: Honor gdb,nosignals.
18669 * gdb.base/annota3.exp: Likewise.
18670
46dad340
MC
186712004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18672
18673 * lib/java.exp: Update copyright notice.
18674
756d8c70
AC
186752004-07-19 Andrew Cagney <cagney@gnu.org>
18676
18677 * gdb.base/selftest.exp: Copy file from here ...
18678 * gdb.gdb/selftest.exp: ... to here.
18679
586027e6
AC
186802004-07-16 Andrew Cagney <cagney@redhat.com>
18681
18682 * lib/insight-support.exp: Delete file.
18683 * lib/java.exp (java_init): Fix copyright.
18684
029d2200
AC
186852004-07-16 Andrew Cagney <cagney@gnu.org>
18686
18687 * gdb.base/restore.c: Append "prologue" to comments marking the a
18688 function's prologue.
18689 * gdb.base/restore.exp: Update copyright, re-indent.
18690 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
18691 callerN" prefix where needed. Update patterns that match a
18692 function's prologue.
18693
653b62c5
MC
186942004-07-16 Michael Chastain <mec.gnu@mindspring.com>
18695
18696 * gdb.base/restore.c: Add copyright notice.
18697
f7d690e5
AC
186982004-07-16 Andrew Cagney <cagney@gnu.org>
18699
18700 * gdb.base/logical.exp: Update copyright.
18701 (evaluate): New procedure. Use to re-implement tests using
18702 several tables.
18703
d629a7cb
MH
187042004-07-14 Martin Hunt <hunt@redhat.com>
18705
18706 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
18707 which fixes some problems where init.tcl was not found.
18708
9c7bb332
AC
187092004-07-13 Andrew Cagney <cagney@gnu.org>
18710
6bf46641
AC
18711 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
18712 (check_sizeof, check_valueof): Do not include the output in the
18713 test name. Use gdb_test.
18714 (get_valueof): Use gdb_test_multiple.
18715
c4ffd4c0
AC
18716 * gdb.base/step-test.exp: Update copyright. Use
18717 gdb_test_multiple. Ensure that test names do not include
18718 architecture dependent output.
18719
ab89363a
AC
18720 * gdb.gdb/observer.exp: Update copyright.
18721 (setup_test): Use gdb_test_multiple.
18722 (attach_first_observer, attach_second_observer)
18723 (attach_third_observer, detach_first_observer)
18724 (detach_second_observer, detach_third_observer)
18725 (reset_counters, check_counters): Make $message a prefix.
18726 (test_normal_stop_notifications): Add "args" parameter - a list of
18727 init functions to be called. Make $message a prefix,
18728 (test_observer_normal_stop): Change the message prefixes so that
18729 they are unique, pass the attach / detach procedures to
18730 test_normal_stop_notifications.
18731
ec58997a
AC
18732 * gdb.base/signull.exp (test_segv): Prefix all tests with
18733 "${name}". Clean up test messages.
18734
b475183b
AC
18735 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
18736
9c7bb332
AC
18737 * gdb.base/ena-dis-br.exp: Update copyright.
18738 (break_at): New function. Replace send_gdb with gdb_test,
18739 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
18740 ignore count, not stopped at bpt", with KFAIL.
18741
2dd95497
CV
187422004-07-13 Corinna Vinschen <vinschen@redhat.com>
18743
18744 * gdb.base/attach.exp: Remove cleanupfile handling.
18745
419e626b
AC
187462004-07-12 Andrew Cagney <cagney@gnu.org>
18747
18748 * gdb.base/annota1.exp: Cleanup corefile test name.
18749 * gdb.base/annota3.exp: Ditto.
18750
8b1b3228
AC
187512004-07-12 Andrew Cagney <cagney@gnu.org>
18752
78650829
AC
18753 * gdb.base/signals.exp: Clean up copyright, re-indent.
18754
8b1b3228
AC
18755 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
18756 gdb_test and gdb_test_multiple.
18757
935c2760
JJ
187582004-07-08 Jeff Johnston <jjohnstn@redhat.com>
18759
18760 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 18761 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
18762 provide line number info for first statement in main.
18763
1544280f
AC
187642004-07-08 Andrew Cagney <cagney@gnu.org>
18765
1279f4ff
AC
18766 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
18767
1544280f
AC
18768 * gdb.base/sigbpt.exp: Make the common part of each test name a
18769 prefix instead of suffix.
18770
bcc82369
BR
187712004-07-07 Bob Rossi <bob_rossi@cox.net>
18772
18773 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
18774 test from test_tbreak_creation_and_listing to
18775 test_file_list_exec_source_file
18776 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
18777 Changed name of test from test_tbreak_creation_and_listing to
18778 test_file_list_exec_source_file
18779
23f4b0aa
JJ
187802004-07-07 Jeff Johnston <jjohnstn@redhat.com>
18781
18782 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
18783 the jmisc() constructor instead of <init>.
18784 * gdb.java/jmisc1.exp: Ditto.
18785
56401cd5
AC
187862004-07-07 Andrew Cagney <cagney@gnu.org>
18787
18788 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
18789 corrupting the PC.
18790
44ae2f6a
MC
187912004-07-06 Michael Chastain <mec.gnu@mindspring.com>
18792
18793 * gdb.cp/templates.exp: Accept whitespace change in demangler
18794 output.
18795
45a83408
AC
187962004-07-06 Andrew Cagney <cagney@gnu.org>
18797
18798 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
18799
d205ad70
MC
188002004-07-02 Michael Chastain <mec.gnu@mindspring.com>
18801
18802 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
18803 * lib/compiler.cc: Likewise.
18804
06ea1a61
MC
188052004-06-30 Michael Chastain <mec.gnu@mindspring.com>
18806
18807 * lib/compiler.cc: Work around string preprocessing problem
18808 with old hp c++ compiler.
18809 * lib/compiler.c: Likewise.
18810
daab1251
CV
188112004-06-29 Corinna Vinschen <vinschen@redhat.com>
18812
18813 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
18814 directives to conditionalize symbol prefixing.
18815 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
18816 additional_flags handling. Add underscore prefix for Cygwin.
18817 * gdb.arch/i386-unwind.c: Use preprocessor directives to
18818 conditionalize symbol prefixing.
18819 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
18820 additional_flags handling. Add underscore prefix for Cygwin.
18821
cc984116
CV
188222004-06-29 Corinna Vinschen <vinschen@redhat.com>
18823
18824 * gdb.base/bigcore.exp: Skip test on Cygwin.
18825
c279b077
MC
188262004-06-28 Michael Chastain <mec.gnu@mindspring.com>
18827
18828 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
18829 formats for "info register". Use gdb_test_multiple. Fix
18830 the "invalid register" test.
18831
0e915747
CV
188322004-06-28 Corinna Vinschen <vinschen@redhat.com>
18833
18834 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
18835 PID for Cygwin. Add Cygwin specific strings to check for in some
18836 tests.
18837 (do_attach_tests): Add a test for user interaction when attaching
18838 to a process with no matching symbol table already loaded.
18839
11422c86
AC
188402004-06-26 Andrew Cagney <cagney@gnu.org>
18841
18842 Test PR java/1567 and PR java/1565.
18843 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
18844 * gdb.java/jmisc2.exp: Delete file.
18845
cefbce26
MC
188462004-06-26 Michael Chastain <mec.gnu@mindspring.com>
18847
18848 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
18849
e19f872c
CV
188502004-06-25 Corinna Vinschen <vinschen@redhat.com>
18851
18852 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
18853 attach process.
18854
d931ba3b
MC
188552004-06-23 Michael Chastain <mec.gnu@mindspring.com>
18856
18857 * gdb.cp/pr-1553.exp: Remove.
18858
aef68c48
MC
188592004-06-22 Michael Chastain <mec.gnu@mindspring.com>
18860
18861 * gdb.cp/pr-1553.cc: Remove.
18862 * gdb.cp/pr-1553.exp: Disable this test.
18863
8d5df71a
JB
188642004-06-20 Jim Blandy <jimb@redhat.com>
18865
a9c64011 18866 Fix PR testsuite/1680.
8d5df71a
JB
18867 * gdb.arch/i386-sse.exp: Properly quote curly braces in
18868 regular expressions.
18869
4ac6f39d
MC
188702004-06-19 Michael Chastain <mec.gnu@mindspring.com>
18871
18872 Fix PR testsuite/1679.
18873 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
18874 Issue an UNSUPPORTED result instead.
18875
1b413552
JB
188762004-06-18 Jim Blandy <jimb@redhat.com>
18877
18878 * gdb.base/charset.exp: Only send a control-C if we see a new
18879 prompt and incomplete command.
18880
6daa6ebd
MC
188812004-06-18 Michael Chastain <mec.gnu@mindspring.com>
18882
18883 * gdb.cp/pr-574.cc: Add copyright notice.
18884
51fa4ae0
JB
188852004-06-17 Jim Blandy <jimb@redhat.com>
18886
18887 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
18888 cases where the regexp has no groups; this grabs random text from
18889 the previous test suite, whatever that was.
18890
8fea26c5
MC
188912004-06-17 Michael Chastain <mec.gnu@mindspring.com>
18892
18893 * gdb.cp/printmethod.cc: Add copyright notice.
18894
1e3aeb41
MC
188952004-06-16 Michael Chastain <mec.gnu@mindspring.com>
18896
18897 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
18898
9d9030bc
AC
188992004-06-16 Andrew Cagney <cagney@gnu.org>
18900
18901 * gdb.base/signull.c: Update copyright. Include <string.h>.
18902 (bowler): Replace data_pointer with data_read
18903 and data_write cases. Add code_descriptor case.
18904 (zero, desc): New array and pointer.
18905 (data, code): Change to simple pointers.
18906 * gdb.base/signull.exp: Fix probe pattern matching a function
18907 descriptor SIGSEGV. Replace data_pointer with data_read and
18908 data_write tests.
18909
acd4ad44
AC
189102004-06-16 Andrew Cagney <cagney@gnu.org>
18911
18912 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
18913
08fd625c
MC
189142004-06-15 Michael Chastain <mec.gnu@mindspring.com>
18915
18916 * gdb.base/long_long.c: Add copyright notice.
18917
1903502c
MC
189182004-06-15 Michael Chastain <mec.gnu@mindspring.com>
18919
18920 * gdb.base/long_long.exp: Remove reference to
18921 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
18922 to gdb_breakpoint and gdb_continue_to_breakpoint.
18923
83313cb1
JB
189242004-06-14 Jim Blandy <jimb@redhat.com>
18925
18926 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
18927 endian case.
18928
1bf404ef
AC
189292004-06-14 Andrew Cagney <cagney@gnu.org>
18930
18931 * gdb.base/gcore.exp (capture_command_output): Delete the always
18932 passing tests containing inferior values.
18933 * gdb.base/ending-run.exp: Do not include the breakpoint address
18934 in the test message. Update copyright.
18935 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
18936 size in the test name, use gdb_test_multiple. Update copyright.
18937
ef220b33
MC
189382004-06-14 Michael Chastain <mec.gnu@mindspring.com>
18939
18940 * gdb.cp/ref-types.cc: Add copyright notice.
18941
4f70a4c9
MC
189422004-06-14 Michael Chastain <mec.gnu@mindspring.com>
18943
18944 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
18945 hp_aCC_compiler.
18946 * lib/compiler.cc: Likewise.
18947 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
18948 'set' commands. Log diagnostics for other lines. Set
18949 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
18950
335928ac
MC
189512004-06-13 Michael Chastain <mec.gnu@mindspring.com>
18952
18953 * gdb.cp/try_catch.cc: Add copyright notice.
18954
2efb12e8
MC
189552004-06-12 Michael Chastain <mec.gnu@mindspring.com>
18956
18957 * gdb.cp/userdef.cc: Add copyright notice.
18958
0bbed51a
MC
189592004-06-11 Michael Chastain <mec.gnu@mindspring.com>
18960
18961 * gdb.cp/virtfunc.cc: Add copyright notice.
18962
e12a46c9
RC
189632004-06-11 Randolph Chung <tausq@debian.org>
18964
18965 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
18966 problem.
18967
338e05af
AC
189682004-06-10 Andrew Cagney <cagney@gnu.org>
18969
18970 * lib/compiler.cc, lib/compiler.c: Append either
18971 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
18972 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
18973 instead of gcc-3-3.
18974
dc3f10cb
AC
189752004-06-09 Andrew Cagney <cagney@gnu.org>
18976
b4d946af
AC
18977 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
18978 gdb/1455, bug is specific to "long long" and "double".
a9c64011 18979
dc3f10cb
AC
18980 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
18981 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
18982 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
18983 fixed.
18984
b5c0bfa2
AC
189852004-06-09 Andrew Cagney <cagney@gnu.org>
18986
18987 * gdb.base/structs.exp (test_struct_returns): Replace
18988 "return_value_unknown" and "finish_value_unknown" by
18989 "return_value_known" and "finish_value_known". Instead of
18990 "return_value_unknown" iff "finish_value_unknown", check
18991 "return_value_known" implies "finish_value_known".
18992
caeb605f
MH
189932004-06-08 Martin Hunt <hunt@redhat.com>
18994
18995 * gdb.base/float.exp: Add pattern for mips targets.
18996
c892bb64
RC
189972004-06-08 Randolph Chung <tausq@debian.org>
18998
18999 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
19000 message for unknown architectures more clear.
19001
48306d3e
JB
190022004-06-08 Joel Brobecker <brobecker@gnat.com>
19003
19004 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
19005 start the execution of the program.
19006
83ecb59f
JB
190072004-06-07 Jim Blandy <jimb@redhat.com>
19008
19009 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
19010 * gdb.arch/i386-cpuid.h: New helper file.
19011
55264cb4
RC
190122004-06-07 Randolph Chung <tausq@debian.org>
19013
19014 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
19015 has started.
19016
23cadb28
RM
190172004-06-04 Roland McGrath <roland@redhat.com>
19018
19019 Fix PR gdb/1647.
19020 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
19021 differently to be robust to output buffering differences.
19022
51d01eda
MC
190232004-06-04 Michael Chastain <mec.gnu@mindspring.com>
19024
19025 * gdb.threads/pthreads.exp: Update copyright years.
19026 (check_control_c): Change asynchronous 'after' to synchronous.
19027
f4fc3b93
RM
190282004-06-04 Roland McGrath <roland@redhat.com>
19029
19030 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
19031 next gdb prompt.
19032
4013522b
MC
190332004-06-02 Michael Chastain <mec.gnu@mindspring.com>
19034
19035 Fix PR gdb/1636.
19036 * gdb.threads/manythreads.exp: Change asynchronous 'after'
19037 calls to synchronous.
19038
7a8f1e6b
JB
190392004-05-26 Jim Blandy <jimb@redhat.com>
19040
19041 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
19042
81bb3443
RC
190432004-05-24 Randolph Chung <tausq@debian.org>
19044
19045 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
19046 * gdb.asm/pa.inc: New file.
19047
8f5a3103
MK
190482004-05-22 Mark Kettenis <kettenis@gnu.org>
19049
19050 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
19051
734b8fe8 190522004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 19053 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
19054
19055 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
19056 GDB prompt.
19057
725603e1
UW
190582004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19059
f4fc3b93 19060 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
19061 setjmp/longjmp. Use sigaction instead of signal.
19062
8b923272 190632004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 19064 Michael Snyder <msnyder@redhat.com>
8b923272
JB
19065
19066 * gdb.threads/pthread_cond_wait.c: New file.
19067 * gdb.threads/pthread_cond_wait.exp: New testcase.
19068
8bfabb04
AC
190692004-05-13 Andrew Cagney <cagney@redhat.com>
19070
19071 * gdb.base/signull.exp, gdb.base/signull.c: New files.
19072 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
19073
42edda50
AC
190742004-05-11 Andrew Cagney <cagney@redhat.com>
19075
19076 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
19077 fixed but revealed gdb/1639.
19078
d303a6c7
AC
190792004-05-10 Andrew Cagney <cagney@redhat.com>
19080
19081 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
19082 func1" and "next to 2nd alarm", kernel bug avoided.
19083
bf08c2a1
DJ
190842004-05-10 Daniel Jacobowitz <dan@debian.org>
19085
19086 PR external/1568
19087 * gdb.base/bigcore.exp: Check the size of the dumped core file.
19088 XFAIL if it is smaller than bytes_allocated.
19089 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
19090 (main): Make chunks_allocated unsigned. Correct comment.
19091
c0586a34
JB
190922004-05-07 Joel Brobecker <brobecker@gnat.com>
19093
19094 * gdb.arch/powerpc-aix-prologue.c: New file.
19095 * gdb.arch/powerpc-aix-prologue.exp: New file.
19096
f2785d12
JB
190972004-05-07 Jim Blandy <jimb@redhat.com>
19098
19099 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
19100 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
19101
bd7f6e30
JB
191022004-05-06 Joel Brobecker <brobecker@gnat.com>
19103
19104 * gdb.base/sep.exp: No longer setup_kfail when the program was
19105 built with dwarf2.
19106
0a5e7efe
JI
191072004-05-05 Jim Ingham <jingham@apple.com>
19108
19109 * gdb.base/pending.exp: Make sure pending breakpoints
19110 preserve the ignore count.
f4fc3b93 19111
a8958849
MK
191122004-04-27 Jerome Guitton <guitton@gnat.com>
19113
19114 * i386-prologue.exp: Add testcase for jump instruction as first
19115 instruction of the real code.
19116 * i386-prologue.c (jump_at_beginning): New function.
19117
7e103f5b
MK
191182004-04-28 Mark Kettenis <kettenis@gnu.org>
19119
19120 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
19121 x86_64-*-*.
19122
5d38b224
MK
191232004-04-28 Mark Kettenis <kettenis@gnu.org>
19124
19125 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
19126 i*86-*-*.
19127
0ef32fd9
MK
191282004-04-25 Mark Kettenis <kettenis@gnu.org>
19129
19130 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
19131 expression that checks the return type.
19132
71d7dd7c
AC
191332004-04-23 Andrew Cagney <cagney@redhat.com>
19134
19135 * gdb.base/call-sc.exp: New test of scalar call/return values.
19136 * gdb.base/call-sc.c: Ditto.
19137
1e9f977e
JJ
191382004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19139
19140 * gdb.threads/manythreads.c: Reduce thread stack size.
19141
899d9e3a
JJ
191422004-04-23 Jeff Johnston <jjohnstn@redhat.com>
19143
19144 * gdb.threads/manythreads.c: Add copyright notice.
19145
61bcae62
AC
191462004-04-23 Andrew Cagney <cagney@redhat.com>
19147
19148 * gdb.base/siginfo.exp: Better handle step out of signal.
19149 * gdb.base/sigstep.exp: Ditto.
19150
7339a42e 191512004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 19152 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
19153
19154 * gdb.threads/manythreads.c: New testcase.
19155 * gdb.threads/manythreads.exp: Ditto.
19156
5c98409b
JB
191572004-04-22 Jim Blandy <jimb@redhat.com>
19158
19159 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
19160 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
19161
3b611f1a
MC
191622004-04-21 Michael Chastain <mec.gnu@mindspring.com>
19163
19164 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
19165
f0fd9238
AC
191662004-04-21 Andrew Cagney <cagney@redhat.com>
19167
19168 * gdb.base/sigstep.c: New file.
19169 * gdb.base/sigstep.exp: New file.
19170
90990674
JB
191712004-04-16 Joel Brobecker <brobecker@gnat.com>
19172
19173 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
19174 call to observer_notify_normal_stop.
19175
78cef34b
AC
191762004-04-15 Andrew Cagney <cagney@redhat.com>
19177
19178 * gdb.base/siginfo.c: New file.
19179 * gdb.base/siginfo.exp: New file.
19180
d2343407
JB
191812004-04-12 J. Brobecker <brobecker@gnat.com>
19182
19183 * gdb.base/sep.exp: Fix typo in comment.
19184
a2dba3c8
JB
191852004-04-12 J. Brobecker <brobecker@gnat.com>
19186
19187 * gdb.base/sep.c: New file.
19188 * gdb.base/sep-proc.c: New file.
19189 * gdb.base/sep.exp: New testcase.
19190
15f7b60e
MK
191912004-04-09 Mark Kettenis <kettenis@gnu.org>
19192
19193 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
19194 support.
19195
44f4de1a
AC
191962004-04-05 Andrew Cagney <cagney@redhat.com>
19197
19198 * gdb.base/sigaltstack.c: New file.
19199 * gdb.base/sigaltstack.exp: New file.
19200
ef04f396
JB
192012004-04-04 Joel Brobecker <brobecker@gnat.com>
19202
19203 * gdb.base/foll-fork.exp: Update the expected output for
19204 "help set follow-fork-mode", to match a change that was made
19205 to the help of this variable on 2004-01-13.
19206
d40d2c92
JB
192072004-04-01 Joel Brobecker <brobecker@gnat.com>
19208
19209 * lib/ada.exp: Add copyright notice.
19210 * bar.ads: Likewise.
19211 * bar.adb: Likewise.
19212 * null_record.adb: Likewise.
19213 * null_record.exp: Likewise.
19214 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
19215
f86ef5a3
JB
192162004-04-01 Joel Brobecker <brobecker@gnat.com>
19217
19218 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
19219 * configure: Regenerate.
19220
414e70e3
JB
192212004-04-01 Joel Brobecker <brobecker@gnat.com>
19222
19223 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
19224 to build the application. Remove the message printed when in
19225 verbose mode, redundant with the UNSUPPORTED message above.
19226
f0aaee49
JB
192272004-03-31 Joel Brobecker <brobecker@gnat.com>
19228
19229 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
19230 * gdb.ada (null_record.exp): New testcase.
19231
ac81cb54
JB
192322004-03-31 Joel Brobecker <brobecker@gnat.com>
19233
19234 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
19235
854af2f7
JB
192362004-03-31 Joel Brobecker <brobecker@gnat.com>
19237
19238 * gdb.ada: New subdirectory.
19239 * gdb.ada/Makefile.in: New file.
19240 * gdb.ada/gnat_ada.gpr.in: New file.
19241
034cb681
JB
192422004-03-31 Joel Brobecker <brobecker@gnat.com>
19243
19244 * lib/ada.exp: New file.
19245
78a1a894
DJ
192462004-03-24 Daniel Jacobowitz <drow@mvista.com>
19247
19248 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
19249 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
19250
4b2b3b3e
AC
192512004-03-22 Andrew Cagney <cagney@redhat.com>
19252
19253 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
19254 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
19255 Problem identified by Ulrich Weigand.
19256
23c73aa3
DC
192572004-03-17 David Carlton <carlton@kealia.com>
19258
19259 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
19260 PR c++/826.
19261
d63a86f8
RM
192622004-03-16 Roland McGrath <roland@redhat.com>
19263
19264 * gdb.base/auxv.exp: New file.
19265 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
19266
0e02aa50
DC
192672004-03-12 David Carlton <carlton@kealia.com>
19268
19269 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
19270 * gdb.cp/pr-1553.cc: Ditto.
19271 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
19272 pass branch.
19273
c20b71be
MC
192742004-03-12 Michael Chastain <mec.gnu@mindspring.com>
19275
19276 * gdb.cp/templates.exp: Accept more template types.
19277
c7414a01
MC
192782004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19279
19280 From Corinna Vinschen with modifications.
19281 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
19282 local variable obj_with_enum.
19283 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
19284 results with obj_with_enum.
19285
ed69573c
MC
192862004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19287
19288 * gdb.cp/classes.cc: New file, copied from misc.cc.
19289 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
19290
28301461
MC
192912004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19292
19293 * gdb.cp/misc.cc: Add copyright notice.
19294
1198ecbe
DC
192952004-03-05 David Carlton <carlton@kealia.com>
19296
19297 * gdb.cp/rtti.exp: Add 'print *obj3' test.
19298 * gdb.cp/rtti.h: Update copyright.
19299 (namespace n2::n3): New.
19300 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
19301 (n2::n3::func3): New.
19302 (main): Call n2::n3::func3.
19303 * gdb.cp/rtti2.cc: Update copyright.
19304 (n2::create3): New.
19305
9e08c470
MK
193062004-03-04 Mark Kettenis <kettenis@gnu.org>
19307
19308 * gdb.asm/openbsd.inc: Fix typo.
19309
4bebc3aa
FF
193102004-03-03 Fred Fish <fnf@redhat.com>
19311
19312 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
19313 "val" instead of unused "size". Update copyright year.
19314
6ea9fb37
DJ
193152004-02-29 Daniel Jacobowitz <drow@mvista.com>
19316
19317 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
19318 to use unsigned char.
19319 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
19320 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
19321
23b23974
DJ
193222004-02-29 Daniel Jacobowitz <drow@mvista.com>
19323
19324 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
19325 line of output.
19326
7574fd53
DJ
193272004-02-28 Daniel Jacobowitz <drow@mvista.com>
19328
19329 * gdb.base/relocate.c (dummy): Initialize.
19330
a195357f
DJ
193312004-02-28 Daniel Jacobowitz <drow@mvista.com>
19332
19333 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
19334 a breakpoint at exit.
19335
72fd54a9
FF
193362004-02-27 Fred Fish <fnf@redhat.com>
19337
19338 * gdb.base/chng-syms.exp: Add expect condition to match failing
19339 case that isn't a timeout.
19340
b9d23137
AC
193412004-02-27 Andrew Cagney <cagney@redhat.com>
19342
19343 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
19344 support.
19345
15d208f6 193462004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 19347
15d208f6
FF
19348 * gdb.arch/gdb1431.c: Remove.
19349 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
19350 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
19351 of "until" incorrectly.
19352
98f9cd2d
JB
193532004-02-26 J. Brobecker <brobecker@gnat.com>
19354
19355 * gdb.cp/class2.cc (empty): New class.
19356 (refer): New function.
19357 (main): Declare an object of type empty and use it.
19358 * gdb.cp/class2.exp: Print the value of an object of type empty.
19359
9b50c11b
JJ
193602004-02-26 Jeff Johnston <jjohnstn@redhat.com>
19361
19362 * gdb.base/langs.exp: Update query string to match the
19363 new nquery format used for pending breakpoints.
19364
0dcd613f
AC
193652004-02-26 Andrew Cagney <cagney@redhat.com>
19366
19367 Fix PR i18n/1570.
19368 * gdb.base/charset.c: Update copyright notice.
19369 (main, init_string): Remove the escape character '\e' tests.
19370 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
19371 * gdb.base/charset.exp (valid_host_charset): Ditto.
19372 * gdb.base/setvar.exp: Ditto.
19373
b8a56647
AC
193742004-02-24 Andrew Cagney <cagney@redhat.com>
19375
90d59e34
AC
19376 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
19377 mmapped data in core file" PASS and FAIL messages consistent.
19378
b8a56647
AC
19379 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
19380 setting a breakpoint. Work around PR java/1565.
19381
9f27c604
JJ
193822004-02-23 Jeff Johnston <jjohnstn@redhat.com>
19383
19384 * lib/gdb.exp (gdb_breakpoint): Update query string to match
19385 new nquery format.
19386 * gdb.base/pending.exp: Ditto.
19387
3224a706
MK
193882004-02-22 Mark Kettenis <kettenis@gnu.org>
19389
19390 * configure.in: Run stabs tests on *BSD.
19391 * configure: Regenerated.
19392
41e0a9ca
MK
193932004-02-21 Mark Kettenis <kettenis@gnu.org>
19394
19395 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
19396
1e1b3428
FF
193972004-02-20 Fred Fish <fnf@redhat.com>
19398
19399 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
19400 blank in test for "returns short", for consistency with other
19401 "returns xxx" tests. Update copyright year.
19402
f9a7572a
FF
194032004-02-19 Fred Fish <fnf@redhat.com>
19404
19405 New testcase for PR breakpoint/1558.
19406 * gdb.arch/gdb1558.exp: New file.
19407 * gdb.arch/gdb1558.c: New file.
19408
b2ce2854
EZ
194092004-02-19 Elena Zannoni <ezannoni@redhat.com>
19410
19411 * gdb.base/nodebug.exp: Fix typo.
19412
e7c9ff01
JB
194132004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19414
19415 Committed by Jim Blandy <jimb@redhat.com>.
19416
62f4b920
JB
19417 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
19418
2db536a1
JB
19419 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
19420
e7c9ff01
JB
19421 * gdb.base/float.exp: Support s390*-*-* targets.
19422
f3205b34
AF
194232004-02-17 Adam Fedor <fedor@gnu.org>
19424
19425 * gdb.base/gdb1555.exp: New file.
19426 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
19427
9d62932d
EZ
194282004-02-17 Elena Zannoni <ezannoni@redhat.com>
19429
19430 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
19431
344c9711
FF
194322004-02-16 Fred Fish <fnf@redhat.com>
19433
19434 * gdb.arch/gdb1291.c: Remove
19435 * gdb.arch/gdb1291.s: New test input file.
19436 * gdb.arch/gdb1291.exp: Expand test to check case that should not
19437 fail. Test for correct result, known incorrect result, other
19438 failures and timeouts.
19439
2d822687
AC
194402004-02-16 Andrew Cagney <cagney@redhat.com>
19441
19442 * gdb.base/bigcore.exp: New file.
19443 * gdb.base/bigcore.c: New file.
19444
dac15b66
AC
194452004-02-13 Andrew Cagney <cagney@redhat.com>
19446
19447 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
19448 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
19449 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
19450 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
19451 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
19452 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
19453 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
19454 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
19455 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
19456 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
19457
6bdfc2c4
JJ
194582004-02-11 Jeff Johnston <jjohnstn@redhat.com>
19459
19460 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
19461 executed is an alloc instruction.
19462
87b3ede8
DC
194632004-02-11 David Carlton <carlton@kealia.com>
19464
19465 * gdb.cp/breakpoint.exp: New.
19466 * gdb.cp/breakpoint.cc: New.
19467
6e19e2bf
MC
194682004-02-11 Michael Chastain <mec.gnu@mindspring.com>
19469
19470 Partial fix for PR gdb/1543.
19471 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
19472 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
19473 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
19474 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
19475 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
19476 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
19477 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
19478 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
19479 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
19480 to bug-gdb@prep.ai.mit.edu .
19481 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
19482 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
19483 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
19484 Likewise.
19485
5c5455dc
AC
194862004-02-10 Andrew Cagney <cagney@redhat.com>
19487
19488 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
19489 using gdb_internal_error_resync.
19490
9cf689d7
DJ
194912004-02-09 Daniel Jacobowitz <drow@mvista.com>
19492
19493 * gdb.threads/thread-specific.exp: Stop early if no threads are
19494 found.
19495
d2dc51db
MC
194962004-02-09 Michael Chastain <mec.gnu@mindspring.com>
19497
19498 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
19499
14b1a056
DJ
195002004-02-08 Daniel Jacobowitz <drow@mvista.com>
19501
19502 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
19503 breakpoints.
19504
83f66e8f
DJ
195052004-02-07 Daniel Jacobowitz <drow@mvista.com>
19506
19507 * config/sim.exp (gdb_load): Handle $arg == "".
19508 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
19509 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
19510
30fc0091
EZ
195112004-02-07 Elena Zannoni <ezannoni@redhat.com>
19512
a9c64011
AS
19513 * gdb.base/maint.exp: Update test to reflect
19514 obstack changes.
30fc0091 19515
4d806929
JJ
195162004-02-04 Jeff Johnston <jjohnstn@redhat.com>
19517
19518 * gdb.base/pendshr.c (pendfunc): New function that calls
19519 pendfunc1.
19520 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
19521
7bfdd688
FF
195222004-02-04 Fred Fish <fnf@redhat.com>
19523
19524 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
19525 function symbols and update copyright years.
19526 * gdb.arch/gdb1291.c: Ditto.
19527
aaa08ee4
MC
195282004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19529
19530 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
19531
dbad7755
MC
195322004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19533
19534 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
19535
ec4646ef
MC
195362004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19537
19538 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
19539
1b802196
FF
195402004-02-02 Fred Fish <fnf@redhat.com>
19541
19542 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
19543 remote targets. Update copyright years.
19544
18fe2033
JJ
195452004-02-02 Jeff Johnston <jjohnstn@redhat.com>
19546
19547 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
19548 support.
19549 * gdb.base/langs.exp: Fix test which attempts to create
19550 breakpoint on non-existent function to handle new pending
19551 support.
19552 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
19553 a breakpoint.
19554 * gdb.base/pending.exp: New test.
19555 * gdb.base/pending.c: New file.
19556 * gdb.base/pendshr.c: Ditto.
19557
8d577d32
DC
195582004-02-02 David Carlton <carlton@kealia.com>
19559
19560 * gdb.cp/overload.exp: Add overloadNamespace tests.
19561 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
19562 (overloadNamespace, XXX): New.
19563 (main): Call XXX::marker2.
19564
3ad13771
FF
195652004-02-01 Fred Fish <fnf@redhat.com>
19566
19567 * gdb.base/dump.exp: Use runto_main instead of "runto main".
19568 * gdb.base/finish.exp: Ditto.
19569 * gdb.base/gcore.exp: Ditto.
19570 * gdb.base/huge.exp: Ditto.
19571 * gdb.base/info-proc.exp: Ditto.
19572 * gdb.base/return2.exp: Ditto.
19573 * gdb.threads/gcore-thread.exp: Ditto.
19574
44c75849
DJ
195752004-02-01 Daniel Jacobowitz <drow@mvista.com>
19576
19577 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
19578
005bc093
MK
195792004-02-01 Mark Kettenis <kettenis@gnu.org>
19580
19581 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
19582 that opening the file succeeds on OpenBSD.
19583
c47cebdb
DJ
195842004-02-01 Daniel Jacobowitz <drow@mvista.com>
19585
19586 * gdb.threads/thread-specific.c: New file.
19587 * gdb.threads/threads-specific.exp: New test script.
19588 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
19589 to expect_out.
19590
5a01311c
MK
195912004-02-01 Mark Kettenis <kettenis@gnu.org>
19592
19593 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
19594 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
19595 only on the "print_small_structs from print_long_arg_list" test.
19596
ce22a4f1
DJ
195972004-02-01 Daniel Jacobowitz <drow@mvista.com>
19598
19599 * gdb.base/completion.exp: Kill a stray backslash.
19600
19601 From Jim Ingham <jingham@apple.com>:
19602 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
19603 agrees with the result from sending a tab.
19604
abbab9d3
DJ
196052004-01-31 Daniel Jacobowitz <drow@mvista.com>
19606
19607 * gdb.base/chng-syms.exp: Remove stray newline.
19608
53904d1e
MK
196092004-01-31 Mark Kettenis <kettenis@gnu.org>
19610
19611 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
19612 *-*-openbsd*.
19613 * gdb.asm/openbsd.inc: New file.
19614
3a4b3aac
MK
196152004-01-30 Mark Kettenis <kettenis@gnu.org>
19616
19617 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
19618 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
19619 *-*solaris2*. Remove commented out default settings for
19620 asm-flags. Replace gdb_compile with target_link.
19621
ebac27b4
MC
196222004-01-29 Michael Chastain <mec.gnu@mindspring.com>
19623
19624 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
19625 for all tests. Remove old hp-ux and cygnus xfail cases.
19626
d8679d84
PH
196272004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
19628
19629 * gdb.base/chng-syms.exp: New file.
19630 * gdb.base/chng-syms.c: New file.
19631
0a55bc22
MC
196322004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19633
19634 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
19635 Provide arms for current output in all my configurations.
19636
94b8e876
MC
196372004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19638
19639 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
19640 * lib/compiler.cc: Likewise.
19641 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
19642 get the right preprocessor. Eval the output directly. Remove
19643 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
19644 hp_f77_compiler and hp_f90_compiler completely.
19645 (gdb_preprocess): Delete.
19646 (get_compiler): Delete.
19647
7cf03d44
MK
196482004-01-24 Mark Kettenis <kettenis@gnu.org>
19649
19650 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
19651 <string.h>.
19652
68b6dce9
NR
196532004-01-24 Nick Roberts <nick@nick.uklinux.net>
19654
19655 * gdb.mi/mi-stack.exp: Update copyright.
19656
b368761e
DC
196572004-01-23 David Carlton <carlton@kealia.com>
19658
19659 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
19660 test for cp_lookup_transparent_type.
19661 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
19662 call them.
19663
f2061b53
DJ
196642004-01-23 Daniel Jacobowitz <drow@mvista.com>
19665
19666 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
19667 after -var-update.
19668
37fc574a
DC
196692004-01-23 David Carlton <carlton@kealia.com>
19670
19671 * gdb.cp/namespace.cc (C::ensureRefs): New.
19672 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
19673
8e94b928
NR
196742004-01-20 Nick Roberts <nick@nick.uklinux.net>
19675
19676 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
19677 case "-stack-list-locals 2".
19678 * gdb.mi/mi-var-child.exp: Test for case
19679 "-var-list-children --all-values NAME".
19680
997b0952
MC
196812004-01-18 Michael Chastain <mec.gnu@mindspring.com>
19682
19683 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
19684
52470da3
MK
196852004-01-18 Mark Kettenis <kettenis@gnu.org>
19686
7049b4b8
MK
19687 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
19688 used with gdb_test_multiple.
19689
52470da3
MK
19690 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
19691 read at address 0. This fixes PR testsuite/1504.
19692
da6012e5
DJ
196932004-01-18 Daniel Jacobowitz <drow@mvista.com>
19694
19695 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
19696 Remove downloading, guessing the host executable, the calls to
19697 gdb_file_cmd and gdb_target_cmd, and "load" support.
19698 (infer_host_exec): New function broken out from gdb_load.
19699 (gdb_load): New wrapper for gdbserver_gdb_load.
19700 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
19701 gdb_target_cmd. Use -target-select.
19702 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
19703 Download binaries to the host. Clear last_mi_remote_file when
19704 we load a new binary.
19705 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
19706 call gdbserver_gdb_load and mi_gdb_target_cmd.
19707
32c70722
MC
197082004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19709
19710 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
19711 type patterns.
19712
b0cecf36
MC
197132004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19714
19715 * gdb.cp/templates.exp: Fix typo in test name of
19716 "print Foo<volatile char*>::foo".
19717
4120d7e6
MC
197182004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19719
19720 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
19721
f679e530
BE
197222004-01-16 Ben Elliston <bje@wasabisystems.com>
19723
19724 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
19725 (clean mostlyclean): Remove empty rm.
19726
091c48f6
MC
197272004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19728
19729 * gdb.base/setvar.exp: Add copyright years.
19730
3e5fc8d2
DC
197312004-01-14 David Carlton <carlton@bactrian.org>
19732
19733 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
19734 PR c++/1511 and update coment.
19735 * gdb.cp/templates.exp: Update patterns to match current output.
19736 If changes involve something other than whitespace, KFAIL
19737 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
19738
63d06c5c
DC
197392004-01-14 David Carlton <carlton@kealia.com>
19740
19741 * gdb.cp/namespace.exp: Add tests involving classes defined within
19742 namespaces.
19743 * gdb.cp/namespace.cc (C::CClass): New.
19744 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
19745
a51dab88
EZ
197462004-01-14 Elena Zannoni <ezannoni@redhat.com>
19747
19748 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
19749 what debug info we have. Print a better message if something goes
19750 wrong while producing the separate debug info file.
19751
a476ccc9
MC
197522004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19753
19754 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
19755
f453692c
MC
197562004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19757
19758 * gdb.base/callfuncs.c: Add copyright notice.
19759
f40063a5
MC
197602004-01-13 Michael Chastain <mec.gnu@mindspring.com>
19761
19762 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
19763 inheritance. PR gdb/1498, PR gcc/13539.
19764
19ac3974
EZ
197652004-01-13 Elena Zannoni <ezannoni@redhat.com>
19766
a9c64011
AS
19767 * gdb.threads/gcore-thread.exp: Prefix name of binary with
19768 test specific name.
19769 * gdb.mi/gdb669.exp: Ditto.
19770 * gdb.mi/mi-pthreads.exp: Ditto.
19771 * gdb.mi/mi1-pthreads.exp: Ditto.
19772 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 19773
56c97c6e
MC
197742004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19775
19776 * gdb.cp/member-ptr.cc: Add copyright notice.
19777
a0644324
MC
197782004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19779
19780 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
19781 some patterns for recent versions of gcc and hpacc. Delete
19782 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
19783 Delete tests that access a NULL pointer-to-member-data. This
19784 script is still disabled for gcc.
19785
32fabe09
EZ
197862004-01-12 Elena Zannoni <ezannoni@redhat.com>
19787
19788 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 19789 escaped correctly.
32fabe09 19790
1f8a6abb
EZ
197912004-01-12 Elena Zannoni <ezannoni@redhat.com>
19792
19793 * gdb.base/sepdebug.exp: New file.
19794 * gdb.base/sepdebug.c: New file.
19795 * lib/gdb.exp (separate_debug_filename): New procedure.
19796 (gdb_gnu_strip_debug): New procedure.
19797
48efe704
AC
197982004-01-12 Andrew Cagney <cagney@redhat.com>
19799
19800 * gdb.mi/ChangeLog: Delete file. Renamed to ...
19801 * gdb.mi/ChangeLog-1999-2003: New file.
19802
a9415475
AC
198032004-01-12 Andrew Cagney <cagney@redhat.com>
19804
19805 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
19806 "Renaming a directory to a non-empty directory returns ENOTEMPTY
19807 or EEXIST", treat EBUSY as an XFAIL.
19808
83b8cf9d
MC
198092004-01-11 Michael Chastain <mec.gnu@mindspring.com>
19810
19811 * gdb.base/scope.exp: Remove obsolete setup_xfail for
19812 hp_cc_compiler.
19813
9939d2a8
MC
198142004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19815
19816 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
19817 decorations.
19818
1ff8cadf
MC
198192004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19820
19821 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
19822 and "(aCC)" decorations. Remove obsolete doco about old
19823 test results.
19824
6fa9022e
MC
198252004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19826
19827 * gdb.cp/exception.exp: Fix typo in doco.
19828
209721fe
MK
198292004-01-09 Mark Kettenis <kettenis@gnu.org>
19830
19831 * gdb.base/gdb1476.exp: Fix typo.
19832
ef11303e
MC
198332004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19834
19835 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
19836 file.
19837
041ab88c
MC
198382004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19839
19840 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
19841 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
19842 Use gdb_compile. Remove restriction on gcc. Add some patterns
19843 for recent version of gdb. Delete second half, which was a copy
19844 of the first half with different build flags. This test is
19845 still disabled because it is still not ready for production.
19846
e36d075a
MC
198472004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19848
19849 * gdb.cp/exception.cc: Add copyright notice.
19850 * gdb.cp/exception.exp: Add a notice that this file is broken
19851 because of line number changes caused by addition of copyright
19852 notice.
19853
42b190ad
MC
198542004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19855
19856 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
19857 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
19858
8f25f06b
MC
198592004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19860
19861 * gdb.cp/classes.exp: Accept gnu abi 2.
19862 * gdb.cp/derivation.exp: Likewise.
19863 * gdb.cp/overload.exp: Likewise.
19864 * gdb.cp/virtfunc.exp: Likewise.
19865
06ded8b8
MC
198662004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19867
19868 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
19869 semicolon after end of function.
19870
77c26ae3
MC
198712004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19872
19873 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
19874 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
19875 boilerplate code for compiling and running the program under
19876 test. Add some string method tests.
19877
20757486
MC
198782004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19879
19880 * gdb.cp/bs15503.cc: Add copyright notice.
19881 * gdb.cp/bs15503.exp: Adjust line number.
19882
0fd3b503
MC
198832004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19884
19885 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
19886 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
19887
10d1bea8
MC
198882004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19889
19890 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
19891 hp_cc_compiler.
19892
2789202a
MC
198932004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19894
19895 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
19896 * gdb.cp/ctti.exp: Use the marker instead of "next".
19897 With gcc, run further before bailing.
19898
b862f14c
MC
198992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19900
19901 * gdb.cp/cttiadd.cc: Add copyright notice.
19902 * gdb.cp/cttiadd1.cc: Likewise.
19903 * gdb.cp/cttiadd2.cc: Likewise.
19904 * gdb.cp/cttiadd3.cc: Likewise.
19905
96da2469
MC
199062004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19907
19908 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
19909 Use gdb_test, gdb_test_multiple. Use floating-point values that
19910 have exact representations in IEEE-ish formats.
19911
053248ff
MC
199122004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19913
19914 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
19915 compilers. Delete duplicate call to get_compiler_info.
19916 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
19917 * gdb.base/volatile.exp: Likewise.
19918
84acecdd
MK
199192004-01-07 Mark Kettenis <kettenis@gnu.org>
19920
19921 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
19922 memory at address 0.
19923
fe11a27f
MC
199242004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19925
19926 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
19927 to test for hp-ux assembler. Fix copyright years.
19928
60ad077b
AC
199292004-01-07 Andrew Cagney <cagney@redhat.com>
19930
19931 * gdb.base/fileio.c (strerrno): Add "EBUSY".
19932
1c9b8f33
AC
199332004-01-07 Andrew Cagney <cagney@redhat.com>
19934
19935 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
19936 when creating the read-only file. From analysis by Roland McGrath
19937 and Elena Zannoni.
19938
753ccc7a
MC
199392004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19940
19941 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
19942
eca3e36b
MC
199432004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19944
19945 * gdb.base/cvexpr.c: Be type-safe with function pointers and
19946 data pointers.
19947
f8d4bac4
MC
199482004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19949
19950 * gdb.cp/m-static.exp: Compile one source file at a time.
19951 Delete unused call to get_compiler_info.
19952
9b4e0f94
MC
199532004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19954
19955 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
19956 * gdb.base/call-rt-st.exp: Likewise.
19957 * gdb.base/nodebug.exp: Likewise.
19958 * gdb.base/volatile.exp: Likewise.
19959 * gdb.cp/ref-types.exp: Likewise.
19960 * gdb.cp/templates.exp: Likewise.
19961
023c1024
MK
199622004-01-05 Mark Kettenis <kettenis@gnu.org>
19963
19964 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
19965
19703c4a
MC
199662004-01-05 Michael Chastain <mec.gnu@mindspring.com>
19967
19968 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
19969 hppa*-hp-hpux*.
19970
18b67037
MK
199712004-01-04 Mark Kettenis <kettenis@gnu.org>
19972
ba6219c8
MK
19973 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
19974 x86_64-*-*.
19975
18b67037
MK
19976 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
19977 sparc64-*-* and sparc*-solaris2*.
19978
1bfbbb9d
MK
199792004-01-04 Mark Kettenis <kettenis@gnu.org>
19980
19981 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
19982 return ${tests}" test. The ${tests} already mentions the
19983 filename.
19984
06846494
MC
199852004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19986
19987 * gdb.cp/local.exp: Accept gcc abi 2.
19988
3b0cb202
MC
199892004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19990
19991 * gdb.cp/templates.exp: Accept gcc abi 2.
19992
0643ec3f
MC
199932004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19994
19995 * lib/compiler.cc: Remove supports_template_debugging.
19996 * gdb.cp/templates.exp: Do not test supports_template_debugging.
19997
d231d0b1
MC
199982004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19999
20000 * gdb.cp/namespace.exp: Accept gcc abi 2.
20001
44ffb27c
MC
200022004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20003
20004 * gdb.cp/method.exp: Accept gcc abi 2.
20005
184ad485
MC
200062004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20007
20008 * gdb.cp/classes.exp: Generate identical results as old version.
20009 * gdb.cp/derivation.exp: Likewise.
20010 * gdb.cp/overload.exp: Likewise.
20011 * gdb.cp/virtfunc.exp: Likewise.
20012
116f09e7
MC
200132004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20014
20015 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
20016 mysterious bug with sourceware version of expect.
20017
b1379776
MC
200182004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20019
20020 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
20021 current versions of gcc, including gcc abi 2. Remove gratuitous
20022 restart of test program. Use gdb_test_multiple and gdb_test for
20023 all tests. Add patterns to xfail missing "const" in "const char *"
20024 and kfail PR gdb/1155.
20025
6b7a4c0e
MC
200262004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20027
20028 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
20029 current versions of gcc, including gcc abi 2. Remove gratuitous
20030 restart of test program. Use gdb_test_multiple and gdb_test for
20031 all tests. Add patterns to kfail PR gdb/1498.
20032
51615d72
MC
200332003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20034
20035 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
20036 current versions of gcc, including gcc abi 2. Use "breakpoint"
20037 and "continue" instead of restarting the target program. Use
20038 gdb_test_multiple and gdb_test for all tests.
20039
7b79a9d7
MK
200402004-01-01 Mark Kettenis <kettenis@gnu.org>
20041
20042 * gdb.asm/asm-source.exp: Update copyright year. Link statically
20043 for *-*-solaris2*.
20044
1cd3489f
MC
200452003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20046
20047 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
20048 current versions of gcc, including gcc abi 2. Use "breakpoint"
20049 and "continue" instead of restarting the target program several
20050 times. Use gdb_test_multiple and gdb_test for all tests.
20051
850742db
MC
200522003-12-18 Michael Chastain <mec.gnu@mindspring.com>
20053
20054 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
20055 source files.
20056
eb4bbda8
MC
200572003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20058
20059 * gdb.base/environ.exp: Handle compiling test case from multiple
20060 source files.
20061
e42c7771
MC
200622003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20063
20064 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
20065
80e4b428
JB
200662003-12-17 Jim Blandy <jimb@redhat.com>
20067
5f06973a
JB
20068 * gdb.base/freebpcmd.c: Add copyright notice.
20069
80e4b428
JB
20070 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
20071
0ab84fb7
MC
200722003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20073
20074 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
20075
1b3bb3d0
JB
200762003-12-13 Jim Blandy <jimb@redhat.com>
20077
20078 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
20079
3a4c9371
KB
200802003-12-12 Kevin Buettner <kevinb@redhat.com>
20081
20082 * gdb.asm/frv.inc: New file.
20083 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
20084
a1dea79a
FF
200852003-12-09 Fred Fish <fnf@redhat.com>
20086
20087 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
20088 functions to break1.c and leave prototypes behind. Add more
20089 "set breakpoint NN here" comments.
20090 * gdb.base/break1.c: New file.
20091
20092 * gdb.base/break.exp: Handle compiling test case from multiple
20093 source files and change source file references as needed.
20094 * gdb.base/completion.exp: Ditto.
20095 * gdb.base/condbreak.exp: Ditto.
20096 * gdb.base/define.exp: Ditto.
20097 * gdb.base/ena-dis-br.exp: Ditto.
20098 * gdb.base/info-proc.exp: Ditto.
20099 * gdb.base/maint.exp: Ditto.
20100 * gdb.base/until.exp: Ditto.
20101
20102 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
20103 hardcoded line numbers.
20104 * gdb.base/define.exp: Ditto.
20105 * gdb.base/ena-dis-br.exp: Ditto.
20106 * gdb.base/maint.exp: Ditto.
20107 * gdb.base/until.exp: Ditto.
20108
20109 * gdb.base/completion.exp: Use "break1" for completion tests since
20110 "break" is no longer a unique prefix.
20111
5266b69c
AC
201122003-12-06 Andrew Cagney <cagney@redhat.com>
20113
20114 * gdb.base/structs.exp (test_struct_returns): When applicable, set
20115 "return_value_unimplemented". When an unimplemented struct return
20116 architecture, report incorrect values as a KFAIL
20117
374451f0
MC
201182003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20119
20120 * gdb.cp/rtti.exp: Accept new wording of warning from
20121 cp_lookup_rtti_type.
20122
ba9b20a7
MC
201232003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20124
20125 Partial fix for PR testsuite/1456.
20126 * gdb.base/scope.exp (test_at_main): Replace references to
20127 gcc_compiled with calls to test_compiler_info.
20128 (test_at_foo): Likewise.
20129 (test_at_bar): Likewise.
20130
b74b6d0b
MC
201312003-12-04 Michael Chastain <mec.gnu@mindspring.com>
20132
20133 Partial fix for PR testsuite/1456.
20134 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
20135 to test_compiler_info.
20136
ccfa3402
MC
201372003-12-03 Michael Chastain <mec.gnu@mindspring.com>
20138
20139 * gdb.base/so-impl-ld.exp: Update copyright notice.
20140
f6246aba
MC
201412003-12-02 Michael Chastain <mec.gnu@mindspring.com>
20142
20143 Partial fix for PR testsuite/1456.
20144 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
20145 to test_compiler_info.
20146
13ae734a
MC
201472003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20148
20149 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
20150 from current versions of gdb. Clean up regular expressions.
20151 Delete redundant timeout case.
20152
d8e1cdee
MC
201532003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20154
20155 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
20156 from current versions of gdb. Clean up regular expressions.
20157 Delete redundant timeout case.
20158
96457b64
MC
201592003-12-01 Michael Chastain <mec.gnu@mindspring.com>
20160
20161 Partial fix for PR testsuite/1456.
20162 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
20163 gcc_compiled with call to test_compiler_info.
20164
f35309fc
MC
201652003-11-30 Michael Chastain <mec.gnu@mindspring.com>
20166
20167 Partial fix for PR testsuite/1456.
20168 * gdb.base/list.exp (test_list_function): Delete unused declaration
20169 of gcc_compiled.
20170
d7afdf9b
MC
201712003-11-29 Michael Chastain <mec.gnu@mindspring.com>
20172
20173 Partial fix for PR testsuite/1456.
20174 * gdb.base/complex.exp: Replace reference to gcc_compiled with
20175 call to test_compiler_info.
20176
71507b56
MK
201772003-11-29 Mark Kettenis <kettenis@gnu.org>
20178
20179 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
20180 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
20181 it to create the appropriate note.inc.
20182 * gdb.asm/asmsrc1.s: Include "note.inc".
20183 * gdb.asm/netbsd.inc: New file.
20184 * gdb.asm/empty.inc: New file.
20185
f81f93f7
MC
201862003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20187
20188 Partial fix for PR testsuite/1456.
20189 * gdb.base/constvars.exp: Replace references to gcc_compiled with
20190 calls to test_compiler_info.
20191
9a77938e
MC
201922003-11-27 Michael Chastain <mec.gnu@mindspring.com>
20193
20194 Partial fix for PR testsuite/1456.
20195 * gdb.base/volatile.exp: Replace references to gcc_compiled with
20196 calls to test_compiler_info.
20197
e8367dc7
MK
201982003-11-27 Mark Kettenis <kettenis@gnu.org>
20199
20200 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
20201 pattern for the KFAILs.
20202
526c61ee
AF
202032003-11-25 Adam Fedor <fedor@gnu.org>
20204
20205 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
20206 * gdb.objc/objcdecode.m: New file.
20207
28f2d600
AF
202082003-11-25 Adam Fedor <fedor@gnu.org>
20209
20210 * gdb.objc/nondebug.exp: Test for PR objc/1236.
20211 * gdb.objc/nondebug.m: New file.
20212
a3895cee
BE
202132003-11-26 Ben Elliston <bje@wasabisystems.com>
20214
20215 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20216 NetBSD as it does on FreeBSD. Modelled on a similar change by
20217 Mark Kettenis on 2003-05-30.
20218 (link-flags): Set to "--entry _start" regardless of target.
20219 Special linker flags are to be appended to $link-flags.
20220 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
20221
c9f2c8a3
MC
202222003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20223
20224 * gdb.cp/method.exp: Accept output of new demangler.
20225
15a0587a 202262003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
20227
20228 * gdb/class2.exp: New file.
20229 * gdb/class2.cc: New file.
20230
3c00b570
MC
202312003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20232
20233 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
20234 of new demangler.
20235
7027acc7
MK
202362003-11-23 Mark Kettenis <kettenis@gnu.org>
20237
20238 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
20239 of gdb_test "run".
20240
b0e1598a
MK
202412003-11-23 Mark Kettenis <kettenis@gnu.org>
20242
20243 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
20244 "continue" into "run".
20245
4d9eda44
MC
202462003-11-23 Michael Chastain <mec.gnu@mindspring.com>
20247
20248 Partial fix for PR testsuite/1456.
20249 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
20250 call to test_compiler_info.
20251 * gdb.cp/ctti.exp: Likewise.
20252 * gdb.cp/derivation.exp: Likewise.
20253 * gdb.cp/member-ptr.exp: Likewise.
20254 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
20255 reference to gcc_compiled.
20256
202572003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
20258
20259 Fix PR testsuite/1463.
20260 * gdb.base/structs.exp (start_structs_test): Call
20261 get_debug_format before using the debug format.
20262
d422fe19
AC
202632003-11-22 Andrew Cagney <cagney@redhat.com>
20264
20265 * lib/gdb.exp (gdb_test_multiple): Add simple example.
20266 * gdb.base/structs.exp: Use gdb_test_multiple.
20267
039cf96d
AC
202682003-11-20 Andrew Cagney <cagney@redhat.com>
20269
6882279b
AC
20270 * gdb.base/structs.exp: Handle and recover from internal errors.
20271 Replace "foo${n}" with "foo<n>" in test messages.
20272
e53890ae
AC
20273 * gdb.base/structs.exp: Update copyright. Rewrite.
20274 * gdb.base/structs.c: Update copyright. Rewrite.
20275
2b211c59
AC
20276 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
20277 resync count exceeded.
d63a86f8 20278
039cf96d
AC
20279 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
20280 from the internal error.
20281 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
20282 Original from Jim Blandy.
20283 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 20284
eac98b22
AC
202852003-11-19 Andrew Cagney <cagney@redhat.com>
20286
20287 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
20288 KFAIL.
20289
67455b2a
MK
202902003-11-17 Mark Kettenis <kettenis@gnu.org>
20291
20292 New testcase for PR backtrace/1435.
20293 * gdb.arch/i386-unwind.exp: New file.
20294 * gdb.arch/i386-unwind.c: New file.
20295
853d6e5b
AC
202962003-11-17 Andrew Cagney <cagney@redhat.com>
20297
20298 * lib/gdb.exp (compiler_info): New global.
20299 (test_compiler_info): New function.
20300 (get_compiler_info): Set compiler_info.
20301 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
20302 "compiler_info" to gcc-<major>-<minor>.
20303
38cf6e11
MC
203042003-11-15 Michael Chastain <mec.gnu@mindspring.com>
20305
20306 * gdb.trace/configure: Remove.
20307
a50d3602
EZ
203082003-11-13 Elena Zannoni <ezannoni@redhat.com>
20309
20310 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 20311 breakpoints.
a50d3602
EZ
20312 * gdb.base/break.exp: Remove all references to explicit line
20313 numbers.
20314
d9407aaa
NC
203152003-11-11 Nick Clifton <nickc@redhat.com>
20316
20317 * gdb.base/shreloc.exp: Do not run for targets which do not
20318 support shared objects.
20319
db488fc1
CV
203202003-11-10 Corinna Vinschen <vinschen@redhat.com>
20321
20322 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
20323 Don't run tests if nofileio flag is given.
20324
6a90a18e
EZ
203252003-11-07 Elena Zannoni <ezannoni@redhat.com>
20326
20327 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 20328 as well as 'Watchpoint'.
6a90a18e 20329
0b915e9c
EZ
203302003-11-06 Elena Zannoni <ezannoni@redhat.com>
20331
20332 Reported by Jim Ingham <jingham@apple.com>:
20333 * gdb.base/annota1.exp: Match at least one occurrence of the
20334 signal handler annotation.
20335
d7e4b55f
EZ
203362003-11-06 Elena Zannoni <ezannoni@redhat.com>
20337
a9c64011
AS
20338 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
20339 as well as 'Watchpoint'.
d7e4b55f 20340
2fe4e8d0
MC
203412003-11-05 Michael Chastain <mec@shout.net>
20342
20343 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
20344
6ef88553
KW
203452003-11-03 Kris Warkentin <kewarken@qnx.com>
20346
20347 * gdb.arch/gdb1291.c: New test file.
20348 * gdb.arch/gdb1291.exp: New test script.
20349 * gdb.arch/gdb1431.c: New test file.
20350 * gdb.arch/gdb1431.exp: New test script.
20351
ae7dc4d8
MC
203522003-10-22 Michael Chastain <mec@shout.net>
20353
20354 * gdb.mi/pthreads.c: Add copyright notice.
20355
c39d7427
MC
203562003-10-22 Michael Chastain <mec@shout.net>
20357
20358 * gdb.threads/pthreads.c: Add copyright notice.
20359
8b7d96c1
MC
203602003-10-20 Michael Chastain <mec@shout.net>
20361
20362 * gdb.base/gdb1056.exp: New test script.
20363
d1d69fdd
DJ
203642003-10-13 Daniel Jacobowitz <drow@mvista.com>
20365
20366 * gdb.threads/killed.exp: Use gdb_run_cmd.
20367
7d605576
DJ
203682003-10-13 Daniel Jacobowitz <drow@mvista.com>
20369
20370 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
20371 create a core file.
20372 * gdb.threads/gcore-thread.exp: Likewise.
20373
618ec112
CV
203742003-10-13 Corinna Vinschen <vinschen@redhat.com>
20375
20376 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
20377 type, based on char type.
20378 (struct bit_flags_short_t): New bitfield type, based on short type.
20379 (init_bit_flags_char): New fuction.
20380 (init_bit_flags_short): Ditto.
20381 (print_bit_flags_char): Ditto.
20382 (print_bit_flags_short): Ditto.
20383 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
20384
9367a73c
MC
203852003-10-11 Michael Chastain <mec@shout.net>
20386
20387 * gdb.base/call-rt-st.exp: Update copyright year.
20388
1decf120
KI
203892003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
20390
20391 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
20392 * gdb.disasm/sh3.s: Ditto.
20393
5445b2ae
DJ
203942003-10-07 Daniel Jacobowitz <drow@mvista.com>
20395
20396 * gdb.threads/switch-threads.exp: New test.
20397 * gdb.threads/switch-threads.c: New source file.
20398
aec24853
CV
203992003-10-07 Corinna Vinschen <vinschen@redhat.com>
20400
20401 * gdb.base/ending-run.exp: Add sh specific case.
20402
adc7428d
AC
204032003-10-06 Andrew Cagney <cagney@redhat.com>
20404
20405 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
20406 * gdb.disasm/mn10200.exp: Delete obsolete file.
20407
c9d37158
DJ
204082003-09-29 Daniel Jacobowitz <drow@mvista.com>
20409
20410 * ChangeLog: Correct an entry command.exp -> commands.exp.
20411 * gdb.base/commands.exp (bp_deleted_in_command_test)
20412 (temporary_breakpoint_commands): Check noargs.
20413
79c2c32d
DC
204142003-09-25 David Carlton <carlton@kealia.com>
20415
20416 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
20417 of some print tests, where appropriate. Add tests for C::D::cd,
20418 E::ce, F::cXfX, G::XgX.
20419 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
20420
594e6d67
RE
204212003-09-25 Richard Earnshaw <rearnsha@arm.com>
20422
20423 * lib/java.exp (java_init): Import target_alias before using it.
20424
10f0d451
DC
204252003-09-25 David Carlton <carlton@kealia.com>
20426
20427 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
20428
274bcba0
EZ
204292003-09-23 Elena Zannoni <ezannoni@redhat.com>
20430
d63a86f8 20431 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 20432 weirdness.
274bcba0 20433
cdbf20f7
MC
204342003-09-17 Michael Chastain <mec@shout.net>
20435
20436 * gdb.cp/gdb1355.exp: New file.
20437 * gdb.cp/gdb1355.c: New file.
20438
71e06f80
CV
204392003-09-15 Corinna Vinschen <vinschen@redhat.com>
20440
20441 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
20442 * gdb.asm/sh.inc: New file.
20443
5c4e30ca
DC
204442003-09-11 David Carlton <carlton@kealia.com>
20445
bd45b7af
DC
20446 * gdb.cp/namespace.exp: Add tests for namespace types.
20447 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
20448 (test_namespace): New.
20449
1c199746
EZ
204502003-09-11 Elena Zannoni <ezannoni@redhat.com>
20451
a9c64011 20452 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 20453 * gdb.stabs/weird.exp: Ditto.
1c199746 20454
04ed252f
MC
204552003-09-08 Michael Chastain <mec@shout.net>
20456
20457 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
20458
d8a2d9e7
MC
204592003-09-07 Michael Chastain <mec@shout.net>
20460
20461 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
20462 'parse error'.
20463
161afb24
MK
204642003-09-07 Mark Kettenis <m.kettenis@osp.nl>
20465
20466 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
20467
49f2741a
MC
204682003-08-30 Michael Chastain <mec@shout.net>
20469
20470 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
20471 * gdb.gdb/observer.exp: Ditto.
20472 * gdb.gdb/xfullpath.exp: Ditto.
20473
8afa723e
MK
204742003-08-29 Mark Kettenis <kettenis@gnu.org>
20475
20476 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
20477 *-*-*bsd*.
20478
f31dfe3b
JJ
204792003-08-28 Jeff Johnston <jjohnstn@redhat.com>
20480
20481 * gdb.base/dump.exp: Skip for ia64.
20482
4630e498
JJ
204832003-08-25 Jeff Johnston <jjohnstn@redhat.com>
20484
20485 * gdb.asm/asm-source.exp: Add ia64 support.
20486 * gdb.asm/ia64.inc: New file.
20487
1105b7ef
MC
204882003-08-22 Michael Chastain <mec@shout.net>
20489
20490 * gdb.cp: New directory.
20491 * gdb.cp/*: Copy from gdb.c++/*.
20492 * gdb.c++/*: Remove.
20493 * Makefile.in: Change gdb.c++ to gdb.cp.
20494 * configure.in: Ditto.
20495 * configure: Regnerate.
20496
c945b932
MK
204972003-08-18 Mark Kettenis <kettenis@gnu.org>
20498
20499 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
20500 * gdb.arch/i386-prologue.c (gdb1338): Add function.
20501
2b66634b
DJ
205022003-08-17 Daniel Jacobowitz <drow@mvista.com>
20503
20504 * mi-var-display.exp (-var-list-children weird): Accept function
20505 pointers with argument types.
20506 * mi1-var-display.exp (-var-list-children weird): Likewise.
20507 * mi2-var-display.exp (-var-list-children weird): Likewise.
20508
a356f73b
DJ
205092003-08-17 Daniel Jacobowitz <drow@mvista.com>
20510
20511 * gdb.base/annota3.exp: Add missing newline.
20512
483417b8
MC
205132003-08-06 Michael Chastain <mec@shout.net>
20514
20515 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
20516
c99c59c3
MS
205172003-08-12 Michael Snyder <msnyder@redhat.com>
20518
20519 * gdb.base/float.exp: Add test for SH.
20520
55ed7501
MK
205212003-08-10 Mark Kettenis <kettenis@gnu.org>
20522
20523 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
20524
1a371f2e
EZ
205252003-08-07 Elena Zannoni <ezannoni@redhat.com>
20526
20527 * gdb.base/completion.exp: Remove reduntant completion test
20528 on filename.
20529
e0f353ce
EZ
205302003-08-07 Elena Zannoni <ezannoni@redhat.com>
20531
a9c64011
AS
20532 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
20533 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
20534 gdb.trace/save-trace.exp: Make sure that full pathnames are
20535 escaped correctly.
e0f353ce 20536
5710a1af 205372003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 20538
a9c64011
AS
20539 * configure.in: Don't generate config.h from config.hin.
20540 * configure: Regenerate.
20541 * config.hin: Remove file.
20542 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
20543 * gdb.threads/pthreads.c: Ditto.
5710a1af 20544
dcd81ce9
DJ
205452003-08-07 Daniel Jacobowitz <drow@mvista.com>
20546
20547 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20548 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
20549 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
20550 Replace ld24 with seth/add3.
20551
6009d884
AC
205522003-08-02 Andrew Cagney <cagney@redhat.com>
20553
20554 * gdb.base/annota3.exp: New file.
20555 * gdb.base/annota3.c: New file.
20556 * gdb.c++/annota3.exp: New file.
20557 * gdb.c++/annota3.cc: New file.
20558
51514e06
MC
205592003-07-29 Michael Chastain <mec@shout.net>
20560
20561 * gdb.threads/tls.c (spin): Check errno only if sem_wait
20562 actually failed.
20563 (do_pass): Likewise.
20564 * gdb.threads/tls.exp: Always initialize no_of_threads.
20565
4ee6625b
DJ
205662003-07-27 Daniel Jacobowitz <drow@mvista.com>
20567
20568 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
20569 pattern.
20570 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
20571 * gdb.threads/tls.exp: Recognize one case of the host library not
20572 supporting TLS.
20573
225f2bf6
AC
205742003-07-27 Andrew Cagney <cagney@redhat.com>
20575
20576 * gdb.base/fileio.exp: Use SH when running commands using
20577 remote_exec.
20578
bcb27c9f
DJ
205792003-07-24 Daniel Jacobowitz <drow@mvista.com>
20580
20581 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20582 * gdb.base/relocate.c (dummy): New padding array.
20583
3d67be83
MS
205842003-07-22 Michael Snyder <msnyder@redhat.com>
20585
d63a86f8 20586 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
20587
20588 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
20589 patterns to be more general, accepting old and new output.
20590 Some output chars (such as '+') also must be quoted.
d63a86f8 20591 Some addresses are displayed numerically instead of
3d67be83
MS
20592 symbolically.
20593
57ba3b85
MS
205942003-07-23 Michael Snyder <msnyder@redhat.com>
20595
686d097c
MS
20596 * gdb.base/return2.exp: Don't test long-long return.
20597
57ba3b85
MS
20598 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
20599 * gdb.disasm/t01_mov.exp: Ditto.
20600 * gdb.disasm/t02_mova.s: Ditto.
20601 * gdb.disasm/t02_mova.exp: Ditto.
20602 * gdb.disasm/t03_add.s: Ditto.
20603 * gdb.disasm/t03_add.exp: Ditto.
20604 * gdb.disasm/t04_sub.s: Ditto.
20605 * gdb.disasm/t04_sub.exp: Ditto.
20606 * gdb.disasm/t05_cmp.s: Ditto.
20607 * gdb.disasm/t05_cmp.exp: Ditto.
20608 * gdb.disasm/t06_ari2.s: Ditto.
20609 * gdb.disasm/t06_ari2.exp: Ditto.
20610 * gdb.disasm/t07_ari3.s: Ditto.
20611 * gdb.disasm/t07_ari3.exp: Ditto.
20612 * gdb.disasm/t08_or.s: Ditto.
20613 * gdb.disasm/t08_or.exp: Ditto.
20614 * gdb.disasm/t09_xor.s: Ditto.
20615 * gdb.disasm/t09_xor.exp: Ditto.
20616 * gdb.disasm/t10_and.s: Ditto.
20617 * gdb.disasm/t10_and.exp: Ditto.
20618 * gdb.disasm/t11_logs.s: Ditto.
20619 * gdb.disasm/t11_logs.exp: Ditto.
20620 * gdb.disasm/t12_bit.s: Ditto.
20621 * gdb.disasm/t12_bit.exp: Ditto.
20622 * gdb.disasm/t13_otr.s: Ditto.
20623 * gdb.disasm/t13_otr.exp: Ditto.
20624
e00759ef
EZ
206252003-07-22 Elena Zannoni <ezannoni@redhat.com>
20626
20627 * gdb.threads/tls.exp :Add kfail for 'info address' case.
20628
8bc2021f
EZ
206292003-07-22 Elena Zannoni <ezannoni@redhat.com>
20630
a9c64011
AS
20631 * gdb.threads/tls.c : New file.
20632 * gdb.threads/tls.exp : New file.
20633 * gdb.threads/tls-main.c : New file.
20634 * gdb.threads/tls-shared.c : New file.
20635 * gdb.threads/tls-shared.exp : New file.
8bc2021f 20636
89320c4c
AS
206372003-07-22 Andreas Schwab <schwab@suse.de>
20638
20639 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
20640
180dea7c
AS
206412003-07-20 Andreas Schwab <schwab@suse.de>
20642
20643 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
20644 due to insn reordering.
20645
0714963c
AC
206462003-07-15 Andrew Cagney <cagney@redhat.com>
20647
20648 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
20649
98a23b3f
MC
206502003-07-15 Michael Chastain <mec@shout.net>
20651
20652 * gdb.base/gdb1250.exp: New file.
20653 * gdb.base/gdb1250.c: New file.
20654
27e417a2
ML
206552003-07-09 Michal Ludvig <mludvig@suse.cz>
20656
20657 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
20658 expansion of size_t to 'unsigned long', not only to 'unsigned'.
20659
8bc2021f
EZ
206602003-07-09 Elena Zannoni <ezannoni@redhat.com>
20661
a9c64011
AS
20662 * gdb.threads/tls.c: New file.
20663 * gdb.threads/tls.exp: New file.
20664 * gdb.threads/tls-main.c: New file.
20665 * gdb.threads/tls-shared.c: New file.
20666 * gdb.threads/tls-shared.exp: New file.
8bc2021f 20667
d99968dc
EZ
206682003-07-09 Elena Zannoni <ezannoni@redhat.com>
20669
20670 * gdb.base/annota1.exp: Make sure that we properly escape the
20671 full path of the source file. Xfail more permissive patterns,
d63a86f8 20672 due to a compiler debug info problem.
d99968dc 20673
83876b3b
AS
206742003-07-07 Andreas Schwab <schwab@suse.de>
20675
2705e972
AS
20676 * gdb.asm/m68k.inc: New file.
20677 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
20678
83876b3b
AS
20679 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
20680 arguments"): Also match negative number.
20681
20682 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
20683
3a871b37
DJ
206842003-07-03 Daniel Jacobowitz <drow@mvista.com>
20685
20686 * gdb.base/store.c (charest): New typedef.
20687 (add_char): Rename to add_charest, update.
20688 (wack_char): Rename to wack_charest, update types. Return l + r
20689 to keep r live across the call.
20690 (wack_short, wack_int, wack_long, wack_longest, wack_float)
20691 (wack_double, wack_doublest): Return l + r to keep r live across
20692 the call.
20693 * gdb.base/store.exp: Accomodate store.c changes.
20694
b2a7f303
DC
206952003-06-30 David Carlton <carlton@kealia.com>
20696
20697 * gdb.c++/maint.exp (test_invalid_name): New.
20698 (test_first_component): Add tests for invalid names.
20699
3c6cb4a1
MC
207002003-06-29 Michael Chastain <mec@shout.net>
20701
20702 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
20703 output of '<VTT for class>' for virtual base classes.
20704
f1c2644b
DJ
207052003-06-29 Daniel Jacobowitz <drow@mvista.com>
20706
20707 * gdb.base/completion.exp: Tab-complete "complet" instead of
20708 "compl".
20709 * gdb.base/complex.exp, gdb.base/complex.c: New files.
20710
18080350
DJ
207112003-06-29 Daniel Jacobowitz <drow@mvista.com>
20712
20713 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
20714 * gdb.base/volatile.exp: Likewise.
20715
f56973f8
DJ
207162003-06-29 Daniel Jacobowitz <drow@mvista.com>
20717
20718 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
20719 gdb/1265.
20720
207212003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
20722 Daniel Jacobowitz <drow@mvista.com>
20723
20724 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
20725 initial line count of 'captured_main' from 26 to 32.
20726 (test_with_self): Allow xmalloc call to be interleaved with the
20727 preceding two lines.
20728
e766d4d6
JB
207292003-06-24 Joel Brobecker <brobecker@gnat.com>
20730
20731 * gdb.base/bang.exp: New testcase.
20732
f125c9a4
JB
207332003-06-23 Joel Brobecker <brobecker@gnat.com>
20734
20735 * gdb.base/langs.exp: Add some tests for the "minimal" language
20736 support.
20737
6e25beaf
EZ
207382003-06-23 Elena Zannoni <ezannoni@redhat.com>
20739
20740 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
20741 the testcase.
20742
2f816dda
DJ
207432003-06-22 Daniel Jacobowitz <drow@mvista.com>
20744
20745 * gdb.base/relocate.exp: Test add-symbol-file with a variable
20746 offset.
20747
db5a5748
DJ
207482003-06-22 Daniel Jacobowitz <drow@mvista.com>
20749
20750 * gdb.c++/pr-1210.cc: New file.
20751 * gdb.c++/pr-1210.exp: New file.
20752
1df0c130
DJ
207532003-06-21 Daniel Jacobowitz <drow@mvista.com>
20754
20755 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
20756 000-exec-continue.
20757
a92feac0
MK
207582003-06-15 Mark Kettenis <kettenis@gnu.org>
20759
20760 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
20761 on *-*-*bsd* instead of *-*-freebsd*.
20762
81a58f5b
AC
207632003-06-14 Andrew Cagney <cagney@redhat.com>
20764
20765 * gdb.base/store.exp: Test longest and doublest. Test all
20766 parameters. Weaken return statement match.
20767 * gdb.base/store.c: Add longest and doublest - aka long long and
20768 long double functions. Put all parameters into local register
20769 variables. Use negative values.
20770
b257a0d3
AC
207712003-06-14 Andrew Cagney <cagney@redhat.com>
20772
20773 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
20774 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
20775 exit status.
20776 * gdb.base/fileio.exp: Disable target when nointerrupts and
20777 noinferiorio, instead of limiting it to remote. Use remote_exec
20778 instead of system.
d63a86f8 20779
21c38304
JJ
207802003-06-12 Jeff Johnston <jjohnstn@redhat.com>
20781
20782 * gdb.base/float.exp: Add ia64 support.
20783
1bcdb424
CV
207842003-06-12 Corinna Vinschen <vinschen@redhat.com>
20785
20786 * gdb.base/fileio.exp: Run only on remote targets.
20787
6aeb981f
CV
207882003-06-10 Corinna Vinschen <vinschen@redhat.com>
20789
20790 * gdb.base/fileio.c: New file, testing File-I/O.
20791 * gdb.base/fileio.exp: Ditto.
20792
53df362e
RG
207932003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
20794
20795 * gdb.base/shreloc.exp: New file, check symbol values obtained from
20796 shared objects after relocation at load time (gdb PR/1132).
20797 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 20798 as above, part of the shared object relocation test.
53df362e 20799
ffee1b46
MK
208002003-06-08 Mark Kettenis <kettenis@gnu.org>
20801
b5ca3722
MK
20802 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
20803 fully filled history list.
20804 * gdb.base/gdb_history: New file.
20805
03ed860d
MK
20806 * gdb.base/signals.exp: XFAIL "continue to func1" on
20807 i*86-*-freebsd*.
20808
ffee1b46
MK
20809 * gdb.base/attach.exp: When trying to attach to a nonexistent
20810 process, make it possible to specify the PID based on the target,
20811 and do so for *-*-freebsd*.
20812
d80dbb52
RH
208132003-06-02 Richard Henderson <rth@redhat.com>
20814
20815 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
20816
6dd77b81
RH
208172003-06-02 Richard Henderson <rth@redhat.com>
20818
20819 * gdb.base/selftest.exp: Next over lim_at_start initialization.
20820
f6347e16
RH
208212003-06-02 Richard Henderson <rth@redhat.com>
20822
20823 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
20824
2c161407
DJ
208252003-06-01 Daniel Jacobowitz <drow@mvista.com>
20826
20827 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
20828 of globalvar.
20829
572eb746
MK
208302003-06-01 Mark Kettenis <kettenis@gnu.org>
20831
20832 * gdb.asm/asm-source.exp: Check for memory read errors in
20833 disassembler test on *BSD too.
20834
9e9617a5
RH
208352003-06-01 Richard Henderson <rth@redhat.com>
20836
20837 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
20838 for .frame.
20839 (gdbasm_call): Lose ldgp.
20840 (gdbasm_startup): Add frame information.
20841 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
20842
7b34ad4e
MK
208432003-05-31 Mark Kettenis <kettenis@gnu.org>
20844
20845 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
20846 i?86-*-*.
20847
10059fdf
MK
208482003-05-30 Mark Kettenis <kettenis@gnu.org>
20849
20850 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20851 FreeBSD.
20852
acf4b816
RH
208532003-05-29 Richard Henderson <rth@redhat.com>
20854
20855 * gdb.asm/alpha.inc: New file.
20856 * gdb.asm/asm-source.exp: Use it.
20857
e9ecd949
JB
208582003-05-29 Jim Blandy <jimb@redhat.com>
20859
20860 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
20861 'core.PID'.
20862
e3e5a4f3
JB
208632003-05-22 Jim Blandy <jimb@redhat.com>
20864
20865 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
20866 backtrace.
d63a86f8 20867
72fe3d25
DC
208682003-05-20 David Carlton <carlton@math.stanford.edu>
20869
20870 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
20871 this time.
20872
58da2eb2
DC
208732003-05-19 David Carlton <carlton@bactrian.org>
20874
20875 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
20876 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
20877
1fcb5155
DC
208782003-05-19 David Carlton <carlton@bactrian.org>
20879
20880 * gdb.c++/namespace.exp: Add namespace scope and anonymous
20881 namespace tests.
20882 Bump copyright date.
20883 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
20884 (main): Call C::D::marker2.
20885 * gdb.c++/namespace1.cc: New file.
20886
85e85163
JJ
208872003-05-14 Jeff Johnston <jjohnstn@redhat.com>
20888
20889 Roland McGrath <roland@redhat.com>
d63a86f8 20890 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
20891 there is no manager thread.
20892
a25fbfec
JJ
208932003-05-08 Jeff Johnston <jjohnstn@redhat.com>
20894
d63a86f8
RM
20895 * gdb.threads/schedlock.exp: Remove assumption that all threads
20896 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
20897 in one of the child threads rather than the main thread.
20898
be375bae
JB
208992003-05-07 Jim Blandy <jimb@redhat.com>
20900
09bf6082
JB
20901 Add support for assembly source testing on the s390x.
20902 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
20903 architecture.
20904 * gdb.asm/s390x.inc: New file.
20905
be375bae
JB
20906 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
20907 succession of 'if' statements.
20908
00905d52
AC
209092003-05-05 Andrew Cagney <cagney@redhat.com>
20910
20911 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
20912
b1e29e33
AC
209132003-05-05 Andrew Cagney <cagney@redhat.com>
20914
20915 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
20916 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
20917
e33d66ec
EZ
209182003-05-02 Elena Zannoni <ezannoni@redhat.com>
20919
20920 * gdb.base/charset.exp: Update based on new behavior of set/show
20921 charset commands.
20922
2b6fd0d8
AC
209232003-05-01 Andrew Cagney <cagney@redhat.com>
20924
20925 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
20926 variable do not give memory errors.
20927
130cacce
AF
209282003-04-30 Adam Fedor <fedor@gnu.org>
20929
20930 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
20931 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
20932 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
20933 gdb.objc/basicclass.m: : New files
20934
20935 * lib/gdb.exp (gdb_compile_objc): New procedure.
20936
bea71854
DJ
209372003-04-27 Daniel Jacobowitz <drow@mvista.com>
20938
20939 * gdb.base/signals.exp: Make backtrace tests more specific.
20940
0f20eeea
DC
209412003-04-23 David Carlton <carlton@bactrian.org>
20942
20943 * gdb.c++/maint.exp (test_first_component): Add tests for
20944 'operator' in more locations.
20945
c8c4d8dc
KB
209462003-04-16 Kevin Buettner <kevinb@redhat.com>
20947
20948 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
20949
3fe60e3c
EZ
209502003-04-16 Elena Zannoni <ezannoni@redhat.com>
20951
20952 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 20953 func marke' instead. Update test name.
3fe60e3c 20954
9219021c
DC
209552003-04-15 David Carlton <carlton@math.stanford.edu>
20956
20957 * gdb.c++/maint.exp: New file.
20958
5dd55bdd
EZ
209592003-04-14 Elena Zannoni <ezannoni@redhat.com>
20960
20961 * gdb.threads/schedlock.c: Change type of thread function argument
20962 to long, to avoid warnings on 64-bit platforms.
20963
00890572
EZ
209642003-04-14 Elena Zannoni <ezannoni@redhat.com>
20965
a9c64011
AS
20966 * gdb.base/attach.exp: Add new message from ptrace in case of
20967 attaching to nonexistent process.
d63a86f8 20968
93201743
JB
209692003-04-11 Jim Blandy <jimb@redhat.com>
20970
20971 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20972 gdb.c++/userdef.cc: Place comments on the lines to which the
20973 marker function might return.
20974 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20975 gdb.c++/userdef.exp: Look for those comments to check that we've
20976 returned to the right place, instead of checking line numbers.
20977
2a11c64d
EZ
209782003-04-11 Elena Zannoni <ezannoni@redhat.com>
20979
a9c64011
AS
20980 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
20981 match on sourcefile name, instead of directory name.
2a11c64d 20982
68ab8fc5
EZ
209832003-04-10 Elena Zannoni <ezannoni@redhat.com>
20984
d63a86f8 20985 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
20986 working directory name.
20987
5624293a
JB
209882003-04-09 Jim Blandy <jimb@redhat.com>
20989
20990 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20991 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
20992 after an inferior function call, report the failure, but allow the
20993 test to continue.
20994
f1f02ee4
SC
209952003-04-05 Stephane Carrez <stcarrez@nerim.fr>
20996
20997 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
20998 with -DPROTOTYPES.
20999
6eb79af0
SC
210002003-04-05 Stephane Carrez <stcarrez@nerim.fr>
21001
21002 * gdb.base/break.exp: Revert last patch.
21003
8dfb4cf0
SC
210042003-04-04 Stephane Carrez <stcarrez@nerim.fr>
21005
21006 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
21007 with -DPROTOTYPES.
21008
ed4c619a
AC
210092003-04-02 Andrew Cagney <cagney@redhat.com>
21010
21011 * gdb.base/callfuncs.exp: Make "print add" messages unique.
21012 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
21013 matching directories by the name breakpoint.
21014 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
21015 Make "continue to marker1" consistent.
21016 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
21017 message consistent.
21018 * lib/gdb.exp: Put "the program is no longer running", and "the
21019 program exited" in parenthesis.
21020 * lib/mi-support.exp: Ditto.
d63a86f8 21021
4e35d5f0 210222003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 21023
4e35d5f0
BR
21024 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
21025
71900fe8
AC
210262003-03-29 Andrew Cagney <cagney@redhat.com>
21027
21028 * gdb.base/sizeof.c (main): Print the value of '\377'.
21029 * gdb.base/sizeof.exp: Check the sign of '\377'.
21030
c0655a16
MC
210312003-03-27 Michael Chastain <mec@shout.net>
21032
21033 * gdb.base/gdb1090.exp: New file.
21034 * gdb.base/gdb1090.cc: New file.
21035
5b2a3989
JB
210362003-03-27 J. Brobecker <brobecker@gnat.com>
21037
21038 * gdb.gdb/observer.exp: New regression test.
21039
79876890
MC
210402003-03-27 Michael Chastain <mec@shout.net>
21041
21042 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
21043 * gdb.base/ptype.exp: Likewise.
21044
6eac95e3
CV
210452003-03-27 Corinna Vinschen <vinschen@redhat.com>
21046
21047 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
21048
e8c71839
MC
210492003-03-26 Michael Chastain <mec@shout.net>
21050
21051 * gdb.base/ptype.exp: Actually use some typedef'd types.
21052
71b10041
SC
210532003-03-21 Stephane Carrez <stcarrez@nerim.fr>
21054
21055 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
21056 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
21057
2512cf80
CV
210582003-03-20 Corinna Vinschen <vinschen@redhat.com>
21059
21060 * gdb.base/default.exp: Fix regular expression.
21061
0d195a4f
CV
210622003-03-20 Corinna Vinschen <vinschen@redhat.com>
21063
21064 * gdb.base/args.exp: Fix regular expression.
21065
8a2dbca8
CV
210662003-03-20 Corinna Vinschen <vinschen@redhat.com>
21067
21068 * gdb.base/help.exp: Allow Win32 child process.
21069
bf028682
CV
210702003-03-20 Corinna Vinschen <vinschen@redhat.com>
21071
21072 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
21073 when stepping out of main().
21074
182dbe85
CV
210752003-03-20 Corinna Vinschen <vinschen@redhat.com>
21076
21077 * gdb.base/default.exp: Check for win32 specific message when calling
21078 "run" without executable.
21079
d67a6ba5
CV
210802003-03-20 Corinna Vinschen <vinschen@redhat.com>
21081
21082 * gdb.base/args.exp: Expect .exe in output.
21083
a955b5bb
CV
210842003-03-20 Corinna Vinschen <vinschen@redhat.com>
21085
21086 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
21087 Cygwin native.
21088
bf6bad4b
AC
210892003-03-17 Andrew Cagney <cagney@redhat.com>
21090
21091 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
21092 vector registes.
21093 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
21094 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
21095
293e9a31
DC
210962003-03-17 David Carlton <carlton@math.stanford.edu>
21097
21098 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
21099 test, for PR breakpoints/38.
21100 Call test_watchpoint_and_breakpoint.
21101 * gdb.base/watchpoint.c (func3): New function.
21102 (main): Call func3.
21103
5330f2db
DC
211042003-03-04 David Carlton <carlton@math.stanford.edu>
21105
21106 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
21107 Garply<Garply<char> >:: garply".
21108 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
21109 with respect to PR c++/1111; note also PR c++/1113.
21110 (test_template_breakpoints): KFAIL "constructor breakpoint" with
21111 respect to PR c++/1062.
21112 KFAIL "destructor breakpoint" with respect to PR c++/1112.
21113
6ece72da
DC
211142003-03-03 David Carlton <carlton@math.stanford.edu>
21115
21116 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
21117 with respect to PR c++/57.
21118 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
21119 c++/826.
21120 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
21121 respect to PR c++/57.
21122
85ca1584
DC
211232003-03-03 David Carlton <carlton@math.stanford.edu>
21124
21125 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
21126 respect to PR c++/33 into FAILs.
21127
98e9c5b8
MC
211282003-03-03 Michael Chastain <mec@shout.net>
21129
7bedbf27
MC
21130 * configure.in: Update copyright years.
21131
211322003-03-03 Michael Chastain <mec@shout.net>
21133
21134 * Makefile.in: Update copyright years.
98e9c5b8 21135
f683e100
DC
211362003-02-28 David Carlton <carlton@math.stanford.edu>
21137
21138 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
21139 print class instead of struct and/or superfluous protection
21140 specifiers, as long as the resulting output is equivalent to the
21141 source code.
21142 Delete FIXME from end of messages on tests that don't need
21143 fixing.
21144
a9e0cf2c
DC
211452003-02-28 David Carlton <carlton@math.stanford.edu>
21146
21147 * gdb.c++/templates.exp (do_tests): Allow const in the two
21148 Foo<volatile char *>::foo tests.
21149
e8d359df
MS
211502003-02-27 Michael Snyder <msnyder@redhat.com>
21151
d63a86f8 21152 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
21153 will be consistant.
21154
0b71dc91
DC
211552003-02-26 David Carlton <carlton@math.stanford.edu>
21156
21157 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
21158 char *>::foo" test with respect to PR c++/33. Create a new test
21159 which is identical to that one except that it doesn't put the
21160 space between the "char" and the "*"; KFAIL it, too.
21161
dd14ab43
DC
211622003-02-26 David Carlton <carlton@math.stanford.edu>
21163
21164 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
21165 template types into either PASSes or KFAILs (corresponding to PR
21166 c++/57). Tweak indentation. Update copyright.
21167
1146c7f1
SC
211682003-02-23 Stephane Carrez <stcarrez@nerim.fr>
21169
21170 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
21171
74641dfb
MC
211722003-02-13 Michael Chastain <mec@shout.net>
21173
21174 * gdb.base/exprs.exp: Remove i960 remnants.
21175 * gdb.base/funcargs.exp: Likewise.
21176 * gdb.base/list.exp: Likewise.
21177 * gdb.base/ptype.exp: Likewise.
21178
559cd2d0
DC
211792003-02-14 David Carlton <carlton@math.stanford.edu>
21180
21181 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
21182 pEe->D::vg()" from XFAIL to KFAIL.
21183
c4f90d87
JM
211842003-02-13 Jason Molenda (jmolenda@apple.com)
21185
21186 * gdb.base/maint.exp: Update maint print statistics regexp to include
21187 new entries.
21188
cbc4d97c
MC
211892003-02-13 Michael Chastain <mec@shout.net>
21190
21191 * gdb.c++/inherit.exp: Remove call to get_debug_format.
21192
40f235b7
MC
211932003-02-12 Michael Chastain <mec@shout.net>
21194
21195 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
21196 * gdb.c++/inherit.exp: Likewise.
21197 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
21198 * gdb.c++/templates.exp: Likewise.
21199 * gdb.c++/virtfunc.exp: Likewise.
21200
c56716b0
JM
212012003-02-06 Jason Molenda (jason-cl@molenda.com)
21202
21203 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
21204 why the code is written that way.
21205
070afcf8
MC
212062003-02-05 Michael Chastain <mec@shout.net>
21207
21208 * gdb.base/dump.exp: Add missing copyright line.
21209
5d0331e5
JM
212102003-02-05 Jason Molenda (jason-cl@molenda.com)
21211
f7ae6d3e 21212 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
21213 at the beginning so the breakpoint doesn't get set on the loop.
21214
92851186
MC
212152003-02-05 Michael Chastain <mec@shout.net>
21216
21217 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
21218 output for configurations with gcc 2.95.3.
21219
cbf1e085
AC
212202003-02-05 Keith Seitz <keiths@redhat.com>
21221 Andrew Cagney <ac131313@redhat.com>
21222
21223 * gdb.mi/mi-cli.exp: New file.
d63a86f8 21224
29518e1e
MC
212252003-02-04 Michael Chastain <mec@shout.net>
21226
21227 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
21228 Call perror and then continue.
21229
5af1d5f3
MC
212302003-02-03 Michael Chastain <mec@shout.net>
21231
21232 * gdb.c++/pr-1023.cc: New file.
21233 * gdb.c++/pr-1023.exp: New file.
21234
6b549786
JB
212352003-02-05 Jim Blandy <jimb@redhat.com>
21236
21237 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
21238 it's local to foobar. Check for it there, and check that it's not
21239 present in main.
21240 * gdb.c++/local.cc (marker2): New function.
21241 (foobar): Call marker1.
21242 (main): Call marker2 instead of marker1.
21243
67f16606
AC
212442003-02-04 Andrew Cagney <ac131313@redhat.com>
21245
21246 * gdb.disasm/mn10200.exp: Obsolete file.
21247 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
21248 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
21249 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
21250
1c5cb38e
DC
212512003-02-04 David Carlton <carlton@math.stanford.edu>
21252
21253 * gdb.c++/overload.exp: Test intToChar(1).
21254 * gdb.c++/overload.cc (intToChar): New.
21255 (main): Call intToChar.
21256
d1fe6965
DC
212572003-02-03 David Carlton <carlton@math.stanford.edu>
21258
21259 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
21260 'might_kfail' arg.
21261 KFAIL some of the continue_to_bp_overloaded calls, according to
21262 PR c++/1025.
21263
9ba61c5d
MC
212642003-02-01 Michael Chastain <mec@shout.net>
21265
21266 * gdb.base/advance.c (marker1): New marker function.
21267 * gdb.base/advance.exp: When the 'advance' command lands on the
21268 return breakpoint, it can legitimately stop on either the
21269 current line or the next line. Accommodate both outcomes.
21270 * gdb.base/until.exp: Likewise.
21271
e7494ffb
AC
212722003-02-02 Andrew Cagney <ac131313@redhat.com>
21273
21274 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
21275 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
21276 now a list, not a tuple.
21277 * gdb.mi/mi-var-display.exp: Ditto.
21278 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 21279
075559bc
AC
212802003-02-01 Andrew Cagney <ac131313@redhat.com>
21281
21282 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
21283 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
21284 stack backtraces.
21285 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 21286
2bd4c7b1
MK
212872003-02-01 Mark Kettenis <kettenis@gnu.org>
21288
21289 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21290 gdb.mi/mi1-pthreads.exp: Return instead of calling
21291 gdb_suppress_entire_file.
21292
eabd8992
MS
212932003-02-01 Mark Salter <msalter@redhat.com>
21294
21295 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
21296
71469e2f
MS
212972003-01-31 Mark Salter <msalter@redhat.com>
21298
21299 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
21300 Support empty arg.
21301
38a94d44
MC
213022003-01-30 Michael Chastain <mec@shout.net>
21303
21304 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
21305 This was a workaround for a UTF-8 bug in readline 4.3. The bug
21306 has been fixed in gdb/readline on 2003-01-09.
21307
19ea9e73
MS
213082003-01-29 Michael Snyder <msnyder@redhat.com>
21309
e8d359df
MS
21310 * gdb.base/maint.exp: Allow for leading underscore in symbol.
21311 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
21312 * gdb.base/args.exp: Skip if target does not support args passing.
21313
2307bd6a
DJ
213142003-01-22 Daniel Jacobowitz <drow@mvista.com>
21315
19ea9e73 21316 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
21317 gdb_test. Accept a list of expect arguments as the third
21318 parameter.
21319 (gdb_test): Use it.
21320
f2dd3617
EZ
213212003-01-20 Elena Zannoni <ezannoni@redhat.com>
21322
21323 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
21324 allow for different test tree configurations. Update some
21325 tescases accordingly.
21326 * gdb.arch/altivec-regs.exp: Ditto.
21327 * gdb.asm/asm-source.exp: Ditto.
21328 * gdb.base/advance.exp: Ditto.
21329 * gdb.base/display.exp: Ditto.
d63a86f8 21330 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
21331 * gdb.base/mips_pro.exp: Ditto.
21332 * gdb.base/overlays.exp: Ditto.
21333 * gdb.base/relocate.exp: Ditto.
21334 * gdb.base/setshow.exp: Ditto.
21335 * gdb.base/step-line.exp: Ditto.
21336 * gdb.base/step-test.exp: Ditto.
21337 * gdb.base/until.exp: Ditto.
21338 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
21339
c71cdefd
DC
213402003-01-17 David Carlton <carlton@math.stanford.edu>
21341
21342 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
21343 corresponding to PR c++/945.
21344 Update copyright.
21345
fdba05d7
DC
213462003-01-17 David Carlton <carlton@math.stanford.edu>
21347
21348 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
21349 corresponding to PR c++/68.
21350
213512003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
21352
21353 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
21354 (test_paddr_hairy_functions): Call print_addr_2_kfail for
21355 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
21356
c362c33a
EZ
213572003-01-15 Elena Zannoni <ezannoni@redhat.com>
21358
0fbc361c
EZ
21359 * gdb.base/break.exp: Fix change of default location, because of
21360 removal of until tests.
21361 * gdb.base/help.exp: Update test for new 'until' help message.
21362 Add test for help on 'advance'.
a9c64011 21363 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 21364
dabf8a35
MK
213652003-01-15 Mark Kettenis <kettenis@gnu.org>
21366
21367 * gdb.base/default.exp: Adapt "info float" test for recent changes
21368 to that command. Add test for "info vector".
21369 * gdb.base/float.exp: New file. Add test for "info float" that
21370 resembles the old test in gdb.base/default.exp.
21371
a1769aca
DC
213722003-01-15 David Carlton <carlton@math.stanford.edu>
21373
21374 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
21375
82025e13
EZ
213762003-01-15 Elena Zannoni <ezannoni@redhat.com>
21377
21378 * gdb.base/break.exp: Move the tests of until command from here...
21379 * gdb.base/until.exp: ... to here. New file. Add other tests.
21380 * gdb.base/advance.c: New file.
21381 * gdb.base/advance.exp: New file.
21382
8f9ab801
EZ
213832003-01-14 Elena Zannoni <ezannoni@redhat.com>
21384
a9c64011
AS
21385 * gdb.base/args.c: New file.
21386 * gdb.base/args.exp: New file.
8f9ab801 21387
9ae66589
DJ
213882003-01-14 Daniel Jacobowitz <drow@mvista.com>
21389
21390 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
21391
8d77e5c3
DJ
213922003-01-14 Daniel Jacobowitz <drow@mvista.com>
21393
21394 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
21395
12d2f0a1
DJ
213962003-01-14 Daniel Jacobowitz <drow@mvista.com>
21397
21398 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
21399 dates.
21400
6ca37014
DJ
214012003-01-13 Daniel Jacobowitz <drow@mvista.com>
21402
21403 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
21404
b0023472
DJ
214052003-01-13 Daniel Jacobowitz <drow@mvista.com>
21406
21407 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
21408 (ptype &*"foo").
21409 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
21410
607fbc54 214112003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
21412
21413 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
21414 * gdb.mi/mi1-console.exp: Likewise.
21415
607fbc54 214162003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
21417
21418 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
21419 * gdb.mi/mi1-console.exp: Likewise.
21420
a1fb14a2
DJ
214212003-01-13 Daniel Jacobowitz <drow@mvista.com>
21422
21423 * gdb.c++/overload.exp: Remove some fixed XFAILs.
21424
c4cf40b7
DJ
214252003-01-09 Daniel Jacobowitz <drow@mvista.com>
21426
21427 * gdb.base/detach.exp: New test.
21428
696d5a5b
DJ
214292003-01-09 Daniel Jacobowitz <drow@mvista.com>
21430
21431 * Makefile.in (ALL_SUBDIRS): New variable.
21432 (subdirs, clean, distclean): Use it.
21433 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
21434 regenerating Makefile, since it is generated from the top level.
21435 * gdb.asm/Makefile.in: Likewise.
21436 * gdb.base/Makefile.in: Likewise.
21437 * gdb.c++/Makefile.in: Likewise.
21438 * gdb.disasm/Makefile.in: Likewise.
21439 * gdb.java/Makefile.in: Likewise.
21440 * gdb.mi/Makefile.in: Likewise.
21441 * gdb.threads/Makefile.in: Likewise.
21442 * gdb.trace/Makefile.in: Likewise.
21443
754533e4
DC
214442003-01-09 David Carlton <carlton@math.stanford.edu>
21445
21446 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
21447 Add copyright year 2003.
21448
d8b3e9ee
MC
214492003-01-06 Michael Chastain <mec@shout.net>
21450
21451 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
21452 When selecting a thread, 'line' and 'file' are optional.
21453 * gdb.mi/mi1-pthreads.exp: Likewise.
21454
8e9e0fe6
AS
214552003-01-06 Andreas Schwab <schwab@suse.de>
21456
21457 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
21458 failures.
21459
b5ab8ff3
DJ
214602003-01-04 Daniel Jacobowitz <drow@mvista.com>
21461
21462 Fix PR gdb/844
21463 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
21464 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
21465
21466 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
21467 instead of calling gdb_suppress_entire_file.
21468 * gdb.threads/print-threads.exp: Likewise.
21469 * gdb.threads/schedlock.exp: Likewise.
21470
21471 * gdb.threads/killed.exp: Return instead of calling
21472 gdb_suppress_entire_file.
21473 * gdb.threads/linux-dp.exp: Likewise.
21474 * gdb.threads/pthreads.exp: Likewise.
21475
1e698235
DJ
214762003-01-04 Daniel Jacobowitz <drow@mvista.com>
21477
21478 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
21479 stabs.
21480 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
21481 * gdb.base/whatis.exp: Always allow (void) after function names.
21482
147ff08c
DJ
214832003-01-04 Daniel Jacobowitz <drow@mvista.com>
21484
21485 * gdb.c++/casts.exp: Correct regexp.
21486
dc62bfc2
MK
214872003-01-04 Mark Kettenis <kettenis@gnu.org>
21488
21489 * configure.in: Call AC_CONFIG_HEADER. Don't call
21490 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
21491 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
21492 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
21493 aforementioned directories in the AC_OUPUT call.
21494 * config.hin: New file.
21495 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21496 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
21497 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
21498 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
21499 pass -I$objdir instead of -I$objdir/$subdir in compilation.
21500 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
21501 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
21502 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
21503 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
21504 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
21505 gdb.threads/configure.in, gdb.threads/configure,
21506 gdb.threads/config.in, gdb.trace/configure.in,
21507 gdb.trace/configure: Removed.
21508
77afa639
MC
215092003-01-03 Michael Chastain <mec@shout.net>
21510
21511 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
21512 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
21513
7634bb6e
DJ
215142003-01-03 Daniel Jacobowitz <drow@mvista.com>
21515
21516 * gdb.base/store.exp: Fix regular expressions.
21517
b39c905e
MK
215182002-12-28 Mark Kettenis <kettenis@gnu.org>
21519
21520 * configure.in: Rewrite.
21521 * configure: Regenerated.
21522
0a8551dd
DC
215232003-01-03 David Carlton <carlton@math.stanford.edu>
21524
21525 * gdb.base/psymtab.exp: New file.
21526 * gdb.base/psymtab1.c: Ditto.
21527 * gdb.base/psymtab2.c: Ditto.
21528
c60b7188
AF
215292002-12-23 Adam Fedor <fedor@gnu.org>
21530
21531 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
21532
ee73db83
DC
215332002-12-23 David Carlton <carlton@math.stanford.edu>
21534
21535 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
21536 and current_directory initialization.
21537
d6c1774e
JB
215382002-12-22 Jim Blandy <jimb@redhat.com>
21539
f0a847b8
JB
21540 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
21541 rather than as part of the output file name.
21542
d6c1774e
JB
21543 * gdb.base/attach.exp: There's no need to copy the test program to
21544 /tmp; that was only ever necessary on HP/UX, and this test is
21545 entirely disabled there anyway.
21546
f0708dbb
JB
215472002-12-21 Jim Blandy <jimb@redhat.com>
21548
4c2acfea
JB
21549 * gdb.c++/psmang.exp: Doc fix.
21550
f0708dbb
JB
21551 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
21552 test.
21553
9579e000
DC
215542002-12-20 David Carlton <carlton@math.stanford.edu>
21555
21556 * gdb.c++/annota2.exp: KFAIL annotate-quit.
21557
d1810171
MC
215582002-12-18 Michael Chastain <mec@shout.net>
21559
21560 * gdb.c++/annota2.exp: Add copyright year 2002.
21561
76565097
DC
215622002-12-17 David Carlton <carlton@math.stanford.edu>
21563
21564 * gdb.c++/try_catch.cc: Add marker comments.
21565 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
21566 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
21567 * gdb.c++/m-static.cc: Ditto.
21568 * gdb.c++/m-static1.cc: Ditto.
21569 * gdb.c++/try_catch.cc: Ditto.
21570
da81390b
JJ
215712002-12-16 Jeff Johnston <jjohnstn@redhat.com>
21572
21573 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
21574 to see whether we are using the new -environment-directory
21575 command which resets via -r or the old version of the command
21576 which may prompt the user. Part of fix for gdb/741.
21577
b304d130
AC
215782002-12-13 Andrew Cagney <ac131313@redhat.com>
21579
21580 * gdb.fortran/types.exp: Update obsolete comment.
21581 * gdb.fortran/exprs.exp: Ditto.
21582 * lib/gdb.exp: Delete obsolete code.
21583 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
21584 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
21585 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
21586 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
21587 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
21588 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
21589 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
21590 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
21591 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
21592 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
21593 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
21594 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
21595 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
21596 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
21597 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
21598 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
21599 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
21600 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
21601 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
21602 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
21603 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
21604 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
21605 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
21606 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
21607 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
21608 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
21609 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
21610 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
21611 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
21612 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
21613 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
21614 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
21615 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
21616 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
21617 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
21618 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
21619 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
21620
a23b6e6a
DC
216212002-12-11 David Carlton <carlton@math.stanford.edu>
21622
21623 * gdb.c++/m-data.exp: Add test for members that shadow global
21624 variables: see PR gdb/804.
21625 * gdb.c++/m-data.cc: Ditto.
21626
6604731b
DJ
216272002-12-10 Daniel Jacobowitz <drow@mvista.com>
21628
21629 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
21630
de46ecd7
DC
216312002-12-06 David Carlton <carlton@math.stanford.edu>
21632
21633 * gdb.base/store.c: Don't declare functions static.
21634
27e829d0
AC
216352002-12-04 Andrew Cagney <ac131313@redhat.com>
21636
21637 * gdb.base/store.exp, gdb.base/store.c: New files.
21638
92806416
DJ
216392002-12-03 Daniel Jacobowitz <drow@mvista.com>
21640
21641 * gdb.base/selftest.exp: Update for current gdb.
21642
3bcbaac5
DJ
216432002-12-03 Daniel Jacobowitz <drow@mvista.com>
21644
21645 * gdb.base/maint.exp: Only dump symbols from one source file
21646 or objfile.
21647
f4f00b1f
DJ
216482002-12-03 Daniel Jacobowitz <drow@mvista.com>
21649
21650 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
21651 function call.
21652
f1c8a949
JB
216532002-11-25 Jim Blandy <jimb@redhat.com>
21654
21655 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
21656 function appearing in error message.
21657
9e297a97
DJ
216582002-11-21 Daniel Jacobowitz <drow@mvista.com>
21659
21660 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
21661
1f312e79
JJ
216622002-11-08 Jeff Johnston <jjohnstn@redhat.com>
21663
d63a86f8
RM
21664 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
21665 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
21666 should be in mi console format. This is part of fix for PR gdb/604.
21667
83c31e7d
FN
216682002-09-18 Fernando Nasser <fnasser@redhat.com>
21669
21670 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
21671 which explicitly prints the zero offset as "+0".
21672
322b3f65
DJ
216732002-10-22 Daniel Jacobowitz <drow@mvista.com>
21674
21675 * gdb.threads/schedlock.c (args): Make unsigned.
21676
216772002-10-21 Daniel Jacobowitz <drow@mvista.com>
21678
21679 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
21680 numbers. Allow "foo2|selected stack frame".
21681 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
21682 * gdb.asm/asmsrc2.s: Likewise.
21683 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
21684 comments.
21685 * gdb.asm/mips.inc: New file.
21686
5e2fe5b8
AF
216872002-10-18 Adam Fedor <fedor@gnu.org>
21688
21689 * gdb.base/default.exp: Update expected output to include 'ObjC'.
21690 * gdb.base/help.exp: Likewise.
21691
abe1a5d0
KB
216922002-10-17 Kevin Buettner <kevinb@redhat.com>
21693
21694 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
21695 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
21696
10abb1d4
JB
216972002-10-02 Jim Blandy <jimb@redhat.com>
21698
21699 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
21700
1f609b42
AC
217012002-10-01 Andrew Cagney <ac131313@redhat.com>
21702
21703 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
21704 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
21705 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
21706 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
21707 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
21708 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
21709 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
21710
0aee02e4
AC
217112002-09-29 Andrew Cagney <ac131313@redhat.com>
21712
21713 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
21714 * mi0-disassemble.exp, mi0-eval.exp: Delete.
21715 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
21716 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
21717 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
21718 * mi0-var-block.exp, mi0-var-child.exp: Delete.
21719 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 21720
6fde09ad
KB
217212002-09-27 Kevin Buettner <kevinb@redhat.com>
21722
21723 * gdb.base/annota1.exp (info break): Make directory components of
21724 path optional since not all compilers emit this debug information.
21725
889bf7c5
PA
21726 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
21727 step ends up stepping out of the function instead of stopping on
21728 the epilogue.
6fde09ad 21729
9e8aab75
KS
217302002-09-26 Keith Seitz <keiths@redhat.com>
21731
21732 * lib/insight-support.exp (gdbtk_start): Figure out where
21733 the insight executable is based on where gdb is. Use this
21734 executable to start insight instead of gdb.
21735
e36180d7
AC
217362002-09-25 Andrew Cagney <cagney@redhat.com>
21737
21738 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
21739
9dd34b2b
AC
217402002-09-24 Andrew Cagney <ac131313@redhat.com>
21741
21742 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
21743 test_isolated_complaints.
21744 (test_empty_complaint): New function.
21745 (test_empty_complaints): New function. Check no output when no
21746 complaints.
d63a86f8 21747
dea97812
KB
217482002-09-19 Jim Blandy <jimb@redhat.com>
21749
a9c64011 21750 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 21751
54951bd7
AC
217522002-09-19 Andrew Cagney <ac131313@redhat.com>
21753
21754 * gdb.gdb/complaints.exp: New file.
21755
dec43320
AC
217562002-09-18 Andrew Cagney <ac131313@redhat.com>
21757
21758 * gdb.base/maint.exp: Check `help maint internal-warning'.
21759
e70d6e3f
DC
217602002-09-18 David Carlton <carlton@math.stanford.edu>
21761
21762 * gdb.c++/m-static.exp: Remove breakpoints depending on line
21763 numbers, and replace them by a single breakpoint after the
21764 constructors are all finished.
21765 Add test 4.
21766 * gdb.c++/m-static.cc: Add test 4.
21767 * gdb.c++/m-static.h: New file.
21768 * gdb.c++/m-static1.cc: New file.
21769
21770 * gdb.c++/printmethod.exp: New file.
21771 * gdb.c++/printmethod.cc: New file.
21772
21773 * gdb.c++/pr-574.exp: New file.
21774 * gdb.c++/pr-574.cc: New file.
21775
afb5c968
CV
217762002-09-18 Corinna Vinschen <vinschen@redhat.com>
21777
21778 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
21779 embedded targets which never actually exit.
21780
31e45dee
FN
217812002-09-18 Fernando Nasser <fnasser@redhat.com>
21782
21783 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
21784 "don't step after run" as unresolved or unsupported, instead of xfail.
21785
a283c5a1
CV
217862002-09-18 Corinna Vinschen <vinschen@redhat.com>
21787
21788 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
21789 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
21790 Add newline to expected string in "step out of main (status wrapper)"
21791 case.
21792
11350d2a
CV
217932002-09-18 Corinna Vinschen <vinschen@redhat.com>
21794
21795 * lib/gdb.exp (rerun_to_main): Allow restarting application.
21796 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
21797
0deec7d6
TT
217982002-09-17 Tom Tromey <tromey@redhat.com>
21799
21800 * gdb.base/printcmds.exp (test_print_string_constants): Expect
21801 \000, not \0, in double-quoted string.
21802
b2b4a1b5
CV
218032002-09-14 Corinna Vinschen <vinschen@redhat.com>
21804
c9d37158 21805 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
21806 string after running the commands execution on breakpoint tests.
21807
1c56143a
CV
218082002-09-13 Corinna Vinschen <vinschen@redhat.com>
21809
21810 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
21811
37f8da45
JB
218122002-09-12 Joel Brobecker <brobecker@gnat.com>
21813
21814 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
21815
08b468e0
KS
218162002-09-10 Keith Seitz <keiths@redhat.com>
21817
21818 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
21819 runto proc.
21820 (mi_run_to_main): Use mi_runto.
21821 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
21822
dc360f58
KS
218232002-09-10 Keith Seitz <keiths@redhat.com>
21824
21825 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
21826 regexp for stopping at main. Could have multiple event notifications.
21827 Don't assume that main was declared with no parameters.
21828 (mi_next): Use mi_step_to.
21829 (mi_step): Use mi_next_to.
21830
ce3abcfb
CV
218312002-09-09 Corinna Vinschen <vinschen@redhat.com>
21832
21833 * gdb.base/default.exp: Fix expected string in `info float' test.
21834
d1f5b980
BE
218352002-09-09 Ben Elliston <bje@redhat.com>
21836
21837 * config/mips.exp: Update comments.
21838 * config/mips-idt.exp: Likewise.
21839 * config/nind.exp: Likewise.
21840 * config/slite.exp: Likewise.
21841 * config/sparclet.exp: Likewise.
21842 * config/udi.exp: Likewise.
21843 * config/vx.exp: Likewise.
21844 * config/vxworks29k.exp: Likewise.
21845
2f71430b
JB
218462002-09-05 Jim Blandy <jimb@redhat.com>
21847
21848 * gdb.threads/killed.exp: Fix test failure message.
21849
7ddebc7e
KS
218502002-09-04 Keith Seitz <keiths@redhat.com>
21851
21852 * lib/mi-support.exp: Update copyright.
21853 (mi_gdb_test): Increase the priority of the expected pattern
21854 so that it matches gdb_test.
21855
0ae67eb3
KS
218562002-09-03 Keith Seitz <keiths@redhat.com>
21857
21858 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
21859 Use integer comparison instead of string comparison for testing
21860 whether binary was built.
21861
38fc42c8
JB
218622002-09-03 Jim Blandy <jimb@redhat.com>
21863
21864 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
21865
b6ff0e81
JB
218662002-08-29 Jim Blandy <jimb@redhat.com>
21867
21868 * gdb.threads/pthreads.exp: Move the portable thread compilation
21869 code into a function in lib/gdb.exp, and call that from here.
21870 * lib/gdb.exp (gdb_compile_pthreads): New function.
21871
07c98896
KS
218722002-08-29 Keith Seitz <keiths@redhat.com>
21873
21874 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
21875 expect_out so that callers can get at it.
21876
0312286c
DJ
218772002-08-23 Daniel Jacobowitz <drow@mvista.com>
21878
21879 * gdb.threads/print-threads.c: New file.
21880 * gdb.threads/print-threads.exp: New file.
21881 * gdb.threads/schedlock.c: New file.
21882 * gdb.threads/schedlock.exp: New file.
21883
dd039bc4
EZ
218842002-08-22 Elena Zannoni <ezannoni@redhat.com>
21885
a9c64011
AS
21886 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
21887 not altivec.c.
dd039bc4 21888
1f36144c
MK
218892002-08-17 Mark Kettenis <kettenis@gnu.org>
21890
21891 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
21892 targets. The problem should be fixed now.
21893
16057ec7 218942002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
21895
21896 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
21897 2002-07-24 change that removes final dots from error messages.
21898
3c1499ad
TT
218992002-08-13 Tom Tromey <tromey@redhat.com>
21900
21901 * gdb.base/readline.exp: New file.
21902
a20ce2c3
AC
219032002-08-01 Andrew Cagney <ac131313@redhat.com>
21904
21905 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
21906 supress message.
21907
db034ac5
AC
219082002-08-01 Andrew Cagney <cagney@redhat.com>
21909
21910 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
21911 CHILL_FOR_TARGET and CHILL_LIB.
21912 * configure.in (configdirs): Remove gdb.chill.
21913 * configure: Regenerate.
21914 * lib/gdb.exp: Obsolete references to chill.
21915 * gdb.fortran/types.exp: Ditto.
21916 * gdb.fortran/exprs.exp: Ditto.
21917
3e000b18
KB
219182002-07-30 Kevin Buettner <kevinb@redhat.com>
21919
21920 * gdb.base/shlib-call.exp (additional_flags): Conditionally
21921 set Irix-specific compile and link flags.
21922
28f4966b
KB
219232002-07-29 Kevin Buettner <kevinb@redhat.com>
21924
21925 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
21926 source files. The ``-o'' option doesn't work with the ``-E'' option
21927 when using the Irix compiler.
21928
46c0d5a6
DJ
219292002-07-19 Daniel Jacobowitz <drow@mvista.com>
21930
21931 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
21932 Improve support for reusing an exec file. Copy exec file
21933 to target, and run gdbserver on the target instead of on the host.
21934
eecf4bed
JB
219352002-07-18 Jim Blandy <jimb@redhat.com>
21936
0f815cdf
JB
21937 * gdb.base/ending-run.exp: Don't expect to see the program end in
21938 some orderly fashion when we're running on a real stand-alone
21939 board.
21940
eecf4bed
JB
21941 * gdb.base/interrupt.exp: Correct logic for skipping tests on
21942 targets that don't support interrupts.
21943
52d309e4
JB
219442002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
21945
21946 * gdb.base/attach.exp: Add patterns to match output from /proc-based
21947 systems.
21948 Move comments in expect statements to inside the actions, so that they
21949 don't get matched against.
21950
ff683d9e
MK
219512002-07-10 Mark Kettenis <kettenis@gnu.org>
21952
21953 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
21954 function when asleep" test.
21955
b5356753
AC
219562002-07-10 Andrew Cagney <ac131313@redhat.com>
21957
21958 * gdb.base/page.exp: Rewrite to handle problems with very long
21959 `info set' output. Update copyright.
21960
6aa4d13a
AC
219612002-06-26 Andrew Cagney <ac131313@redhat.com>
21962
21963 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
21964 gdb.threads-hp.
21965 * gdb.hp/configure: Regenerate.
21966 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
21967 * gdb.hp/gdb.threads-hp/configure: Delete file.
21968 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
21969
8cf8c2b8
AC
219702002-06-22 Andrew Cagney <ac131313@redhat.com>
21971
21972 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
21973 setlocale, bindtextdomain and textdomain.
21974
6827a8f8
JB
219752002-06-11 Jim Blandy <jimb@redhat.com>
21976
919d772c
JB
21977 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
21978 preprocessor macro information is present.
21979
6827a8f8
JB
21980 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
21981 tests.
21982
c15b0d21
MS
219832002-06-06 Michael Snyder <msnyder@redhat.com>
21984
c5984d70
MS
21985 * gdb.base/overlays.exp: Record addresses of overlay
21986 functions in TCL variables rather than in GDB variables,
21987 to avoid having GDB convert them to pointers (with loss
21988 of information).
21989
d63a86f8 21990 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 21991 default linker script changes.
c15b0d21
MS
21992 * gdb.base/long_long.exp: Add check for sizeof (long double).
21993
be26fe0d
ML
219942002-06-06 Michal Ludvig <mludvig@suse.cz>
21995
21996 * gdb.asm/asm-source.exp: Add x86-64 target.
21997 * gdb.asm/x86_64.inc: New.
d63a86f8 21998
258093ca 219992002-05-30 Michael Chastain <mec@shout.net>
258093ca 22000
4b3153f1 22001 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
22002 * gdb.c++/m-static.cc: New file.
22003 * gdb.c++/m-static.exp: New file.
22004
241264c6
MS
220052002-05-28 Michael Snyder <msnyder@redhat.com>
22006
22007 * gdb.base/call-ar-st.exp: Allow for reduced floating point
22008 precision.
22009
9bba8c8f 220102002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 22011
4b3153f1 22012 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
22013 * gdb.c++/m-data.cc: New file.
22014 * gdb.c++/m-data.exp: New file.
22015
220162002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 22017
4b3153f1 22018 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 22019 * gdb.c++/try_catch.cc: New file.
d63a86f8 22020 * gdb.c++/try_catch.exp: New file.
9bba8c8f 22021
def1b996
MC
220222002-05-27 Michael Chastain <mec@shout.net>
22023
22024 * gdb.c++/local.exp: Accept more nested types in output.
22025
522ba268
MC
220262002-05-26 Michael Chastain <mec@shout.net>
22027
22028 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
22029
277254ba
MS
220302002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
22031
22032 * lib/gdb.exp (gdb_wrapper_init): Just because
22033 gdb_wrapper_file exists, this does not mean that the file
22034 should not be rebuilt. That is what gdb_wrapper_initialized
22035 is for.
22036 (default_gdb_init): Reset gdb_wrapper_initialized.
22037
b61a8733
MS
220382002-05-23 Michael Snyder <msnyder@redhat.com>
22039
d63a86f8 22040 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
22041 the precision of the floating point test results.
22042 * gdb.base/call-rt-st.exp: Ditto.
22043
b61a8733
MS
22044 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
22045 * gdb.base/call-rt-st.exp: Ditto.
22046
56f6e910
MC
220472002-05-19 Michael Chastain <mec@shout.net>
22048
22049 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
22050
ad0b0016
EZ
220512002-05-19 Elena Zannoni <ezannoni@redhat.com>
22052
a9c64011
AS
22053 * configure.in (configdirs): Add gdb.arch.
22054 * configure: Regenerate.
ad0b0016 22055
f617d2b6
JB
220562002-05-17 Jim Blandy <jimb@redhat.com>
22057
22058 * gdb.base/completion.exp: Recognize the more detailed error
22059 messages produced by the macro expander's lexical analyzer.
22060
eac2a696
EZ
220612002-05-14 Elena Zannoni <ezannoni@redhat.com>
22062
a9c64011
AS
22063 * gdb.arch/altivec-abi.c: New file.
22064 * gdb.arch/altivec-abi.exp: New file.
22065 * gdb.arch/altivec-regs.c: New file.
22066 * gdb.arch/altivec-regs.exp: New file.
eac2a696 22067
2fdde8f8
DJ
220682002-05-14 Daniel Jacobowitz <drow@mvista.com>
22069
22070 * gdb.base/maint.exp (maint print type): Update for new type
22071 structure.
d63a86f8 22072
e31f1a7c
EZ
220732002-05-14 Elena Zannoni <ezannoni@redhat.com>
22074
22075 * gdb.arch: New directory.
22076 * gdb.arch/configure.in: New file.
22077 * gdb.arch/configure: New file.
22078 * gdb.arch/Makefile.in: New file.
22079
db589741
CV
220802002-05-13 Corinna Vinschen <vinschen@redhat.com>
22081
22082 * gdb.asm/asm-source.exp: Add v850 as supported target.
22083 * gdb.asm/v850.inc: New file.
22084
8ce2a7dc
DJ
220852002-05-13 Daniel Jacobowitz <drow@mvista.com>
22086
22087 * gdb.c++/annota2.exp (annotate-quit): Add comment.
22088
df763c7f
DJ
220892002-05-12 Daniel Jacobowitz <drow@mvista.com>
22090
22091 * gdb.base/break.exp: Check 'break "marker2"'.
22092
377daeed
MS
220932002-05-10 Michael Snyder <msnyder@redhat.com>
22094
22095 * gdb.base/long_long.exp: Fix typo.
22096
c4b7bc2b
JB
220972002-05-10 Jim Blandy <jimb@redhat.com>
22098
ecac9a4e
JB
22099 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
22100 a bug.
22101
c4b7bc2b
JB
22102 * gdb.base/printcmds.exp (test_integer_literals_rejected):
22103 Recognize more detailed error message produced by the macro
22104 expander's lexical analyzer.
22105 * lib/gdb.exp (test_print_reject): Same.
22106
e71019a1
MK
221072002-05-09 Mark Kettenis <kettenis@gnu.org>
22108
22109 * gdb.c++/method.exp: Fix typo.
22110
fedfc8e6
MS
221112002-05-08 Michael Snyder <msnyder@redhat.com>
22112
166a1957
MS
22113 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
22114 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 22115 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
22116 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
22117 Add iftarget clause for strongarm.
d63a86f8 22118
f1c47eb2
MS
221192002-05-06 Michael Snyder <msnyder@redhat.com>
22120
cb9a9d3e
MS
22121 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
22122 (gdb_continue_to_end): Accept output from status wrapper.
22123 * gdb.base/ending-run.exp: Add case for output from status wrapper.
22124 Clean up fail messages to match pass messages.
22125
f1c47eb2
MS
22126 Enable the "needs_status_wrapper" testsuite feature.
22127 * lib/gdb.exp (gdb_wrapper_init): New procedure.
22128 (gdb_compile): Conditionally call gdb_wrapper_init.
22129 * gdb.base/a2-run.exp: Recognize output from status wrapper.
22130 * gdb.c++/method.exp: Recognize output from status wrapper.
22131
6079c749
BE
221322002-05-06 Ben Elliston <bje@redhat.com>
22133From Graydon Hoare <graydon@redhat.com>
22134
22135 * config/sid.exp: Include support for "rawsid" protocol.
22136
188baff3
JB
221372002-05-03 Jim Blandy <jimb@redhat.com>
22138
22139 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
22140 * gdb.c++/hang3.C: New file.
22141
b9c07f0f
AC
221422002-05-04 Andrew Cagney <ac131313@redhat.com>
22143
22144 * gdb.base/default.exp: Remove obsolete code.
22145 * gdb.c++/misc.exp: Ditto. Update copyright.
22146 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
22147 * gdb.base/whatis.exp: Ditto. Update copyright.
22148 * gdb.base/scope.exp: Ditto. Update copyright.
22149 * gdb.base/ptype.exp: Ditto. Update copyright.
22150 * gdb.base/printcmds.exp: Ditto. Update copyright.
22151 * gdb.base/opaque.exp: Ditto. Update copyright.
22152 * gdb.base/list.exp: Ditto.
22153 * gdb.base/funcargs.exp: Ditto. Update copyright.
22154 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
22155 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
22156 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
22157 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
22158 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
22159 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
22160
5c7a0397
MS
221612002-05-02 Michael Snyder <msnyder@redhat.com>
22162
d6dcc264 22163 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
22164 * gdb.base/long_long.exp: Add xscale target.
22165 * gdb.base/default.exp: Add xscale target.
22166
eb7f1c48
JB
221672002-05-01 Jim Blandy <jimb@redhat.com>
22168
22169 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
22170 gdb.c++/hang.exp: New test.
22171
a6befae8
FF
221722002-05-01 Fred Fish <fnf@redhat.com>
22173
22174 * gdb.base/completion.exp: Handle completions of "./Make" for
22175 more than one completion possibility, as is the case when we
22176 build and test in the source tree.
22177
0a310277
AG
221782002-04-29 Anthony Green <green@redhat.com>
22179
22180 * gdb.java/jmisc1.exp: New file.
22181 * gdb.java/jmisc2.exp: New file.
22182
6ff9af88
DJ
221832002-04-24 Daniel Jacobowitz <drow@mvista.com>
22184
22185 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
22186
96b3d632
EZ
221872002-04-23 Elena Zannoni <ezannoni@redhat.com>
22188
22189 * gdb.base/help.exp: Change 'help status' to allow for target
22190 dependent output differences.
22191
5019bb54
MC
221922002-04-22 Michael Chastain <mec@shout.net>
22193
22194 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
22195
a805a116
MC
221962002-04-22 Michael Chastain <mec@shout.net>
22197
22198 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
22199
a1706bfd
DM
222002002-04-17 David S. Miller <davem@redhat.com>
22201
22202 * gdb.asm/sparc64.inc: New file.
22203 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
22204
a73a20a2
EZ
222052002-04-19 Elena Zannoni <ezannoni@redhat.com>
22206
22207 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
22208 instruction file directly into the build tree. Clean up at end of
22209 test.
22210
ba678339
DM
222112002-04-18 David S. Miller <davem@redhat.com>
22212
22213 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
22214 handle 64-bit platforms correctly.
22215 * gdb.base/maint.exp: Likewise.
22216
b03399da
KB
222172002-04-18 Kevin Buettner <kevinb@redhat.com>
22218
22219 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
22220 ``-fpic'' when compiling files comprising a shared library, but
22221 it does need additional linker flags in order to find shared
22222 libraries at run time.
22223
e2004992
KB
222242002-04-18 Kevin Buettner <kevinb@redhat.com>
22225
22226 * gdb.base/cvexpr.c (use): New function.
22227 (main): Invoke use() on all global variables to prevent
22228 some linkers from deleting these otherwise unused symbols.
22229
d8937120
MC
222302002-04-17 Michael Chastain <mec@shout.net>
22231From David S. Miller <davem@redhat.com>
22232
22233 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
22234 handle 64-bit platforms correctly.
22235
ffd61a58
MS
222362002-04-12 Michael Snyder <msnyder@redhat.com>
22237From Jim Blandy <jimb@redhat.com>
a9c64011 22238 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
22239 script can handle this instead.
22240 * gdb.base/bar.c (barx): Same.
22241 * gdb.base/baz.c (bazx): Same.
22242 * gdb.base/grbx.c (grbxx): Same.
22243
22244 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
22245 manager doesn't automatically unmap overlays unnecessarily.
22246
6b8426a6
MH
222472002-04-10 Martin M. Hunt <hunt@redhat.com>
22248
22249 * gdb.base/ending-run.exp: Fix pattern for Mips targets
22250 stepping out of main.
22251
34af4875
MC
222522002-04-09 Michael Chastain <mec@shout.net>
22253
22254 * gdb.c++/local.cc (main): Move call to marker1() inside nested
22255 scope so that the nested scope tests will make sense.
22256 * gdb.c++/local.exp: Write patterns that actually work with gcc
22257 (the HP patterns "were never known to work with gcc").
22258 Keep the old aCC patterns too.
22259
2d1676a0
DJ
222602002-04-09 Daniel Jacobowitz <drow@mvista.com>
22261
22262 * gdb.base/attach.exp: Correct target board test.
22263
3a63e3f9
MC
222642002-04-08 Michael Chastain <mec@shout.net>
22265
22266 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
22267 in a const method. Add some xfail and fail cases for configurations
22268 that do not emit the "const ...".
22269
f18dabd2
MC
222702002-04-07 Michael Chastain <mec@shout.net>
22271
22272 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
22273 Accept "A * const" and "const A * const" as type of "this".
22274 Fix spelling of getFunky throughout. Make messages uniform.
22275
0fcddd82
EZ
222762002-04-07 Elena Zannoni <ezannoni@redhat.com>
22277
a9c64011 22278 Work around for PR gdb/285:
0fcddd82
EZ
22279 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
22280
16a8534a
EZ
222812002-04-07 Elena Zannoni <ezannoni@redhat.com>
22282
22283 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
22284 instructions file at run time instead of configure time.
22285 Sometimes we run the test in a directory that is not the one we
22286 configured in.
22287 * gdb.asm/configure.in: Delete creation of symlink.
22288 * gdb.asm/configure: Regenerate.
22289
24181d81
JB
222902002-04-05 J. Brobecker <brobecker@gnat.com>
22291
22292 * gdb.gdb/xfullpath.exp: New test, to exercise the new
22293 xfullpath () function.
22294
7cdb7107
DJ
222952002-04-04 Daniel Jacobowitz <drow@mvista.com>
22296
22297 * gdb.asm/Makefile.in: Correct dependencies.
22298
22299 * gdb.asm/powerpc.inc: New file.
22300 * gdb.asm/asm-source.exp: Add PowerPC.
22301 * gdb.asm/configure.in: Likewise.
22302 * gdb.asm/configure: Regenerated.
22303
a7d17088
DJ
223042002-04-04 Daniel Jacobowitz <drow@mvista.com>
22305
22306 * gdb.base/relocate.exp: New file.
22307 * gdb.base/relocate.c: New file.
22308
cd721503
FF
223092002-04-04 Fred Fish <fnf@redhat.com>
22310
22311 * gdb.base/step-test.exp: Update comment regarding stopping in
22312 memcpy/bcopy calls inserted as part of the compiler runtime.
22313
b22ad7a7
MS
223142002-04-04 Michael Snyder <msnyder@redhat.com>
22315
22316 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
22317
5f279fa6
DJ
223182002-04-03 Daniel Jacobowitz <drow@mvista.com>
22319
22320 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
22321 (gdb_expect): Remove $notransfer hack.
22322
dd0fd3ce
DJ
223232002-04-02 Daniel Jacobowitz <drow@mvista.com>
22324
22325 * gdb.c++/classes.exp ("calling method for small class"): Match
22326 updated register output.
22327
1e50cda1
DJ
223282002-03-30 Daniel Jacobowitz <drow@mvista.com>
22329
22330 Fix PR gdb/452
22331 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
22332 when finished. Make gdb_file_cmd send "exec-file" when
22333 appropriate.
22334
24015922
DJ
223352002-03-30 Daniel Jacobowitz <drow@mvista.com>
22336
22337 * gdb.base/attach.exp: Remove extra setup_xfail.
22338
dd7dfd64
MS
223392002-03-26 Michael Snyder <msnyder@redhat.com>
22340
22341 * gdb.base/default.exp: Add tests for dump, append, and restore.
22342 * gdb.base/help.exp: Add tests for dump, append, and restore.
22343 * gdb.base/dump.exp: New file, test dump, append and restore.
22344 * gdb.base/dump.c: New file.
22345
48b2f8d7
MS
223462002-03-27 Michael Snyder <msnyder@redhat.com>
22347
d63a86f8 22348 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
22349 clean-ups in help messages.
22350
05b4d525
FF
223512002-03-26 Fred Fish <fnf@redhat.com>
22352
22353 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
22354 have debugging info for those functions and the compiler uses them
22355 internally to copy structs around.
22356
d7679631
FF
223572002-03-26 Fred Fish <fnf@redhat.com>
22358
22359 * gdb.base/list.exp: Revert the change made yesterday and add note
22360 about why we don't list the default lines for remote targets.
22361
523ac3f9
MS
223622002-03-25 Michael Snyder <msnyder@redhat.com>
22363
22364 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
22365
754b2b8d
FF
223662002-03-25 Fred Fish <fnf@redhat.com>
22367
22368 * gdb.base/list.exp: This test works on remote targets so remove
22369 the short circuit for remote targets. Update copyright.
22370
33c3e192
FF
223712002-03-25 Fred Fish <fnf@redhat.com>
22372
22373 * gdb.base/attach.exp: Fix logic error that was suppressing this
22374 test for all non hppa*-*-hpux* targets, instead of the hp target.
22375 Move comments closer to the suppression point. Also now need to
22376 check that we are running natively.
22377
d43e73ee
MS
223782002-03-22 Michael Snyder <msnyder@redhat.com>
22379
882c8f02
MS
22380 * gdb.base/default.exp: Add test for gcore. Update copyright.
22381 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 22382
04c12f60
FF
223832002-03-06 Fred Fish <fnf@redhat.com>
22384
22385 * gdb.base/funcargs.c: Remove extraneous ';' character.
22386 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
22387
b43df995
MC
223882002-03-04 Michael Chastain <mec@shout.net>
22389
22390 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
22391 accommodate gcc v3 function signature.
22392 * gdb.mi/mi0-var-cmd-exp: Ditto.
22393
92362027
AC
223942002-02-24 Andrew Cagney <ac131313@redhat.com>
22395
22396 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
22397 ``GNU/Linux'' or ``Linux kernel''
22398 * testsuite/gdb.threads/pthreads.c: Ditto.
22399
258ad32d
MC
224002002-02-24 Michael Chastain <mec@shout.net>
22401
22402 * gdb.threads/pthreads.c (thread1): Add a return statement.
22403 (thread2): Likewise.
22404 (foo): Likewise.
22405
04c3b3d4
MC
224062002-02-23 Michael Chastain <mec@shout.net>
22407
22408 * gdb.threads/linux-dp.c (philosopher): Add a return statement
22409 to placate gcc.
22410
5a2a0a20
MC
224112002-02-23 Michael Chastain <mec@shout.net>
22412
22413 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
22414 test "ptype bint". The test passes on all my stabs configurations.
22415
a640f7fc
JB
224162002-02-21 Jim Blandy <jimb@redhat.com>
22417
27924826
JB
22418 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
22419 filename at a time, and watch for the ones we want to see.
22420
a640f7fc
JB
22421 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
22422 types of pointers to prototyped functions.
22423
edcc8c75
AC
224242002-02-20 Andrew Cagney <ac131313@redhat.com>
22425
22426 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
22427 signed, unsigned and straight char.
22428 (padding_char, padding_short, padding_int, padding_long,
22429 padding_long_long, padding_float, padding_double,
22430 padding_long_double): New global variables.
22431 (fill, fill_structs): New functions.
22432
22433 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
22434 for correctly sized writes. Update copyright.
22435 (get_valueof): New procedure.
22436 (get_sizeof): Call get_valueof.
22437 (check_valueof): New procedure.
22438 (check_padding): New procedure.
22439
ac57ea44
MC
224402002-02-20 Michael Chastain <mec@shout.net>
22441
22442 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
22443 to setup_xfail. Document some of the remaining calls.
22444
7a10c941
MC
224452002-02-18 Michael Chastain <mec@shout.net>
22446
22447 * gdb.c++/userdef.exp: Update copyright year.
22448
fb8acdcc
DJ
224492002-02-18 Daniel Jacobowitz <drow@mvista.com>
22450
22451 * gdb.c++/userdef.exp: Test overloaded operators properly.
22452 Remove xfails.
22453
fda6ae12
MS
224542002-02-14 Michael Snyder <msnyder@redhat.com>
22455
22456 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
22457
676a0442
DJ
224582002-02-14 Daniel Jacobowitz <drow@mvista.com>
22459
22460 * gdb.base/a2-run.exp: Check for a remote target properly.
22461 * gdb.base/annota1.exp: Likewise.
22462 * gdb.base/list.exp: Likewise.
22463 * gdb.base/reread.exp: Likewise.
22464 * gdb.base/scope.exp: Likewise.
22465 * gdb.base/shlib-call.exp: Likewise.
22466 * gdb.base/term.exp: Likewise.
22467 * gdb.c++/annota2.exp: Likewise.
22468
78b4f468
RE
224692002-02-13 Richard Earnshaw <rearnsha@arm.com>
22470
22471 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
22472
9a81ba51
MC
224732002-02-10 Michael Chastain <mec@shout.net>
22474
22475 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
22476 (call_after_alloca): Ditto.
22477
004af6c7
DJ
224782002-02-10 Daniel Jacobowitz <drow@mvista.com>
22479
22480 * gdb.base/ending-run.exp: Guard "cont" test with
22481 gdb_skip_stdio_test.
22482
37225f62
JB
224832002-02-06 Jim Blandy <jimb@redhat.com>
22484
22485 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
22486 from here...
22487 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
22488 To here. Disable this test on non-HP platforms. Add big comment.
22489
fe6fdd96
MS
224902002-02-04 Michael Snyder <msnyder@redhat.com>
22491
22492 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
22493 other than d10v and m32r.
22494
036fad3f
RE
224952002-02-02 Richard Earnshaw <rearnsha@arm.com>
22496
22497 * gdb.base/default.exp: Rewrite test patterns to reduce time
22498 taken to match them.
22499
7148ab62
DJ
225002002-01-30 Daniel Jacobowitz <drow@mvista.com>
22501
22502 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
22503 Allow a start function above main.
22504 * gdb.threads/linux-dp.exp: Fix copyright date.
22505
396cc255
DJ
225062002-01-30 Daniel Jacobowitz <drow@mvista.com>
22507
a9c64011
AS
22508 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
22509 (check_philosopher_stack): Check for manager thread before checking
22510 for a just-starting thread.
396cc255 22511
f038d31b
DJ
225122002-01-30 Daniel Jacobowitz <drow@mvista.com>
22513
22514 From Neil Booth <neil@daikokuya.demon.co.uk>:
22515 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
22516 warnings.
22517
b3ff9d9a
FF
225182002-01-21 Fred Fish <fnf@redhat.com>
22519
22520 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
22521 not caller.
22522
39ad761d
JB
225232002-01-21 Jim Blandy <jimb@redhat.com>
22524
22525 * gdb.base/reread.exp: Check that GDB properly re-reads the
22526 executable file when it changes while no inferior is running.
22527
aaf320fa
FF
225282002-01-21 Fred Fish <fnf@redhat.com>
22529
a9c64011
AS
22530 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
22531 optionally accept the "shlib events" variation.
aaf320fa 22532
808a31f5
JB
225332002-01-21 Jim Blandy <jimb@redhat.com>
22534
22535 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
22536 call `fflush' after every `printf', so that the output is produced
22537 at predictable points, regardless of whatever buffering does (or
22538 doesn't) take place.
22539 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
22540 at different points.
22541
4420d5e2
DJ
225422002-01-20 Daniel Jacobowitz <drow@mvista.com>
22543
22544 * gdb.c++/inherit.exp: Update copyright years.
22545 * gdb.c++/method.exp: Likewise.
22546
3e36a0f4
DJ
225472002-01-20 Daniel Jacobowitz <drow@mvista.com>
22548
22549 * gdb.c++/classes.exp: Update for improved v3 support and skipping
22550 artificial methods/arguments.
22551 * gdb.c++/derivation.exp: Likewise.
22552 * gdb.c++/inherit.exp: Likewise.
22553 * gdb.c++/method.exp: Likewise.
22554 * gdb.c++/virtfunc.exp: Likewise.
22555
b4ceaee6
AC
225562002-01-18 Andrew Cagney <ac131313@redhat.com>
22557
22558 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
22559 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
22560 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
22561 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
22562 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
22563 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
22564
ecace851
JB
225652002-01-17 Jim Blandy <jimb@redhat.com>
22566
22567 * gdb.asm/asm-source.exp (info symbol): Take another shot at
22568 anchoring the pattern matching the entry point symbol's name.
22569
375fc983
AC
225702002-01-17 Andrew Cagney <ac131313@redhat.com>
22571
22572 * gdb.base/maint.exp: Update ``maint internal-error'' to match
22573 continue/quit query. Update copyright.
22574
fe6fdd96
MS
225752002-01-14 Michael Snyder <msnyder@redhat.com>
22576
22577 * gdb.base/gcore.exp: Remove extra debugging output.
22578
e017c81f
DJ
225792002-01-13 Daniel Jacobowitz <drow@mvista.com>
22580
22581 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
22582 for slightly dubious v2 mangled string.
22583
37ab3bf8
DJ
225842002-01-13 Daniel Jacobowitz <drow@mvista.com>
22585
22586 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
22587
1bc05c3a 225882002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 22589
1bc05c3a 22590 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 22591
1bc05c3a
JM
22592 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
22593 constructors.
22594 * gdb.c++/derivation.exp: Likewise.
22595 * gdb.c++/templates.exp: Likewise.
22596 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 22597
1bc05c3a
JM
225982002-01-10 Michael Snyder <msnyder@redhat.com>
22599
22600 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 22601
a911c360
MS
226022002-01-08 Michael Snyder <msnyder@redhat.com>
22603
22604 * gdb.base/gcore.exp: New test for generate-core-file command.
22605 * gdb.base/gcore.c: Testcase for above.
22606 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
22607
ea2119ec
JM
226082002-01-08 Jason Merrill <jason@redhat.com>
22609
22610 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
22611
68203136
FF
226122002-01-07 Fred Fish <fnf@redhat.com>
22613
22614 * gdb.c++/overload.exp: Remove unconditional xfails for:
22615 print foo_instance1.overloadargs(1)
22616 print foo_instance1.overloadargs(1, 2)
22617 print foo_instance1.overloadargs(1, 2, 3)
22618 print foo_instance1.overloadargs(1, 2, 3, 4)
22619 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
22620 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
22621 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
22622 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
22623 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
22624 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
22625 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
22626 print foo_instance1.overload1arg()
22627 print foo_instance1.overload1arg((char)arg2)
22628 print foo_instance1.overload1arg((signed char)arg3)
22629 print foo_instance1.overload1arg((unsigned char)arg4)
22630 print foo_instance1.overload1arg((int)arg7)
22631 print foo_instance1.overload1arg((unsigned int)arg8)
22632 print foo_instance1.overload1arg((float)arg11)
22633 print foo_instance1.overload1arg((double)arg12)
d63a86f8 22634
21b9b5b1
MS
226352002-01-07 Michael Snyder <msnyder@redhat.com>
22636
22637 * gdb.base/huge.exp: New test. Print a very large target data object.
22638 (skip_huge_test): New test variable. Define if you want to skip this
22639 test. The test reads an 8 megabyte data object from the target, so it
22640 might be very time consuming on remote targets with a slow connection.
22641 * gdb.base/huge.c: New file. Test case for above.
22642
725f922e
FF
226432002-01-07 Fred Fish <fnf@redhat.com>
22644
22645 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
22646 g_instance.bfoo, and g_instance.cfoo.
22647
889bf7c5 226482002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 22649
889bf7c5
PA
22650 * gdb.base/break.c (multi_line_if_conditional): New function.
22651 (multi_ilne_while_conditional): Likewise.
22652 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
22653 IF or WHILE condition puts the breakpoint at the start of
22654 the condition.
f286b2c3 22655
634d57ec
JL
22656 * gdb.base/selftest.exp (backtrace through signal handler): Remove
22657 hppa*-*-hpux* expected failure.
22658 * gdb.base/structs.exp (do_function_calls): Similarly.
22659
22660 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
22661 watchpoints.
22662
9fbfe2dc
AC
226632002-01-06 Andrew Cagney <ac131313@redhat.com>
22664
22665 Fix PR gdb/66.
22666 * gdb.base/structs.exp: Replace skip for a29k with skip for
22667 gdb,cannot_call_functions.
22668 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
22669 * gdb.base/callfuncs.exp: Ditto.
22670 * gdb.base/call-rt-st.exp: Ditto.
22671 * gdb.base/call-strs.exp: Ditto.
22672 * gdb.base/callfwmall.exp: Ditto.
22673 * gdb.base/scope.exp: Obsolete xfail a29k.
22674 * gdb.c++/misc.exp: Ditto.
22675 * gdb.c++/cplusfuncs.exp: Ditto.
22676 * gdb.base/ptype.exp: Ditto.
22677 * gdb.base/printcmds.exp: Ditto.
22678 * gdb.base/opaque.exp: Ditto.
22679 * gdb.base/list.exp: Ditto.
22680 * gdb.base/funcargs.exp: Ditto.
22681 * gdb.base/default.exp: Ditto.
22682
8ddad156
MS
226832002-01-04 Michael Snyder <msnyder@redhat.com>
22684
ca4976a6 22685 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
22686 * gdb.base/maint.exp: Add tests for maint info sections options.
22687
1b074332
JL
22688Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
22689
22690 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
22691
7d159115
CV
226922001-12-20 Corinna Vinschen <vinschen@redhat.com>
22693
22694 * gdb.asm/arm.inc: New file.
22695 * gdb.asm/asm-source.exp: Add arm targets.
22696 * gdb.asm/configure.in: Ditto.
22697 * gdb.asm/configure: Recreated from configure.in.
22698
8fb87725
JL
22699Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
22700
afabe08c
JL
22701 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
22702 with HP's compiler.
22703 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
22704 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
22705 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
22706 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
22707
22708 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
22709 either HP's compilers or GCC.
22710
db521deb
JL
22711 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
22712 a SIGBUS or SIGSEGV.
22713
22714 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
22715
22716 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
22717 can be compiled with either HP's compiler or GCC.
22718
cfa88ab7
JL
22719 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
22720 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
22721 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
22722
ca344dff
JL
22723 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
22724 to match current gdb output. Update due to using auto-solib-limit
22725 for limiting instead of overloading auto-solib-add.
22726 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
22727 test program.
22728
3f3c6e55 22729 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
22730 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
22731 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
22732 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
22733 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
22734 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
22735 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
22736 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
22737 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
22738 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
22739 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
22740 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
22741 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 22742
8fb87725
JL
22743 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
22744 a SIGTRAP to the inferior.
22745
cf599fa7
CV
227462001-12-19 Corinna Vinschen <vinschen@redhat.com>
22747
22748 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
22749 Substitute call to target_link by call to gdb_compile.
22750
2cd045cd
JL
22751Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
22752
a9c64011
AS
22753 * gdb.base/break.exp: Fix HP specific search string when testing
22754 backtracing in a called function.
2cd045cd 22755
a9c64011
AS
22756 * gdb.base/constvars.exp: Only set lang to C++ if we're
22757 compiling the test with HP's compilers.
22758 * gdb.base/volatile.exp: Similarly.
2cd045cd 22759
99ebe9ac
JB
227602001-12-19 Jim Blandy <jimb@redhat.com>
22761
22762 * gdb.base/printcmds.exp: Expect the null character to be printed
22763 as '\0', and the '\013' to be printed as '\v'.
22764 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
22765 * gdb.base/setvar.exp: Same.
22766
b9891b29
JB
227672001-12-17 Jim Blandy <jimb@redhat.com>
22768
0eba65ab
JB
22769 * gdb.base/completion.exp: Rather than completing very long
22770 filenames, which can make the readline library produce output we
22771 don't recognize, cd to the directory first, and then complete
22772 using nice, short relative paths.
22773
6970b5b1
JB
22774 * gdb.base/completion.exp: On some systems, there is, in fact, a
22775 variable named `b' in scope, since GDB treats all static
a9c64011
AS
22776 variables as being in scope. So use `no_var_named_this'
22777 instead of `b'.
6970b5b1 22778
b9891b29 22779 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 22780 can't find the core file's registers as a failure.
b9891b29 22781
e6ccd35f
JSC
227822001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
22783
a9c64011
AS
22784 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
22785 test expect string more specific.
e6ccd35f 22786
105ba819
CV
227872001-12-13 Corinna Vinschen <vinschen@redhat.com>
22788
22789 * gdb.asm/asm-source.exp: Add support for xstormy16.
22790 * gdb.asm/configure.in: Ditto.
22791 * gdb.asm/configure: Rebuild.
22792 * gdb.asm/xstormy16.inc: New file.
22793
e9e79dd9
FF
227942001-12-10 Fred Fish <fnf@redhat.com>
22795
22796 * gdb.base/maint.exp: Update to match changes in type dumping code.
22797
347dc97d
JB
227982001-12-10 Jim Blandy <jimb@redhat.com>
22799
22800 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
22801 matching the entry point symbol's name at the beginning of the
22802 line.
347dc97d 22803
5178b9d6
DJ
228042001-12-07 Daniel Jacobowitz <drow@mvista.com>
22805
22806 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
22807 gdb.c++/inherit.exp, gdb.c++/method.exp,
22808 gdb.c++/namespace.exp, gdb.c++/templates.exp,
22809 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
22810 and class layout support.
22811
af890c52
DJ
228122001-12-07 Daniel Jacobowitz <drow@mvista.com>
22813
22814 * gdb.c++/classes.exp: Add test for static member function.
22815 * gdb.c++/misc.cc: Add class with static member function.
22816
7a345fb3
JB
228172001-12-07 Jim Blandy <jimb@redhat.com>
22818
f2e54a80 22819 If GDB says it can't find the struct the function returned, report
8032bf31
JB
22820 those tests as `unsupported'.
22821 * gdb.base/call-rt-st.exp (print_struct_call): New function.
22822 Rewrite subsequent tests to use it.
22823
22824 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
22825 those tests as `unsupported'.
22826 * gdb.base/structs.exp (call_struct_func): New function.
22827 (do_function_calls): Use call_struct_func to call the functions
22828 returning structs.
22829
0bc69509
JB
22830 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
22831 whether functions are prototyped or not, so we can't possibly pass
22832 arguments to t_float_values2 properly.
22833
7a345fb3
JB
22834 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
22835 value of `timeout' for targets other than the mips*tx39-*.
22836
edb6ede1
MS
228372001-12-06 Michael Snyder <msnyder@redhat.com>
22838
d63a86f8 22839 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
22840 and detect whether the start symbol has a leading underscore.
22841
2d842f13
JB
228422001-12-04 Jim Blandy <jimb@redhat.com>
22843
22844 * gdb.base/completion.exp: Clarify indentation.
22845
68550daf
JB
228462001-12-03 Jim Blandy <jimb@redhat.com>
22847
22848 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
22849 variables on the S/390, not `.word'.
22850
cd5195a8
JB
228512001-11-30 Jim Blandy <jimb@redhat.com>
22852
22853 Add assembly-source tests for s390-ibm-linux.
22854 * gdb.asm/s390.inc: New file.
22855 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
22856 the S/390 architecture.
a9c64011 22857 * gdb.asm/configure: Regenerated.
cd5195a8 22858
ca9efc90
MS
228592001-11-30 Michael Snyder <msnyder@redhat.com>
22860
22861 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
22862 next, info source, info sources, info line, global and static
22863 variables, and static functions.
22864 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
22865 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
22866 * gdb.asm/asmsrc1.s: Add a static function and some variables.
22867 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
22868 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
22869 (gdbasm_leave): Restore frame pointer.
22870 (gdbasm_startup): Copy stack set-up from crt0.S.
22871
d0e66976
FN
228722001-11-26 Fernando Nasser <fnasser@redhat.com>
22873
22874 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
22875 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
22876 to a local (non-static) variable. Copy tstruct.a to a static buffer
22877 and return a pointer to that buffer.
22878 * gdb.base/callfwmall.c (t_structs_a): Ditto.
22879
e2334072
MK
228802001-11-24 Mark Kettenis <kettenis@gnu.org>
22881
22882 * gdb.asm/configure.in: Fix recognition of ix86 target.
22883 * gdb.asm/configure: Regenerate.
22884
756caa3d
MS
228852001-11-21 Michael Snyder <msnyder@redhat.com>
22886
22887 * gdb.asm/sparc.inc: New file.
22888 * gdb.asm/asm-source.exp: Recognize sparc target.
22889 * gdb.asm/configure.in: Recognize sparc target.
22890 * gdb.asm/configure: Regenerate.
d63a86f8 22891
9a4d72d5
MS
228922001-11-21 Michael Snyder <msnyder@redhat.com>
22893
22894 * gdb.asm/m32r.inc: New file.
22895 * gdb.asm/asm-source.exp: Recognize m32r target.
22896 * gdb.asm/configure.in: Recognize m32r target.
22897 * gdb.asm/configure: Regenerate.
22898
a773d1cd
MS
228992001-11-20 Michael Snyder <msnyder@redhat.com>
22900
017ac23d
MS
22901 * gdb.asm/i386.inc: New file.
22902 * gdb.asm/asm-source.exp: Recognize ix86 target.
22903 * gdb.asm/configure.in: Recognize ix86 target.
22904 * gdb.asm/configure: Regenerate.
22905
a773d1cd
MS
22906 * gdb.c++/namespace.exp: Fix quotes in output messages.
22907
bb632afb
MS
229082001-11-14 Michael Snyder <msnyder@redhat.com>
22909
25d559ca 22910 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
22911 qualifier in a type cast expression, to designate an address
22912 in the instruction space (Harvard architecture).
22913
4749e309
MS
229142001-11-13 Michael Snyder <msnyder@redhat.com>
22915
22916 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
22917 Tests for expressions using 'const' and 'volatile'.
22918
25050984
CV
229192001-11-13 Corinna Vinschen <vinschen@redhat.com>
22920
22921 * gdb.asm/asm-sources.exp: Allow defining linker flags.
22922
1902c51f
DJ
229232001-11-12 Daniel Jacobowitz <drow@mvista.com>
22924
22925 * lib/mi-support.exp (mi_run_to_helper): Move comments
22926 outside of gdb_expect.
22927
dcf95b47
DJ
229282001-11-11 Daniel Jacobowitz <drow@mvista.com>
22929
22930 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
22931 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
22932 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
22933 mi0_run_to): New functions.
22934 * gdb.mi/mi-simplerun.exp: Use them.
22935 * gdb.mi/mi0-simplerun.exp: Likewise.
22936 * gdb.mi/mi-var-cmd.exp: Likewise.
22937 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 22938
45b074e1
AC
229392001-11-10 Andrew Cagney <ac131313@redhat.com>
22940
22941 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
22942 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
22943
bf50d346
AC
229442001-11-09 Andrew Cagney <ac131313@redhat.com>
22945
22946 * gdb.base/restore.exp: Include $expected value in restored test
22947 message.
22948
9383332c
AC
229492001-11-09 Andrew Cagney <ac131313@redhat.com>
22950
22951 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
22952 implemented.
22953
db62520a
MS
229542001-11-08 Michael Snyder <msnyder@redhat.com>
22955
22956 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
22957 Add pass/fail message for stop at breakpoint in call dummy function.
22958
b5703437
MS
229592001-11-07 Michael Snyder <msnyder@redhat.com>
22960
d63a86f8
RM
22961 * gdb.c++/templates.exp (test_template_breakpoints):
22962 If we get an overload menu, but it does not match what
760f6330 22963 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
22964 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
22965 making the whitespace optional. Argument for "new" may be
22966 "unsigned" as well as "unsigned int/long".
d63a86f8 22967 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
22968 making the whitespace optional. Also replace "(void) with
22969 "((void|)), making the keyword "void" optional.
d63a86f8 22970 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
22971 making the whitespace optional. Also replace "(void) with
22972 "((void|)), making the keyword "void" optional.
3bf40917
MS
22973 * gdb.base/callfuncs.c (t_float_values): This function must
22974 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 22975 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
22976 can be tested against both cases. Usually one case involves
22977 promotion of float to double, while the other does not.
22978 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
22979 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
22980 includes a stack frame for "start".
22981
c8ab4e6d
JB
229822001-11-05 Jim Blandy <jimb@redhat.com>
22983
22984 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
22985 pointers are 32 bits long, and that offsets of relocs are always
22986 stored in the data (REL-style), and not in the reloc entry itself
22987 (RELA-style).
22988 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
22989 stabs.
22990
3f08ced9
MS
229912001-11-01 Michael Snyder <msnyder@redhat.com>
22992
22993 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
22994 and regular expression operators by using quoting.
22995
cbfa24cd
MS
229962001-10-31 Michael Snyder <msnyder@redhat.com>
22997
22998 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
22999 depending on what the symbol table contains.
23000 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
23001 the output of the ptype command. Similarly, accept both "const &"
23002 and "const&".
23003
aaa68313
CV
230042001-10-31 Corinna Vinschen <vinschen@redhat.com>
23005
23006 * gdb.base/miscexprs.c (main): Add usage of preprocessor
23007 symbol `STORAGE' to allow to choose the storage class of
23008 the local datastructures.
23009 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
23010 compiler directive.
23011
91740388
MS
230122001-10-30 Michael Snyder <msnyder@redhat.com>
23013
23014 * gdb.base/jump.exp: Allow it to run for all targets.
23015
1b7c05e7
CV
230162001-10-29 Corinna Vinschen <vinschen@redhat.com>
23017
23018 * gdb.base/call-ar-st.c (print_double_array): Match for loop
23019 with new double_array size.
23020 (main): Change storage class of all local variables to static.
23021 Reduce size of double_array to 9.
23022 * gdb.base/call-ar-st.exp: Increase timeout value.
23023 Change expected output for double array to match new size in
23024 call-ar-st.c.
23025
36a22261
CV
230262001-10-29 Corinna Vinschen <vinschen@redhat.com>
23027
23028 * gdb.base/ending-run.exp: Create identical output when passing
23029 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 23030 Stormy16 target.
36a22261 23031
92b8ae91
MK
230322001-10-28 Mark Kettenis <kettenis@gnu.org>
23033
23034 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
23035 that we catch the expected failure under Linux/x86.
23036
cb135b83
OF
230372001-10-29 Orjan Friberg <orjanf@axis.com>
23038
23039 * gdb.base/setvar.exp: Escape curly braces.
23040 * gdb.stabs/weird.exp: Ditto.
23041
6884aa54
DJ
230422001-10-27 Daniel Jacobowitz <drow@mvista.com>
23043
23044 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
23045 * gdm.mi/mi0-hack-cli.exp: Likewise.
23046
0398c9aa
AC
230472001-10-25 Andrew Cagney <ac131313@redhat.com>
23048
23049 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
23050 messages.
23051
d20bf2e8
AC
230522001-10-21 Andrew Cagney <ac131313@redhat.com>
23053
23054 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
23055 checking MI enabled.
23056
03dd63aa
CV
230572001-10-09 Corinna Vinschen <vinschen@redhat.com>
23058
23059 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
23060
1d9d99f3
FCE
230612001-10-04 Frank Ch. Eigler <fche@redhat.com>
23062
23063 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
23064 if gdb child process crashes, just signal an error.
23065
838ae6c4
JB
230662001-10-02 Jim Blandy <jimb@redhat.com>
23067
23068 * lib/gdb.exp (test_xfail_format): Simplify.
23069
23070 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
23071 front of the variable name `format'. Simplify `if'.
23072
8f0cbc1c
DJ
230732001-10-01 Daniel Jacobowitz <drow@mvista.com>
23074
23075 * gdb.threads/pthreads.exp: Wait for output and delay
23076 before sending ^C.
23077
1f08dafd
DJ
230782001-10-01 Daniel Jacobowitz <drow@mvista.com>
23079
23080 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
23081 some incorrect output instead of timing out.
23082 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
23083
674f90ff
CV
230842001-09-28 Corinna Vinschen <vinschen@redhat.com>
23085
23086 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
23087 check to allow additional `int'.
23088
9b284272
DJ
230892001-09-27 Daniel Jacobowitz <drow@mvista.com>
23090
23091 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
23092 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
23093
b55a4771
MS
230942001-09-27 Michael Snyder <msnyder@redhat.com>
23095
23096 * lib/gdb.exp (test_debug_format): New proc.
23097 (setup_xfail_format): Use new proc test_debug_format.
23098 * gdb.base/constvars.exp (local_compiler_xfail_check): New
23099 proc; use new service proc test_debug_format.
23100 Replace all other "gcc_compiled" tests with this test.
23101 * gdb.base/volatile.exp (local_compiler_xfail_check): New
23102 proc; use new service proc test_debug_format.
23103 Replace all other "gcc_compiled" tests with this test.
23104
231052001-09-27 Michael Snyder <msnyder@redhat.com>
23106
23107 * gdb.base/cvexpr.exp: New file.
23108 * gdb.base/cvexpr.c: New file
23109 Test for expressions using const and volatile keywords.
23110
4e6667ac
CV
231112001-09-26 Corinna Vinschen <vinschen@redhat.com>
23112
23113 * gdb.base/constvars.exp: Check for different orders of keywords
23114 and additional "int" strings in output.
23115
4f337972
AC
231162001-09-22 Andrew Cagney <ac131313@redhat.com>
23117
23118 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
23119 responses from "help maint".
23120
2015650d
FCE
231212001-09-19 Frank Ch. Eigler <fche@redhat.com>
23122
23123 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
23124 to localhost:NNN instead of :NNN, in case Xvfb is listening
23125 only on TCP.
23126
f3bcedc1
CV
231272001-09-19 Corinna Vinschen <vinschen@redhat.com>
23128
23129 * gdb.base/recurse.exp: When checking leaving the watchpoint
23130 scope, recognize when gdb is in function's epilogue and pass.
23131
6b819c92
KS
231322001-09-18 Keith Seitz <keiths@redhat.com>
23133
23134 * lib/insight-support.exp (_gdbtk_export_target_info): Add
23135 support for running tests against sid targets.
23136 (gdbtk_done): Ditto.
23137
a10c9419
CV
231382001-09-18 Corinna Vinschen <vinschen@redhat.com>
23139
23140 * gdb.base/ending-run.c (main): Set stdout buffersize
23141 to the same reasonable value for any target.
23142 * gdb.base/ending-run.exp: Add a regular expression
23143 to make testsuite happy on Sanyo Stormy16 target.
23144
739d0d99
CV
231452001-09-17 Corinna Vinschen <vinschen@redhat.com>
23146
23147 * gdb.base/display.c (do_loops): Add float variable `f'.
23148 Increment f in loop.
23149 * gdb.base/display.exp: Increment timeout by 60 seconds.
23150 Change float display test to use variable `f'.
23151
1b8947f0
JB
231522001-09-17 Jim Blandy <jimb@redhat.com>
23153
23154 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
23155 overflowing the limited breakpoint tables on some ROM monitors
23156 (like the ROM68K).
23157
9890ac81
FCE
231582001-09-15 Frank Ch. Eigler <fche@redhat.com>
23159
23160 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
23161 the "-ac" (disable access control) flag.
23162
6db765ea
JH
231632001-08-30 Jeff Holcomb <jeffh@redhat.com>
23164
23165 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
23166 ints.
23167
4c32cc04
KS
231682001-08-30 Keith Seitz <keiths@redhat.com>
23169
23170 * lib/gdb.exp: Move all insight-related functionality into
23171 separate file.
23172 * lib/insight-support.exp: New file.
23173
8d6e6f81
FCE
231742001-08-29 Frank Ch. Eigler <fche@redhat.com>
23175
23176 * config/sid.exp (sid_start): Never set sid verbosity; disable
23177 expect_background {} that consumed its stdout; tolerate </dev/null.
23178 Attempt to set endianness override in "sid" protocol mode. Cleanup.
23179
6a90e1d0
AC
231802001-08-18 Andrew Cagney <ac131313@redhat.com>
23181
23182 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
23183 CLI jump command to start it.
23184 (mi_run_to_main): Fail immediatly when unexpected output.
23185
1759b3c3
AC
231862001-08-18 Andrew Cagney <ac131313@redhat.com>
23187
23188 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
23189 beginning of function. Fix PR gdb/191.
23190
61d11d80
FCE
231912001-08-16 Frank Ch. Eigler <fche@redhat.com>
23192
23193 * config/sid.exp (sid_start): Don't warn if we cannot figure out
23194 what to force sid endianness to.
23195
942a4df2
KS
231962001-08-15 Keith Seitz <keiths@redhat.com>
23197
23198 * lib/gdb.exp (gdbtk_start): Don't set environment
23199 variables for TCL_LIBRARY and friends. Insight will
23200 now figure these out for itself.
23201
0521c418
MS
232022001-08-02 Michael Snyder <msnyder@redhat.com>
23203
23204 * gdb.base/completion.exp: Remove the symbol "a64l" from
23205 the expect string; this is target-specific, and not related
23206 to what is being tested.
23207
74a9a58a
DB
232082001-08-02 Dave Brolley <brolley@redhat.com>
23209
23210 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
23211
c70819fa
MS
232122001-07-25 Michael Snyder <msnyder@redhat.com>
23213
c2b8fa57
MS
23214 * gdb.base/consecutive.exp: New file. Test stepping over
23215 breakpoints on consecutive instructions.
23216 * gdb.base/consecutive.c: New file.
23217
c70819fa
MS
23218 * gdb.base/call-rt-st.exp: Use double-backslash to quote
23219 curly braces in regular expressions.
23220
2b1a1355
MS
232212001-07-25 Michael Snyder <msnyder@redhat.com>
23222
23223 * gdb.base/ending-run.exp: Accept "Program exited normally" as
23224 legitimate output from stepping out of main.
23225
413eca6f
KS
232262001-07-22 Keith Seitz <keiths@redhat.com>
23227
23228 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
23229 the empty string, do not run the tests.
23230
7e5a9322
SC
232312001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23232
23233 * gdb.base/long_long.exp: Detect size of pointer. Take into
23234 account 2-byte pointers when testing for p/a results.
23235
de58f10f
SC
232362001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23237
d63a86f8 23238 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
23239 and defined to 1K for m68hc11.
23240 (random_data): Reduce table to 1K for embedded platforms (68hc11).
23241 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
23242 (sizeof_random_data): New variable to tell the size of the data table;
23243 don't test past this size; always run to main.
23244
d6f5fea1
SC
232452001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23246
23247 * gdb.base/return2.exp: return of long long and double fails for
23248 68HC11; don't execute these tests on that platform.
23249 * gdb.base/return.exp: Return of a double fails for 68hc11.
23250
c477543d
SC
232512001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23252
23253 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
23254 tests that print a float.
23255 * call-rt-st.exp: Likewise.
23256
63cf1c79
MK
232572001-07-12 Mark Kettenis <kettenis@gnu.org>
23258
23259 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
23260 running this test on Linux.
23261
112f9ab5
MC
232622001-06-24 Michael Chastain <chastain@redhat.com>
23263
23264 * gdb.base/arithmet.exp: Remove some tests to make all test names
23265 unique.
23266
4970cb0f
MS
232672001-07-03 Michael Snyder <msnyder@redhat.com>
23268
23269 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
23270 the output of the ptype command.
23271
d85da69f
MS
232722001-07-02 Michael Snyder <msnyder@redhat.com>
23273
4c8a82de
MS
23274 * gdb.base/completion.exp: Don't assume that break.c is the only
23275 source file that may contain functions named "marker".
d85da69f
MS
23276 * gdb.base/corefile.exp: Quote the curly braces in regexp.
23277
8afc772b
AC
232782001-06-28 Andrew Cagney <ac131313@redhat.com>
23279
23280 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
23281 of files to delete.
23282
23283 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
23284 * gdb.disasm/h8300s.exp: New file.
23285 gdb.disasm/h8300s.s: Likewise.
23286
cff22675
AC
232872001-06-27 Andrew Cagney <ac131313@redhat.com>
23288
23289 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
23290 empty breakpoint tables.
23291
68c81b54
AC
232922001-06-25 Andrew Cagney <ac131313@redhat.com>
23293
23294 * lib/mi-support.exp: Update args=... part of stop-reason
23295 patterns. Accept either a list or a tuple.
23296
2dd62704
AC
232972001-06-23 Andrew Cagney <ac131313@redhat.com>
23298
23299 * lib/mi-support.exp: Remove local emacs variable defining
23300 change-log-default-name.
23301
b4127474
MC
233022001-06-22 Michael Chastain <chastain@redhat.com>
23303
23304 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
23305 This is operationally compatible with the previous version.
23306
8dbfb380
JB
233072001-06-13 Jim Blandy <jimb@redhat.com>
23308
23309 * lib/gdb.exp (gdb_test): Doc fix.
23310
f2d8c86d
MC
233112001-06-10 Michael Chastain <chastain@redhat.com>
23312
23313 * gdb.base/exprs.exp: Remove a duplicate test.
23314
81564d34
JB
233152001-06-06 Jim Blandy <jimb@redhat.com>
23316
23317 * gdb.base/return2.exp (main): Use values to test float and double
23318 returns that are not NaN's, to avoid being confused by IEEE
23319 comparison rules.
23320
da55addb
MS
233212001-06-04 Michael Snyder <msnyder@redhat.com>
23322
23323 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 23324 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
23325 rather than wait for 12 more tests to time out.
23326
42c65987
JB
233272001-06-06 Jim Blandy <jimb@redhat.com>
23328
b18bced9 23329 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 23330 Don't forget to match the GDB prompt.
b18bced9 23331
42c65987
JB
23332 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
23333
5b41e5f0
JB
233342001-06-04 Jim Blandy <jimb@redhat.com>
23335
23336 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
23337 command.
23338
015e046f
KB
233392001-05-31 Kevin Buettner <kevinb@redhat.com>
23340
23341 * gdb.base/annota1.exp (info break): Match four or more spaces
23342 after "Address".
23343
fb1ffbbe
MC
233442001-05-31 Michael Chastain <chastain@redhat.com>
23345
23346 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
23347 (dm_type_int_star): Likewise.
23348 (dm_type_long_star): Likewise.
23349 (dm_type_void_star): Likewise.
23350
5ea2a32c
KB
233512001-05-29 Kevin Buettner <kevinb@redhat.com>
23352
23353 * gdb.base/completion.exp (INPUTRC): Set this environment variable
23354 to a known value in order to get consistent results regardless
23355 of the setting of INPUTRC or the presence or contents of .inputrc.
23356
ae23c492
MS
233572001-05-24 Michael Snyder <msnyder@redhat.com>
23358
ac55707e
MS
23359 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
23360 Don't require that the main thread and the manager thread are the
23361 first in the list.
23362
ae23c492
MS
23363 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
23364 debugging. If test fails, issue an "unsupported" not a "fail".
23365
400071f1
JB
233662001-05-24 Jim Blandy <jimb@redhat.com>
23367
23368 Don't assume that short is shorter than int.
23369 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
23370 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 23371 this isn't true.
400071f1
JB
23372 ("print unsigned char == (~0)"): Add test that verifies that ~0,
23373 an int, is not equal to ~0 stored in an unsigned char. This tests
23374 the same thing that the previous test meant to, but works on
23375 16-bit machines, too.
23376 ("print unsigned char != (~0)"): Same test, complemented.
23377
0816a3e5
MS
233782001-05-24 Michael Snyder <msnyder@redhat.com>
23379
23380 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 23381 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
23382 and prevents dejagnu getting out of step.
23383
f6dc23a9
KB
233842001-05-23 Kevin Buettner <kevinb@redhat.com>
23385
23386 * gdb.base/finish.exp (finish_void): Revise pattern for
23387 stopping on the call statement to not permit stopping at
23388 the start of the instructions comprising the call sequence.
23389
7dbd117d
MC
233902001-05-19 Michael Chastain <chastain@redhat.com>
23391
23392 * gdb.base/callfuncs.exp: Make all test names unique.
23393 * gdb.base/commands.exp: Make all test names unique.
23394 * gdb.base/condbreak.exp: Make all test names unique.
23395 * gdb.base/dbx.exp: Make all test names unique.
23396 * gdb.base/default.exp: Make all test names unique.
23397 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
23398 and TIMEOUT messages to their corresponding PASS message.
23399 * gdb.base/ending-run.exp: Make all test names unique.
23400 * gdb.base/long_long.exp: Remove duplicate test.
23401
6b0b0a9e
KB
234022001-05-21 Kevin Buettner <kevinb@redhat.com>
23403
23404 * gdb.base/finish.exp (finish_void): Allow "finish" command to
23405 stop on the call statement as well as the statement after the
23406 call.
23407
2caa35cb
MS
234082001-05-21 Michael Snyder <msnyder@redhat.com>
23409
23410 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
23411
40713331
EZ
234122001-05-10 Elena Zannoni <ezannoni@redhat.com>
23413
a9c64011
AS
23414 * gdb.base/completion.exp: Revamp test. Make it execute on all
23415 platforms.
40713331 23416
c2c1be8d
EZ
234172001-05-10 Elena Zannoni <ezannoni@redhat.com>
23418
a9c64011
AS
23419 * config/gdbserver.exp (gdb_load): Handle the case
23420 in which the arguments to gdbserver are given in the
23421 baseboard configuration file.
23422 Also handle the case in which the server needs to do a
23423 load.
2c9cd303 23424
9671de48
KS
234252001-05-07 Keith Seitz <keiths@cygnus.com>
23426
a9c64011
AS
23427 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
23428 set up the display for testing.
23429 (gdbtk_start): Convert all paths to paths that tcl will like.
23430 Export target information to environment.
23431 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
23432 necessary.
23433 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
23434 (to_tcl_path): New proc to convert a given pathname into
23435 a path acceptible as an argument to a tcl command.
23436 (_gdbtk_export_target_info): New proc to export target info
23437 into the environment for gdbtk testing.
23438 (gdbtk_done): New proc to signal end-of-test.
9671de48 23439
5a360f47
JB
234402001-05-06 Jim Blandy <jimb@redhat.com>
23441
23442 * restore.c: Make the code of caller0 correspond to its comment.
23443
66c756c6
MS
234442001-05-03 Michael Snyder <msnyder@redhat.com>
23445
23446 * config/sid.exp (gdb_target_sid): Check for error messages.
23447 On error or timeout, don't make expect exit (which will terminate
23448 all subsequent tests); instead just make gdb exit.
d63a86f8 23449 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
23450 return a negative value.
23451
a966fde5
JB
234522001-04-24 Jim Blandy <jimb@redhat.com>
23453
851c18e0
JB
23454 * gdb.c++/templates.exp: If we see the prompt for the overload
23455 list, but we haven't recognized any of the longer patterns,
23456 arrange for this test to fail, not hang.
23457
a966fde5
JB
23458 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
23459 variations.
23460
db144853
MC
234612001-04-22 Michael Chastain <chastain@redhat.com>
23462
23463 * gdb.c++/local.exp: Use the 'runto' library function.
23464 * gdb.c++/namespace.exp: Likewise.
23465 * gdb.c++/overload.exp: Likewise.
23466
3207ec21
KB
234672001-03-26 Kevin Buettner <kevinb@redhat.com>
23468
23469 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
23470 * gdb.base/step-line.exp: New file. Test step/next in presence of
23471 #line directives.
23472 * gdb.base/step-line.c: New file. Test program for the above.
23473 * gdb.base/step-line.inp: New file. We pretend that this file has
23474 been transformed by some other tool into step-line.c.
23475
13b57657
JB
234762001-03-21 Jim Blandy <jimb@redhat.com>
23477
23478 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
23479 unmangled operator names.
23480
754cbe1c
JB
234812001-03-20 Jim Blandy <jimb@redhat.com>
23482
23483 * gdb.threads/linux-dp.exp: Recognize an additional message
23484 generated by GDB when it doesn't understand how to debug threads
23485 on the target system.
23486
177495c9
AC
234872001-03-19 Andrew Cagney <ac131313@redhat.com>
23488
23489 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
23490
f266096b
MC
234912001-03-12 Michael Chastain <chastain@redhat.com>
23492
23493 * gdb.c++/derivation.exp: Use the 'runto' library function.
23494
cac3c2ff
MC
234952001-03-12 Michael Chastain <chastain@redhat.com>
23496
23497 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
23498
b6c11a24
MC
234992001-02-24 Michael Chastain <chastain@redhat.com>
23500
23501 * gdb.c++/ref-types.exp: Change handwritten code to library
23502 function 'runto'.
23503
6bae5bce
OF
235042001-03-16 Orjan Friberg <orjanf@axis.com>
23505
23506 * gdb.base/signals.exp: Set count to 0 explicitly.
23507
0015fd9a
MS
235082001-03-15 Mark Salter <msalter@redhat.com>
23509
23510 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
23511 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
23512 (gdb_load): Add support for additional target_info: gdb_download_size
23513 and gdb_load_timeout.
0015fd9a 23514
fc33412a
DT
23515Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
23516
23517 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
23518 file -- to prevent failing when the compile fails but we have no
23519 intention of running the tests anyway.
fc33412a
DT
23520
23521 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
23522 tests if set.
23523
23524 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 23525 integers.
fc33412a
DT
23526
23527 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
23528 * gdb.c++/namespace.exp: Ditto.
23529
115f06de
OF
235302001-03-07 Orjan Friberg <orjanf@axis.com>
23531
23532 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
23533 * gdb.base/pointers.exp: Relax pattern match of decimals.
23534
b6ba6518
KB
235352001-03-06 Kevin Buettner <kevinb@redhat.com>
23536
23537 * Makefile.in, config/abug.exp, config/cfdbug.exp,
23538 config/cpu32bug.exp, config/dve.exp, config/est.exp,
23539 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
23540 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
23541 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
23542 config/sh.exp, config/sid.exp, config/slite.exp,
23543 config/sparclet.exp, config/udi.exp, config/unknown.exp,
23544 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
23545 config/vxworks.exp, config/vxworks29k.exp,
23546 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
23547 gdb.base/all-bin.exp, gdb.base/annota1.exp,
23548 gdb.base/arithmet.exp, gdb.base/assign.exp,
23549 gdb.base/async.exp, gdb.base/attach.exp,
23550 gdb.base/bitfields.exp, gdb.base/bitops.exp,
23551 gdb.base/break.exp, gdb.base/call-ar-st.exp,
23552 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
23553 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
23554 gdb.base/commands.exp, gdb.base/completion.exp,
23555 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
23556 gdb.base/constvars.exp, gdb.base/corefile.exp,
23557 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
23558 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
23559 gdb.base/ending-run.exp, gdb.base/environ.exp,
23560 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
23561 gdb.base/finish.exp, gdb.base/foll-exec.exp,
23562 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
23563 gdb.base/funcargs.exp, gdb.base/help.exp,
23564 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
23565 gdb.base/logical.exp, gdb.base/long_long.exp,
23566 gdb.base/maint.exp, gdb.base/mips_pro.exp,
23567 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
23568 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
23569 gdb.base/pointers.exp, gdb.base/printcmds.exp,
23570 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
23571 gdb.base/regs.exp, gdb.base/relational.exp,
23572 gdb.base/remote.exp, gdb.base/reread.exp,
23573 gdb.base/restore.exp, gdb.base/return2.exp,
23574 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
23575 gdb.base/selftest.exp, gdb.base/setshow.exp,
23576 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
23577 gdb.base/sigall.exp, gdb.base/signals.exp,
23578 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
23579 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
23580 gdb.base/step-test.exp, gdb.base/structs.c,
23581 gdb.base/structs.exp, gdb.base/structs2.exp,
23582 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
23583 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
23584 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
23585 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
23586 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
23587 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
23588 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
23589 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
23590 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
23591 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
23592 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
23593 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
23594 gdb.fortran/types.exp, gdb.java/jmisc.exp,
23595 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
23596 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
23597 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
23598 gdb.trace/circ.exp, gdb.trace/collection.exp,
23599 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
23600 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
23601 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
23602 gdb.trace/report.exp, gdb.trace/save-trace.exp,
23603 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
23604 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
23605 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
23606 notices.
23607
dc96c6c7 236082001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
23609
23610 * gdb.base/varargs.c (find_max_double): Fix printf format string:
23611 first arg is int not float.
23612
dc96c6c7 236132001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
23614
23615 * gdb.base/reread.exp: Unsupported for non-native targets;
23616 doesn't work for remote debugging.
23617
9b0c4aeb
FN
236182001-02-19 Fernando Nasser <fnasser@redhat.com>
23619
23620 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
23621 * gdb.base/ending-run.exp: Properly handle the BSP state when
23622 stepping past the end of main.
9b0c4aeb 23623
02aa71d5
MC
236242001-02-19 John Moore <jmoore@redhat.com>
23625
23626 * gdb.base/commands.exp (infrun_breakpoint_command_test):
23627 Converted HPUX fix for non-expected items following multiple
23628 step commands into general solution for all platforms.
23629
1fa449a4
MC
236302001-02-18 Michael Chastain <chastain@redhat.com>
23631
23632 * gdb.c++/classes.exp (do_tests): Change runto statements
23633 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23634 statements demangler agnostic.
23635 * gdb.c++/virtfunc.exp (do_tests): Likewise.
23636 (gdb_virtfunc_restart): Likewise.
23637
b2f9ec70
MC
236382001-02-14 Michael Chastain <chastain@redhat.com>
23639
23640 * gdb.c++/inherit.exp (do_tests): Change runto statements
23641 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23642 statements demangler agnostic.
23643
cf74b8ca
AC
23644Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
23645
23646 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
23647 ``continue to bkpt at common_routine in thread 2'' and ``stopped
23648 before calling common_routine 15 times'' tests.
cf74b8ca 23649
99f78f56
MC
236502001-02-11 Michael Chastain <chastain@redhat.com>
23651
23652 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
23653 Helps the test script figure out which demangler is in use.
23654 (dm_type_foo_ref): Ditto.
23655 (dm_type_int_star): Ditto.
23656 (dm_type_long_star): Ditto.
23657 (dm_type_unsigned_int): Ditto.
23658 (dm_type_void): Ditto.
23659 (dm_type_void_star): Ditto.
99707966 23660 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
23661 Probe the gdb demangler and set variables to accommodate
23662 formatting differences.
23663 (info_func_regexp): New function. Same as info_func, but
23664 matches against a regexp.
23665 (info_func): Match against a literal string.
23666 (print_addr_2): New function. Match against a literal string,
23667 which can be different from the input to gdb.
23668 (print_addr): Simply call print_addr_2 with the same argument twice.
23669 (test_lookup_operator_functions): Use demangler formatting variables.
23670 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
23671 the tests in the same order as the C++ class declaration.
23672 (test_paddr_operator_functions): Ditto.
23673 (test_paddr_overloaded_functions): Ditto.
23674 (test_paddr_hairy_functions): Use demangler formatting variables.
23675 Add reference to gdb/19 for related tests.
23676 (do_tests): Call probe_demangler.
23677
1de8f023
KB
236782001-01-30 Kevin Buettner <kevinb@redhat.com>
23679
23680 * gdb.c++/templates.cc (printf): Remove unused function definition.
23681
ca3f91ed
MS
236822001-01-26 Felix Lee <flee@redhat.com>
23683
23684 * sid.exp (sid_exit): Pass host, not target, to remote_close.
23685
236862001-01-25 matthew green <mrg@redhat.com>
23687
23688 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
23689 up sid.
23690 (sid_exit): Call `remote_pop_conn' after GDB is gone.
23691
236922001-01-25 matthew green <mrg@redhat.com>
23693
23694 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 23695 Deprecate $sid_spawn_id.
ca3f91ed
MS
23696 (sid_exit): Remove code necessary only for `spawn.'
23697
236982001-01-25 matthew green <mrg@redhat.com>
23699
23700 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
23701
fb18ec4a
MC
237022001-01-28 Michael Chastain <chastain@redhat.com>
23703
23704 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
23705 to call when tests fail. It takes gdb out of the overloaded
23706 function choice menu back to the main prompt, so that the test
23707 program stays synchronized.
23708 (set_bp_overloaded): New proc to collect all the common
23709 code for setting a breakpoint on an overloaded name. Calls
23710 take_gdb_out_of_choice_menu when needed.
23711 (menu_overload1arg): New variable to collect the repeated
23712 instances of the expected menu for an overloaded name. Change
23713 the regular expression to handle changes in g++ type encoding:
23714 "void" can be either "void" or "", and "unsigned int" can be
23715 either "unsigned int" or "unsigned".
23716 (continue_to_bp_overloaded): Change regular expressions to handle
23717 changes in g++ type encoding.
23718 (no proc): Call take_gdb_out_of_choice_menu when needed.
23719 Remove redundant calls to "info break". Accept either "canceled"
23720 or "cancelled". Change regular expressions in "info break"
23721 calls to handle changes in g++ type encoding. Give all tests
23722 unique strings.
23723
9c646a6e
BE
237242001-01-17 Ben Elliston <bje@redhat.com>
23725
23726 * config/sid.exp: New file.
23727
9549d9c1
AC
23728Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
23729
23730 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
23731
dc96c6c7 237322000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
23733
23734 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
23735 Add a RE to accept a non-ascii char if one is ever presented.
23736
b4df4f68
FN
237372000-12-20 Fernando Nasser <fnasser@redhat.com>
23738
297dd0fd 23739 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 23740
dc96c6c7 237412000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 23742
d63a86f8 23743 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
23744 in regexp. One '\' does not suffice on Linux.
23745
4a7bddb6
MC
237462000-12-09 Michael Chastain <chastain@redhat.com>
23747
23748 * gdb.base/break.exp (test_clear_command): Use a marker function
23749 rather than 'main' for the test function. Also move this
23750 test to an execution point where the marker function names are
23751 guaranteed to be bound to functions. (Executing tests after a
23752 'finish' from main runs into name conflicts with local names
23753 in __libc_start_main).
23754
dc96c6c7 237552000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
23756
23757 * gdb.base/finish.exp: New test for gdb's "finish" command.
23758 * gdb.base/return2.exp: New test for gdb's "return" command.
23759 * gdb.base/return2.c: New source file for above.
23760
dc96c6c7 237612000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
23762
23763 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
23764 * gdb.base/miscexprs.exp: Ditto.
23765 * gdb.base/pointers.exp: Ditto.
23766 * gdb.c++/derivation.exp: Ditto.
23767 * gdb.c++/local.exp: Ditto.
23768 * gdb.c++/namespace.exp: Ditto.
23769 * gdb.c++/overload.exp: Ditto.
23770 * gdb.c++/ref-types.exp: Ditto.
23771
dc96c6c7 237722000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
23773
23774 * gdb.base/constvars.exp: Test result of "up" command.
23775 * gdb.base/miscexprs.exp: Ditto.
23776 * gdb.base/pointers.exp: Ditto.
23777 * gdb.base/scope.exp: Ditto.
23778 * gdb.c++/derivation.exp: Ditto.
23779 * gdb.c++/local.exp: Ditto.
23780 * gdb.c++/namespace.exp: Ditto.
23781 * gdb.c++/overload.exp: Ditto.
23782 * gdb.c++/ref-types.exp: Ditto.
23783
44097287
FN
237842000-11-22 Michael Chastain <chastain@redhat.com>
23785
23786 * mips_pro.exp: Accept either "middle -> top -> main" or
23787 "middle -> main" in the backtrace, because gcc can optimize
23788 tail calls to jumps. Remove setup_xfail for the hppa case.
23789 Add a comment with the original warning messages from PR 3016,
23790 which was filed in 1993, to preserve them for posterity.
23791
9d2e1bab
ND
237922000-11-17 Nick Duffek <nsd@redhat.com>
23793
23794 * lib/gdb.exp (gdb_test): Override timeout with board info.
23795
1aca8eb7
ND
237962000-11-17 Nick Duffek <nsd@redhat.com>
23797
23798 * gdb.base/display.exp: Don't kill running stub. Add "again" to
23799 the second kill and detach messages.
23800
93076499
ND
238012000-11-17 Nick Duffek <nsd@redhat.com>
23802
23803 * configure.in: Add AC_EXEEXT.
23804 * configure: Regenerate.
23805 * Makefile.in (just-check): Export EXEEXT.
23806 * lib/gdb.exp ($EXEEXT): Import from environment.
23807 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
23808 expect "maint dump-me" on Cygwin.
23809 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
23810 $EXEEXT.
23811
30e87cd3
ND
238122000-11-17 Nick Duffek <nsd@redhat.com>
23813
23814 * gdb.base/break.exp: Test backtrace and finish from called
23815 function on all platforms, not just HP-UX.
23816
dc96c6c7 238172000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
23818
23819 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
23820 code from gdb_target_monitor, so it can be used independantly
23821 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 23822
dc96c6c7 238232000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
23824
23825 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
23826 * gdb.base/corefile.exp: Expect the message "Program is being
23827 debugged already" when we send the "corefile" command, since
23828 the preceeding gdb_load may have connected gdb to a remote target.
23829 * gdb.base/display.exp: Disable hardware watchpoints if new
23830 board info variable "no_hardware_watchpoints" is true.
23831 Replace single-letter commands with more readable ones.
23832 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
23833 if new board info variable "no_hardware_watchpoints" is true.
23834 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
23835 to see if stdio (printf) testing is possible.
23836 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
23837 board info variable "no_hardware_watchpoints" is true. Use new
23838 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
23839
39124dea
FN
238402000-11-13 Fernando Nasser <fnasser@redhat.com>
23841
23842 From Orjan Friberg <orjanf@axis.com>:
23843 * gdb.base/printcmds.exp: Escape curly braces followed by a number
23844 in array print pattern match.
23845
a9e2e984
FN
238462000-11-09 Fernando Nasser <fnasser@redhat.com>
23847
23848 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
23849 spelling "cancelled" to U.S. spelling "canceled" to match changes
23850 made to gdb.
23851 * gdb.c++/ovldbreak.exp: Ditto.
23852
c7db355b
PS
238532000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23854
23855 * gdb.base/callfuncs.c (main): Moved to end of file, call
23856 t_double_values to initialize the FPU before inferior calls are made.
23857 * gdb.base/callfuncs.exp: Test for register preservation after calling
23858 inferior functions. Add tests for continuining, finishing and
23859 returning from a stop in a call dummy.
23860
dc96c6c7 238612000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
23862
23863 * gdb.base/commands.exp: Break up long lines, and re-indent.
23864
dc96c6c7 238652000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
23866
23867 * config/gdbserver.exp: Rewritten from the ground up, to make it
23868 compatible with the current dejagnu tree, and to make it work with
23869 the new "gdbserver" in libremote.
23870
dc96c6c7 238712000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
23872
23873 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
23874 * gdb.base/varargs.exp: Skip entire test if no printf support.
23875 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
23876 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
23877
dc96c6c7 238782000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
23879
23880 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
23881 no floating point support.
23882 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
23883 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
23884 * gdb.base/call-rt-st.exp: Ditto.
23885 * gdb.base/call-strs.exp: Ditto.
23886
bac5fc66
JG
238872000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
23888
23889 * gdb.base/sizeof.c: include <stdio.h>.
23890
23891 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
23892 'finish', otherwise uncaptured gdb_prompt would potentially
23893 throw remaining test points out of sync.
bac5fc66 23894
b22a6027
SB
238952000-07-26 Scott Bambrough <scottb@netwinder.org>
23896
23897 * gdb.base/recurse.exp: Run tests for all targets.
23898 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
23899 gnu-oldld case on ARM.
23900 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
23901 for ARM targets.
d63a86f8 23902
d8231941
AG
23903Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
23904
23905 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
23906 * gdb.java/configure: Rebuild.
23907
8caabe69
AG
23908Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
23909
23910 * gdb.java/jv-exp.exp: New file.
23911
9d273ca3
AG
23912Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
23913
23914 * configure: Rebuilt.
23915 * configure.in (configdirs): Add gdb.java.
23916 * gdb.java/jmisc.java: New file.
23917 * gdb.java/jmisc.exp: New file.
23918 * gdb.java/Makefile.in: New file.
23919 * gdb.java/configure: Rebuilt.
23920 * gdb.java/configure.in: New file.
23921 * lib/java.exp: New file.
23922
4f823a66
AC
23923Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
23924
23925 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 23926 underflow.
4f823a66 23927
2391e11d
AC
23928Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
23929
23930 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 23931 and the compilers sizes.
2391e11d 23932
54602222
ND
239332000-07-09 Nick Duffek <nsd@redhat.com>
23934
23935 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
23936 (use_methods): New function.
23937 (main): Call use_methods().
23938 * gdb.c++/classes.exp (test_method_param_class): New procedure.
23939 (do_tests): Call test_method_param_class.
23940
2bec0572
ND
239412000-07-09 Nick Duffek <nsd@redhat.com>
23942
23943 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
23944 spelling.
23945 (test_enums): New procedure. Move enum tests from end of script
23946 to here. Set breakpoint on function name instead of line number.
23947 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
23948 (enums2): New marker function.
23949 (enums1): New function.
23950 (main): Call enums1(). Move enum tests to enums1().
23951
78492fde
AC
23952Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
23953
23954 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 23955 compile/link program. Update line numbers.
78492fde
AC
23956 * gdb.asm/d10v.inc: Define ``startup''.
23957 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 23958
49a2cef8
AC
23959Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
23960
23961 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
23962
3e6c8688
EZ
239632000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23964
23965 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 23966 of 'help maint print' command.
3e6c8688 23967
9ff5cbe9
AC
23968Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
23969
23970 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 23971 they use gdb_expect_list.
9ff5cbe9 23972
17c579bd
AC
23973Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
23974
23975 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
23976 memory-read-packet-size'' instead of ``set endian big'' to test
23977 long commands.
17c579bd 23978
e6d71bf3
DB
239792000-06-03 Daniel Berlin <dan@cgsoftware.com>
23980
23981 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 23982 g++, and stop skipping them.
e6d71bf3
DB
23983
23984 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
23985 work under g++.
23986
d63a86f8 23987 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
23988 initialization.
23989
dc96c6c7 239902000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
23991
23992 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
23993 the regular expression: accept an (almost) arbitrary sequence of
23994 "frames-invalid" and "breakpoints-invalid" messages both before
23995 and after the "starting" message.
23996
dc96c6c7 239972000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
23998
23999 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 24000
dc96c6c7 240012000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
24002
24003 * gdb.base/annota1.exp (annotate-signal-handler-caller):
24004 Relax the regular expression a little, make it pass on Solaris 8.
24005
8216cda9
KB
240062000-05-12 Kevin Buettner <kevinb@redhat.com>
24007
24008 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 24009 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
24010 Instead, it is permissible for gdb to stop on the line of the
24011 call itself.
24012
1a570b2f
MS
240132000-05-12 Michael Snyder <msnyder@.cygnus.com>
24014
24015 * gdb.base/break.exp (bp on small function, optimized file):
24016 Add a second pass pattern. The behavior differs here between stabs
24017 and dwarf for one-line functions. Stabs preserves two line symbols
24018 (one before the prologue and one after) with the same line number,
24019 but dwarf regards these as duplicates and discards one of them.
24020 Therefore the address after the prologue (where the breakpoint is)
24021 has no exactly matching line symbol, and GDB reports the breakpoint
24022 as if it were in the middle of a line rather than at the beginning.
24023
dc96c6c7 240242000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 24025
d63a86f8 24026 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
24027 rather than "send_gdb" (for consistancy).
24028
7d418785
AC
24029Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
24030
24031 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
24032 * gdb.c++/templates.cc: Properly check for GCC version number.
24033 * lib/compiler.cc: Likewise
24034
dc96c6c7 240352000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 24036
d63a86f8 24037 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
24038 gdb may not stop at the first line of main, due to code motion.
24039
dc96c6c7 240402000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
24041
24042 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
24043 This test depends on parsing the printf output from the target.
24044 Since the sparclet stub doesn't do stdio, this will never work.
24045 * gdb.base/call-rt-st.exp: ditto.
24046 * gdb.base/call-strs: ditto.
24047
dc96c6c7 240482000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
24049
24050 * gdb.base/miscexprs.exp: make sizeof long array test portable.
24051
24052 * gdb.base/ending-run.exp: After connecting to a remote target,
24053 but before running, the target will appear to be in a random
24054 location. Specify both a file and a line for breakpoints.
24055 Also, the function that calls main may be called 'init'
24056 rather than 'start'.
24057
a5a51225
EZ
240582000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24059
24060 * gdb.base/help.exp: Update output for add-symbol-file command.
24061
7930cc7c
FN
240622000-04-10 Fernando Nasser <fnasser@cygnus.com>
24063
24064 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24065 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
24066
23e37ab1
C
240672000-04-07 J.T. Conklin <jtc@redback.com>
24068
e93c542c
C
24069 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
24070
23e37ab1
C
24071 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
24072
591b8fa3
PDM
24073Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
24074
24075 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 24076 values that can be represented exactly.
591b8fa3
PDM
24077 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
24078 above change, and to not check against the directory part of the source
24079 file name.
24080 (step into print_long_arg_list): Likewise.
24081 (print print_small_structs from print_long_arg_list): Likewise.
24082 (print print_long_arg_list): Likewise.
24083
7a495180
EZ
240842000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24085
30b53638 24086 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 24087
beb998c6
AC
24088Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
24089
24090 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
24091
1c689132
DB
240922000-03-25 Daniel Berlin <dan@cgsoftware.com>
24093
24094 * gdb.base/commands.exp (deprecated_command_test): Add test for
24095 deprecate with no arguments.
24096
c1790a9d
JL
240972000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
24098
24099 * gdb.base/break.exp: Add new test for setting breakpoints on
24100 optimized code so we can test breakpoints work even when function
24101 prologues may be optimized away
24102
003ba290
FN
241032000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
24104
24105 From David Whedon <dwhedon@gordian.com>
a9c64011 24106 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 24107
6837a0a2
DB
241082000-03-22 Daniel Berlin <dan@cgsoftware.com>
24109
24110 * gdb.base/help.exp: Added test for new apropos command.
24111
b9593231
KB
241122000-03-21 Kevin Buettner <kevinb@redhat.com>
24113
24114 * gdb.base/pointers.c (usevar): New function.
24115 (main): Make sure that global variables v_int_pointer2, rptr,
24116 and y are all referenced someplace in the program by calling
24117 usevar() on them. [Some linkers delete symbols which are
24118 never referenced. The space remains, but there's no way to
24119 get a (symbolic) handle on the variable from the debugger.]
24120
751a959b
EZ
241212000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24122
24123 * gdb.base/printcmds.c: Add typedeffed arrays.
24124
24125 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 24126 procedure to test arrays that are typedef'd.
751a959b 24127
73a93a32
JI
241282000-03-13 James Ingham <jingham@leda.cygnus.com>
24129
24130 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 24131 the library directories.
73a93a32 24132
fb40c209
AC
24133Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
24134
24135 * configure.in (configdirs): Add sub directory gdb.mi.
24136 * configure: Re-generate.
24137
24138 * gdb.mi: New directory.
d63a86f8 24139
ee4dd2c9
AC
241402000-02-25 Scott Bambrough <scottb@netwinder.org>
24141
24142 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 24143 a long long value as a double on ARM platforms.
ee4dd2c9 24144
70f0cc22
JB
241452000-02-16 Jim Blandy <jimb@redhat.com>
24146
24147 * gdb.base/break.exp ("breakpoint line number"): Make sure the
24148 default source file is set properly before running this test.
24149
853819b8
EZ
241502000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24151
24152 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 24153 gdbtk/library directory, not in gdbtcl2.
853819b8 24154
dfcd3bfb
JM
241552000-02-04 Jim Blandy <jimb@redhat.com>
24156
24157 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
24158 backslash from regexp pattern.
24159
24160 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
24161 procedure. Use it to run all the "continue to bp overloaded"
24162 tests. Note that this changes the names of the tests slightly.
24163 If the breakpoint hit message includes a hex PC value, because
24164 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
24165 from the real source code, still consider that a pass.
24166
24167 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
24168 XFAIL here if the breakpoint message contains a hex address. Note
24169 similar change on 1999-11-02.
24170
24171 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
24172
24173 * gdb.base/ptype.exp: Establish a default source file before
24174 calling get_debug_format.
24175
241762000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
24177
24178 * gdb.base/watchpoint.exp: Remove duplication of test messages.
24179
8b93c638
JM
241802000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24181
24182 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
24183 of successive stepi commands -- while in the prologue we should see
24184 the function entry bracket.
24185
241862000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24187
24188 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
24189 reach __change_mode() when stepping through the end of main().
24190
c5394b80
JM
241912000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
24192
24193 * gdb.base/default.exp: Fix expected pattern.
24194 * gdb.base/help.exp: Same.
24195
0d06e24b
JM
241962000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24197
24198 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 24199 Don't use xfail's because that affects only the following test.
d63a86f8 24200
0d06e24b 24201 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 24202 solaris or linux.
0d06e24b
JM
24203
24204 * gdb.base/selftest.exp: Update to reflect changes to main.c.
24205
dc96c6c7 242062000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 24207
d63a86f8 24208 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
24209 "A syntax error" rather than "A parse error". Accept both.
24210
242112000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
24212
24213 * gdb.base/default.exp: Remove OS dependent string from "target
24214 remote" test.
24215 * gdb.base/help.exp: Same for "help target remote" test.
24216
c3f6f71d
JM
242172000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24218
24219 From Jim Kingdon <kingdon@redhat.com>:
24220
24221 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
24222 prompt (cleanup rather than necessity, but still might keep output
24223 from spilling to next test).
c3f6f71d
JM
24224
242252000-01-02 Fred Fish <fnf@cygnus.com>
24226
24227 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
24228 AIX, which defines them in <sys/types.h>.
24229
ed9a39eb 242301999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 24231
ed9a39eb 24232 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 24233 float" test.
ed9a39eb
JM
24234
242351999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 24236
ed9a39eb 24237 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
24238
24239 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
24240 outermost frame disallowed".
24241
242421999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
24243
24244 * gdb.base/setvar.exp: New tests for setting the value of a struct
24245 with a constant list.
24246
242471999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24248
24249 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
24250 require the user to type a cast before setting the value of a struct.
24251
de57eccd
JM
242521999-12-06 Jim Blandy <jimb@cygnus.com>
24253
24254 * gdb.base/default.exp: Expect the new 'info float' command on
24255 all i386 platforms.
24256
24257 * gdb.threads/linux-dp.exp: Expand our ability to recognize
24258 LinuxThreads libraries that don't support debugging.
24259
c2d11a7d
JM
24260Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24261
24262 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
24263 Change the buffer type to ``unsigned char'' to simplify size
24264 arithmetic.
c2d11a7d
JM
24265
24266 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
24267 stub only handles 400-1 byte packets. Verify that the download
24268 worked.
c2d11a7d
JM
24269
242701999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
24271
24272 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
24273 tests, using UNRESOLVED for the untested cases. Also, does not wait
24274 for a timeout if the prompt was received before a recognizable pattern.
24275
242761999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
24277
24278 * lib/gdb.exp (gdb_expect_list): Fix spelling.
24279
242801999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24281
24282 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 24283 watchpoints.
c2d11a7d
JM
24284
242851999-11-24 Jason Merrill <jason@casey.cygnus.com>
24286
24287 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
24288
24289 * gdb.c++/local.exp: Be more flexible in recognizing local class
24290 name mangling. Don't allow horribly truncated method names.
24291 * gdb.c++/derivation.exp: Expect protected inheritance.
24292 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
24293 * gdb.c++/virtfunc.exp: Likewise.
24294 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
24295 when printing a nested enum.
24296
242971999-11-22 Jim Blandy <jimb@cygnus.com>
24298
24299 * gdb.base/step-test.exp: Properly await GDB's response to setting
24300 a breakpoint on the call to large_struct_by_value.
24301
24302 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
24303 just because we have debug info for the `start' function.
24304
243051999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
24306
24307 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
24308 "Unknown signal" messages, which indicate (on LinuxThreads) that
24309 GDB doesn't know how to debug threads on this system. This is
24310 better than hanging while philosopher 0 dumps chatter into gdb.log.
24311
243121999-11-18 Tom Tromey <tromey@cygnus.com>
24313
24314 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
24315
243161999-11-18 Fred Fish <fnf@cygnus.com>
24317
24318 * gdb.base/coremaker2.c: Add sample program for generating
24319 cores that is more self contained than coremaker.c. Eventually
24320 I'll add more code to this and tie it into the testsuite.
24321
4ce44c66
JM
243221999-11-12 Stan Shebs <shebs@andros.cygnus.com>
24323
24324 * gdb.base/dollar.exp: Remove, now in gdb.hp.
24325
243261999-11-10 Jimmy Guo <guo@cup.hp.com>
24327
24328 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 24329 from $srcdir/lib/.
4ce44c66 24330 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 24331 and gdb.c++/.
4ce44c66
JM
24332
24333 * gdb.c++/derivation.exp: remove redundant get compiler info code.
24334
d63a86f8 24335 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
24336 'continue with watch' test point.
24337
243381999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
24339
24340 Merged from p2linux-990323-branch:
d63a86f8 24341
4ce44c66
JM
24342 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
24343
11cf8741
JM
24344Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
24345
24346 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 24347 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
24348
24349Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
24350
24351 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 24352 gdb_expect_list.
11cf8741
JM
24353
24354Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
24355
24356 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
24357
243581999-11-03 Mark Salter <msalter@cygnus.com>
24359
24360 * gdb.base/break.exp: Fix "stub continue" pattern.
24361
243621999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
24363
24364 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
24365
243661999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
24367
24368 * gdb.base/display.exp ("finish"): Add timeout clause.
24369
24370 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
24371 plain prompt clause, so this doesn't have to time out in order to
24372 fail.
24373
24374 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 24375 breakpoint hit messages include an address.
11cf8741
JM
24376
24377 * gdb.base/display.exp: Don't forget to escape parens in regular
24378 expressions. Unix regexp notatation sucks.
24379
243801999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24381
24382 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 24383 order for 'signalled' message.
11cf8741 24384
5c44784c
JM
243851999-11-01 Stan Shebs <shebs@andros.cygnus.com>
24386
24387 From Jimmy Guo <guo@cup.hp.com>:
24388 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
24389 * gdb.base/annota1.c: Add code for tests to work with.
24390
243911999-10-26 Frank Ch. Eigler <fche@cygnus.com>
24392
24393 * gdb.base/remote.exp: New test for remote downloading settings.
24394 * gdb.base/remote.c: New file with large .data.
24395
917317f4
JM
243961999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
24397
24398 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
24399 for LinuxThreads support, merged from the Code Fusion branch.
24400
24401Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
24402
24403 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
24404 containing exp_continue into a while within an expect. Don't
24405 attempt a start more than three times. Check return value from
24406 gdb_load.
d63a86f8 24407
2df3850c
JM
24408Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
24409
24410 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 24411 a pass case.
2df3850c 24412
2acceee2
JM
244131999-10-01 Kevin Buettner <kevinb@cygnus.com>
24414
24415 * gdb.base/break.c (main): Added a statement that we can step
24416 off of.
24417 * gdb.base/break.exp: Added tests for setting a breakpoint
24418 at an offset and stepping onto a breakpoint.
24419
244201999-10-01 Fred Fish <fnf@cygnus.com>
24421
d63a86f8 24422 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
24423 gdb output.
24424
c2c6d25f
JM
244251999-09-18 Jim Blandy <jimb@cris.red-bean.com>
24426
24427 * gdb.base/break.exp: Code locations are in hex, don't forget!
24428 (For HP-UX.)
24429
244301999-09-17 Stan Shebs <shebs@andros.cygnus.com>
24431
24432 * condbreak.exp: Use break.c as test program.
24433 * condbreak.c: Remove, redundant with break.c.
24434
244351999-09-15 Stan Shebs <shebs@andros.cygnus.com>
24436
24437 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 24438 Z-packets if the target needs it.
c2c6d25f
JM
24439
244401999-09-13 James Ingham <jingham@leda.cygnus.com>
24441
24442 * gdb.c++/overload.exp: Added tests for listing overloaded
24443 functions with function pointers in the arg, explicitly calling
24444 out the version you want.
24445
cff3e48b
JM
244461999-09-09 Stan Shebs <shebs@andros.cygnus.com>
24447
24448 * long_long.exp: Add variations of test cases that work for
24449 targets with 16-bit ints and 32-bit doubles.
24450
d4f3574e
SS
244511999-09-08 Stan Shebs <shebs@andros.cygnus.com>
24452
24453 * break.c (main): Compare a possibly-uninitialized argc with an
24454 unlikely value that fits in 16 bits.
24455
244561999-09-07 Stan Shebs <shebs@andros.cygnus.com>
24457
24458 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
24459 0xfeeb, don't want negative numbers if ints are 16 bits.
24460
24461 * lib/gdb.exp (skip_cplus_tests): New proc.
24462 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
24463 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
24464 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
24465 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
24466 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
24467 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
24468 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
24469 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
24470
24471 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
24472
24473Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
24474
24475 * gdb.base/corefile.exp (up): Allow a parameter to appear
24476 in the frame that we're going up to.
24477
24478 From Jim Blandy <jimb@cygnus.com>:
24479
24480 * gdb.base/default.exp (info float): Expect some output now.
24481
24482 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
24483 returning floating-point values to fail on the x86.
24484 * gdb.base/callfwmall.exp (do_function_calls): Same.
24485
24486 * gdb.base/list.exp (test_listsize): Correct expectations for
24487 listing line 1 with listsize 2. Also, listing a single line
24488 works now, as does listing three lines. [Kevin's note: There
24489 were a number of other cases fixed too where the expectations
24490 differed...]
24491
244921999-09-02 Stan Shebs <shebs@andros.cygnus.com>
24493
24494 * gdb.base/selftest.exp: Add case for when version prints as
24495 constant string instead of char pointer.
24496
104c1213
JM
244971999-08-25 Stan Shebs <shebs@andros.cygnus.com>
24498
24499 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 24500 stepping out of main.
104c1213
JM
24501
24502 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
24503 G++ used.
24504
24505 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 24506 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
24507
24508 * gdb.c++/ovldbreak.exp: Update match string in test that
24509 includes a warning of multiple breakpoints.
24510
245111999-08-24 Stan Shebs <shebs@andros.cygnus.com>
24512
24513 * gdb.base/display.exp: Improve precision of step-after-finish
24514 added yesterday.
24515
24516 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 24517 test.
104c1213
JM
24518
24519 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
24520 configs when using G++, not just hppa*.
24521
245221999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24523
24524 * gdb.base/async.c: New file.
24525 * gdb.base/async.exp: New file.
24526
24527Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
24528
24529 * gdb.base/break.exp: Tweak PA specific tests to properly handle
24530 PA64.
24531
53a5351d
JM
24532Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
24533
104c1213
JM
24534 * gdb.base/display.exp: "finish" can leave us mid-line on many
24535 targets, deal with it. Add a small constant to main, instead of
24536 1000 since main+1000 may not be a valid address in the target.
24537
53a5351d
JM
24538 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
24539 on hpux11.
24540
24541 * gdb.base/attach.exp: Handle another hpux11 error message variant
24542 when attaching to a process that does not exist.
24543
245441999-08-19 J.T. Conklin <jtc@redback.com>
24545
24546 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 24547 characters in 'continue to 1241' test.
53a5351d
JM
24548
245491999-08-17 Stan Shebs <shebs@andros.cygnus.com>
24550
24551 * gdb.base/call-ar-st.exp: Add a shorter match case for the
24552 stop in print_long_arg_list, define and use a whitespace
24553 variable in print_small_structs test, add an XFAIL for Solaris.
24554 * gdb.base/dbx.exp: XFAIL func commands until somebody is
24555 interested enough to fix.
24556
7be570e7
JM
245571999-08-13 Keith Seitz <keiths@cygnus.com>
24558
24559 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
24560 (dbx_gdb_load): Remove. Use gdb_load instead, since that
24561 proc knows about targets other than the natives.
24562 (test_assign): Use "gdb_run_cmd" to "run" the target.
24563 Check that we've actually hit the breakpoint at main.
24564 When we attempt to assign a value to a local variable, check
24565 that the variable is in the current scope, i.e., don't use
24566 a test with an empty result.
24567
24568Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
24569
24570 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 24571 command.
7be570e7
JM
24572
245731999-08-09 Stan Shebs <shebs@andros.cygnus.com>
24574
24575 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24576 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
24577 gdb.compat, gdb.threads-hp.
24578 gdb.hp/configure, gdb.hp/configure.in: New files.
24579 gdb.hp/Makefile.in: Recurse into new subdirs.
24580 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
24581 gdb.hp/gdb.objdbg: New directory, tests for debugging info
24582 in object files.
24583 gdb.hp/tools: New directory, aux tools for HP-specific tests.
24584
96baa820
JM
245851999-08-05 Stan Shebs <shebs@andros.cygnus.com>
24586
24587 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 24588 funky printf, remove a bogus p/a test.
96baa820
JM
24589
245901999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24591
24592 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
24593 connected to the target. This is necessary when running not
24594 natively.
96baa820
JM
24595
245961999-08-03 Stan Shebs <shebs@andros.cygnus.com>
24597
24598 * gdb.base/step-test.exp: Removed some extraneous messages.
24599
24600 * gdb.base/long_long.exp: Don't run memory examination tests
24601 on little-endian targets (they will need a different set of
24602 results to match).
24603
246041999-08-02 Stan Shebs <shebs@andros.cygnus.com>
24605
24606 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
24607 until somebody decides to fix GDB.
24608
24609 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 24610 constant as "ULL".
96baa820
JM
24611 * gdb.base/long_long.exp: Loosen x/c test, add partial result
24612 matches for a couple x/2 commands.
24613
a0b3c4fd
JM
246141999-07-30 Stan Shebs <shebs@andros.cygnus.com>
24615
24616 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
24617 by merging in ref-types2 tests.
24618 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
24619
24620 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24621 * gdb.c++/Makefile.in: Add standard actions.
24622 (EXECUTABLES): Rename from PROGS, update list.
24623 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
24624 from gdb.hp.
24625 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
24626 foo and bar locals.
24627 * gdb.c++/anon-union.exp: Fix tests to match.
24628 * gdb.c++/classes.exp: Run if HP compiler used, add extra
24629 expect matches to handle output variations.
24630 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
24631 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 24632 output, add HP alternatives for new and delete prints.
a0b3c4fd 24633 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 24634 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
24635 * gdb.c++/demangle.exp: Use $style when reporting failure.
24636 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
24637 * gdb.c++/inherit.exp: Run if HP compiler used, add some
24638 match alternatives.
24639 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 24640 compilers.
a0b3c4fd
JM
24641 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
24642 * gdb.c++/method.exp: Add match alternatives.
24643 * gdb.c++/misc.cc: Add bool types.
24644 * gdb.c++/misc.exp: Add tests for bool types.
24645 * gdb.c++/overload.exp: Add xfails.
24646 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
24647 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
24648 add some more template parameter tests (only for HP currently).
24649 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
24650 * gdb.c++/virtfunc.cc: Add return type and value for main.
24651 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
24652 match alternatives.
d63a86f8 24653
a0b3c4fd
JM
246541999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24655
24656 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
24657
246581999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
24659
24660 * gdb.base/signals.exp: Don't expect getting a backtrace from
24661 within a signal handler to fail on Linux.
24662
246631999-07-29 Stan Shebs <shebs@andros.cygnus.com>
24664
24665 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24666 * lib/gdb.exp: Remove some gratuitious semicolons.
24667 (delete_breakpoints): Increase timeout.
24668 (gdb_expect): Add -notransfer option.
24669 (gdb_test): Use -notransfer option.
24670 (get_compiler_info): Add f77 case.
24671 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 24672 case.
a0b3c4fd
JM
24673 (gdb_preprocess): Call get_compiler.
24674
24675 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
24676 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
24677 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
24678 gdb.base/long_long.exp, gdb.base/printcmds.exp,
24679 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
24680 third arg to gdb_test.
a0b3c4fd
JM
24681 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
24682 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 24683 HP-UX xfails, add others.
a0b3c4fd
JM
24684 * gdb.base/completion.exp: Reflect name change of self-test.
24685 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
24686 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
24687 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
24688 HP failure number.
a0b3c4fd
JM
24689 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
24690 useless HP-UX 10.30 references.
24691 * gdb.base/maint.exp: Loosen matches.
24692 * gdb.base/pointers.c (main): Declare more_code.
24693 * gdb.base/pointers.exp: Match on output of a `next'.
24694 * gdb.base/structs.c: Add prototypes.
24695 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
24696 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
24697
246981999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24699
24700 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 24701 command.
a0b3c4fd
JM
24702
247031999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24704
24705 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
24706 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
24707
24708 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
24709 debug info. Deal with lack of signal hanlder info in stack.
24710
a9c64011 24711 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
24712 * gdb.base/annota1.exp: If printf has debug info, deal with it.
24713
5a2468f5
JM
247141999-07-19 Stan Shebs <shebs@andros.cygnus.com>
24715
24716 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 24717 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 24718
adf40b2e
JM
24719Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24720
24721 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 24722 a1-selftest.exp.
adf40b2e
JM
24723 * gdb.base/configure: Re-generate.
24724
247251999-07-12 Stan Shebs <shebs@andros.cygnus.com>
24726
24727 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
24728 in trying to run first and name is too long.
24729
24730 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
24731 pointers2.c and pointers2.exp, respectively.
24732 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
24733 doschk happier.
24734
43e526b9
JM
247351999-07-08 Stan Shebs <shebs@andros.cygnus.com>
24736
24737 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
24738 callfuncs2.c and callfuncs2.exp.
24739
24740 * gdb.base/list.exp: Remove mistaken xfails.
24741 * gdb.base/list0.h: Add optional prototypes.
24742
9846de1b
JM
24743Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
24744
a9c64011 24745 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 24746 calling malloc.
a9c64011
AS
24747 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
24748 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 24749 use.
9846de1b
JM
24750
247511999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24752
24753 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
24754 * gdb.base/annota2.cc, annota2.exp: Move from here.
24755 * gdb.c++/annota2.cc, annota2.exp: To here.
24756 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
24757
43ff13b4
JM
24758Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
24759
24760 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 24761 a consistent format.
43ff13b4 24762
085dd6e6
JM
247631999-06-25 Stan Shebs <shebs@andros.cygnus.com>
24764
24765 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24766 * lib/gdb.exp (get_compiler_info): Add detection for assorted
24767 HP compilers, also set the globals $true and $false.
24768
24769 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
24770 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
24771 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
24772 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
24773 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
24774 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
24775 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
24776 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
24777 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
24778 whatis.c} Add C++ compatible function definitions and return
24779 types, add includes for library functions.
085dd6e6
JM
24780 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
24781 * gdb.base/step-test.c (myglob): Rename from glob.
24782 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
24783 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
24784 files, move here from gdb.hp.
085dd6e6 24785 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
24786 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
24787 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
24788 Adjust line numbers in regexps.
085dd6e6
JM
24789
24790 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
24791 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
24792 instead of 0/1.
24793
24794 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
24795 foll-vfork.exp: New files, move here from gdb.hp.
24796 * gdb.base/page.exp: New file, test of pagination command.
24797
24798 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
24799 recursion test.
24800 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
24801
24802 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 24803 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
24804
24805 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 24806 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 24807 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 24808 watchpoint test.
085dd6e6
JM
24809 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
24810 them work.
24811 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
24812 expressions properly.
24813 * gdb.base/corefile.exp: Loosen the match slightly.
24814 * gdb.base/default.exp: Allow "Error accessing memory" message
24815 also.
24816 * gdb.base/display.exp: Skip over x/0 j if PA64.
24817 * gdb.base/funcargs.exp: Add xfails for HP-UX.
24818 * gdb.base/interrupt.exp: Ditto.
24819 * gdb.base/langs.exp: Add symbolic matches governed by compiler
24820 in use.
24821 * gdb.base/list.exp: Add xfails for HP-UX.
24822 * gdb.base/long_long.exp: Refine some of the numeric matches.
24823 * gdb.base/mips_pro.exp: Xfail on HP-UX.
24824 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
24825 * gdb.base/nodebug.exp: Succeed on more varieties of output.
24826 * gdb.base/opaque.exp: Remove some HP-UX xfails.
24827 * gdb.base/ptype.exp: Succeed on more varieties of output.
24828 * gdb.base/scope.exp: Add xfails for HP-UX.
24829 * gdb.base/sect-cmd.exp: Add more cases.
24830 * gdb.base/setvar.exp: Add xfails for HP-UX.
24831 * gdb.base/shlib-call.exp: Loosen some matches slightly.
24832 * gdb.base/signals.exp: Match on void symbolically.
24833 * gdb.base/step-test.exp: Add case for PA64.
24834 * gdb.base/term.exp: Add exit and restart.
24835 * gdb.base/twice.exp: Clean up after self.
24836 * gdb.base/varargs.exp: Disable overload resolution explicitly.
24837 * gdb.base/whatis.exp: Allow more ways to pass tests.
24838
24839 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 24840 no longer useful.
085dd6e6
JM
24841
24842Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
24843
24844 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 24845 list of patterns.
085dd6e6 24846 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
24847 print_double_array(double_array)", "continuing to breakpoint
24848 1018", "print print_double_array(array_d)" and "continuing to
24849 1034" tests.
d63a86f8 24850
085dd6e6
JM
248511999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
24852
a9c64011 24853 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
24854
248551999-06-24 Stan Shebs <shebs@andros.cygnus.com>
24856
24857 * config/mt-*: Remove, these haven't been used since 1996.
24858
248591999-06-22 Stan Shebs <shebs@andros.cygnus.com>
24860
24861 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 24862 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
24863 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
24864
9e0b60a8
JM
248651999-06-18 Stan Shebs <shebs@andros.cygnus.com>
24866
24867 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
24868 simpler match case for the ptype of the big class.
24869
248701999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24871
24872 * gdb.exp: Fix test for gdb_prompt existence.
24873
248741999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24875
24876 * gdb.exp (gdb_test): Add fail after calls to perror.
24877
248781999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24879
24880 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
24881
248821999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24883
24884 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
24885
0f71a2f6
JM
24886Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
24887
24888 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 24889 malloc() is linked in.
0f71a2f6
JM
24890
248911999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24892
24893 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
24894 step at end.
24895
24896 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
24897
248981999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
24899
24900 * gdb.java/jv-print.exp: New file. (Our first Java test!)
24901
cce74817
JM
24902Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
24903
24904 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
24905 * gdb.base/mips_pro.exp: Likewise.
24906
249071999-06-02 Keith Seitz <keiths@cygnus.com>
24908
24909 * gdb.c++/templates.cc: Change all "new" operators to throw
24910 an exception.
24911 * gdb.c++/cplusfuncs.cc: Likewise.
24912
24913 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
24914
24915Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
24916
24917 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
24918 * gdb.base/ending-run.exp: When stepping out of main, accept a
24919 step into an arbitrary assembler file.
cce74817 24920
392a587b
JM
249211999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24922
d63a86f8 24923 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 24924 "breakpoint-invalid" to be printed.
6fdff2c5
PA
24925 * gdb.base/annota2.exp: Revise line number for main
24926 breakpoint. Allow any number of "frames-invalid" and
24927 "breakpoint-invalid" to be printed.
392a587b
JM
24928 * gdb.base/annota2.cc: Initialize a.x to 0.
24929
9e086581
JM
249301999-05-17 Keith Seitz <keiths@cygnus.com>
24931
6fdff2c5
PA
24932 * gdb.base/call-ar-st.exp: Skip
24933 "print print_double_array (double_array)" when "skip_float_tests" set.
24934 Ditto for "print print_double_array(array_d)",
24935 "print print_small_structs", "print print_ten_doubles", and
24936 "step into print_long_arg_list".
24937 Don't assume we can step into "print_long_arg_list": we could step
24938 into memcpy.
24939 * gdb.base/call-rt-st.exp: Don't run float-related tests when
24940 "skip_float_tests" is set: "print print_one_double(*d1)"
24941 and "print print_two_floats(*f3)".
9e086581
JM
24942 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
24943 "skip_float_tests" is set.
6fdff2c5
PA
24944 * gdb.base/varargs.exp: Skip
24945 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
24946 "skip_float_tests" set.
d63a86f8 24947
cd0fc7c3
SS
249481999-05-06 Keith Seitz <keiths@cygnus.com>
24949
24950 * gdb.base/annota2.cc: Include stdio.h.
24951
24952Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
24953
24954 * gdb.base/crossload.exp: Remove, this has been disabled ever
24955 since BFD stopped including all targets, and cross-GDB gets
24956 plenty of testing anyway.
24957 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
24958 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
24959 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
24960 * gdb.base/README: Remove, was doc for this.
24961 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 24962 needed.
cd0fc7c3 24963
b83266a0
SS
249641999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24965
24966 * gdb.base/call-ar-st.exp: Fix one regular expression in test
24967 output.
24968
24969 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
24970 * gdb.base/annota2.exp: New file. More annotation tests.
24971 * gdb.base/annota1.c: New file. Source file for annota1.exp.
24972 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
24973
249741999-04-23 Angela Marie Thomas <angela@cygnus.com>
24975
24976 * config/cfdbug.exp: New file.
24977
7a292a7a
SS
249781999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
24979
24980 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
24981 Marcus Daniel's and Dale Hawkins's demangler crashes.
24982
24983 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
24984 test_lucid_style_demangling, test_arm_style_demangling,
24985 test_hp_style_demangling): Try Tom Tromey's core-dumping
24986 identifier under each demangling style.
7a292a7a
SS
24987
249881999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
24989
24990 * gdb.c++/demangle.exp: Include the current demangling style
24991 in all test names.
24992 (current_demangling_style): New global variable.
24993 (set_demangling_style, test_demangling_core, test_demangling,
24994 test_demangling_exact): New functions.
24995 (test_gnu_style_demangling, test_lucid_style_demangling,
24996 test_arm_style_demangling, test_hp_style_demangling): Use those,
24997 instead of calling gdb_test and gdb_test_exact directly.
24998 (catch_demangling_errors): New function, which reports errors
24999 signalled by the demangling test functions in an orderly way.
25000 (do_tests): Use catch_demangling_errors.
25001
250021999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
25003
25004 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 25005 grouping in expressions, not {}.
7a292a7a
SS
25006
25007 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 25008 initialized yet.
7a292a7a
SS
25009
250101999-04-01 Stan Shebs <shebs@andros.cygnus.com>
25011
25012 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
25013 are listed.
25014
250151999-03-26 Stan Shebs <shebs@andros.cygnus.com>
25016
25017 * gdb.stabs/weird.exp: Test for CC being defined before
25018 looking at its value.
25019
250201999-03-25 Stan Shebs <shebs@andros.cygnus.com>
25021
25022 * gdb.base/call-ar-st.exp: Remove stray '#'.
25023 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
25024 "short int" and "long int".
25025 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 25026 change, to mollify finicky HP compiler.
7a292a7a
SS
25027 * gdb.hp/reg-test.exp (testfile): Fix file name.
25028 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 25029
7a292a7a
SS
25030 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
25031 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
25032 alternate form of enum ptype.
25033
c906108c
SS
250341999-03-23 Stan Shebs <shebs@andros.cygnus.com>
25035
7a292a7a
SS
25036 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
25037 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
25038 passing skip_hp_tests, so as not to waste time on guaranteed
25039 failure.
7a292a7a 25040
c906108c
SS
25041 * gdb.c++/overload.cc: Pass string instead of char addr, always
25042 init ccpfoo.
25043 * gdb.c++/templates.cc: Fix syntax error.
25044
7a292a7a
SS
25045Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25046
25047 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 25048 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
25049 command.
25050
250511999-03-18 James Ingham <jingham@cygnus.com>
25052
25053 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
25054
25055 * gdb.c++/method.exp: It was testing an uninitialized int on the
25056 stack and assuming it was positive.
25057
25058 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
25059
25060 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 25061 keep it from killing the rest of the tests.
7a292a7a
SS
25062 Use gdb_continue_to_end.
25063
25064 * gdb.base/sigall.exp: use gdb_continue_to_end.
25065
25066 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
25067
25068 * gdb.base/display.exp: use runto_main, not run.
25069
d63a86f8
RM
25070 * gdb.base/default.exp: Check for the current error message in the
25071 r abbreviation test.
7a292a7a
SS
25072 Add strongarm to the targets that know info float.
25073
d63a86f8 25074 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
25075 run which doesn't work with monitors.
25076
6fdff2c5
PA
25077 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
25078 1034 test.
7a292a7a
SS
25079
25080 * gdb.base/break.exp: use the gdb_continue_to_end proc.
25081
6fdff2c5
PA
25082 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
25083 end of a program. Traps the case (in Cygmon) when the program
25084 never really exits. Same as Mark's continue_to_exit, but I had
25085 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
25086
25087 * config/monitor.exp (gdb_target_monitor): added another
25088 target_info parameter: remotebinarydownload. This will set the
25089 remotebinarydownload flag if this is causing some boards trouble.
25090
250911999-03-18 Mark Salter <msalter@cygnus.com>
25092
25093 * lib/gdb.exp (continue_to_exit): New function.
25094
25095 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
25096 * gdb.base/ending-run.exp: Ditto.
25097 * gdb.base/step-test.exp: Ditto.
25098
250991999-03-16 Stan Shebs <shebs@andros.cygnus.com>
25100
25101 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
25102 (suggested by Art Haas <ahaas@neosoft.com>).
25103
251041999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
25105
889bf7c5 25106 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
25107
25108Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
25109
25110 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 25111 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
25112
251131999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
25114
25115 * gdb.base/call-strs.exp: Don't assume that `step' will step over
25116 a call to strlen; sometimes we do have sources.
25117
251181999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
25119
25120 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 25121 character, so GDB won't print garbage after its end.
d63a86f8 25122
c906108c
SS
25123 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
25124 breakpoint there instead. Sometimes GCC emits memcpy to handle
25125 the large structures being passed by value, so we step into that
25126 instead of sum_array_print, which obscures what we're really testing.
25127 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
25128 the bizarre steps into memcpy, so do that here. Add check for
25129 stepping into function calls that pass large structures by value.
25130 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
25131 Remove all references to specific line numbers.
25132 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
25133 New type and function.
25134 (main): Call large_struct_by_value, passing it a large struct by value.
25135 * lib/gdb.exp (gdb_get_line_number): New function.
25136
25137 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
25138 more portable.
25139
7a292a7a
SS
251401999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
25141
c906108c
SS
25142 * lib/gdb.exp: Doc fixes.
25143
7a292a7a
SS
251441999-03-05 Nick Clifton <nickc@cygnus.com>
25145
d63a86f8 25146 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
25147
251481999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
25149
c906108c 25150 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
25151 commands. They're not germane to this test, and they don't work
25152 that way on remote targets.
c906108c 25153
3fc11d3e
JM
251541999-03-01 James Ingham <jingham@cygnus.com>
25155
25156 * Changelog entries merged over from gdb development branch.
25157
3fc11d3e
JM
25158 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
25159
25160 * lib/gdb.exp (gdbtk_analyze_results): Generic function
25161 for outputting results of test run.
25162
2d4a1622 25163 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
25164
25165 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 25166
7a292a7a
SS
251671999-02-25 Felix Lee <flee@cygnus.com>
25168
25169 * lib/gdb.exp (debug_format): initialize
25170
c906108c
SS
251711999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
25172
25173 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
25174 * gdb.base/call-rt-st.c: Ditto.
25175
c906108c
SS
251761999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
25177
25178 * gdb.threads/pthreads.exp (horiz): New variable.
25179 (test_startup): Fix regexps that capture thread numbers.
25180
251811999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
25182
25183 * gdb.base/smoke.exp: Disambiguate two test case names (both
25184 called ``print'').
25185
25186Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25187
25188 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 25189 compilation.
c906108c
SS
25190
251911999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25192
25193 * gdb.base/miscexprs.exp: Change patterns to match GDB's
25194 actual output formatting.
25195 * gdb.base/smoke.exp: GDB removes leading 0's.
25196 * gdb.base/volatile.exp: Don't check type of remuneration;
25197 that variable is no longer defined in constvars.c.
25198 * gdb.base/step-test.c (main): Exit with explicit exit code.
25199 * gdb.base/step-test.exp: Remove two nexti checks--they are
25200 not portable.
25201
252021999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25203
25204 * gdb.base/help.exp ("help delete display"): Fix test to match
25205 gdb's output.
25206
25207 * gdb.base/long_long.c (known_types): Initialize values to zero.
25208 * gdb.base/long_long.exp: Step one more line
25209 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
25210 leading zeros. Explicitly ask for hex formatting. Use
25211 unique test case names.
c906108c
SS
25212
25213Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25214
d63a86f8 25215 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
25216
25217 * gdb.c++/method.exp: Add missing close brace.
25218
252191999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
25220
25221 * gdb.base/maint.exp: Use 'set height 0' to disable page
25222 prompting, not 'set height 400'.
25223
25224 Fix a bunch of timeouts.
25225 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
25226 four separate tests, so expect doesn't take forever to match a ton
25227 of text against a regexp with lots of .* forms.
25228 ("maint print psymbols", "maint print symbols"): Make some of
25229 these greps more selective, so that expect doesn't try to wade
25230 through huge piles of output and time out.
25231
25232 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
25233
25234 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
25235 tests: one which doesn't expect shlib events to be reported, and
25236 another which does, but is XFAIL for all platforms other than
25237 HP/UX.
c906108c
SS
25238
25239 * gdb.base/break.exp: Teach the test suite that the `catch
25240 fork', `catch vfork', and `catch exec' commands produce error
25241 messages on platforms that don't provide these features.
25242
25243Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25244
25245 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
25246 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
25247 (shortening names from solib_threshold.exp etc), won't run on
25248 anything but HP-UX for the foreseeable future.
c906108c 25249 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 25250 reflect move.
c906108c
SS
25251
25252Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
25253
25254 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 25255 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
25256
25257Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
25258
25259 * gdb.base/shlib-call.exp: add test cases to verify that gdb
25260 successfully re-sets breakpoints in shared libraries.
25261 * gdb.base/shmain.c (main): return 0, don't fall off the end.
25262
25263Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25264
d63a86f8
RM
25265 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
25266 and compiled w/o GCC.
c906108c
SS
25267
25268 * gdb.hp/watch-cmd.exp: ditto.
25269
25270 * gdb.hp/watch-hp.exp: ditto.
25271
25272 * gdb.hp/xdb1.exp: ditto.
25273
25274 * gdb.hp/xdb2.exp: ditto.
25275
25276 * gdb.hp/dbx.exp: ditto.
25277
25278Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
25279
25280 * constvars.c: Remove C++-isms.
25281 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 25282 with GCC.
c906108c
SS
25283
25284Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
25285
25286 The following changes are part of the HP merge.
25287
25288 * gdb.base/break.exp: new tests to verify that catchpoints for
25289 fork, vfork, and exec don't trigger inappropriately.
25290
25291 * gdb.base/opaque.exp: compile one file at a time, then link.
25292
25293 * gdb.base/signals.exp: be more restrictive about which hppa
25294 systems receive a setup_xfail. new tests.
25295
25296 * gdb.base/solib_threshold.build: new file.
25297 * gdb.base/solib_threshold.exp: new file.
25298 * gdb.base/solib_threshold.link_opts: new file.
25299 * gdb.base/solib_threshold.mk: new file.
25300 * gdb.base/gen_solib_threshold.c: new file.
25301
25302 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
25303 tests. New tests for enums inside classes.
25304
25305 * gdb.c++/compiler.cc: indicate support of template debugging.
25306
25307 * gdb.c++/demangle.exp: run hp style demangling tests.
25308
25309 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
25310 tests.
25311
25312 * gdb.c++/misc.cc: changes to support new tests.
25313
25314 * gdb.c++/templates.cc: changes to support HP's compiler; changes
25315 to support new tests.
25316
25317 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
25318 gcc, then skip these tests.
25319
25320Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
25321
25322 The following files are part of the HP merge; some had longer
25323 names at HP, but have been renamed to be no more than 14
25324 characters in length.
25325
25326 * gdb.hp/ambiguous.cc: new file.
25327 * gdb.hp/ambiguous.exp: new file.
25328 * gdb.hp/attach.exp: new file.
25329 * gdb.hp/attach2.exp: new file.
25330 * gdb.hp/classes-hp.exp: new file.
25331 * gdb.hp/ctti.exp: new file.
25332 * gdb.hp/ctti-add.cc: new file.
25333 * gdb.hp/ctti-add1.cc: new file.
25334 * gdb.hp/ctti-add2.cc: new file.
25335 * gdb.hp/ctti-add3.cc: new file.
25336 * gdb.hp/dbx.exp: new file.
25337 * gdb.hp/exception.cc: new file.
25338 * gdb.hp/exception.exp: new file.
25339 * gdb.hp/foll-exec.c: new file.
25340 * gdb.hp/foll-exec.exp: new file.
25341 * gdb.hp/foll-fork.c: new file.
25342 * gdb.hp/foll-fork.exp: new file.
25343 * gdb.hp/foll-vfork.c: new file.
25344 * gdb.hp/foll-vfork.exp: new file.
25345 * gdb.hp/inherit-hp.exp: new file.
25346 * gdb.hp/more-steps.exp: new file.
25347 * gdb.hp/namespace.cc: new file.
25348 * gdb.hp/namespace.exp: new file.
25349 * gdb.hp/optimize.exp: new file.
25350 * gdb.hp/pxdb.c: new file.
25351 * gdb.hp/pxdb.exp: new file.
25352 * gdb.hp/quicksort.exp: new file.
25353 * gdb.hp/reg-test.exp: new file.
25354 * gdb.hp/reg-test.s: new file.
25355 * gdb.hp/sized-enum.c: new file.
25356 * gdb.hp/sized-enum.exp: new file.
25357 * gdb.hp/start-stop.exp: new file.
25358 * gdb.hp/templ-hp.cc: new file.
25359 * gdb.hp/templ-hp.exp: new file.
25360 * gdb.hp/thr-lib.c: new file.
25361 * gdb.hp/thr-lib.exp: new file.
25362 * gdb.hp/thr-lib.h: new file.
25363 * gdb.hp/thr-liblib.c: new file.
25364 * gdb.hp/virtfun-hp.c: new file.
25365 * gdb.hp/virtfun-hp.exp: new file.
25366 * gdb.hp/watch-cmd.exp: new file.
25367 * gdb.hp/watch-hp.exp: new file.
25368 * gdb.hp/xdb1.exp: new file.
25369 * gdb.hp/xdb2.exp: new file.
25370 * gdb.hp/xdb3.exp: new file.
25371
25372Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
25373
25374 The following files are part of the HP merge; some had longer
25375 names at HP, but have been renamed to be no more than 14
25376 characters in length.
25377
25378 * gdb.base/ss.h: new file.
25379 * gdb.base/call-ar-st.c: new file.
25380 * gdb.base/call-ar-st.exp: new file.
25381 * gdb.base/call-rt-st.c: new file.
25382 * gdb.base/call-rt-st-exp: new file.
25383 * gdb.base/call-strs.exp: new file.
25384 * gdb.base/ena-dis-br.exp: new file.
25385 * gdb.base/environ.exp: new file.
25386 * gdb.base/long_long.exp: new file.
25387 * gdb.base/sect-cmd.exp: new file.
25388 * gdb.base/shlib-cl2.exp: new file.
25389 * gdb.base/smoke.exp: new file.
25390 * gdb.base/so-impl-ld.c: new file.
25391 * gdb.base/so-impl-ld.exp: new file.
25392 * gdb.base/so-indr-cl.c: new file.
25393 * gdb.base/so-indr-cl.exp: new file.
25394 * gdb.base/varargs.exp: new file.
25395 * gdb.base/volatile.exp: new file.
25396 * gdb.base/whatis-exp.exp: new file.
7a292a7a 25397 * gdb.base/display.exp: new file.
c906108c
SS
25398 * gdb.c++/derivation.exp: new file.
25399 * gdb.c++/local.exp: new file.
25400 * gdb.c++/member-ptr.exp: new file.
25401 * gdb.c++/overload.exp: new file.
25402 * gdb.c++/ovldbreak.exp: new file.
25403 * gdb.c++/ref-types.exp: new file.
25404 * gdb.c++/ref-types2.exp: new file.
25405 * gdb.c++/userdef.exp: new file.
d63a86f8 25406
c906108c
SS
25407Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
25408
25409 * gdb.base/default.exp: Reflect wording change in remote.c.
25410
dc96c6c7 25411Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25412
25413 * gdb.base/help.exp: Update to reflect current text.
25414
25415Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
25416
25417 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
25418 they're stack variables and contain garbage.
25419 * gdb.c++/anon-union.exp: new file.
25420
25421 The following changes were made by David Taylor
889bf7c5
PA
25422 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25423 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25424 in changes by HP.
c906108c
SS
25425
25426 * gdb.base/bitops.exp: new file.
25427 * gdb.base/default.exp: change expected messages for catch and
25428 info catch tests to reflect HP merge changes.
25429 * gdb.base/enable-disable-break.exp
25430 * gdb.base/ending-run.c: new file.
25431 * gdb.base/long_long.c: new file.
25432 * gdb.base/maint.exp: new file.
25433 * gdb.base/pointers2.exp: new file.
25434 * gdb.base/shlib-call2.exp: new file.
25435 * gdb.base/solib.exp: new file.
25436 * gdb.base/step-test.c: new file.
25437 * gdb.c++/anon-union.cc: new file.
25438 * gdb.c++/local.cc: new file.
25439 * gdb.c++/member-pointer.cc: new file.
25440 * gdb.c++/method.cc: new file.
25441 * gdb.c++/ref-types.cc: new file.
25442 * gdb.c++/ref-types2.cc: new file.
25443 * gdb.c++/userdef.cc: new file.
d63a86f8 25444
c906108c
SS
25445 * gdb.base/scope.exp: compile one file at a time, then link.
25446 * gdb.base/langs.exp: ditto.
25447 * gdb.base/list.exp: ditto.
d63a86f8 25448
c906108c
SS
25449Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
25450
25451 The following changes were made by David Taylor
889bf7c5
PA
25452 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25453 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25454 in changes by HP.
d63a86f8 25455
c906108c
SS
25456 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
25457 skip tests. When compiling pass c++ flag to gdb_compile.
25458 * gdb.c++/
d63a86f8 25459
c906108c
SS
25460 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
25461 test for on hppa*-*-hpux*; use args to see if c++ was specified.
25462 (skip_hp_tests): new function.
25463 (gdb_preprocess): new function.
25464
25465 * configure.in (hpdir): decide whether to configure gdb.hp.
25466 * configure: regenerated.
25467
25468 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
25469 to delete on clean.
25470 (EXECUTABLES): update to reflect new additions.
25471 * gdb.base/commands.exp: update message expected.
25472 * gdb.base/default.exp: add copyright notice.
25473 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
25474 * gdb.base/help.exp: update messages to reflect current text.
25475 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
25476 targets for recurse tests.
25477 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
25478 skip this file.
25479
25480 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
25481 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
25482 compilation.
25483 * gdb.c++/misc.exp: ditto.
25484 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
25485 run the tests. tell gdb_compile that it's a c++ compilation.
25486
25487 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 25488
c906108c
SS
25489 * gdb.base/all-bin.exp: new file.
25490 * gdb.base/arithmet.exp: new file.
25491 * gdb.base/assign.exp: new file.
25492 * gdb.base/completion.exp: new file.
25493 * gdb.base/cond-expr.exp: new file.
25494 * gdb.base/condbreak.exp: new file.
25495 * gdb.base/define.exp: new file.
25496 * gdb.base/dollar.exp: new file.
25497 * gdb.base/environment.exp: new file.
25498 * gdb.base/eval-skip.exp: new file.
25499 * gdb.base/jump.exp: new file.
25500 * gdb.base/logical.exp: new file.
25501 * gdb.base/pointers.exp: new file.
25502 * gdb.base/relational.exp: new file.
25503 * gdb.base/section_command.exp: new file.
25504 * gdb.base/whatis-expr.exp: new file.
25505
25506 * gdb.base/all-types.c: new file.
25507 * gdb.base/call-array-struct.c: new file.
25508 * gdb.base/call-return-struct.c: new file.
25509 * gdb.base/call-strings.c: new file.
25510 * gdb.base/callfuncs2.c: new file.
25511 * gdb.base/condbreak.c: new file.
25512 * gdb.base/constvars.c: new file.
25513 * gdb.base/display.c: new file.
25514 * gdb.base/int-type.c: new file.
25515 * gdb.base/jump.c: new file.
25516 * gdb.base/miscexprs.c: new file.
25517 * gdb.base/pointers.c: new file.
25518 * gdb.base/pointers2.c: new file.
25519 * gdb.base/shmain.c: new file.
25520 * gdb.base/shr1.c: new file.
25521 * gdb.base/shr2.c: new file.
25522 * gdb.base/solib.c: new file.
25523 * gdb.base/solib1.c: new file.
25524 * gdb.base/solib2.c: new file.
25525 * gdb.base/varargs.c: new file.
25526 * gdb.c++/derivation.cc: new file.
25527 * gdb.c++/overload.cc: new file.
25528 * gdb.c++/ovldbreak.cc: new file.
25529 * gdb.hp/attach.c: new file.
25530 * gdb.hp/attach2.c: new file.
25531 * gdb.hp/average.c: new file.
25532 * gdb.hp/compiler.c: new file.
25533 * gdb.hp/compiler.cc: new file.
25534 * gdb.hp/execd-program.c: new file.
25535 * gdb.hp/follow-exec.c: new file.
25536 * gdb.hp/follow-fork.c: new file.
25537 * gdb.hp/follow-vfork-and-exec.c: new file.
25538 * gdb.hp/misc-hp.cc: new file.
25539 * gdb.hp/more-steps.c: new file.
25540 * gdb.hp/optimize.c: new file.
25541 * gdb.hp/quicksort.c: new file.
25542 * gdb.hp/run-hp.c: new file.
25543 * gdb.hp/start-stop.c: new file.
25544 * gdb.hp/sum.c: new file.
25545 * gdb.hp/templates-hp.cc: new file.
25546 * gdb.hp/thread-local-in-lib.c: new file.
25547 * gdb.hp/thread-local-in-lib.h: new file.
25548 * gdb.hp/thread-local-in-lib.lib.c: new file.
25549 * gdb.hp/vforked-program.c: new file.
25550 * gdb.hp/virtfunc-hp.cc: new file.
25551 * gdb.hp/watchpoint-hp.c: new file.
25552 * gdb.hp/xdb.c: new file.
25553 * gdb.hp/xdb0.c: new file.
25554 * gdb.hp/xdb0.h: new file.
25555 * gdb.hp/xdb1.c: new file.
25556
25557Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
25558
25559 The following change was made by Edith Epstein
889bf7c5
PA
25560 <eepstein@cygnus.com> as part of a project to merge in changes
25561 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
25562
25563 * gdb.c++/demangle.exp: changed the expected output for some
25564 ARM-style mangling -- removed second reference to datatype.
889bf7c5 25565 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 25566 T1<char>::~T1<char>(void)
c906108c 25567 becomes,
a9c64011
AS
25568 maint demangle __dt__11T1__pt__2_cFv
25569 T1<char>::~T1(void)
c906108c 25570
889bf7c5 25571 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 25572
c906108c
SS
25573Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
25574
25575 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
25576 * gdb.trace/backtrace.exp: Likewise.
25577 * gdb.trace/circ.exp: Likewise.
25578 * gdb.trace/collection.exp: Likewise.
25579 * gdb.trace/deltrace.exp: Likewise.
25580 * gdb.trace/infotrace.exp: Likewise.
25581 * gdb.trace/limits.exp: Likewise.
25582 * gdb.trace/packetlen.exp: Likewise.
25583 * gdb.trace/passc-dyn.exp: Likewise.
25584 * gdb.trace/passcount.exp: Likewise.
25585 * gdb.trace/report.exp: Likewise.
25586 * gdb.trace/save-trace.exp: Likewise.
25587 * gdb.trace/tfind.exp: Likewise.
25588 * gdb.trace/tracecmd.exp: Likewise.
25589 * gdb.trace/while-dyn.exp: Likewise.
25590 * gdb.trace/while-stepping.exp: Likewise.
25591
255921998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
25593
25594 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
25595
25596Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
25597
25598 From Brendan Kehoe:
25599 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
25600 int return types.
25601
25602Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
25603
25604 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 25605 remote dos host testing right.
c906108c
SS
25606
25607Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
25608
25609 * gdb.base/corefile.exp: remove some xfails.
25610
25611Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
25612
25613 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 25614 have different timestamps.
c906108c
SS
25615
25616Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
25617
25618 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 25619 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
25620
25621Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
25622
25623 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 25624 delta.
c906108c
SS
25625
25626Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
25627
25628 * gdb.base/default.exp: Add brace missing from previous delta.
25629
25630Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
25631
25632 * gdb.base/default.exp: Support test for info float for all
25633 varieties of arm toolchain.
25634
dc96c6c7 25635Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25636
25637 * gdb.trace/*.exp: remove "remote_download" command.
25638
dc96c6c7 25639Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25640
25641 * gdb.trace/*.exp: remove -gdwarf from compile.
25642
25643Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
25644
25645 * gdb.trace/configure.in(AC_INIT): typo
25646 * gdb.trace/configure: regenerated
25647
dc96c6c7 25648Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25649
25650 * config/m68k-emc.exp: New file.
25651 * lib/<emc-support.exp trace-support.exp}: New files.
25652 * configure.in: add new test directory gdb.trace.
25653 * gdb.trace/{configure configure.in Makefile.in}: New files.
25654 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
25655 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
25656 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
25657 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
25658 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
25659 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
25660 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 25661
dc96c6c7 25662Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25663
25664 * gdb.c++/classes.exp: Change all regular expressions to match
25665 arbitrary combinations of newline/carriage-return, so that they
25666 will work equally well on Unix and Windows.
25667 * gdb.c++/inherit.exp: ditto.
25668 * gdb.c++/virtfunc.exp: ditto.
25669
256701998-08-11 Dawn Perchik <dawn@cygnus.com>
25671
25672 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
25673
c2d11a7d
JM
25674Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
25675
25676 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
25677 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
25678 to use a0-a3/d0-d3 as needed.
25679
25680Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
25681
25682 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
25683 * gdb.disasm/am33.exp: Corresponding changes.
25684
c906108c
SS
256851998-07-11 Felix Lee <flee@cygnus.com>
25686
25687 * gdb.base/callfuncs.exp: add cmp10 test.
25688 * gdb.base/callfuncs.c (cmp10): new function.
25689
25690Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
25691
d63a86f8 25692 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
25693 into two parts to get around a synchronization problem in expect.
25694
3fc11d3e
JM
25695Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
25696
25697 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
25698
25699 * configure.in: Add options for gdbtk testsuite.
25700
25701 * configure: Regenerate.
25702
25703 * gdb.gdbtk: New directory to hold gdbtk tests.
25704
c906108c
SS
25705Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25706
25707 * gdb.fortran/types.exp: Escape brackets in expect patterns
25708 for test_float_literal_types_accepted tests.
25709 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
25710 before run test.
25711
c2d11a7d
JM
25712Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
25713
25714 * am33.exp: Just compile, do not link the testcase.
25715 * am33.s: Add ".am33" pseudoop to force am33 mode.
25716
c906108c
SS
257171998-06-25 Felix Lee <flee@cygnus.com>
25718
25719 * gdb.base/setshow.exp: make sure $pc is sane.
25720
25721 * gdb.stabs/weird.exp: split expect patterns properly.
25722
c2d11a7d
JM
25723Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
25724
25725 * gdb.disasm/am33.s: New disassembler testfile for the am33.
25726 * gdb.disasm/am33.exp: Run it.
25727
dc96c6c7 25728Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25729
25730 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
25731 match processing (and eliminate spurious timeouts when running).
25732
dc96c6c7 25733Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25734
25735 * gdb.base/signals.exp (test_handle_all_print): put back Mach
25736 exception test, but conditionalize it on target [mach | gnu].
25737
dc96c6c7 25738Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25739
25740 * gdb.base/overlays.exp: fixup compile line for linker script.
25741
25742Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
25743
25744 * gdb.fortran/types.exp: don't guess at float size.
25745
25746Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
25747
25748 * gdb.base/exprs.exp: delete test that depends on int size.
25749
25750Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
25751
25752 * config/sim.exp: Removed checks for target triplets.
25753 (gdb_target_sim): Use gdb,target_sim_options.
25754
25755Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
25756
25757 * gdb.base/reread.exp: New file.
25758 * gdb.base/reread1.c: New file.
25759 * gdb.base/reread2.c: New file.
25760
25761Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
25762
25763 * config/sim.exp: Use 'target sim -sparclite' when running
25764 SPARClite programs.
25765
25766Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
25767
25768 * gdb.base/structs2.exp: New file.
25769 * gdb.base/structs2.c: New file.
25770
25771Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
25772
25773 * gdb.asm/common.inc: New file.
25774 * gdb.asm/d10v.inc: New file.
25775 * asm-source.exp: Pass -I's to gas to find .inc files.
25776 Update line numbers in expected output.
25777 * asmsrc1.s: Rewrite.
25778 * asmsrc2.s: Rewrite.
25779 * configure.in: Create arch.inc symlink.
25780 * configure: Regenerate.
25781 * Makefile.in (distclean): Delete arch.inc.
25782
25783Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
25784
25785 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
25786 (t_enum_value2): ditto
25787 (t_enum_value3): ditto
25788 (main): ditto
c906108c
SS
25789Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25790
25791 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
25792 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
25793 change.
25794 Use gdb_test instead of send_gdb/gdb_expect sequences.
25795
25796Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
25797
25798 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
25799 not void.
25800
25801Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
25802
25803 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
25804 subroutines. Used to test gdbs ability to single step through PC
25805 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
25806
25807Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
25808
25809 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
25810 more rigorous EGCS C++ error checking.
25811
25812Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25813
a9c64011
AS
25814 * gdb.base/help.exp: Clean up `help set args' and `help show args'
25815 tests.
25816 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
25817 function when asleep.
25818 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
25819 for i*86 Linux and SVR4 signal handling problems.
25820 Remove linux xfail for `next to handler in signals_tests_1', fixed
25821 by recent infrun.c change.
25822 Limit backtrace to 10 frames to avoid timeout problems with infinite
25823 stack backtraces.
25824 Adjust expect pattern in `handle all print' test to match Apr 28 1997
25825 target.[ch] change.
c906108c
SS
25826
25827Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
25828
25829 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
25830 for a newline from gdb before continuing.
25831 (default_gdb_exit): Just look for y or n.
25832 (gdb_test): Detect abnormal exit from GDB running on DOS; if
25833 it does, fail the rests of the tests in the file.
25834
25835Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
25836
25837 * config/cygmon.exp: New file.
25838
25839Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
25840
25841 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 25842 main" test on remote targets.
c906108c
SS
25843
25844 * gdb.base/scope.exp: Fix problem with filelocal_bss before
25845 run test on remote targets.
25846
25847Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
25848
25849 * gdb.asm: New directory.
25850 * configure.in: Configure it.
25851 * configure: Regenerate.
25852 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
25853 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
25854
25855Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
25856
25857 * config/mn10300-eval.exp: New file to support MN10300 eval board.
25858
dc96c6c7 25859Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 25860
a9c64011
AS
25861 * gdb.base/overlays (several files): Merge the two overlay
25862 managers into one. Change variables (foox, barx, bazx, grbxx)
25863 back into ints but force them to load in their proper sections.
c906108c
SS
25864
25865Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
25866
25867 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 25868 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
25869 (D10VCopy): Handle memory regions crossing 16k boundaries.
25870 (D10VCopy): Transfer data in 32 bit chunks.
25871
25872Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
25873
25874 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 25875 correct.
c906108c
SS
25876
25877 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 25878 map. Include space for printf in .text segment.
c906108c
SS
25879
25880 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 25881 updated d10v memory VMA/LMA map.
c906108c 25882 (D10VCopy): Call D10VTranslate.
d63a86f8 25883
c906108c
SS
25884Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
25885
25886 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
25887
25888 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
25889 that it won't be put into the .sdata - small data -
25890 section. Update reference.
c906108c
SS
25891 * gdb.base/baz.c (bazx, baz): Ditto.
25892 * gdb.base/foo.c (foox, foo): Ditto.
25893 * gdb.base/grbx.c (grbxx, grbx): Ditto.
25894
25895 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 25896 to be arrays.
d63a86f8 25897
dc96c6c7 25898Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 25899
a9c64011
AS
25900 * gdb.base/overlays.exp: fix up and get working again.
25901 Add tests for backtraces from an overlay function.
d63a86f8 25902
c906108c
SS
25903Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
25904
25905 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
25906 "calling function with watchpoint enabled".
25907
25908Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
25909
25910 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 25911 gdb_suppress_tests for d10v-*-*.
c906108c
SS
25912 * lib/gdb.exp (gdb_suppress_tests): Disable this function
25913 pending review of whether it is useful or not.
25914
25915Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
25916
25917 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
25918
25919Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
25920
25921 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
25922 * config/dve.exp: New file to support Densan boards.
25923
25924Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
25925
25926 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 25927 reads and BSD.
c906108c
SS
25928
25929Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
25930
25931 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
25932 response.
25933
25934 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
25935
25936Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
25937
25938 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 25939 test.
c906108c
SS
25940
25941 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 25942 target_sizeof_long and target_bigendian_p.
c906108c 25943 (structs_by_value, structs_by_reference): Check values according
889bf7c5 25944 to targets word size and endianess.
d63a86f8 25945
c906108c
SS
25946Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
25947
25948 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 25949 output.
c906108c
SS
25950
25951Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
25952
25953 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 25954 Update test of set args help to match source change.
c906108c
SS
25955
25956Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
25957
25958 * gdb.base/default.exp: Expect help system output to be in
25959 alphabetical order.
25960 * gdb.base/help.exp: Ditto.
25961
25962Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
25963
25964 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
25965 "i*86-pc-linux-gnu*".
25966 * gdb.base/interrupt.exp: Ditto.
25967 * gdb.base/corefile.exp: Ditto.
25968
25969 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 25970 define vxworks when building the testcase.
c906108c
SS
25971
25972 * gdb.base/ptype.exp: Fix testnames to be unique.
25973 * gdb.base/radix.exp: Ditto.
25974 * gdb.base/term.exp: Ditto.
25975 * gdb.base/whatis.exp: Ditto.
25976 * gdb.c++/classes.exp: Ditto.
25977
25978Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
25979
25980 * gdb.base/callfuncs.exp: Fix indentation.
25981
25982 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
25983 suppress_flag has been set.
25984 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
25985 target feature.
25986
25987Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
25988
25989 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
25990 the testcase.
25991
25992 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 25993 set_debug_traps() and breakpoint().
c906108c
SS
25994 * gdb.c++/misc.cc (main): Ditto.
25995 * gdb.c++/templates.cc (main): Ditto.
25996 * gdb.c++/virtfunc.cc (main): Ditto.
25997
25998Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
25999
26000 * lib/gdb.exp(gdb_step_for_stub): New function.
26001 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
26002 exists, reload the executable and do a "continue" instead of
26003 doing a jump.
26004 (runto_main): Use gdb_step_for_stub.
d63a86f8 26005
c906108c 26006 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 26007 tests to have unique names.
c906108c
SS
26008 * gdb.base/callfuncs.exp: Ditto.
26009 * gdb.base/commands.exp: Ditto.
26010 * gdb.base/default.exp: Ditto.
26011 * gdb.base/help.exp: Ditto.
26012 * gdb.base/list.exp: Ditto.
26013 * gdb.base/opaque.exp: Ditto.
26014 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
26015 similar tests.
d63a86f8 26016
c906108c
SS
26017 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
26018 * gdb.c++/cplusfuncs.cc: Ditto.
26019 * gdb.c++/virtfunc.cc: Ditto.
26020
26021 * config/monitor.exp: Keep track of the last file we saw, rather
26022 than trying to get the info from gdb.
26023
26024 * gdb.fortran/types.exp: Move comment to previous line.
26025
26026Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
26027
26028 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 26029 target mode.
c906108c
SS
26030
26031Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
26032
26033 From Bob Manson:
26034 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 26035 string from GDB when it connects.
c906108c
SS
26036
26037 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
26038
26039Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
26040
26041 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
26042 if we can't get a debug format from GDB (we may be testing an
26043 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
26044
26045 * gdb.stabs/weird.exp: Fix quoting.
26046
26047 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
26048
26049Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
26050
26051 * config/arm-ice.exp: New file.
26052
26053Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
26054
26055 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 26056 until it has been modified to work with the new testsuite.
c906108c 26057
99707966 26058 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
26059 testcase won't compile, cause all of the testcases in the file to
26060 fail instead.
c906108c
SS
26061
26062 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
26063 (gdb_clear_suppressed): New procedure.
26064 (gdb_stop_suppressing_tests): Only clear suppress_flag if
26065 it contains a positive value.
26066
26067Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
26068
26069 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
26070
26071 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
26072
26073Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
26074
26075 * lib/gdb.exp (setup_xfail_format): New function.
26076 (get_debug_format): New function to get debug format.
26077 (debug_format): New global variable to hold last value set
26078 by get_debug_format.
26079 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 26080 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
26081 * gdb.c++/ptype.exp: Ditto.
26082 * gdb.c++/classes.exp: Ditto.
26083 * gdb.c++/cplusfuncs.exp: Ditto.
26084 * gdb.c++/inherit.exp: Ditto.
26085 * gdb.c++/templates.exp: Ditto.
26086 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 26087
c906108c
SS
26088Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
26089
26090 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
26091 host doesn't have a currently-open connection.
26092
26093 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
26094 any gdb stub target. Handle cases where gdb doesn't respond when
26095 interrupted in a sane fashion.
c906108c
SS
26096
26097 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 26098 same thing in a totally different way.
c906108c
SS
26099
26100 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 26101 setting "timeout".
c906108c 26102 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 26103 default_gdb_init now.
c906108c
SS
26104
26105Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
26106
26107 * gdb.base/printcmds.exp: Fix "check for floating addition"
26108 regexp to accept results within approx +/- .01 of exact value.
26109 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
26110
26111Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
26112
26113 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 26114 properly.
c906108c
SS
26115 (gdb_expect): Add optional timeout parameter, and add timeout
26116 value to various calls.
26117 (gdb_suppress_tests): Only give one warning message per group.
26118
26119Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
26120
26121 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
26122 global variables. Handle getting a value for $timeout more
26123 gracefully.
c906108c
SS
26124
26125Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26126
26127 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 26128 initialize.
c906108c 26129 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 26130 by a target configuration file.
c906108c
SS
26131 (gdb_expect): Pass the timeout to remote_expect.
26132
26133 * config/monitor.exp(gdb_load): Fix typo in regexp.
26134
26135Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
26136
26137 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
26138
26139Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
26140
26141 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
26142 here. Call gdb_target_exec before rebooting the target, to make
26143 sure the connection to the target is closed.
c906108c
SS
26144 (gdb_load): Pass the name of the executable to gdb_target_monitor.
26145 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
26146 Also detect "Timeout reading from remote" error.
26147
26148 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
26149 gdb_target_monitor. Don't call gdb_file_cmd here; let
26150 gdb_target_monitor do it.
c906108c
SS
26151
26152 * gdb.disasm/hppa.exp: Don't use exec_output.
26153
26154Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
26155
26156 * gdb.base/list.exp: If we're debugging a non-native target,
26157 try to set the pc register to point to the start of the
26158 program before doing the first list command.
26159
26160 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 26161 test_calls after restarting.
c906108c
SS
26162
26163 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 26164 reloading.
c906108c
SS
26165
26166 * gdb.base/watchpoint.exp: Fix typo.
26167
26168 * gdb.base/setshow.exp: Check for use_gdb_stub.
26169
26170 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 26171 stub case.
c906108c
SS
26172 * gdb.base/langs.exp: Ditto.
26173
26174 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
26175 gdb_load_offset. If we weren't given a file to load, figure out
26176 what the current file is and use it.
c906108c
SS
26177
26178 * config/i386-bozo.exp: New file.
26179
26180Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
26181
26182 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
26183 feature.
26184
26185 * config/proelf.exp: New entry.
26186
26187Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
26188
26189 * lib/gdb.exp: Remove spurious .* patterns at the beginning
26190 of regexps.
26191
26192 * gdb.base/watchpoint.exp: Don't run the test_stepping
26193 tests if gdb can't call functions on the target.
26194
26195 * gdb.base/setshow.exp: Don't run the set prompt tests if
26196 the board has gdb_prompt set.
26197
26198Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
26199
26200 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
26201 * gdb.base/commands.exp: Likewise.
26202 * gdb.base/setshow.exp: Likewise.
26203
26204Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
26205
26206 * config/monitor.exp(gdb_start): Look for gdb_prompt target
26207 feature.
26208
26209 * config/i960.exp: New file.
26210
26211Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
26212
26213 * gdb.base/funcargs.exp: Check for gdb,short_int target
26214 feature instead of looking for explicit target triplets.
26215
dc96c6c7 26216Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 26217
d63a86f8 26218 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
26219 "p 123DEADBEEF", to check parse_number.
26220 * top.c: change "to enable to enable" to "to enable" in a couple
26221 of help strings.
26222
26223Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
26224
26225 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
26226 on the mn10300.
d63a86f8 26227
c906108c
SS
26228Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
26229
26230 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
26231 where the test executable is run with explicit args.
26232 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
26233
26234Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
26235
26236 * gdb.base/run.c: Use FAKEARGV to build test executable that
26237 does not require a command line arg, since most simulators
26238 don't currently support passing such an arg into the simulated
26239 program.
26240 * gdb.base/commands.exp: Change tests to insert the proper
26241 value as the arg to the first recursive factorial call. Change
26242 compilation line to define FAKEARGV at compile time.
26243
26244Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
26245
26246 * gdb.base/recurse.exp: Enable these tests for the mn10300.
26247 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
26248 function with watchpoint enabled" test.
26249
26250Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
26251
26252 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 26253 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
26254
26255 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 26256 "Tests restarted" messages.
c906108c
SS
26257
26258Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
26259
26260 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
26261
dc96c6c7 26262Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26263
26264 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
26265 for INFO SYMBOL; add help tests for OVERLAY commands.
26266 * gdb.base/default.exp: add tests for INFO SYMBOL command;
26267 add tests for OVERLAY commands
26268 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
26269 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
26270 * gdb.base/sigall.c: add usestubs code frag
26271 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 26272
c906108c
SS
26273Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
26274
26275 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
26276 failures.
26277 (gdb_stop_suppressing_tests): Note that tests have restarted.
26278
26279Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
26280
26281 * config/h8300.exp: New file.
26282
26283Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
26284
26285 * gdb.base/setshow.exp: Check for the existence of a
26286 feature, not its value.
26287
26288Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
26289
26290 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
26291
26292 * gdb.base/scope.exp: It's now init0(), not init().
26293
26294 * gdb.base/scope0.c: For now, change init() to be init0().
26295
26296 * config/monitor.exp: Use gdb_serial in preference to serial
26297 or netport.
26298
26299 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 26300 and it's not already set.
c906108c
SS
26301
26302Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
26303
26304 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 26305 isn't using a stub and if it supports argument passing.
c906108c
SS
26306
26307Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
26308
26309 * config/udi.exp(gdb_start): Make sure UDICONF is set
26310 properly before starting gdb.
26311
26312Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
26313
26314 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
26315 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
26316 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
26317
26318Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
26319
26320 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 26321 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
26322
26323 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
26324
26325 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
26326
26327 * config/monitor.exp: Make sure we disconnect from the target.
26328 Also, try a reboot/reload cycle instead of failing if the
26329 load fails.
26330
26331Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
26332
26333 * gdb.base/default.exp: Don't set match_max.
26334 * gdb.base/help.exp: Ditto.
26335 * gdb.base/list.exp: Ditto.
26336 * gdb.base/signals.exp: Ditto.
26337
26338 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
26339 set, use remote_ld to download the testcase instead of
26340 the GDB loader.
26341
26342Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
26343
26344 * config/vr5000.exp: New file.
26345
26346 * config/monitor.exp(gdb_target_monitor): Add pattern for
26347 "Ending remote" to detect errors in connecting.
26348
26349 * gdb.base/setshow.exp: Add .* within auto language test.
26350
26351 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
26352 target feature.
26353
26354 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 26355 and reboot the board if necessary.
c906108c
SS
26356
26357 * gdb.base/setvar.exp(test_set): Handle multiple prints within
26358 a set of tests. Remove print.* from the patterns being checked.
26359
26360Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
26361
26362 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
26363 refer to gdb_spawn_id.
26364
26365 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
26366 longer used.
26367 * config/sparclet.exp: Ditto.
26368 * config/sparclet-old.exp: Ditto.
26369 * config/slite.exp: Ditto.
26370 * config/sim.exp: Ditto.
26371 * gdb.base/funcargs.exp: Ditto.
26372
26373 * lib/gdb.exp:Remove references to gdb_spawn_id.
26374 (gdb_expect): Move to remote.exp.
26375
26376Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
26377
26378 * config/monitor.exp: Detect the "Couldn't establish connection"
26379 message from GDB.
26380
26381Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
26382
26383 * gdb.base/bitfields.exp: Use runto instead of explicit
26384 gdb_run_cmd/gdb_expect sequences.
26385
26386 * gdb.base/break.exp(text_next_with_recursion): Add match for
26387 gdb_expect call.
26388
26389 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
26390 We also need to handle the "A program is being debugged already"
26391 prompt from gdb. Use gdb_test to set the baud rate.
26392
26393 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
26394 to 20000. Really. I mean it.
26395
26396Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26397
26398 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
26399 fails. If suppress_flag is set, skip perror message about not
26400 being able to send to GDB.
c906108c 26401 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 26402 GDB.
c906108c
SS
26403 (gdb_expect): If suppress_flag is set, always fail immediately.
26404 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
26405 (gdb_init): Call gdb_stop_suppressing_tests.
26406 (default_gdb_exit): Ditto.
26407 (default_gdb_start): Ditto.
26408
26409 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 26410 gdb_stop_suppressing_tests as appropriate.
c906108c 26411 * gdb.base/break.exp: Ditto.
889bf7c5 26412 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
26413 * gdb.base/commands.exp: Ditto.
26414 * gdb.base/exprs.exp: Ditto.
889bf7c5 26415 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
26416 * gdb.base/list.exp: Ditto.
26417 * gdb.base/recurse.exp: Ditto.
889bf7c5 26418 * gdb.base/scope.exp: Ditto.
c906108c
SS
26419 * gdb.base/structs.exp: Ditto.
26420 * gdb.c++/inherit.exp: Ditto.
26421
26422Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
26423
26424 * config/vr4300.exp: New file.
26425
99707966 26426 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 26427
99707966 26428 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
26429
26430Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
26431
26432 * lib/gdb.exp(gdb_init): New function.
26433
26434 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 26435 for each individual variable set.
c906108c
SS
26436
26437 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
26438 name.
26439
26440 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
26441
26442 * gdb.base/scope.exp: Use gdb_test.
26443
26444 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
26445 aborting; the testsuite driver will do that for us (see
26446 gdb_finish). Also, use gdb_test in a few more places.
26447
26448Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
26449
26450 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
26451
26452Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
26453
26454 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
26455 and "add_tests" are not at the same address.
26456
26457Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
26458
26459 * gdb.base/ptype.exp: Use gdb_test.
26460
26461Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
26462
26463 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
26464 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
26465 left in. No longer expect them to fail.
26466
26467 * gdb.stabs/*.mt; Deleted, no longer used.
26468 * gdb.stabs/configure.in: Remove references to target makefile
26469 frags.
26470 * gdb.stabs/configure: Rebuilt.
26471
26472 * gdb.disasm/*.mt: Deleted, no longer used.
26473 * gdb.disasm/configure.in: Remove references to target makefile
26474 frags. Use "sh3.s" as the unique filename for this directory.
26475 * gdb.disasm/configure: Rebuilt.
26476
26477 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
26478 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
26479 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
26480
26481Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
26482
26483 * config/udi.exp: Use mondfe,name instead of remote_host.
26484
26485Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
26486
26487 * gdb.base/watchpoint.exp: Don't expect a failure when calling
26488 a function with a watchpoint enabled on the mn10200.
26489
26490 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
26491 before trying to create it!
26492
26493Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
26494
26495 * config/vx.exp: Use hostname instead of netport.
26496
26497 * config/vxworks.exp: New file.
26498
26499 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
26500
26501 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 26502 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
26503 occurs.
26504
26505 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
26506 $gdb_spawn_id directly.
26507 (gdb_run_cmd): Try _start as well as start. Use the target feature
26508 gdb,start_symbol as the symbol to start from when jumping.
26509
26510Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
26511
26512 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
26513 redundant) test.
26514
26515 * gdb.base/recurse.exp: Relax final value test for 'b' so that
26516 it doesn't lose for 16bit integer systems.
26517
26518Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
26519
26520 * gdb.fortran/types.exp: If the target doesn't support "double"
26521 data types, then expect "real" types to only be 4 bytes.
26522
26523 * gdb.c++/virtfunc.exp: Expect failure for virtual function
26524 call tests if the target doesn't support inferior function calls.
26525
26526 * gdb.base/printcmds.exp: Allow minor deviation in FP values
26527 in printf tests.
26528
26529Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
26530
26531 * gdb.base/help.exp: Disable "help set", "help show", and
26532 "help support". Simplify regexp for "help stack".
26533
26534 * gdb.base/default.exp: Set match_max to 5000 and the timeout
26535 to 60 seconds. Temporarily set match_max to 15000 around the
26536 "info copying" test.
26537
26538 * gdb.base/nodebug.exp: Don't try to do an inferior function
26539 call if the target doesn't support them.
26540 * gdb.base/printcmds.exp: Likewise.
26541 * gdb.base/setvar.exp: Likewise.
26542 * gdb.base/structs.exp: Likewise.
26543 * gdb.c++/templates.exp: Likewise.
26544 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
26545
26546 * gdb.base/recurse.exp: Enable for the mn10200.
26547
26548 * configure.in: Do configure gdb.stabs directory for *-*-elf
26549 targets.
26550 * configure: Rebuilt.
26551
26552 * gdb.base/break.exp: Check for gdb,noresults before testing
26553 exit status and/or results from the target.
26554 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
26555 * lib/gdb.exp: Remove old (now bogus) initialization of
26556 noinferior, noargs, noresults and nosignals.
26557
26558Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
26559
26560 * config/sh.exp: New file.
26561
26562 * config/slite.exp: Try to connect multiple times to the board
26563 before rebooting. Only send a "monitor run" if need_monitor_run
26564 is set.
26565
26566 * gdb.base/break.exp: Don't do the "stub continue" test if
26567 the target has gdb_stub set.
26568
26569 * gdb.base/callfuncs.exp: Increase the timeout.
26570
26571 * gdb.base/interrupt.exp: Don't even try to compile the testcase
26572 if the target has gdb,noinferiorio set.
26573
26574 * gdb.base/list.exp: Increase match_max to 10000 characters.
26575
26576 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
26577
26578 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
26579 target.
26580
26581 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
26582
26583Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
26584
26585 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
26586 trying to delete the copy of gdb. Catch the file delete so we
26587 don't die if the delete fails; also, the file should be copied to
26588 the host, not to the build.
c906108c
SS
26589
26590Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
26591
26592 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 26593 parenthesis in case it contains multiple regexps separated
c906108c
SS
26594 with |.
26595
26596 * gdb.base/watchpoint.exp: Use gdb_test.
26597 * gdb.base/default.exp: Ditto.
26598
26599Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
26600
99707966 26601 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 26602
c906108c
SS
26603 * gdb.base/scope.exp: Use gdb_test.
26604 * gdb.c++/classes.exp: Ditto.
26605 * gdb.c++/inherit.exp: Ditto.
26606
26607Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
26608
26609 * gdb.base/crossload.exp: Don't use execute_anywhere, use
26610 remote_exec instead.
26611 * gdb.base/corefile.exp: Don't be ridiculous.
26612 * gdb.base/*.c: Add missing stub invocations.
26613
26614Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
26615
26616 * config/slite.exp: Miscellaneous fixes.
26617
26618 * lib/gdb.exp: Fix runto.
26619
26620 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
26621 the target.
26622
26623 * gdb.base/watchpoint.exp: Fix regexp.
26624
26625 * lib/gdb.exp(default_gdb_exit): Add a catch to the
26626 close and wait commands, as the descriptor may now be
26627 invalid. Always call "remote_close host".
26628
26629Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
26630
26631 Major rewrite for testsuite revision.
d63a86f8 26632
c906108c
SS
26633 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
26634 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
26635 instead of relying on spawn_id to always contain a valid
26636 spawn id.
26637 (get_compiler_info): New procedure to build the ${binfile}.ci
26638 file, instead of replicating this in N different places.
26639 (gdb_compile): New procedure.
d63a86f8 26640
c906108c 26641 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
26642 appropriate arguments) instead of compile. Use gdb_test in a lot
26643 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
26644 at the start of a testcase, as this is no longer done magically.
26645
26646 config/*-gdb.exp: Rename without the -gdb suffix.
26647
26648 config/mips.exp: Use remote_close instead of exit_remote_shell.
26649 config/monitor.exp: Use target_info instead of looking at
26650 baud, timeout, etc.
26651 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
26652
26653Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26654
26655 * gdb.c++/templates.exp (test_ptype_of_templates),
26656 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
26657 Update expect patterns for destructors and assignment operators
26658 to match corresponding c-typeprint.c changes.
26659 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
26660 to destructor breakpoint test, GDB should be able to set the
26661 destructor breakpoint without specifying arguments.
26662
26663Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
26664
26665 * gdb.threads/pthreads.exp: Change result for failure to compile due
26666 to lack of pthreads runtime support from an error to simply an
26667 unsupported test, per dejagnu standards.
26668
26669Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26670
26671 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
26672 where GDB exits to reduce pattern match time.
26673 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
26674
26675 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
26676
dc96c6c7 26677Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26678
26679 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
26680 * gdb.base/default.exp: ditto.
26681 * gdb.base/nodebug.exp: ditto.
26682 * gdb.base/printcmds.exp: ditto.
26683 * gdb.base/ptype.exp: ditto.
26684 * gdb.base/setvar.exp: ditto.
26685 * gdb.base/structs.exp: ditto.
26686 * gdb.base/setshow.c: Guard against uninitialized values of argc.
26687
26688Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
26689
26690 * configure, */configure: Rebuild with autoconf 2.12.
26691
26692Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
26693
26694 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
26695 use new i*86-pc-linux*-gnu quads.
26696 * gdb.base/corefile.exp: Ditto.
26697 * gdb.base/signals.exp: Ditto.
26698 * gdb.base/sigall.exp: Ditto.
26699 * gdb.base/interrupt.exp: Ditto.
26700
26701 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
26702 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
26703 RedHat 4.0.
d63a86f8 26704
c906108c 26705 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
26706 linux. This allows the test case to at least compile on latest
26707 linux, but still not run due to missing the threads runtime library.
c906108c
SS
26708
26709Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26710
26711 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
26712 directory to search gdb directory. Accept and step over conditional
26713 stack alignment code. Consume $prompt in failure cases.
26714 Reset timeout to $oldtimeout instead of some arbitrary value.
26715 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
26716 timeout problems with infinite stack backtraces.
26717 * gdb.base/ptype.exp (ptype struct link, union tu_link):
26718 Accept function parameters for linkfunc member.
26719
26720Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
26721
26722 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
26723 (CXXFLAGS): Remove, unreferenced.
26724 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
26725 previous -B options and also add -B option to pick up cross compiled
26726 runtime.
c906108c
SS
26727 (TARGET_INCLUDES): Add for -I options and add code to initialize when
26728 doing cross compiles.
26729 (target_alias): Declare global.
26730 (xgcc): Set variable to full path of gcc in build tree. Use findfile
26731 to verify that gcc exists in build tree, and if so set CC to that
26732 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 26733
c906108c
SS
26734Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
26735
26736 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
26737 ptype test for anonymous union. Fixup testcase to match
26738 current gcc debug output.
26739
26740Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
26741
26742 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
26743 force argument to an unsigned long type.
26744
26745Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
26746
26747 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 26748 tests and anonymous union print/ptype tests.
c906108c
SS
26749 * gdb.base/list.exp (test_forward-search): Increase timeout by
26750 5 minutes for the "search extremely long line" case.
26751 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
26752 completely optional and that the pass/fail messages use the command as
26753 the message if that third arg is a null string.
26754 (gdb_test_exact): Arrange that a null string pattern means match a
26755 null string output rather than any output, which might include random
889bf7c5 26756 errors.
c906108c
SS
26757 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
26758 backtrace test.
26759 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
26760 always failing and failure is now exposed by gdb.exp changes.
26761
26762Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
26763
26764 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
26765 weren't being noted.
26766
26767Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26768
26769 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
26770 * gdb.stabs/weird.exp: Remove v_comb xfails.
26771
dc96c6c7 26772Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26773
26774 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 26775 list.exp scope.exp watchpoint.exp]
c906108c 26776 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 26777
dc96c6c7 26778Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26779
26780 * config/monitor.exp: Increase download timeout to 1000 seconds.
26781
dc96c6c7 26782Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26783
26784 * config/m32r.exp: Increase timeout to 120 seconds.
26785
26786Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
26787
26788 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
26789 and accept older ordering as obsolescent gcc or gdb.
26790 * gdb.c++/templates.exp: Ditto.
26791 * gdb.c++/virtfunc.exp: Ditto.
26792
26793Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
26794
26795 * gdb.base/coremaker.c: Add code to mmap some data so we
26796 can check that it ends up in the core file.
26797 * gdb.base/corefile.exp: Add test to read mmapped data
26798 from core file.
26799
dc96c6c7 26800Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26801
26802 * config/m32r.exp: New file.
26803
26804Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
26805
26806 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
26807 that cflags can contains -gstabs, and work correctly for other tests.
26808
dc96c6c7 26809Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26810
26811 * gdb.base/setshow.exp: New file, tests show and set.
26812 * gdb.base/setshow.c: New file, tests show and set.
26813 * gdb.base/help.exp: Add test for help set|show annotate.
26814 * gdb.base/default.exp: Add test for set|show annotate.
26815
26816Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
26817
26818 * testsuite/gdb.base/break.exp: Make backtrace from factorial
26819 errors unique.
26820 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
26821 explicitly.
26822
26823Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
26824
26825 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
26826 and width commands. This is done elsewhere.
26827 * (gdb_start): Don't call gdb_start_sim here. That's already
26828 done in gdb_load. This fixes lots of failures in default.exp.
26829
26830Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
26831
26832 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
26833 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
26834 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
26835 in the same we we treat other failures (since it may be an expected
889bf7c5 26836 condition), rather than as an error.
c906108c
SS
26837 * gdb.base/signals.exp (test_handle_all_print): Revert back to
26838 old test format.
26839
26840Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
26841
26842 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
26843 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 26844 twice. Nuke the duplicates.
c906108c 26845 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 26846 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
26847 Remove config.h along with other config files.
26848
26849Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
26850
26851 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
26852 "p func1 ()" and note that rests of tests are skipped.
26853 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 26854 setup_xfails for "print func2::coremaker_local".
c906108c
SS
26855 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
26856 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
26857 affected by the previous run test.
26858 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
26859 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
26860 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
26861 "pass int powerset tuple" and "pass modeless int powerset tuple".
26862 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
26863 "real write 4" and "real write 8".
26864 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 26865 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
26866 "print \$i after tuple assign 2", and
26867 "print vs2 after tuple assign 2".
26868 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
26869 meaningful error message and return -1 so the caller can
26870 suppress further tests and avoid a cascade of errors.
d63a86f8 26871
c906108c
SS
26872Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
26873
26874 * gdb.base/a1-selftest.exp: Tweak tests to account for new
26875 format for printing version.
26876 * gdb.base/default.exp: Ditto.
26877 * gdb.base/interrupt.exp: Fix problem with cascade of
26878 errors if child process dies while calling a function.
d63a86f8 26879
c906108c
SS
26880Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
26881
26882 * Makefile.in (VPATH): Add
26883 * Makefile.in (Makefile, config.status): Fix rules so things get
26884 remade when necessary.
26885
26886Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
26887
26888 * Makefile.in (just-check): Add path to sibling expect dir
26889 to environment variable specified by RPATH_ENVVAR.
26890
26891Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
26892
26893 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
26894 (just-check): Add shared library paths for libstdc++, tk,
26895 tcl, bfd, and opcodes to the environment variable specified
26896 in RPATH_ENVVAR.
26897 * configure.in: Add support to recognize --enable-shared flag
26898 and generate correct value for RPATH_ENVVAR.
26899 * configure: Regenerated with autoconf.
26900
26901Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
26902
26903 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 26904 include all osf versions.
c906108c
SS
26905 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
26906 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
26907 when target is linux. When failing to build pthreads test
26908 executable, give more meaningful message.
26909 * gdb.threads/pthreads.c: Hpux also uses old definition of second
26910 arg for pthread_create.
d63a86f8 26911
c906108c
SS
26912Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
26913
26914 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 26915 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 26916 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 26917 and -lpthreads (everybody else).
c906108c
SS
26918 (test_startup): Fail gracefully if threads are not supported.
26919 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
26920 "p/c array_index("abcdef",2)" when not gcc compiled.
26921 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
26922 "print func2::coremaker_local" when not gcc compiled.
26923 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
26924 "ptype on opaque struct tagname (statically)",
26925 "ptype on opaque struct tagname (dynamically) 1", and
26926 "ptype on opaque struct tagname (dynamically) 2"
26927 for not compiled with gcc.
26928 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
26929 backtrace when compiled with gcc.
d63a86f8 26930 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
26931 than always return success.
26932
26933Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
26934
26935 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
26936
26937Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
26938
26939 * gdb.base/structs.exp: Undo last change.
26940
26941Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
26942
26943 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
26944 encapsulate all the steps/nexts done during self test, starting
26945 at main, and makes them less sensitive to optimization issues.
26946 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
26947 signal handler" test.
26948 * gdb.threads/pthreads.exp: Only run this for native configs.
26949 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
26950 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
26951 tests.
26952 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
26953 for "runto test_calls(void)" test.
d63a86f8 26954
c906108c
SS
26955Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
26956
26957 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
26958 and don't expect address info in breakpoint confirmations.
26959
26960Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
26961
26962 * gdb.base/list.exp (test_forward_search): Increase timeout
26963 temporarily by 60 seconds for searching extremely long line,
889bf7c5 26964 and then reset to old value when done. Increase expect input
c906108c
SS
26965 buffer to 10000.
26966
26967Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
26968
26969 * gdb.base/list.exp (test_forward_search): Fix to handle very
26970 long source line without overflowing expect's input buffer.
26971
26972Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
26973
26974 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
26975 "buffer_full".
26976
26977 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
26978 "buffer_full".
26979
26980 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
26981 "buffer_full".
26982
26983 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
26984 "buffer_full".
26985
26986Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
26987
26988 * configure.in (configdirs): Add gdb.threads.
26989 * configure: Regenerated with autoconf.
26990 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
26991 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
26992 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 26993
c906108c
SS
26994Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
26995
26996 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
26997
26998Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
26999
27000 * gdb.base/signals.exp (test_handle_all_print): Test separately for
27001 each signal's status in the output of "handle all print".
27002 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
27003 the \r\n sequence that immediately precedes the gdb prompt.
27004 * gdb.base/a1-selftest.exp: Save original timeout and restore
27005 after test.
27006
27007Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
27008
27009 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
27010 symbol.
27011
27012Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
27013
27014 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
27015
27016Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
27017
27018 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
27019 timeout by 60 seconds.
27020
27021Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
27022
27023 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
27024 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
27025 error return.
27026
27027Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
27028
27029 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
27030 gdb initialization, also report how long dejagnu waited. Restore
27031 old timeout before doing error return. Temporarily increase timeout
889bf7c5 27032 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
27033
27034Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
27035
27036 * lib/gdb.exp: Report timeout value for verbosity level 2.
27037 * config/gdbserver.exp: Ditto.
27038 * config/hppro.exp: Ditto.
27039 * config/mips-gdb.exp: Ditto.
27040 * config/monitor.exp: Ditto.
27041 * config/netware.exp: Ditto.
27042 * config/sim-gdb.exp: Ditto.
27043 * config/slite-gdb.exp: Ditto.
27044 * config/udi-gdb.exp: Ditto.
27045 * config/unix-gdb.exp: Ditto.
27046 * config/vx-gdb.exp: Ditto.
27047 * gdb.base/a1-selftest.exp: Ditto.
27048 * gdb.base/a2-run.exp: Ditto.
27049 * gdb.base/break.exp: Ditto.
27050 * gdb.base/corefile.exp: Ditto.
27051 * gdb.base/list.exp: Ditto.
27052 * gdb.base/recurse.exp: Ditto.
27053 * gdb.base/scope.exp: Ditto.
27054 * gdb.base/signals.exp: Ditto.
27055
27056Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27057
27058 * gdb.threads/Makefile.in (docdir): Removed.
27059
27060Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27061
27062 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 27063 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 27064 @srcdir@.
d63a86f8 27065 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
27066 autoconf 2.5 or higher.
27067 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
27068
27069Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
27070
27071 * configure: Regenerated.
27072 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
27073 avoid name clashes with SunOS headers.
27074
27075Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
27076
27077 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
27078
27079Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
27080
27081 * gdb.base/callfuncs.exp: Finish last change -- make sure the
27082 prototype information ends up in the compiler info file.
27083
27084Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
27085
27086 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
27087 attempting to regenerate it. Eliminate use of a temporary file
27088 and just generate the info file directly. Source it immediately,
27089 for consistency of use.
27090 * gdb.base/corefile.exp: Ditto
27091 * gdb.base/exprs.exp: Ditto.
27092 * gdb.base/funcargs.exp: Ditto.
27093 * gdb.base/langs.exp: Ditto.
27094 * gdb.base/list.exp: Ditto.
27095 * gdb.base/mips_pro.exp: Ditto.
27096 * gdb.base/nodebug.exp: Ditto.
27097 * gdb.base/opaque.exp: Ditto.
27098 * gdb.base/ptype.exp: Ditto.
27099 * gdb.base/scope.exp: Ditto.
27100 * gdb.base/setvar.exp: Ditto.
27101 * gdb.base/signals.exp: Ditto.
27102 * gdb.base/whatis.exp: Ditto.
27103 * gdb.c++/templates.exp: Ditto.
27104 * gdb.c++/virtfunc.exp: Ditto.
27105 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 27106 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
27107
27108Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27109
27110 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
27111 it got fixed by the recent lookup_minimal_symbol_by_pc change.
27112 Increase timeout, a lot of single stepping might be needed if the
27113 target has no hardware watchpoints.
27114
27115Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
27116
27117 * gdb.base/break.exp: Ignore compiler warnings when compiling
27118 break.c.
27119 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
27120 * gdb.base/default.exp: Add h8300 xfails. Handle messages
27121 from remote-sim.
27122 * gdb.base/exprs.exp: Add h8300 xfails.
27123 * gdb.base/funcargs.exp: Likewise.
27124 * gdb.base/nodebug.exp: Likewise.
27125 * gdb.base/printcmds.exp: Likewise.
27126 * gdb.base/ptype.exp: Likewise.
27127 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
27128 h8300 xfails.
d63a86f8 27129 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
27130 on the h8300.
27131 * gdb.base/funcargs.c: Explicitly make last constant argument to
27132 call_after_alloca_subr an unsigned long type.
27133 * gdb.base/return.c: Include stdio.h.
27134
27135Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
27136
27137 * config/abug.exp: New file for the older Motorola Bug monitor
27138 that runs on the mvme13x series VME boards.
27139 * config/monitor.exp: Use the new config array for target settings
27140 if they exist.
27141
27142Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
27143
27144 * sim-gdb.exp: Make the SH simulator allocate less space when
27145 it is targeted.
27146
27147Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
27148
27149 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
27150 test.
27151
27152Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
27153
27154 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
27155 "rs6000-*-*" for "list function in include file" when gcc compiled.
27156 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
27157 for "p ctable1[120]".
27158 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
27159 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
27160 Remove setup_xfail for "rs6000-*-*" for
27161 "print 'scope0.c'::filelocal before run".
27162 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
27163 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
27164 since some compilers don't allow both options to be given
27165 on the same command line. Create object file and move it.
d63a86f8 27166
c906108c
SS
27167Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
27168
27169 * gdb.base/corefile.exp: Always regenerate the core file, since
27170 we always regenerate the coremaker program. Detect special case
27171 where registers cannot be read from core file.
d63a86f8 27172
c906108c
SS
27173Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
27174
27175 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
27176 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
27177 * gdb.c++/templates.exp: Only match on basename of file since
27178 some formats like xcoff don't encode directory information.
27179 * gdb.stabs/weird.exp: Use the right sed script for powerpc
27180 and rs6000 AIX xcoff targets.
27181 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
27182 * configure: Regenerate.
27183 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
27184 here, rather than in distclean.
d63a86f8 27185
c906108c
SS
27186Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
27187
27188 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
27189 defined, and use it to compile the test case with -O2. The
27190 native compilation still uses no optimization.
27191 * gdb.base/mips_pro.c: Remove inline assembly code since
27192 it is compiled PIC by default, which results in assembler
27193 warnings that make the testsuite think the compilation
27194 was unsuccessful.
27195
27196Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
27197
27198 * gdb.c++/misc.exp: Add note to message for
27199 "print s.a for foo struct" that this is a known gcc 2.7.2
27200 and earlier bug.
27201
27202Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
27203
27204 * gdb.base/break.exp: Fix pattern for matching "Delete all
27205 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
27206 setup_xfail for deleting all breakpoints test. Fix various
27207 timeout messages to include "(timeout)".
27208 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
27209 for "p t_float_values2(3.14159,float_val2)".
27210 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
27211 for "continue to call2g" when gcc compiled.
27212 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
27213 "up to foo in langs.exp", "show language at foo in langs.exp",
27214 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
27215 and "show language at fsub in langs.exp".
27216 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
27217 "list line 1 in include file", "list message for lines past EOF",
27218 "list function in include file", "list list0.h:foo", and
27219 "list filename:function; nonexistant function".
27220 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
27221 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
27222 and "ptype t_char_array" to be for native cc only.
d63a86f8 27223
c906108c
SS
27224Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
27225
d63a86f8 27226 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 27227 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 27228 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
27229
27230Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
27231
27232 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
27233 "bt in signals.exp". This problem only appears when running
27234 the testsuite, and then only intermittently.
27235
27236Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
27237
27238 * gdb.base/return.exp (return_tests): Differentiate between
27239 two tests of continuing.
27240
27241Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
27242
27243 * */Makefile.in (maintainer-clean): Remove config.log.
27244 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
27245 * gdb.c++/Makefile.in (PROGS): Add inherit.
27246 (clean): Remove *.ci.
27247
27248Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
27249
27250 * gdb.c++/misc.cc: Add test code from Mike Stump.
27251 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
27252
27253Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
27254
27255 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
27256 to "alpha-*-osf2*" and add comment.
27257 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
27258 setup_xfail for "step over execarg initialization" and
27259 "step over corearg initialization".
c906108c
SS
27260 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
27261 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
27262 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 27263 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
27264 "print func2::coremaker_local", and "backtrace in corefile.exp".
27265 * gdb.base/signals.exp: Build and source signals.ci.
27266 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
27267 to be for gcc only.
27268 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 27269
c906108c
SS
27270Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27271
27272 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
27273 Feb 3 procfs.c change.
27274
27275Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
27276
27277 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
27278
27279Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
27280
27281 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
27282 from dejagnu's apparent default of 10 seconds, which gives random
27283 results when running the tests over NFS on moderately loaded systems.
27284 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
27285
27286Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
27287
27288 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
27289 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 27290 result reports.
c906108c
SS
27291
27292Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
27293
27294 * configure.in (CY_AC_PATH_TCLH): Remove.
27295 * configure: Regenerate.
27296
27297Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
27298
27299 * gdb.c++/Makefile.in (clean): Add missing '{'.
27300
27301Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
27302
27303 * lib/gdb.exp: Provide a default value for noinferior.
27304
27305 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
27306 Load libgloss.exp.
27307
27308Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
27309
27310 * gdb.disasm/hppa.exp: Compile directly into an executable, use
27311 the executable, not the .o to run the tests from.
27312
27313Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
27314
27315 * gdb.base/break.exp: Don't test for program exit or exit status
27316 if $noresults if nonzero.
27317 * gdb.base/langs.exp: Likewise.
27318 * gdb.base/watchpoint.exp: Likewise.
27319
27320 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
27321 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
27322 trying to compile the testcase.
27323
27324Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
27325
27326 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
27327 * gdb.base/signals.exp (continue to handler): Likewise.
27328
27329Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
27330
27331 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
27332
27333 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
27334
27335Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
27336
27337 * gdb.base/corefile.exp: Recognize "not found" as failure
27338 when trying to determine if a core file was generated.
27339 If no core file was generate the first time, try again without
27340 the ulimit -c to work around braindamaged shells.
27341
27342Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
27343
27344 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
27345 [] tests with "test" and enclose string in quotes.
27346 * gdb.stabs/configure: Rebuild
d63a86f8 27347
c906108c
SS
27348Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
27349
27350 Changes in sync with expect:
27351 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
27352 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
27353 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
27354 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
27355 argument to AC_REQUIRE.
27356 * configure: Regenerated.
27357
27358Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
27359
27360 * gdb.base/corefile.exp: When generating a core, discard any
27361 error messages about ulimit not found and the "core dumped"
27362 message from the shell that runs the coredumper.
27363
27364Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
27365
27366 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
27367
27368 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
27369 which sed script to run. Expect failure for v_comb test
27370 on PA targets too.
d63a86f8 27371
c906108c
SS
27372Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
27373
27374 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 27375 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
27376
27377Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
27378
27379 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
27380 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 27381 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
27382 * lib/gdb.exp (default_gdb_start): Fix typo.
27383 * gdb.base/corefile.exp: Allow "Core was generated by ..."
27384 messages to not include the full program name that caused
27385 the core dump since some systems (such as solaris) apparently
27386 truncate this path to about 80 characters.
27387 When generating a core file first try increasing the core file
27388 size limit to unlimited since some systems may default it to
27389 zero, and it is harmless to try it. Move the test for failing
27390 to generate a core file to where it will actually get executed.
27391 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
27392 new gdb result from g++ debug info improvements and make old
27393 pattern obsolescent. Also account for size_t differences
27394 (may be int or long).
27395 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
27396 initialization before function call is placed in the delay slot
27397 and thus appears to be skipped over by commands such as "next".
27398
27399Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
27400
27401 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
27402
27403Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
27404
27405 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
27406 input source file; fix code to compile test to deal with this
27407 convention.
27408 * gdb.c++/*.exp: Likewise.
27409
27410Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
27411
27412 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
27413 "bt in signals.exp".
27414
27415Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
27416
27417 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
27418 "step over execarg initialization" and
889bf7c5 27419 "step over corearg initialization".
c906108c
SS
27420
27421Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
27422
27423 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
27424 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
27425
27426Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
27427
27428 From Rob Savoye (rob@poseidon.cygnus.com)
27429 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
27430 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
27431 configure.in}, gdb.disasm/{Makefile.in, configure.in},
27432 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
27433 configure.in}: Major reworking for autoconfig.
c906108c
SS
27434 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
27435 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 27436 New files.
c906108c
SS
27437 * config/unix-gdb.exp: Make GDB global.
27438 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
27439 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
27440 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
27441 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
27442 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
27443 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 27444 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
27445 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
27446 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
27447 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
27448 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 27449 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
27450 to returns as necessary, arrange for test to compile own testcase
27451 executable.
c906108c 27452 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 27453
c906108c
SS
27454Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
27455
27456 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 27457 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
27458 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
27459 "backtrace through signal handler".
27460
27461Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27462
27463 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
27464 continuing from a job control stop signal.
27465 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
27466
27467Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
27468
27469 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
27470 * gdb.base/corefile.exp: Likewise.
27471 * gdb.base/funcargs.exp: Likewise.
27472
27473Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
27474
27475 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
27476 * config/monitor.exp: Add support for setting baud rate.
27477
27478Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
27479
27480 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
27481 i*86-*-linux* xfails for "backtrace through signal handler".
27482 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
27483 "print func2::coremaker_local".
27484 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 27485 alpha-dec-osf2* xfail for
c906108c
SS
27486 "delete all breakpoints when none".
27487
27488Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
27489
27490 * gdb.base/break.exp: Change test that deletes all breakpoints
27491 when no user breakpoints are installed. A post 4.15 change
27492 causes gdb to no longer prompt in this case.
27493
27494Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
27495
27496 * gdb.base/return.exp (return_tests): Change xfail for test
27497 "correct value returned double test" to stop xfailing at
27498 Solaris 2.5. Apparently the bug has been fixed.
27499
27500Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
27501
27502 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
27503 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
27504
27505Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
27506
27507 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
27508 * gdb.disasm/hppa.s: Corresponding changes.
27509
27510Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
27511
27512 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
27513 makefile fragment.
27514 * config/mt-hpux: Deleted.
27515
27516Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
27517
d63a86f8 27518 * Many files: When warning about suppressed tests due to a
c906108c
SS
27519 nonexistant test binary, avoid incrementing the warning count.
27520
27521Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
27522
27523 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 27524
c906108c
SS
27525Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27526
27527 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
27528 "sparc-*-solaris2*".
27529
27530Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27531
27532 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
27533 Add global and local variables and initialize them.
27534 * gdb.base/corefile.exp: Test correct mapping of corefile sections
27535 by printing variables. Remove rs6000 and powerpc xfails, BFD now
27536 extracts the file name and terminating signal from the core file.
27537 * TODO: Remove note about tests for correct mapping of corefile.
27538 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
27539 from optimizing it away.
27540 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
27541 handles common blocks.
27542
27543Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
27544
27545 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
27546 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
27547
27548Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
27549
27550 * Makefile.in (maintainer-clean): New target, synonym for
27551 realclean.
27552 * gdb.base/Makefile.in (maintainer-clean): Likewise.
27553 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
27554 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
27555 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
27556 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
27557 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
27558
27559Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
27560
27561 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
27562 xfails when not gcc compiled for "print foo::funclocal".
27563 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
27564 "print foo::funclocal at foo",
27565 "print 'scope1.c'::foo::funclocal at foo",
27566 "print foo::funclocal_bss at foo",
27567 "print 'scope1.c'::foo::funclocal_bss at foo",
27568 "print foo::funclocal_ro at foo",
27569 "print 'scope1.c'::foo::funclocal_ro at foo",
27570 "print bar::funclocal at foo" and
27571 "print 'scope1.c'::bar::funclocal at foo".
27572 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
27573 gcc compiled for "print foo::funclocal at bar".
27574 Expand all messages to ensure that they identify that
27575 the test is at bar().
27576 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
27577 gcc compiled for:
27578 "ptype on opaque struct pointer (statically)",
27579 "ptype on opaque struct tagname (statically)",
27580 "ptype on opaque struct pointer (dynamically) 1",
27581 "ptype on opaque struct tagname (dynamically) 1",
27582 "ptype on opaque struct pointer (dynamically) 2" and
27583 "ptype on opaque struct tagname (dynamically) 2
27584 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
27585 gcc compiled for:
27586 "p datalocal"
27587 "whatis datalocal",
27588 "ptype datalocal",
27589 "p bsslocal",
27590 "whatis bsslocal", and
27591 "ptype bsslocal".
27592 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
27593 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
27594 when not gcc compiled.
27595 * gdb.base/funcargs.exp (float_and_integral_args): Add
27596 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
27597 compiled.
27598 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
27599 "backtrace from call6a" when not gcc compiled.
27600 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
27601 "backtrace from call7a" when not gcc compiled.
27602 * gdb.base/callfuncs.exp (do_function_calls):
27603 Add "hppa*-*-hpux*" xfail when not gcc compiled for
27604 "p t_char_array_values(char_array_val2,char_array_val1)",
27605 "p t_char_array_values(char_array_val1,char_array_val2)",
27606 "p t_char_array_values("carray 1","carray 2")",
27607 "p t_char_array_values("carray 1",char_array_val2)",
27608 "p t_char_array_values(char_array_val1,"carray 2")",
27609 "p sum_args(1,{2})",
27610 "p sum_args(2,{2,3})",
27611 "p sum_args(3,{2,3,4})",
27612 "p sum_args(4,{2,3,4,5})"
27613 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
27614 "backtrace in corefile.exp" when not gcc compiled.
27615
27616Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27617
27618 * gdb.base/signals.exp: Rewrite `handle all print' test as
27619 a procedure. Accept blanks or TABs as whitespace, increase
27620 timeout and expect input buffer size for the large output
27621 from the command. Remove "i*86-*-bsdi2.0" xfail.
27622
27623Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27624
27625 * gdb.base/setvar.exp: Add new testcases for truncation when
27626 assigning invalid values to bitfields.
27627
27628Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
27629
d63a86f8 27630 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
27631 mips-sgi-irix* xfail for
27632 "call inferior func with struct - returns char *"
27633 and fix test so that an optional (unsigned char *) cast is
889bf7c5 27634 accepted in the result.
c906108c
SS
27635
27636Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
27637
27638 * gdb.base/funcargs.exp (float_and_integral_args): Remove
27639 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
27640 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
27641 * gdb.base/signals.exp: Remove duplicate "handle all print" test
27642 that accidentally got checked in.
27643
27644Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
27645
d63a86f8 27646 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
27647 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
27648 compiled test.
27649 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
27650 Add mips-sgi-irix5* xfail for not gcc compiled.
27651 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
27652 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
27653 compiled for "p top", "whatis top", "p middle", and "whatis
27654 middle".
c906108c
SS
27655 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
27656 "whatis signed char" for not gcc compiled.
27657 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
27658 "set variable signed char=-1 (-1)" and
27659 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
27660 * gdb.base/funcargs.exp (float_and_integral_args):
27661 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
27662 Add mips-sgi-irix* xfail when not gcc compiled for
27663 "continue to call2b".
27664 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
27665 "continue to call2g".
6fdff2c5
PA
27666 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
27667 compiled for "backtrace from call6a"
27668 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
27669 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
27670 when not gcc compiled for "backtrace from call7a".
c906108c
SS
27671 (localvars_after_alloca): Fix gdb_test cmds for
27672 "print * after runto ...".
27673 Remove rs6000-*-* xfails for
27674 "print i after runto localvars_after_alloca" and
27675 "print l after runto localvars_after_alloca"
27676 for all compilers.
27677 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 27678 when not compiled with gcc, for:
c906108c
SS
27679 "print signed char == (minus)",
27680 "print signed char != (minus)",
27681 "print signed char < (minus)",
27682 "print signed char > (minus)".
27683 * gdb.base/callfuncs.exp (do_function_calls):
27684 Add mips-sgi-irix* xfail, when compiled with native compiler, for
27685 "call inferior func with struct - returns char *".
d63a86f8 27686 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
27687 "correct value returned double test" to include Solaris 2.4.
27688 * gdb.base/funcargs.exp (float_and_integral_args):
27689 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 27690
c906108c
SS
27691Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27692
27693 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
27694 enumeration bitfields if compiling with GNU C.
27695 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
27696 to empty' prompt.
27697
27698Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
27699
27700 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
27701 test for PRO targets.
27702
27703 * gdb.base/funcargs.exp: Avoid ever setting more than 8
27704 breakpoints in the inferior at any given time by making
27705 two groups of breakpoints for call2*, call6* and call7*
27706 tests.
27707
27708Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27709
27710 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
27711 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
27712 from optimizing it away.
27713 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
27714 "call inferior func with struct".
27715
27716Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
27717
27718 * configure.in: Only configure gdb.chill for particular targets.
27719
27720Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
27721
27722 * gdb.base/Makefile.in: Add action to .c.o transformation
27723 rule that generates a .ci file for each .o file and remove
27724 explicit .c.o rules except for callfuncs.o.
27725 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
27726 generates a .ci file for each .o file and remove explicit
27727 .cc.o rules.
27728 (clean): Remove *.tmp *.ci files.
27729 (EXECUTABLES): Remove templ-info.exp.
27730 * gdb.base/compiler.c: New file.
27731 * gdb.c++/compiler.cc: New file
27732 * gdb.base/scope.exp: Source gdb.base/scope.ci.
27733 Change rs6000-*-* xfail for
27734 "print 'scope0.c'::filelocal_ro" and
27735 "print 'scope1.c'::filelocal" and
27736 "print 'scope1.c'::filelocal_bss" and
27737 "print 'scope1.c'::filelocal_ro" and
27738 "print 'scope1.c'::foo::funclocal" and
27739 "print 'scope1.c'::foo::funclocal_ro" and
27740 "print 'scope1.c'::bar::funclocal" and
27741 "print 'scope0.c'::filelocal_ro" and
27742 "print 'scope1.c'::filelocal at foo" and
27743 "print 'scope1.c'::filelocal_bss at foo" and
27744 "print 'scope1.c'::filelocal_ro at foo" and
27745 "print 'scope1.c'::foo::funclocal at foo" and
27746 "print 'scope1.c'::foo::funclocal_bss at foo" and
27747 "print 'scope1.c'::foo::funclocal_ro at foo" and
27748 "print 'scope1.c'::bar::funclocal at foo" and
27749 "print 'scope0.c'::filelocal_ro" and
27750 "print 'scope1.c'::filelocal" and
27751 "print 'scope1.c'::filelocal_bss" and
27752 "print 'scope1.c'::filelocal_ro" and
27753 "print 'scope1.c'::foo::funclocal" and
27754 "print 'scope1.c'::foo::funclocal_bss" and
27755 "print 'scope1.c'::foo::funclocal_ro" and
27756 "print 'scope1.c'::bar::funclocal" and
27757 "print 'scope1.c'::bar::funclocal_bss"
27758 to only be xfail'd when not compiled with gcc.
d63a86f8 27759 Add rs6000-*-* xfail for
c906108c
SS
27760 "print 'scope0.c'::filelocal_bss before run"
27761 when compiled with gcc.
27762 (test_at_main): Add rs6000-*-* xfail for
27763 "print filelocal_ro in test_at_main"
27764 when compiled with gcc.
27765 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 27766 Add rs6000-*-aix* xfail for
c906108c
SS
27767 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
27768 "ptype t_char_array", not compiled with gcc.
27769 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
27770 xfail for "list foo (in include file)" when gcc compiled.
27771 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 27772 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
27773 "run to call0a" if not compiled with gcc.
27774 (unsigned_integral_args): Add rs6000-*-* xfail for
27775 "run to call1a" if not compiled with gcc.
27776 (float_and_integral_args): Add rs6000-*-* xfail for
27777 "run to call2a" if not compiled with gcc and for
27778 "continue to call2b" for any compiler.
27779 Add rs6000-*-* xfail to
27780 "print f1 after run to call2a" for gcc compiled.
27781 (discard_and_shuffle): Add rs6000-*-* xfail for
27782 "run to call6a".
27783 (shuffle_round_robin): Add rs6000-*-* xfail for
27784 "backtrace from call7a" if not compiled with gcc.
27785 Add rs6000-*-* xfail for
27786 "backtrace from call7b" if compiled with gcc.
27787 (call_after_alloca): Add rs6000-*-* xfail for
27788 "print c in call_after_alloca" and
27789 "print s in call_after_alloca" and
27790 "backtrace from call_after_alloca_subr"
27791 if not compiled with gcc.
27792 (localvars_in_indirect_call): Add rs6000-*-* xfail for
27793 "print c in localvars_in_indirect_call" and
27794 "print c in localvars_in_indirect_call" and
27795 "backtrace in indirectly called function" and
27796 "stepping into indirectly called function"
27797 if not compiled with gcc.
27798 (localvars_after_alloca): Add rs6000-*-* xfail for
27799 "print c after runto localvars_after_alloca" and
27800 "print s after runto localvars_after_alloca" and
27801 "print i after runto localvars_after_alloca" and
27802 "print l after runto localvars_after_alloca"
27803 for all compilers.
27804 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
27805 than whatis-info.exp.
27806 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
27807 than opaque-info.exp.
27808 Setup rs6000-*-* xfail for
d63a86f8 27809 "ptype on opaque struct pointer (statically)" and
c906108c
SS
27810 "ptype on opaque struct pointer (dynamically)" when
27811 not compiled with gcc.
27812 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
27813 rather than callf-info.exp.
27814 (do_function_calls): Add clear_xfail for rs6000-*-* for
27815 "p t_float_values2(3.14159,float_val2)". Seems to work
27816 fine there, both with xlc and gcc. Need to find out what
27817 it is doing right and fix other platforms.
27818 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
27819 "call inferior func with struct - returns int",
27820 "call inferior func with struct - returns long",
27821 "call inferior func with struct - returns float",
27822 "call inferior func with struct - returns double",
27823 "call inferior func with struct - returns char *",
27824 but only if not gcc compiled (presumes xlc compiled).
27825 Change rs6000-*-* xfails for
27826 "call inferior func with struct - returns char" and
27827 " call inferior func with struct - returns short" to only
27828 xfail if not using gcc.
27829 (clean mostlyclean): Remove *.ci and *.tmp files.
27830 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
27831 than templ-info.exp.
27832 * gdb.base/langs.exp: Source gdb.base/langs.ci.
27833 Add rs6000-*-* xfail for "up to foo in langs.exp"
27834 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 27835 when not gcc compiled.
d63a86f8 27836
c906108c
SS
27837Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27838
27839 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
27840 * gdb.base/corefile.exp: Likewise.
27841 * gdb.base/list.exp: Likewise.
27842 * gdb.base/scope.exp: Likewise.
27843 * gdb.base/siganls.exp: Likewise.
27844
27845 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
27846 compiler output.
27847 * gdb.base/whatis.exp: Likewise.
27848
27849Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
27850
27851 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
27852 failure (opcode table has been fixed to match reality).
27853
27854Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
27855
27856 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
27857 "call inferior func with struct - returns char",
27858 "call inferior func with struct - returns short"
27859
27860 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
27861 "print 'scope0.c'::filelocal at main",
27862 "print 'scope0.c'::filelocal_bss in test_at_main",
27863 "print 'scope0.c'::filelocal at foo",
27864 "print 'scope0.c'::filelocal_bss in test_at_foo",
27865 "print 'scope0.c'::filelocal at bar",
27866 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 27867
c906108c
SS
27868 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
27869 in source file 1". This bug seems to have been fixed with both
27870 gcc and native cc (was native assembler bug?).
27871
27872Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
27873
27874 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
27875 "backtrace through signal handler" to "i*86-*-sysv4*".
27876 * gdb.base/signals.exp: Add xfail for "'next' behaved as
27877 continue" case. Add "known SVR4 bug" to fail message.
27878 Add "i*86-*-bsdi2.0" xfail for "handle all print".
27879 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
27880 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
27881 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
27882 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
27883 "up to foo in langs.exp", "show language at foo in
27884 langs.exp", "up to cppsub_ in langs.exp", "show
27885 language at cppsub_ in langs.exp", "up to fsub in
27886 langs.exp", and "show language at fsub in langs.exp".
27887 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
27888 "bactrace in corefile.exp".
27889 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
27890 "call inferior function with struct - returns float" and
27891 "call inferior function with struct - returns double".
d63a86f8 27892
c906108c
SS
27893Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
27894
27895 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
27896 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
27897 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
27898 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
27899
27900Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
27901
27902 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
27903 (or overriden) "CHILL" macro rather then bare "gcc".
27904 Also look for ../../gcc/xgcc since that is what we will
27905 actually need, not "Makefile". Remove following assignment
27906 of CHILL to CHILL_FOR_TARGET because that results in
27907 recursive definition.
27908
27909Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
27910
27911 * gdb.base/corefile.exp: Change xfail for backtrace in
27912 corefile.exp from linuxaout to all linux.
27913 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
27914 cases where we miss the breakpoint at the signal handler
27915 for some reason. Setup xfail for linuxoldld/linuxaout and
27916 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
27917 hitting SIGURG breakpoint.
27918 * gdb.base/signals.exp: Setup xfail for "next" acting like
27919 continue to add linuxoldld. Setup xfail for all linux for
27920 "next to handler in signals_tests_1", "backtrace in
27921 signals_tests_1", "continue to func1", "pass SIGUSR1",
27922 and continue to handler".
27923
27924Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
27925
27926 * Update all FSF addresses except those in COPYING* files.
27927
27928Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
27929
27930 * gdb.base/a2-run.exp: Change messages to be more explicit about
27931 the status of args, and quote binfile in results.
27932
27933Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
27934
27935 * gdb.base/callfuncs.exp: Add tests for passing structs to
27936 inferior functions and return various types.
27937 * gdb.base/callfuncs.c: Add functions to receive a struct
27938 and return a member of the struct, in various types.
27939
27940Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27941
27942 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
27943
27944Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
27945
27946 * config/vxworks29k.exp: New file, sources vxworks.exp.
27947
27948Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27949
27950 * config/gdbremote.exp: New file. Testing framework using
27951 gdbserver.
27952
27953Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
27954
27955 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
27956 "call function when asleep" and "send end of file".
27957 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
27958 for "backtrace in corefile.exp".
27959 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
27960 for "backtrace through signal handler".
27961 * gdb.base/corefile.exp: Make sure we actually generate a core file
27962 before trying the core tests. Some systems allow the user to suppress
27963 generation of core files and default to that (linux for example).
27964 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
27965 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
27966
27967Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27968
27969 * gdb.threads: New directory with some crude multi-threaded
27970 gdb tests (step.exp and step2.exp).
27971 * config/mt-lynx (STEP_EXECUTABLE): Define.
27972 (THREADFLAGS): Define.
27973
27974Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
27975
27976 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
27977
27978 * gdb.base/signals.exp: Disable whole file for lynx until
27979 further notice.
27980
27981 * gdb.base/signals.exp: xfail test where "next" acts like
27982 "continue" for lynx.
27983
27984 * gdb.base/interrupt.exp: xfail test for calling function while
27985 inferior is asleep for lynx.
27986
27987 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
27988 than one cr-lf after each command.
27989
27990Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27991
27992 * configure.in: Reinstate setting of stabsdirs variable, fix
27993 typo in setting up configdirs for native builds.
27994
27995 * gdb.base/return.exp: Fix typo in return double test.
27996 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
27997 compiler from optimizing them away.
27998
27999Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
28000
28001 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
28002 sequences to be echo'd by gdb when using gdb_test.
28003 * gdb.chill/chexp.exp: Likewise.
28004 * gdb.fortran/exprs.exp: Likewise
28005
28006Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28007
28008 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
28009 after the inferior gdb has started.
28010
28011 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
28012 after each command.
28013 * gdb.base/funcargs.exp: Likewise.
28014 * gdb.base/gdbvars.exp: Likewise.
28015 * gdb.base/interrupt.exp: Likewise.
28016 * gdb.base/list.exp: Likewise.
28017 * gdb.base/watchpoint.exp: Likewise.
28018 * gdb.c++/demangle.exp: Likewise.
28019 * gdb.c++/inherit.exp: Likewise.
28020 * gdb.chill/chexp.exp: Likewise.
28021 * gdb.fortran/exprs.exp: Likewise.
28022
28023 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
28024 test if we can't handle IO to/from the inferior.
28025
28026 * gdb.c++/misc.exp: Always check for a program already being
28027 started after sending a "run" command to gdb.
28028
28029 * gdb.base/twice.exp: Start with a fresh gdb.
28030
28031 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
28032 only depend on gdb's expression code, not the chill runtime.
28033
28034 * gdb.base/return.c: Put return values into variables so we
28035 can have gdb print them rather than depending on the program
28036 to print them.
28037 * gdb.base/return.exp: Corresponding changes.
28038
28039 * lib/gdb.exp: Provide default value for noinferiorio.
28040 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
28041 the inferior.
28042
28043 * gdb.base/break.exp: Always check for a program already being
28044 started after sending a "run" command to gdb.
28045 (text_next_with_recursion): Don't check the output from the
28046 program's printf statement. Instead just make sure the program
28047 exited.
28048
28049 * gdb.base/commands.exp: Protect tests which need arguments with
28050 $noargs conditionals.
28051
28052Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28053
28054 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
28055 of structure member arrays to match gdb/valops.c:value_addr change.
28056
28057Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
28058
28059 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
28060 cases.
28061
28062Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
28063
28064 * configure.in (configdirs): Remove gdb.chill from default list
28065 of subdirs and then add it back in only if doing a native build.
28066 The current chill compiler does not yet work in any cross build.
28067 * Revert all signal changes from Jul 6.
28068 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
28069 for sh-hms targets, allowing these tests to link, with no other
28070 changes. Testing is suppressed by setting "nosignals" in site.exp.
28071
28072Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
28073
28074 * configure.in (signaldirs): Define and add to configdirs for all
28075 targets except some specific ones that are known to not support signals.
28076 Also clean up formatting.
28077 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
28078 (signals, sigall): Remove rules to build.
28079 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
28080 Moved to new gdb.signals directory.
28081 * gdb.signals: New test directory.
28082 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
28083 signals.c signals.exp}: New or moved files.
28084
28085Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
28086
28087 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
28088
28089Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
28090
28091 * gdb.base/return.exp: Xfail `return double' test failure
28092 on at least Solaris 2.3 and handle future/past versions on
28093 a case by case basis as appropriate. Also update message
28094 to include i*86 failures.
28095
28096Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28097
28098 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
28099
28100 * lib/gdb.exp: Fix comment which erroneously identified
28101 gdb_file_cmd as gdb_load (the 19 May change was in fact to
28102 gdb_file_cmd not gdb_load).
28103 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
28104
28105 * gdb.base/setvar.exp: Make test names consistent between pass and
28106 fail cases. Use gdb_test more.
28107
28108Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28109
28110 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
28111
28112Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28113
28114 * gdb.base/help.exp: Fix expected help string for `show commands'.
28115
28116Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
28117
28118 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
28119
28120 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
28121 of a text section.
28122
28123Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
28124
28125 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
28126 that loop eventually terminates. Fix Connection refused logic so
28127 that testsuite will expire nicely.
28128
28129Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
28130
28131 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
28132 config/rom68k.exp: New tcl glue for the appropriate monitors.
28133 These all just end up calling monitor.exp.
28134 * config/monitor.exp (gdb_target_monitor): Handle `Connection
28135 refused' by retrying. Cleanup some timeout issues.
28136 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
28137 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
28138 callers don't have to set/restore global timeout variable.
28139
28140 * The following set of changes centralizes management of the global
28141 timeout variable. This way, it can be set in one target dependent
28142 place instead of dozens of places scattered throughout the test suite.
28143 If you need to lengthen a timeout, then you should either set timeout
28144 in one of the config/{target}.exp files, or multiply it by a factor.
28145 Setting it to an absolute value is always going to lose for some
28146 targets.
28147 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
28148 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
28149 * gdb.base/funcargs.exp: Don't set timeout.
28150 * gdb.base/list.exp (test_forward_search): Only use local timeout.
28151 * gdb.base/printcmds.exp (test_print_string_constants
28152 test_print_array_constants): Don't set timeout.
28153 * gdb.base/ptype.exp: Don't set timeout.
28154 * gdb.base/recurse.exp: Don't set timeout.
28155 * gdb.base/return.exp: Don't set timeout.
28156 * gdb.base/watchpoint.exp: Don't set timeout.
28157 * gdb.c++/classes.exp (do_tests): Don't set timeout.
28158 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
28159
28160Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
28161
28162 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
28163
28164Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28165
28166 * lib/gdb.exp: Disable chill tests for irix5.
28167
28168Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28169
28170 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
28171 each test pass or fail.
28172
28173Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28174
28175 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
28176 xlc not gcc.
28177
28178Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
28179
28180 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
28181
28182Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
28183
28184 * config/est.exp: Fix copyright and comments. Remove dead code.
28185 Use targetname, serialport and baud variables instead of fixed
28186 constants.
28187 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
28188 * config/cpu32bug.exp: New file to support cpu32bug monitors.
28189
28190Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28191
28192 * gdb.base/watchpoint.exp: Don't run
28193 test_watchpoint_triggered_in_syscall for sunos.
28194
28195Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28196
28197 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
28198 they don't seem to exist. Do include stdio.h.
28199
28200Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28201
28202 * gdb.base/a1-selftest.exp: Add alpha xfail.
28203
28204Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28205
28206 * gdb.base/watchpoint.c (main): Prompt before calling read().
28207 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
28208 Revise accordingly. Remove cruft about sending "123" several
28209 times, until it gets noticed. Clean up the "print buf[0]" stuff
28210 so that it passes or fails, and waits for prompts in the usual way.
28211
28212Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28213
28214 * gdb.base/recurse.exp: Fix comment.
28215
28216 * TODO: Remove item about printing variables in nodebug.exp. Add
28217 item about enabling tests which are only run on some targets.
28218
28219 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
28220 fail, make test names unique, use new gdb_test convention
28221 regarding pattern, use gdb_test more, etc.).
28222
28223 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
28224 fail, make test names unique, etc.).
28225
28226Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28227
28228 * gdb.base/nodebug.c: Change return type of top and middle to
28229 short.
28230 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
28231 are fixed by the recent mdebugread.c changes. Allow `short ()'
28232 as type for top and middle.
28233
28234Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28235
28236 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
28237 nearly as I can tell, the whole thing was an accident in Stu's
28238 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
28239 to replace a send/expect pair with gdb_test, but ended up only
28240 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
28241 of 30 Mar 1995 took care of it, but left this vestigial comment
28242 which I am now nuking.
28243
28244Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28245
28246 * gdb.base/break.exp: Look for different line number for
28247 breakpoint at main depending on usestubs.
28248
28249Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28250
28251 * gdb.base/list.exp: Adjust some alternate expect patterns to
28252 match recent list0.c change. Add alternate expect pattern for
28253 output from `list default lines around main' for optimizing
28254 compilers.
28255
28256Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28257
28258 * lib/gdb.exp: If nosignals is not set, set it to 0.
28259
28260Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
28261
28262 * config/slite-gdb.exp: Responds to load symbol table prompt.
28263 * gdb.base/break.exp: Adjust line number, fix rerun.
28264 * gdb.base/langs0.c: Add #ifdef usestubs.
28265
28266Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
28267
28268 * gdb.base/list.exp: Adjust line contents after adding new lines in
28269 list0.c. Also fix a syntax error.
28270
28271 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
28272 * gdb.base/break.exp: ditto.
28273 * gdb.base/list.exp: ditto.
28274 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
28275 * gdb.base/run.c: ditto.
28276 * gdb.base/list0.c: ditto.
28277 * gdb.base/funcargs.c: ditto.
28278
28279Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
28280
28281 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
28282 $targetname, $serialport and $baud instead of hardwired variables.
28283 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
28284 target doesn't support signals.
28285
28286Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
28287
28288 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
28289
28290Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28291
28292 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
28293 Don't rely on the value of an auto variable before it has been
28294 initialized. Use gdb_test more.
28295
28296Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28297
28298 * lib/gdb.exp (default_gdb_version): A version number must start
28299 with a digit, but other than that contains all characters up to
28300 the first whitespace character.
28301
28302Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28303
28304 * gdb.base/commands.exp (breakpoint_command_test): New tests.
28305
28306Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28307
28308 * gdb.c++/*.exp: Warn if executable does not exist. The original
28309 reason for skipping the warning was that configure.in sometimes
28310 intentionally skipped building the executables but the tcl code
28311 had no way of knowing. That (a) was always bogus with respect to
28312 error handling, (b) is no longer true (right now there is no way
28313 to skip C++ tests).
28314
28315 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
28316
28317Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28318
28319 * gdb.base/list.exp: Add expect patterns for output from
28320 SunPRO compiled executables.
28321 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
28322 types.
28323
28324Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28325
28326 * gdb.base/break.exp (test_next_with_recursion): Accept any line
28327 number (we are already testing that the correct source line text
28328 gets printed).
28329
28330 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
28331 that is what is intended, but something needed to be done to get
28332 sunos4 native working again.
28333
28334 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
28335
28336 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
28337 apparently went with a (very) old xfail.
28338
28339Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
28340
28341 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
28342 runto_main is a proc in gdb.exp that will do 'step' for target use
28343 stubs.
28344 * gdb.base/exprs.exp: ditto.
28345 * gdb.base/interrupt.exp: ditto.
28346 * gdb.base/opaque.exp: ditto.
28347 * gdb.base/printcmds.exp: ditto.
28348 * gdb.base/ptype.exp: ditto.
28349 * gdb.base/scope.exp: ditto.
28350 * gdb.base/setvar.exp: ditto.
28351 * gdb.base/signals.exp: ditto.
28352 * gdb.base/twice.exp: ditto.
28353 * gdb.c++/classes.exp: ditto.
28354 * gdb.c++/inherit.exp: ditto.
28355 * gdb.c++/templates.exp: ditto.
28356 * gdb.base/break.exp: no run and hit main for stubs. Change line
28357 numbers for breakpoints and info breakpoint.
28358 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
28359 breakpoint().
28360 * gdb.base/callfuncs.c: ditto.
28361 * gdb.base/exprs: ditto.
28362 * gdb.base/interrupt.c: ditto.
28363 * gdb.base/opaque0.c: ditto.
28364 * gdb.base/printcmds.c: ditto.
28365 * gdb.base/ptype.c: ditto.
28366 * gdb.base/scope0.c: ditto.
28367 * gdb.base/setvar.c: ditto.
28368 * gdb.base/signals.c: ditto.
28369 * gdb.base/twice.c: ditto.
28370 * gdb.c++/misc.cc: ditto.
28371 * gdb.c++/templates.cc: ditto.
28372
28373Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28374
28375 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
28376
28377 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
28378 somewhere between `read' and `main.c'. I'm pretty sure the
28379 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
28380 and it isn't particularly useful.
28381
28382 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
28383
28384Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28385
28386 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
28387
28388Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
28389
28390 * config/mt-slite: add LIBS and -nostdlib.
28391 * config/slite-gdb.exp: add this new file to support sparclite target.
28392
28393Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
28394
28395 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
28396
28397 * gdb.base/a2-run.exp: Change argument to istarget from
28398 "*-*-vxworks" to "*-*-vxworks*".
28399 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
28400
28401Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
28402
28403 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
28404 will not runto main but do a 'step' to step out of breakpoint().
28405 * config/mt-slite: add -Dusestubs.
28406
28407Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28408
28409 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
28410 instead of just @.
28411
28412 * gdb.base/signals.exp: Add test for "handle all print".
28413 * TODO: Remove "handle all print". Also remove item about
28414 checking copyright date (I don't like the idea of a spurious FAIL
28415 based on when we run the tests).
28416
28417 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
28418 for SunOS4 (reason for failure not investigated). Remove
28419 redundant test for $binfile.
28420
28421 * gdb.base/nodebug.c (array_index): Call malloc.
28422
28423 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
28424
28425Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
28426
28427 * gdb.base/recurse.exp: Update gdb_test invocation to use new
28428 conventions and slightly simplify the matching regexp.
28429
28430Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28431
28432 * gdb.base/break.exp: Update gdb_test invocation to use new
28433 convention.
28434
28435 * lib/gdb.exp: If noargs is not set, set it to 0.
28436
28437 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
28438 tests unique.
28439
28440 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
28441
28442Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28443
28444 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
28445 one argument of type "<non-float parameter>".
28446
28447Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
28448
28449 * config/rom68k.exp: New file to support Motorola IDP board.
28450 * gdb.base/a2-run.exp: Skip this file if noargs is set.
28451 * gdb.base/break.c: Change things around so that this program
28452 doesn't depend upon args. This is necessary to make remote
28453 targets work (in general, they can't take args).
28454 * gdb.base/break.exp: Don't try to send args to program. Don't
28455 expect output. Also, replace lots of code with gdb_test.
28456
28457Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28458
28459 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
28460 printing of '\'' (which is what the comment says we are testing,
28461 even though we were not), not '''.
28462 (test_integer_literals_rejected): Test that printing ''' is an error.
28463
28464 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28465 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
28466 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
28467 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
28468 Use gdb_test not test_print_accept.
28469 * lib/gdb.exp: Remove test_print_accept.
28470
28471 * gdb.base/signals.exp (signal_tests_1): Make pass message
28472 consistent with fail message.
28473
28474 * gdb.base/whatis.exp: Remove xfails for printing char vs.
28475 unsigned char; the bug (PR 1821) is fixed.
28476
28477 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
28478
28479 * gdb.base/scope.exp (test_at_localscopes): Call pass for
28480 successful tests--makes xfailing them work right.
28481
28482Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28483
28484 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
28485 only \r\n, not .*. The test can pass .* as the last thing in
28486 $pattern if that is what it wants. In addition to providing this
28487 flexibility, this change should speed up pattern matching in cases
28488 where the pattern already ended with .* (there were a number of
28489 them). This change also helps catch bad patterns--in the old
28490 scheme the typo "char \*" instead of "char \\*" would pass. Now
28491 it is caught.
28492 * Many .exp files: Update callers.
28493
28494 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
28495 clearer and does not spuriously match multiple ('s. Likewise for
28496 ) and *.
28497
28498 * gdb.base/nodebug.exp: Test ability to call a function and pass
28499 it a string (even with no debugging info).
28500
28501 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
28502 "p '\'", which is the same as "p ''" once tcl gets done with
28503 quoting, to "p '\\'", which I suspect is what is intended (one
28504 backslash gets sent to GDB).
28505
28506 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
28507
28508Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28509
28510 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
28511 1817) was fixed literally years ago.
28512
28513Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28514
28515 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
28516 test, it causes stepping out of call_after_alloca_subr with
28517 optimizing compilers.
28518 (localvars_in_indirect_call): Consume GDB prompt if `finish'
28519 fails.
28520
28521 * gdb.c++/templates.exp: Source templ-info.exp only if
28522 the templates executable exists.
28523
28524 * gdb.c++/misc.cc (class Contains_static_instance,
28525 class Contains_nested_static_instance),
28526 gdb.c++/classes.exp (test_static_members): Test printing of
28527 a class that contains a static instance of the class.
28528
28529Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28530
28531 * gdb.base/langs2.c (cppsub_): Don't prototype.
28532 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
28533 only, I believe).
28534
28535Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28536
28537 * lib/gdb.exp (skip_chill_tests): New procedure.
28538
28539 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
28540
28541Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
28542
28543 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
28544 each expect pattern. Cuts runtime from 12 to about 4 seconds.
28545
28546Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28547
28548 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
28549
28550 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
28551 disassemble 8, not 16, instructions for part 4.
28552
28553 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
28554 support the latter anymore.
28555
28556 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
28557 -DNO_PROTOTYPES.
28558 * gdb.base/callfuncs.c: Control use of prototypes based on
28559 NO_PROTOTYPES, not __STDC__.
28560 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
28561 t_float_values2 tests if prototypes in use.
28562
28563 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
28564 t_double_values): When checking differences against DELTA, check
28565 that difference is within the range (-DELTA,DELTA), not just
28566 (-infinity,DELTA).
28567
28568Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
28569
28570 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
28571 'file' command firts, then 'target', then 'load', this is due to gdb
28572 target set up.
28573 * config/mips-gdb.exp: Fix a couple regular exp bugs.
28574
28575Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
28576
28577 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
28578 FP load/store variants.
28579 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
28580
28581Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28582
28583 * gdb.base/term.exp: Do not give a warning if not native, it is
28584 not an abnormal condition.
28585
28586Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
28587
28588 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
28589 t_char_array".
28590
28591Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28592
28593 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
28594 are getting the version number.
28595
28596 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
28597 if not native, it is not an abnormal condition.
28598
28599Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28600
28601 * lib/gdb.exp: Just use "file exists", rather than undocumented
28602 dejagnu procedure "findfile".
28603
28604Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28605
28606 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
28607 (LDFLAGS): Set to -Xlinker -Ur.
28608
28609 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
28610 Removed, these values are set by lib/gdb.exp.
28611
28612 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
28613
28614Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28615
28616 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
28617 of replicating gdb startup code.
28618
28619 * config/mt-vxworks (LDFLAGS): Set to -r.
28620 (CFLAGS_FOR_TARGET): Removed.
28621
28622 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
28623 (gdb) and gdb for vxworks uses (vxgdb).
28624
28625 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
28626 executable is not in the tree and host != target, use sed and
28627 program_transform_name to determine the gdb name used by the
28628 target.
28629
28630 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
28631 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
28632
28633Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28634
28635 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
28636 floats, chars, and shorts where there are ANSI-style function
28637 definitions.
28638
28639 * gdb.base/langs.exp, gdb.base/langs*: New test.
28640 * gdb.base/Makefile.in: Build it.
28641 * TODO: Remove item about checking that C names don't get C++
28642 demangling applied; this test tests it.
28643
28644Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28645
28646 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
28647 went with the const70 xfail. The xfail went away a year ago.
28648
28649 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
28650
28651 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
28652 for hp300.
28653
28654 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
28655
28656 * gdb.base/a1-selftest.exp: Don't run on hp300.
28657
28658Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28659
28660 * Makefile.in (site.exp): Set host_alias and target_alias as well
28661 as host_triplet and target_triplet.
28662
28663Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28664
28665 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
28666
28667 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
28668 places as other ecoff systems).
28669
28670 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
28671 ultrix.
28672
28673Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28674
28675 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
28676 remove them.
28677 * gdb.base/nodebug.exp: Accept "function" in addition to "text
28678 variable and "variable" in addition to "data variable".
28679 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
28680
28681 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
28682 2.
28683 * gdb.base/list1.c (long_line): Add additional statement at start
28684 of function.
28685 * gdb.base/list.exp (test_forward_search): Update line number to
28686 reflect new statement.
28687
28688Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28689
28690 * gdb.base/signals.exp: Reinitialize searched source directories
28691 after gdb_start call.
28692
28693Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
28694
28695 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
28696 * gdb.stabs/Makefile.in: Likewise.
28697
28698 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
28699 change. Instead split the tests into smaller pieces.
28700 * gdb.disasm/hppa.s: Corresponding changes.
28701
28702Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28703
28704 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28705 Quote ^C when passing it to stty. For some shells ^ is a pipe.
28706
28707 * gdb.base/funcargs.exp: Modify many tests so that every test
28708 either passes or fails. Make some test names unique.
28709
28710Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28711
28712 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28713 Call stty to set interrupt character.
28714
28715 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
28716 for HP assembler versus GNU assembler based on actual behavior of
28717 $(CC), rather than assuming that $(AS) is always the GNU assembler.
28718
28719 * TODO: Suggest a few more stepping tests.
28720
28721Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
28722
28723 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
28724 restart GDB for h8300 after a continue.
28725 (return): Add pattern to match a29k-udi behavior.
28726 * gdb.base/nodebug.exp: Remove obsolete comment.
28727 * gdb.base/regs.exp: New file, testing of register displays.
28728 * gdb.base/return.exp: Fix typo in reference to $objdir.
28729 * gdb.base/whatis.exp: Always start with a fresh GDB.
28730
28731Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28732
28733 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
28734 higher, these tests generate a lot of output.
28735
28736Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28737
28738 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
28739 code following the catch silently ignored some errors; without the
28740 catch they should be thrown like any other tcl error. Also, the
28741 catch used "" instead of {} which meant all the callers who wanted
28742 to include one of the characters "[]$ had to quote it an extra time.
28743 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
28744 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
28745 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
28746 Remove extra quoting.
28747
28748Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
28749
28750 * gdb.base/commands.exp: Make test names unique; every test either
28751 passes or fails. Update some comments.
28752
28753 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
28754
28755Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28756
28757 The following fixes a FAIL caused by the fact that the alpha stabs
28758 configuration didn't use the ".if alpha" code in weird.def.
28759 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
28760 bit pointer, so the 32 bit version works even on the alpha.
28761 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
28762 Remove the stuff which allowed us to have separate versions for
28763 alpha and everything else.
28764
28765 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
28766 regexp which "info func operator\[\](" is supposed to match. Fix
28767 string to send to GDB. Note that GDB still doesn't work right. Add a
28768 new test for "info func .perator\[\](" which GDB does handle correctly.
28769
28770 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
28771
28772Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28773
28774 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
28775 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
28776 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
28777 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
28778 it makes the tests harder to understand and confuses test-o-matic.
28779 The preferred style is that each test provides a PASS or a FAIL,
28780 and has a unique message (e.g. "continue #54" not just "continue")
28781 which is the same for the pass and the fail.
28782 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28783 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
28784 to lib/gdb.exp.
28785 * gdb.base/printcmds.exp: Use test_print_accept. Remove
28786 prt_accept which was basically the same thing. Likewise for
28787 test_print_reject and prt_reject.
28788 * lib/gdb.exp (test_print_reject): Add some more error message
28789 patterns to match from the former printcmds.exp (prt_reject).
28790 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
28791 One defect of the passcount stuff is that some of it failed to
28792 report XPASS where appropriate.
28793 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
28794 stuff before and after arg in expected pattern.
28795 (test_paddr_operator_functions): Re-do test without print_addr_of;
28796 this is the only test which seems to want extra stuff there.
28797
28798Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28799
28800 * gdb.base/nodebug.exp: Update new tests to reflect improved
28801 wording of gdb output.
28802
28803 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
28804 and "ptype" work on variables in files compiled without -g.
28805 Replaces commented out "maint print msymbol" tests.
28806
28807Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28808
28809 * gdb.base/setvar.c (dummy): Call malloc.
28810
28811 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
28812 losing with the irix4 sed.
28813
28814 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
28815 ALRM" on irix4.
28816
28817Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28818
28819 * TODO: Remove items about corefile.exp testing new exec-file and
28820 backtrace; both are now done. Add items about printing enums.
28821
28822Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28823
28824 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
28825 "get signal $thissig" test fails.
28826
28827 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
28828
28829Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28830
28831 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
28832 compiler warning with dec alpha compiler.
28833
28834 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
28835 extra \n from gdb_test call (this explains why the prompt test
28836 that I removed yesterday was there).
28837 (user_defined_command_test): Remove extra \n and prompt test.
28838
28839 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
28840 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
28841 doesn't exist.
28842 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
28843 Also remove alpha workaround, which turns out to be because
28844 SIGABRT == SIGLOST.
28845
28846 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
28847
28848 * gdb.base/help.exp: Don't test "help show".
28849
28850Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28851
28852 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
28853 "set print address" is on.
28854 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
28855 pass prompt to gdb_test; gdb_test already looks for the prompt.
28856
28857 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
28858
28859 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
28860 was a vestige of the manual TESTSTRATEGY, and the purpose of it
28861 was to make sure that gdb can read a core file. But (a) the "read
28862 the corefile" part didn't make it to a1-selftest.exp, we just
28863 delete the corefile after creating it, and (b) we test reading
28864 corefiles in corefile.exp anyway. Also, this test left around a
28865 xgdb process on Solaris.
28866
28867 * gdb.base/corefile.exp: Also test backtrace.
28868
28869Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
28870
28871 * gdb.base/commands.exp: Test a simple user defined command with
28872 arguments and if/while statements; verify the full user command is
28873 printed by "show user".
28874
28875 * gdb.base/commands.exp: Test if/while commands as part of a
28876 breakpoint command list; verify they appear in breakpoint
28877 information.
28878
28879Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28880
28881 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
28882 than by dividing by zero.
28883
28884Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
28885
28886 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
28887 performing an inferior call with watchpoints enabled.
28888 * gdb.base/watchpoint.c (main): Delete second unnecessary read
28889 call.
28890
28891Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28892
28893 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
28894 of "file" command.
28895
28896 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
28897 Add additional pattern for when "int operator int(void);" appears
28898 in a different order.
28899
28900Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28901
28902 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
28903
28904 * gdb.base/help.exp: Replace most of docstrings for "info signals"
28905 and "signal" with ".*".
28906
28907Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28908
28909 * TODO: Add note about "handle all nostop".
28910
28911 * gdb.base/{sigall.c, sigall.exp}: New test.
28912 * gdb.base/Makefile.in: Add it.
28913
28914Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
28915
28916 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
28917 when invoking GDB, suppresses any windowing interface.
28918
28919Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
28920
28921 * config/sim-gdb: New file, simulator testing support.
28922
28923Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
28924
28925 * gdb.base/interrupt.exp: Test calling func1 twice.
28926
28927Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
28928
28929 * gdb.base/list.exp (test_forward_search): Set timeout higher
28930 when we'll be getting lots of output from gdb.
28931
28932 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
28933 "init_malloc" to after the expect statement. Run it if that
28934 regexp is taken, but also for two others which happen if source
28935 cannot be found.
28936
28937Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28938
28939 * gdb.base/printcmds.exp: New test, for printing register before
28940 program is running.
28941
28942Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28943
28944 * gdb.base/list.exp: Correct some alternate expect patterns
28945 to reflect changes in list1.c.
28946
28947Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28948
28949 * TODO: Add item regarding large frames.
28950
28951 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
28952
28953 * TODO: Remove item about enabling return.exp; it
28954 is enabled. Suggest a few more "return" tests.
28955
28956Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28957
28958 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
28959 anonymous unions.
28960
28961Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28962
28963 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
28964 and pr-5646.o, so "make" is the same as "make all", not "make
28965 pr-4975.o".
28966
28967Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
28968
28969 * gdb.base/list.exp: Adjust expectations to reflect changes in
28970 list1.c.
28971 (test_forward_search): New test proc.
28972 * gdb.base/list1.c (long_line): New function, has long source line.
28973
28974Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
28975
28976 * gdb.base/a1-selftest.exp: Change initial stepping to know about
28977 additional line of code that was added.
28978
28979Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
28980
28981 * gdb.disasm/hppa.s: Break the large branching tests into smaller
28982 tests so as not to overflow expect's input buffers.
28983 * gdb.disasm/hppa.exp: Corresponding changes.
28984
28985Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28986
28987 Beginnings of template debugging tests.
28988 * gdb.c++/templ-info.cc: New file to test for template
28989 debugging capability of the compiler.
28990 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
28991 templ-info.cc.
28992 * gdb.c++/templates.cc: Add explicit template instantiations
28993 to enable compiling with -fno-implicit-templates. Add destructor
28994 and 'value' method to T5 class for template tests.
28995 * gdb.c++/templates.exp: Add testcases for printing of template
28996 types, setting breakpoints on template methods and calling a
d63a86f8 28997 template method.
c906108c
SS
28998
28999Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
29000
29001 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
29002 branch target since some assemblers (gas-2.5) may emit a
29003 relocation for the branch instead of resolving it in the
29004 assembler.
29005
29006Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29007
29008 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
29009 through signal handler.
29010
29011Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29012
29013 * configure.in (*-*-netware): Use config/mt-netware.
29014
29015 * config/mt-netware: New file.
29016 * config/mt-i386-netware: Removed, separate configs for different
29017 netware architectures are no longer needed now that we have
29018 --with-headers.
29019
29020Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29021
29022 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
29023 by the recent changes to use ANSI C arithmetic conversions.
29024
29025Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29026
29027 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
29028 bug involving using inferior_pid to figure out whether to select a
29029 frame.
29030
29031Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
29032
29033 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
29034 match the current disassembler output.
29035
29036Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
29037
29038 * gdb.fortran/exprs.exp: Expect VOID instead of void.
29039 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
29040 types, expect "int" as type of integer values (for now).
29041
29042Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
29043
29044 * gdb.base/commands.exp: New tests for if/while commands.
29045
29046Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
29047
29048 * lib/gdb.exp (runto): Replace sub-pattern for hex value
29049 by .*, since hex values have different syntax in Chill mode.
29050
29051Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29052
29053 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
29054 linefeed from expect pattern for repeated types with indices > 9.
29055
29056Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
29057
29058 First part of Fortran test suite.
29059 * gdb.fortran: New directory.
29060 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
29061
29062Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29063
29064 * gdb.base/default.exp: Update expect pattern for load command
29065 without arguments.
29066
29067Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
29068
29069 * configure.in: Change i386 to i[345]86.
29070 * gdb.base/configure.in: Likewise.
29071 * gdb.c++/configure.in: Likewise.
29072 * gdb.chill/configure.in: Likewise.
29073
29074Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
29075
29076 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
29077 patterns, since that is not a valid context for comments.
29078
29079Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
29080
29081 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
29082 repeated types and repeated types with indices > 9.
29083
29084Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
29085
29086 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
29087 2417; old bug has been fixed.
29088
29089Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
29090
29091 * gdb.base/interrupt.exp: When trying to wake up the inferior,
29092 send the newline ourselves instead of assuming gdb_test will do
29093 so when passed an empty input string.
29094
29095 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
29096 stabs testcode.
29097
29098Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29099
29100 * lib/gdb.exp (gdb_test): Don't send anything if the first
29101 argument is an empty string. This makes cases where we want to
29102 match output that is already in expect's buffers (for example,
29103 matching a breakpoint after gdb_run_cmd has been called) work
29104 reliably.
29105
29106Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29107
29108 * config/netware.exp: New file.
29109
29110Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29111
29112 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
29113 the -B and -L prefixes so we can find the debugging stub.
29114
29115 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
29116 there and we are using the gcc from the tree.
29117
29118 * gdb.base/types.c: Removed.
29119
29120 * gdb.base/configure.in: Look for makefile fragments in ../config.
29121 Recognize i386-*-netware.
29122 * gdb.c++/configure.in: Likewise.
29123
29124Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29125
29126 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
29127 the correct TCL syntax.
29128
29129Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29130
29131 * gdb.base/opaque.exp: use runto instead of messing around with
29132 breakpoints. Simplify by using gdb_test.
29133
29134 * gdb.base/bitfields.exp: restart between tests on netware targets
29135 because breakpoints aren't relocated after target death. Run
29136 processes to completion.
29137
29138 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
29139
29140Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
29141
29142 * Makefile.in: Remove extra tabs that confuse some versions
29143 of "make". Use the newly built gdb to test with by default,
29144 rather than the first one in the tester's search path.
29145
29146Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
29147
29148 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
29149
29150 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
29151 condition help.
29152
29153Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29154
29155 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
29156
29157 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
29158 running.
29159 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
29160 * gdb.base/funcargs.exp: Likewise.
29161
29162 * gdb.base/bitfields.exp: Simplify by using gdb_test.
29163 * gdb.base/funcargs.exp: Likewise.
29164
29165 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
29166 message is "".
29167
29168Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29169
29170 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
29171 return,signals,twice}.exp: Handle non-existant binaries
29172 consistantly.
29173
29174 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
29175 * gdb.base/Makefile.in: Don't try to generate a core dump, we
29176 might testing a cross development system.
29177
29178Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29179
29180 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
29181 runtest script is relative to ${srcdir}, not ${rootdir}.
29182
29183Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
29184
29185 * gdb.base/signals.exp: Allow for optionality of breakpoint
29186 address.
29187
29188Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29189
29190 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
29191
29192Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29193
29194 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
29195 for size_t definition.
29196 * gdb.c++/templates.cc: Likewise
29197
29198 * config/mt-i386-netware: New file.
29199
29200 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
29201 defined.
29202
29203 * gdb.base/Makefile.in: Added support for systems that name core
29204 files by appending "core" to the program name.
29205 * gdb.base/a1-selftest.exp: Likewise.
29206
29207Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29208
29209 * gdb.base/return.exp: Add comment and message for `return double'
29210 test failure on Sparc Solaris.
29211
29212Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
29213
29214 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
29215
29216Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29217
29218 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
29219 from optimizing them away.
29220 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
29221 patterns to include default constructors and assignment operators,
29222 to match gcc versions beyond 2.5.8. Accept any cplus demangling
29223 character in the output of the virtual base pointer.
29224
29225Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29226
29227 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
29228 expression match in print_addr_of to avoid unintented matches.
29229 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
29230 versions up to 2.5.8.
29231
29232Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29233
29234 * gdb.base/list.exp: Tweak alternate pattern for listing of an
29235 included file to run under newer versions of expect.
29236 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
29237 consecutive >'s in templates to accomodate recent cplus-dem.c change.
29238 Remove xfail for the virtual table of BDDHookV.
29239
29240Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
29241
29242 * lib/gdb.exp (string_to_regexp): Set a default result.
29243 (default_gdb_start): Fix misleading message.
29244
29245Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
29246
29247 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
29248 Remove all CC, etc definitions.
29249 * config/mt-hpux: New file.
29250 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
29251 (CFLAGS, LDFLAGS): Define.
29252 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
29253
29254 * Makefile.in (site.exp): Don't insert host_os, etc.
29255 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
29256 (distclean): Check existence of subdir.
29257 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
29258 * gdb.base/Makefile.in: General cleanup and simplification.
29259 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29260 to build executables. Use default rule to build .o files.
29261 (EXPECT, RUNTEST, CC): Fix relative pathname.
29262 (site.exp): Don't insert host_os, etc.
29263 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
29264 and/or SIGUSR1 defined.
29265 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
29266 * gdb.c++/Makefile.in: General cleanup and simplification.
29267 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29268 (CFLAGS): Remove.
29269 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
29270
29271Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
29272
29273 * gdb.base/recurse.exp: Misc changes to get tests running again
29274 after Kung's changes to the watchpoint code.
29275 * gdb.base/watchpoint.exp: Likewise.
29276
29277Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
29278
29279 * lib/gdb.exp (string_to_regexp): Convert {\} also.
29280
29281Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
29282
29283 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
29284 * lib/gdb.exp (default_gdb_start): Define.
29285 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
29286 gdb.base/funcargs.exp, gdb.base/opaque.exp,
29287 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
29288 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
29289 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
29290 Don't call gdb_target_udi in between tests.
29291
29292Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29293
29294 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
29295 (which was basically just a local version of the same thing). In
29296 addition to avoiding duplication, gdb_test_exact is faster.
29297 * lib/gdb.exp (gdb_test_exact): Fix typo.
29298
29299 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
29300 don't give an error.
29301
29302 * gdb.base/term.exp: Call delete_breakpoints before starting.
29303
29304 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
29305 (t10): Add comment.
29306
29307Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29308
29309 Reorganization of the GDB Test Suite.
29310
29311 * gdb.base: New directory, contains all the basic tests.
29312 * gdb.c++: New directory, tests specific to C++.
29313 * gdb.chill: New directory, tests specific to Chill.
29314 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
29315 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
29316 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
29317 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
29318 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
29319 t30-31 to chill).
29320 * */gdbme.*: Rename to match appropriate expect scripts.
29321 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
29322 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
29323 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
29324 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
29325 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
29326 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
29327 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
29328 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
29329 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
29330 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
29331 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
29332 gdb.c++/virtfunc.cc: New names of C++ files.
29333 * gdb.chill/chillvars.ch: New name of Chill file.
29334 * gdb.base/configure.in, gdb.c++/configure.in,
29335 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
29336 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
29337 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
29338 * configure.in (configdirs): Update to reflect directory changes.
29339 (target_abbrev): No longer define for any configuration.
29340 * Makefile.in: Cosmetic improvements to header comments.
29341
29342Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
29343
29344 Various changes to gdb.t31:
29345
29346 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
29347 * gdbme.ch: Make all key-words and predefineds be upper-case.
29348 * chillvars.exp: Expect key-words and predefinds in upper-case.
29349
29350 * chillvars.exp: Use gdb_test_exact many places.
29351 Change expected output for arrays (which now includes index labels).
29352
29353 * pr-5020.exp, gdme.ch (module PR_5020):
29354 New test, for PR-5020.
29355
29356Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
29357
29358 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
29359 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
29360
29361Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
29362
29363 * Makefile.in: Fix bit-rot in definitions of CHILL,
29364 CHILL_FOR_TARGET and Chill_LIB.
29365 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
29366 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
29367 CHILL, and CHILL_LIB.
29368
29369Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
29370
29371 * Revert the previous changes. Please see Rob's directory
29372 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
29373
29374Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
29375
29376 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
29377 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
29378 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
29379 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
29380 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
29381 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
29382 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
29383 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
29384 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
29385 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
29386 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
29387 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
29388 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
29389 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
29390 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
29391 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
29392 changes from 94Q1.
29393
29394Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
29395
29396 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
29397 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
29398 Rob's new testing fragments.
29399
29400Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
29401
29402 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 29403 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
29404
29405Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29406
29407 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
29408 version also, match on casted version strings, and match on
29409 gdb startup case where the line numbers might be messed up.
29410
29411Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
29412
29413 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 29414 (CFLAGS): Delete it from here.
c906108c
SS
29415
29416Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
29417
29418 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
29419
29420Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
29421
29422 * Makefile.in (RUNTEST): Default to just "runtest".
29423
29424Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29425
29426 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
29427 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
29428 the code has been restructured.
29429
29430Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29431
29432 * gdb.t00/default.exp (set write): Allow any number of \r and/or
29433 \n, not just one of each.
29434
29435 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
29436 /bin/cc gives a warning if you do.
29437
29438Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
29439
d63a86f8 29440 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
29441 __t10ListS_link1ZUiRCUiPT0
29442
29443Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29444
29445 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
29446 on local variables in recursive functions.
29447
29448 * gdb.t07/Makefile.in: Build the new test.
29449
29450Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29451
29452 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
29453 directly. Instead compare the return values from actual calls.
29454
29455Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
29456
29457 * Makefile.in (check): Set TCL_LIBRARY for runtest.
29458
29459Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29460
29461 * From Peter Schauer with minor modifications.
a9c64011
AS
29462 * gdb.t15/return.exp (return_tests): Handle targets where "return"
29463 stops in mid-line in the caller. Add xfail for returning a float
29464 value on X86 targets.
c906108c
SS
29465
29466Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29467
29468 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
29469 to avoid expect lossage.
29470 (fmem_LRbug_tests): Likewise.
29471 * gdb.disasm/hppa.s: Corresponding changes.
29472
29473 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
29474 conditions to work with latest dejagnu/expect.
29475
29476 * gdb.t15/funcargs.exp (finish from indirect call): No longer
29477 expected to fail on the PA.
29478 (backtrace in call with trampolines): Explicitly require main
29479 to be frame #1 (no trampolines should show up in backtrace).
29480
29481 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
29482 "continue -expect".
29483 * gdb.t06/break.exp: Likewise.
29484 * gdb.t07/watchpoint.exp: Likewise.
29485 * gdb.t13/bitfields.exp: Likewise.
29486 * gdb.t15/{funcargs,return}.exp: Likewise.
29487 * gdb.stabs/weird.exp: Likewise.
29488 * config/{mips,udi}-gdb.exp: Likewise.
29489
29490 * hppa.sed: Enclose comments within a sed command to avoid
29491 losing with the old OSF1 sed.
29492
29493Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29494
29495 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
29496 sequent dynix.
29497 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
29498 * gdb.t15/funcargs.exp: Conditionally step again to really
29499 finish from marker_call_with_trampolines. Handle the case where
29500 the first step from within call_with_trampolines already steps
29501 us back to main.
29502 * gdb.t15/gdbme.c: Add comment to closing brace of
29503 call_with_trampolines for funcargs.exp.
29504
29505Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29506
d63a86f8 29507 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
29508 Fix typo(s).
29509
29510Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29511
29512 * gdb.t07/gdbme.c: More code for watchpoint testing.
29513
29514 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
29515 "Hardware watchpoint" throughout file.
29516 (test_watchpoint_triggered_in_syscall): New test.
29517 (test_complex_watchpoint): New test.
29518
29519Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29520
29521 * gdbme.c (call_with_trampolines): New function to try and step
29522 into. Tests trampoline problems on the PA.
29523
29524 * funcargs.exp (localvars_in_indirect_call): No longer expect
29525 stepping into indirect call to fail on PAs.
29526 (test_stepping_over_trampolines): New test.
29527
29528Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29529
29530 * TODO: Add suggestions for static member function tests, and
29531 completion tests.
29532
29533Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29534
29535 * TODO: Add suggestions for "p/a" tests.
29536
29537 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
29538 (default_gdb_exit): Replace all the hair with sending "quit" to
29539 the process with a simple close.
29540
29541Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29542
29543 * TODO: Add suggestions for shared library tests.
29544
29545Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29546
29547 * TODO: Add suggestions for x/s tests.
29548
29549Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29550
29551 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
29552 "enable once", and "enable breakpoints once" with ".*".
29553
29554Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29555
29556 * TODO: Add suggestions about structure passing tests.
29557
29558Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29559
29560 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
29561 the primary1 test, use work around if __GNUC__ < 2.
29562 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
29563 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
29564 Test for bad output rather than waiting for timeout. Issue
29565 second continue only if first continue failed.
29566
29567Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29568
29569 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
29570 operator[] test with gdb_test because the old code didn't seem to
29571 be getting the quoting right with the new dejagnu.
29572
29573Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
29574
29575 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
29576 one from the path.
29577 * Makefile.in: Use a fresh expect if there is one, use runtest
29578 from the src tree if there is one.
d63a86f8 29579
c906108c
SS
29580Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29581
29582 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
29583 next over recursive call. Revise the tests from that point on
29584 (which had been skipped) to match GDB's actual (correct) output.
29585
29586 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
29587 with next over a breakpoint whose condition is false.
29588
29589 * gdb.t00/help.exp: Comment out "help set print" tests just like
29590 (and for same reason as) "help set" test.
29591
29592Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29593
29594 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
29595 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
29596
29597Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29598
29599 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
29600 necessary gdb_target_udi.
29601
29602 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
29603
29604 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
29605 1838 and 2417; they are fixed.
29606
29607 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
29608 gdb.t03/ptype.exp (ptype structure, ptype union):
29609 Remove xfails; the test is looser than when the xfails were added.
29610
29611 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
29612 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
29613
29614 * gdb.t01/run.exp: Only run shell test if isnative.
29615
29616 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
29617 since "run" automatically loads if necessary. Call gdb_target_udi
29618 after the "file" since "file" kills any execution target.
29619
29620 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
29621 GDB. GDB doesn't work that way (not anymore at least) on UDI.
29622 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
29623 argument for UDI.
29624
29625Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29626
29627 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
29628
29629 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
29630
29631Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29632
29633 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
29634 properly quoting regexps. This makes the second argument to
29635 demangle a fixed string, which matches the callers, instead of a
29636 shell-style pattern which is what the previous implementation
29637 used. Update some of the callers.
29638
29639Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29640
29641 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
29642 (comib_nullified_tests): Fix typo.
29643 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
29644 strings. No longer expected to fail.
29645
29646 * gdb.disasm/hppa.s (addib_tests): Fix typo.
29647 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
29648 strings. No longer expected to fail.
29649
29650 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
29651 string. No longer expected to fail.
29652
29653Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29654
29655 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
29656 No longer expected to fail.
29657
29658 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
29659 string. No longer expected to fail.
29660
29661Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29662
29663 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
29664 only in the names (I probably got most of them). I was even
29665 generous with some which differed in underscores in names, and
29666 probably missed a few, and I *still* was able to remove almost a
29667 third of the file with almost no impact on testsuite coverage.
29668
29669Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29670
29671 * gdb.t00/default.exp: Match udi_attach error message as well as
29672 the one from child_attach.
29673
29674 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
29675
29676 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
29677
29678 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
29679 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
29680
29681 * Move test with enums and partial symbols back to
29682 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
29683 Reverts the change of 26 May 93. Per today's change to
29684 stabs.texinfo, the behavior that weird.exp was expecting was
29685 unreasonable; what is important is that the compiler+gdb get
29686 things right, which happens with a recent gcc. Also fix the test
29687 to deal with native compilers which put out the stab gdb can't
29688 deal with.
29689
29690Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29691
29692 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
29693 in the names. The main thing these accomplish is to slow things down.
29694 Many more such duplicates surely remain.
29695
29696 * gdb.t00/help.exp: Comment out "help support" test just like
29697 (and for same reason as) "help set" test.
29698
29699Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
29700
29701 * gdb.t06/break.exp: Remove setup_xfails for
29702 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
29703 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
29704 about known bug in gcc to include up through 2.5.8.
29705 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
29706 well as "_vb$".
29707 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
29708 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
29709 with latest gcc and gdb.
29710 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
29711 well as "_vb$".
29712
29713Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29714
29715 * configure.in (hppa*-*-*): Also configure and build stabs-only
29716 tests.
29717
29718Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29719
29720 * gdb.t10/hppa.mt: A makefile fragment for the PA.
29721 * gdb.t10/configure.in (hppa*-*-*): Use it.
29722
29723Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29724
29725 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
29726
29727Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29728
29729 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
29730 versions prior to 1.13.5.
29731
29732Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29733
29734 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
29735 the prompt is at the start of a line.
29736
29737Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29738
29739 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
29740 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
29741 in the copr tests now.
29742 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
29743 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
29744 expected to fail.
29745
29746Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
29747
29748 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
29749 gdb.t31/chillvars.exp, lib/gdb.exp:
29750 Tweak to run under either version of expect.
29751 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
29752 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
29753 * gdb.t11/list.exp: Remove extraneous whitespace.
29754
29755Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29756
29757 * gdb.t16/printcmds.exp (test_print_strings): Accept
29758 "(unsigned char *) " before the string.
29759
29760 * TODO: Add notes about printing of fancy types and GDB expressions.
29761
29762Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
29763
29764 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
29765 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 29766 if doing mips-idt-ecoff.
c906108c
SS
29767
29768Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
29769
29770 * Most .exp files: Tweak to run under either version of expect.
29771
29772Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29773
29774 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
29775 xfails; I'm not sure why they are failing, but not because of PR 1806.
29776
29777Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
29778
29779 * config/unix-gdb.exp: Remove gdb_unload cause it's already
29780 defined in lib/gdb.exp.
29781
29782Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29783
29784 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
29785 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
29786 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
29787 have to be typeless.
29788
29789Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29790
29791 * TODO: Add suggestion for copyright year test.
29792
29793Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
29794
29795 * configure.in (*-*-lynxos*): Add stabs tests.
29796
29797Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29798
29799 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
29800 so insert a tab before any assembler directive in column zero.
29801
29802 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
29803 stores.
29804 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
29805 stores.
29806 (fpu_short_memory_tests): Likewise.
29807
29808Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29809
29810 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
29811 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
29812 .stabs directives in comments.
29813
29814Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29815
29816 * TODO: New file, describing tests we could write.
29817 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
29818
29819Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29820
29821 * gdb.t06/signals.exp: Add kludge to force re-sync.
29822
29823 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
29824 to xgdb instead of gdb, get out of gdb.
29825
29826Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
29827
29828 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
29829 for info.
29830
29831Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29832
29833 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
29834 * gdb.stabs/configure.in (hppa*-*-*): Use it.
29835 * gdb.stabs/hppa.sed: New sed script for the PA.
29836
29837Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29838
29839 * gdb.stabs: Re-write weird.def and configuration to use sed
29840 instead of cpp. sed is portable and POSIX; cpp is neither.
29841
29842Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29843
29844 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
29845
29846Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29847
29848 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
29849
29850Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29851
29852 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
29853 "_vb$".
29854 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
29855 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
29856
29857Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29858
29859 * lib/gdb.exp: Comment out code which depends on non-existent
29860 `transform' procedure.
29861
29862Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
29863
29864 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
29865 * lib/gdb.exp: Transform tool name.
29866 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
29867 1.1's new error handling system.
29868
29869Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29870
29871 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
29872
29873Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29874
29875 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
29876 They made pattern matching so slow that timeouts happened on
29877 heavily loaded systems. Now any output from "show print" which
29878 gets us back to the GDB prompt is a PASS.
29879
29880Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
29881
29882 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
29883
29884Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29885
29886 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
29887
29888 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
29889 It is not from PR 3220.
29890
29891Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29892
29893 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
29894 just started failing because they depended on the order the
29895 subcommands are presented, or exact docstring text. This kind of
29896 test is a pain and has minimal benefit.
29897
29898Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29899
29900 * gdb.t09/corefile.exp: At end of test, use "core" command with
29901 no arguments.
29902
29903Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
29904
29905 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
29906 17}/Makefile.in: Make it possible to run the testsuite with Sun
29907 make and CC = cross gcc by adding explicit build rules for .o
29908 files.
29909
29910Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29911
29912 * gdb.t15/funcargs.exp: Don't put comments on same line as
29913 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 29914
c906108c
SS
29915Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29916
29917 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
29918
29919Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
29920
29921 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
29922 * gdb.t20/inherit.exp: remove three dumplicate entries.
29923
29924Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29925
29926 * gdb.t06/break.exp: For "next over recursive call", fail on any
29927 incorrect output, not just on "factorial (value=2)".
29928
29929Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29930
29931 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
29932 working now. Add an xfail if accesing a bss variable causes
29933 a memory error if the target is not yet run.
29934
29935Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29936
29937 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
29938 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
29939 name of __st* demangling (2 strings). Did Kung really get the
29940 more than 95 others right without testing them?
29941
29942Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
29943
29944 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
29945
29946Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
29947
29948 * configure.in (configdirs): Add gdb.disasm
29949 * gdb.disasm: New directory for GDB disassembler tests.
29950 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
29951
29952Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29953
29954 * gdb.t00/help.exp: Don't test "help set".
29955
29956 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
29957 from within expect statements. None of these happen anymore and
29958 they cause regressions to be silently unnoticed.
29959
29960 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
29961 messages) about known failures with gcc cygnus-2.4.5-930417.
29962
29963 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
29964 comp-info.exp so it gets built if it doesn't exist.
29965
29966 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
29967 it is no longer used.
29968 * gdb.t13/comp-info.c: Removed.
29969
29970Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
29971
29972 * gdb.t06/signals.exp: Add xfail for sun3.
29973
29974Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29975
29976 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
29977 relevant because ^C doesn't get sent but failure can be reproduced
29978 interactively).
29979
29980Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29981
29982 * gdb.stabs/alpha.mt: New configuration file for alpha.
29983 * gdb.stabs/configure.in: Use it.
29984 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
29985 sharing with alpha.mt, redefine long to word via preprocessor.
29986 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
29987 for alpha.
29988 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
29989 native cc.
29990 * gdb.t00/teststrategy.exp: Change expect string so that we
29991 consume the `(xgdb)' from the command echo and from the gdb prompt.
29992 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
29993 gdb currently compares all values as long, so this failure probably
29994 applies to any configuration where LONGEST is bigger than a target int.
29995 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
29996 with gcc.
29997 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
29998 to handle opaque pointers, gcc is.
29999 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
30000 as first argument. Include <sys/types.h> and change all operator
30001 new definitions to use size_t.
30002 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
30003 now that we use size_t.
30004
30005Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30006
a9c64011 30007 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 30008 a long or float array cast all array members to the same type.
a9c64011 30009 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 30010 with 64 bit longs.
a9c64011 30011 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 30012 on alpha.
a9c64011 30013 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
30014
30015Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30016
30017 * gdb.t24 (demangle.exp): Constructors of templates have names like
30018 vector<int>::vector(int) not vector<int>::vector<int>(int). See
30019 section 14.6 of the ARM.
30020
30021 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
30022 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
30023 accomplish little and slow down the testsuite.
30024
30025 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
30026 Accept spaces various places.
30027
30028Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30029
30030 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
30031 with watchpoint enabled.
30032
30033 * Makefile.in: Remove definition of CC and remove the second
30034 definition of CXX (the "CXX = gcc" one remains). These definitions
30035 were causing backquotes to be expanded within backquotes, which
30036 doesn't work.
30037
30038Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
30039
30040 * gdb.t17/callfuncs.exp: Add "return 0" to end.
30041
30042Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30043
a9c64011
AS
30044 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
30045 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
30046 by mips cc and contains no stabs entries.
30047
30048Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
30049
30050 * config/vx-gdb.exp: Use fake device to load files rather than
30051 NFS.
30052 * lib/gdb.exp: New proc to do "file" command.
30053 * config/unix-gdb.exp: Use new "file" proc.
30054
30055Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
30056
30057 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
30058 Rework board rebooting slightly.
30059 (gdb_exit): Don't exit from the remote shell; there isn't one.
30060 * gdb.stabs/weird.exp: If a program is being debugged already,
30061 kill it.
30062 * gdb.t04/setvar.exp: Stop and restart gdb.
30063 * gdb.t05/expr.exp: Likewise.
30064 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
30065 restart gdb and reload the program.
30066 * gdb.t08/opaque.exp: Likewise.
30067 * gdb.t12/scope.exp: Likewise.
30068 * gdb.t13/bitfields.exp: Likewise.
30069 * gdb.t15/funcargs.exp: Likewise.
30070 * gdb.t20/classes.exp: Likewise.
30071 * gdb.t03/ptype.exp: Increase timeout.
30072 * gdb.t16/printcmds.exp (test_print_string_constants,
30073 test_print_array_constants): Likewise.
30074 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
30075 * gdb.t20/classes.exp (do_tests): Likewise.
30076 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
30077
30078Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
30079
30080 * gdb.stabs: Renamed *wierd* to *weird*.
30081
30082Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30083
30084 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
30085 for timeout. Add "known gcc 2.4.5 bug" to failure message.
30086
30087Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30088
30089 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
30090 (do_tests): Remove xfail for whatis on one_var and two_var.
30091
30092Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
30093
30094 * Makefile.in: Made cross building work better by adding
30095 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
30096
30097Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30098
30099 * gdb.t15/{return.c,return.exp,Makefile.in}:
30100 New test, currently commented out.
30101
30102Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
30103
30104 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
30105 still running and removes the leftover named socket so GDb can do
30106 clean restarts.
30107
30108Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
30109
30110 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
30111 console, not GDB.
30112 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
30113 cross testing works better with "make check"
30114 * config/unix-gdb: Use default procedures for exit and version.
30115 * config/vx-gdb.exp: Cleaned up and massaged back to working order
30116 with the newest VxWorks.
30117
30118Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30119
30120 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
30121 old form.
30122
30123 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
30124 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
30125
30126 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
30127
30128 * config/unix-gdb.exp: Remove this version of gdb_exit
30129 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
30130 Rob says he'll look at it when he gets back to testing boards.
30131
30132Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
30133
30134 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
30135 an expected fail for certain ptype commands.
30136
30137 * gdb.t20/classes.exp: Update expected results of "ptype class
30138 Base1" to account for the constructor that now appears in the type.
30139
30140Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
30141
30142 * configure.in (configdirs): Restore gdb.t04, which mysteriously
30143 disappeared from list.
30144 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
30145 "alldone" proc with call to cleanup and exit.
30146 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
30147 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
30148 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
30149 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
30150 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
30151 "alldone" proc with simple returns that suppress remaining
30152 tests. The alldone proc went away many months ago.
30153
30154Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30155
30156 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
30157
30158 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
30159
30160Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30161
30162 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
30163 as vax gdb will display them.
30164
30165Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30166
30167 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
30168 optimizers.
30169
30170 * scope.exp: Change "bad value for localval" messages so each one
30171 is unique.
30172
30173 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
30174 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
30175
30176 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
30177
30178Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30179
30180 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
30181 doesn't exist (due to optimization).
30182
30183Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30184
30185 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
30186 contains \r because the filename is long.
30187
30188 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
30189 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
30190
30191Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30192
30193 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
30194 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
30195 Ultrix.
30196 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
30197 int tests.
30198 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
30199
30200Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
30201
30202 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
30203
30204 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 30205 to match does not match the passing case but still matches the
c906108c
SS
30206 failing case.
30207
30208Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30209
30210 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
30211
30212Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
30213
30214 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
30215 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
30216 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
30217 Remove various versions of gdb_exit.
30218 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
30219 gdb_exit.
30220 * config/unix-gdb.exp: gdb_exit remains here, and should override
30221 the generic version, since it's doing a lot of wierd stuff that
30222 the other versions aren't. FIXME, fold it in, or abandon this
30223 version.
30224
30225Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30226
30227 * gdb.t24/demangle.exp: Add tests for PR 3220.
30228
30229Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30230
30231 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
30232
30233Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
30234
30235 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
30236 "i386-*-*". Works for i486 as well.
30237
30238 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
30239 bug, and expand domain of xfail to all SVR4 systems, since the
30240 actual problem is likely to be in generic SVR4 /proc support.
30241
30242Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30243
30244 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
30245
30246Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
30247
30248 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
30249 xfails for other systems. Match a missing 'Continuing.' as an
30250 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
30251
30252 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
30253 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
30254 Only issue warning for missing executables if -all option is used.
30255
30256 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
30257 file if -all option is used. It's like an unpredictable XFAIL.
30258
30259Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30260
30261 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
30262 for dynamically linked binaries.
30263
30264 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
30265
30266Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30267
30268 * gdb.t20/inherit.exp: Change message for "print tagless struct"
30269 to state that this is a known bug in old versions of g++.
30270
30271Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30272
30273 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
30274 while waiting for `Continuing'.
30275
30276Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
30277
30278 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
30279 in text, data, and bss.
30280 * gdb.t10/nodebug.c: Add local and global test variables for
30281 initialized and uninitialized data.
30282
30283Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30284
30285 * config/unix-gdb.exp (gdb_exit): Add "wait".
30286
30287Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30288
30289 * gdb.t06/signals.exp: xfail the continue from the handler for all
30290 targets.
30291
30292 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
30293 function with watchpoints enabled, the i386 call dummy starts with
30294 a call.
30295
30296 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
30297 386 bsd names its corefiles.
30298
30299Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
30300
30301 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
30302 compilers don't grok it.
30303 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
30304 with small octal ints rather than character constants, which
30305 are signed and might not fit if first promoted to int.
30306
30307Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
30308
30309 * gdb.t09/Makefile.in (clean): Remove corefile.
30310
30311Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30312
30313 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
30314
30315Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30316 and Jim Kingdon (kingdon@cygnus.com)
30317
30318 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
30319 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
30320 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
30321
30322Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30323
30324 * gdb.t17/interrupt.exp: Add xfail for hppa.
30325
30326Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30327
30328 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
30329 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
30330 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
30331 to determine signed-ness of bitfields and use the result to setup
30332 the xfail.
30333 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
30334 * gdb.t15/funcargs.exp: Use them to step until the second indirect
30335 call line is reached if necessary.
30336
30337Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30338
30339 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
30340
30341Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30342
30343 * gdb.t06/break.exp: Also test `clear' command.
30344
30345Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30346
30347 * gdb.t00/teststrategy.exp: Remove extra quote.
30348
30349 * gdb.t07/watchpoint.exp: Change xfail for calling function with
30350 watchpoint enabled to be for all non-68k machines.
30351
30352 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
30353
30354Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30355
30356 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
30357 targets use aout.mt instead of ecoff.mt as gas understands
30358 standard aout format.
30359
30360Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30361
30362 * lib/gdb.exp (runto): Don't insist that function we are running to
30363 was compiled with -g.
30364
30365 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
30366
30367 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
30368 to get back into the read system call.
30369 Accept leading newline in case where we woke it up.
30370
30371Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30372
30373 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
30374 to make the stabs test work on ecoff systems using gcc and -with-stabs.
30375 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
30376 enable ecoff configuration.
30377
30378Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30379
30380 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
30381
30382Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30383
30384 * gdb.t16/printcmds.exp: Add another printf test.
30385
30386Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
30387
30388 * configure.in: If configured -with-stabs on any target, add
30389 stabsdirs to configdirs.
30390
30391Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30392
30393 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
30394 fun" so pattern does not match the command itself.
30395
30396Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30397
30398 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
30399
30400Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30401
30402 * gdb.t17/interrupt.exp: Test for more things.
30403
30404Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30405
30406 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
30407 compiler arranges the code and line numbers.
30408
30409 * gdb.t17/interrupt.exp: Don't send \n after ^C.
30410
30411Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30412
30413 * gdb.t00/help.exp: Increase expect input buffer size.
30414
30415Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30416
30417 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
30418
30419 * gdb.t07/watchpoint.exp: Add xfail for hppa.
30420
30421 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
30422
30423 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
30424 [0-9]*, not just [0-9].
30425
30426Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30427
30428 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
30429
30430 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
30431
30432Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30433
30434 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
30435
30436Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30437
30438 * gdb.t06/signals.c: Add xfails for sun3.
30439
30440 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
30441
30442 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
30443 test_stepping tests.
30444
30445Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30446
30447 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
30448
30449 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
30450
30451 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
30452 rather than actually putting it through cpp twice.
30453
30454 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
30455
30456Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
30457
30458 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
30459 no longer needed.
30460
30461Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30462
30463 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
30464
30465 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
30466 C++ features prints as "struct", make it a pass, not an xfail.
30467
30468Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30469
30470 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
30471 Don't require VA to print as "class" rather than "struct".
30472
30473Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
30474
30475 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
30476
30477Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30478
30479 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
30480
30481Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30482
30483 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
30484 order.
30485
30486Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30487
30488 * gdb.t16/printcmds.exp: Add printf tests.
30489
30490 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
30491
30492 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
30493
30494Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
30495
30496 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
30497 pass counts, to counteract any existing or future setup_xfails.
30498
30499Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30500
30501 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
30502 {BEGIN,END}_COMMON for common block instead of STAB.
30503 * gdb.stabs/wierd.exp: Add xfail for rs6000.
30504
30505 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
30506 intp_var should be N_GSYM not N_LSYM.
30507 wierd-aout.S: Use a label for the value of the N_SO.
30508 wierd.def: Remove all backslashes.
30509 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
30510
30511Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30512
30513 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
30514 get the expected next to inheritance3.
30515
30516Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30517
30518 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
30519 now that gcc-2.4 gets it right.
30520
30521Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30522
30523 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
30524
30525 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
30526 generating comp-info.exp which works for cross-compilation.
30527
30528Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
30529
30530 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
30531 "*-*-sysv4.*".
30532
30533Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
30534
30535 * gdb.t01/run.exp: Start with a fresh gdb.
30536 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
30537 SVR4.x.
30538
30539Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
30540
30541 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
30542 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
30543 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
30544 Makefile.in (distclean, realclean): Remove gdbme.c from list of
30545 things to remove.
30546
30547Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
30548
30549 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
30550 test cases from bug reports.
30551
30552Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
30553
30554 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
30555 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
30556 avoid spurious xfails.
30557 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
30558 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
30559 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
30560
30561Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
30562
30563 * gdb.t00/teststrategy.exp: Rework to provide more useful
30564 description of each test, fix problem with systems that define
30565 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
30566 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
30567 results for "next over recursive call" so timeouts aren't taken
30568 by error.
30569
30570Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
30571
30572 * gdb.t12/scope.exp: Test printing of variables before run.
30573
30574 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
30575 printed in wrong order due to sorting.
30576
30577Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
30578
30579 * gdb.t00/teststrategy.exp: Fix expected results for printing
30580 user entered string constant. Is array of char, prints with no
30581 address.
30582
30583 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
30584 commands.
30585 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
30586 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
30587 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
30588 of struct of char arrays.
30589 * gdb.t00/radix.exp: New tests for radix commands.
30590
30591Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
30592
30593 * gdb.t16/printcmd.exp: Print a variable before running program
30594 (with xfail for AIX).
30595
30596Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
30597
30598 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
30599
30600 * gdb.t16/printcmd.exp: Don't print variables before running program.
30601
30602 * gdb.t06/break.exp: Don't require envp argument to main.
30603
30604 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
30605
30606 * gdb.t02/whatis.exp, gdb.t11/list.exp:
30607 Add xfails for rs6000.
30608
30609 * gdb.t02/whatis.exp: Change other tests not to re-test something
30610 we already tested.
30611
30612 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
30613 each type used has a variable of that type.
30614
30615Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
30616
30617 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
30618
30619Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
30620
30621 * configure.in: change srctrigger to be a file, not a directory
30622
30623Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
30624
30625 * configure.in (mips-idt-ecoff*): Added trailing '*'.
30626
30627 * gdb.t11/list.exp: Fixed a couple of typos.
30628
30629Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
30630
30631 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
30632 is fixed and PR is closed.
30633 * gdb.t16 (gdbme.c): Add simple test string variable.
30634 * gdb.t16 (printcmds.exp): Add tests with simple test string
30635 variable, primarily for boundaries on "set print elements".
30636
30637Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
30638
30639 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
30640 Make leading 0's optional and don't expect a tab in the middle
30641 of the number.
30642
30643 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
30644
30645 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
30646 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
30647 don't end command passed to gdb_test with newline.
30648
30649 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
30650 signed keyword away, don't expect signed bitfields to be signed.
30651
30652 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
30653 printing with only as many 1's as are in the field as well as printing
30654 with 32 1's (see comment).
30655
30656Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
30657
30658 * gdb.t00/default.exp: Start with a fresh gdb.
30659 * configure.in (configdirs): Remove gdb.t31 until the chill
30660 compiler works again. It no longer is able to find chillrt0
30661 since it isn't in libchill.a anymore.
30662 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
30663 wierd.o, make more modular.
30664 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
30665 spurious newlines that caused problems.
30666
30667Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30668
30669 * Move test with enums and partial symbols from gdb.t03/ptype.exp
30670 to gdb.stabs/wierd.exp since GCC has worked around the bug.
30671 gdb.stabs/wierd.{exp,def}: Many new tests.
30672
30673 * gdb.t00/default.exp: update info line for new message.
30674
30675 * gdb.t02/{whatis.exp,gdbme.c}:
30676 Test that "char *" doesn't print as "caddr_t".
30677
30678Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30679
30680 * gdb.t00/help.exp: Use .* in place of some help messages which
30681 just changed.
30682 gdb.t00/default.exp: Update "info frame" test for new message.
30683 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
30684 Remove some xfails
30685
30686Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30687
30688 * gdb.t03/{gdbme.c,ptype.exp}:
30689 Add tests for typedef'd struct and union without tags.
30690 Also check "whatis" on a variable of a typedef'd enum without a tag.
30691
30692 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
30693 PRMS 1823; the bug still exists but isn't reproduced by this test
30694 anymore), and remove rs6000 XFAIL (the bug is fixed).
30695
30696 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
30697 duplicated from whatis.exp. For those that are left, accept
30698 "long", "long int", or "int" for long variables (whatis.exp already
30699 has an XFAIL for "int", so no need to fail it here).
30700
30701 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
30702 Deal with GCC's names for types now that GDB uses the compiler's names.
30703
30704 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
30705 setup_xfail's for sunos4. If we #defined the signed keyword away,
30706 don't expect GDB to know that char it is signed.
30707
30708 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
30709
30710Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
30711
30712 * configure.in (configdirs): Add gdb.t24 for C++ tests that
30713 should work on any system, regardless of debugging format.
30714 * gdb.t21/demangle.exp: Move to gdb.t24.
30715 * gdb.t24/demangle.exp: Move from gdb.t21.
30716 * gdb.t24/{Makefile.in, configure.in}: New files.
30717
30718Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30719
30720 * configure.in: Do gdb.stabs and C++ tests only for stabs.
30721 * gdb.stabs: New directory.
30722
30723Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30724
30725 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
30726 not just "Quit anyway?".
30727
30728Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
30729
30730 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
30731 that all setup_xfails are immediately followed by clear_xfails.
30732
30733Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
30734
30735 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
30736 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
30737 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
30738 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
30739 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
30740 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30741 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30742 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
30743 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
30744 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
30745 gdb.t31/chillvars.exp, lib/gdb.exp:
30746 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
30747 bug-gdb@prep.ai.mit.edu.
30748
30749Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
30750
30751 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
30752 with 0.0, not integer 0.
30753
30754Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
30755
30756 * gdb.t06/break.exp: Update for "Kill the program" message change.
30757
30758Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
30759
30760 * Makefile.in (GDBFLAGS): Set to -nx.
30761 * Makefile.in (site.exp): Use GDBFLAGS.
30762
30763Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30764
30765 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
30766 Makefiles.
30767 (check): depend on just-check.
30768 (just-check): added so that tests can be run without a noop
30769 build pass.
30770
30771Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30772
30773 Switch to using configure's configdirs.
30774 * Makefile.in (Makefile): add configure.in dependency.
30775 (SUBDIRS): removed redundant assignment.
30776 * configure.in: switch subdirs assignment to configdirs.
30777 * gdb.t*/configure.in: new files.
30778
30779Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
30780
30781 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
30782 works.
30783
30784Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
30785
30786 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
30787 in explicit rules. Apparently this is not supported by some makes.
30788
30789Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
30790
30791 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
30792
30793Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30794
30795 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
30796 disappeared.
30797
30798Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
30799
30800 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
30801
30802Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
30803
30804 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
30805 watchpoint problem that is now fixed.
30806 * gdb.t30/chexp.exp: Remove setup_xfail for printing
30807 uninitialized convenience variables.
30808 * gdb.t31/chillvars.exp: Fix expected patterns for printing
30809 structures.
30810
30811Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30812
30813 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
30814 which causes expect to get out of sync with gdb on long output
30815 from help set.
30816 * gdb.t09/corefile.exp: Make expected pattern for core file
30817 failing signal and frame output format less sun specific.
30818
30819Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
30820
30821 * gdb.t31/chillvars.exp: Add and remove initial dummy
30822 breakpoint, so that symbol table is forced in.
30823 (Needed at least on Sunos4, though it seems not SVR4.)
30824 * gdb.t31/chillvars.exp: Update for changed output format.
30825
30826Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
30827
a9c64011 30828 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
30829
30830Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
30831
30832 * Makefile.in: Added --srcdir when invoking runtest, removed the
30833 need for a local config file. (optional now)
30834
30835Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
30836
30837 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
30838 failure count used to force early termination. Add some more
30839 expected failures for gnu style demangling.
30840
30841Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30842
30843 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
30844 pmi variable from gdb.t20/gdbme to get optimized away.
30845 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
30846 Check for written corefile upon timeout _and_ eof.
30847
30848Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30849
30850 * config/unix-gdb.exp: Add missing return 0.
30851
30852Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30853
30854 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
30855 test termination.
30856
30857Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
30858
30859 * configure.in (subdirs): Put back gdb.t17 which mysteriously
30860 disappeared.
30861
30862Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
30863
30864 * gdb.t10/crossload.exp: Disable the i860-elf test until such
30865 time as i860 support works.
30866
d63a86f8 30867 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
30868 "backtrace 100\r" rather than just "backtrace\r", to match last
30869 change.
30870
30871Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
30872
30873 * config/udi-gdb.exp (gdb_exit): Remove close command.
30874 (gdb_target_udi): New procedure to set the UDI target.
30875 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
30876 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
30877 Added waits for prompts after several question responses. Added
30878 some more responses used by a29k-amd-udi-gdb.
30879 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
30880 pass different arguments, restart UDI connection after program
30881 completion.
30882 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
30883 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30884 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
30885 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
30886 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
30887 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
30888 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30889 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
30890 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
30891 after program completion.
30892 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
30893 compiled with a SELECT_VECS setting.
30894 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
30895 infinite recursion.
30896
30897 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
30898 Added checks for COFF results, and made them expected failures for
30899 all targets. It would be better to make them expected failures
30900 for COFF targets only.
30901
30902Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
30903
30904 * Makefile.in: add null dvi target, don't bother to recurse
30905 through test directories for info and install-info; rename
30906 $(datadir) to be dejagnu instead of deja-gnu
30907
30908Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
30909
30910 * gdb.t31/gdbme.ch: Re-enable code that previously caused
30911 compiler to coredump.
30912 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
30913 code.
30914
30915Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
30916
30917 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
30918 coredump.
30919 * gdb.t31/chillvars.exp: Comment out tests that depend on that
30920 code.
30921
30922Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
30923
30924 * gdb.t03/ptype.exp: tests for return code from gdb_test.
30925 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
30926 which in a shell. Deletes xgdb when done.
30927 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
30928 Tests the return from the "set height" or "set width" commands.
30929 Added a few return codes where needed.
30930
30931Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
30932
30933 * Makefile.in (SUBDIRS): Add gdb.t17.
30934 * configure.in (subdirs): Add gdb.t17.
30935 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
30936 files to test gdb's calling of functions in the inferior with
30937 the correct arguments and gdb's ability to retrieve any
30938 result returned.
30939
30940Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
30941
30942 * config/unix-gdb.exp (gdb_exit): Remove close commands that
30943 may be called after gdb goes away. Previous versions of expect
30944 needed these to avoid file descriptor leaks, but they cause
30945 errors with the current revision of expect.
30946 * gdb.t00/gdbvars.exp: Use -re on expected output after
30947 setting sevenbit-strings.
30948 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
30949 to set sevenbit-strings consistent across tests.
30950 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
30951 set sevenbit-strings consistent across tests.
30952
30953Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
30954
30955 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
30956 expected output to match current "expect" expectations.
30957
30958Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
30959
30960 * gdb.t00/default.exp: Change expected output for default "source"
30961 command, to match new gdb behavior which requires a filename to
30962 source.
30963
30964Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
30965
30966 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
30967 expected fail for i486-*-* that misses the marker2 function.
30968 * gdb.t10/crossload.exp (bfddefault): Allow successful
30969 recognition of a format to pass even if no symbols are found.
30970 Explicitly catch failures where the format is not recognized
30971 or is ambiguous, and add the reason to the fail message.
30972 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
30973 the cause is and invalid target and add reason to failure message.
30974 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
30975 elf32-i386, elf32-sparc, and elf32-i860.
30976 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
30977 Set up expected failure for 'filename'::variable scope resolution,
30978 which is now apparently broken on all targets.
30979 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
30980 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
30981 gdb.t23/templates.exp: Change failure for missing binfile into
30982 just a warning.
30983 gdb.t21/demangle.exp: Change all cfront references to 'arm'
30984 references.
30985
30986Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
30987
30988 * gdb.t00/default.exp: Add expected output for default "source"
30989 command, to match new gdb behavior.
30990 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
30991
30992Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
30993
30994 * config/*-gdb.exp: returns an error, rather than exiting on
30995 internal errors.
30996
30997Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
30998
30999 * gdb.t03/gdbme.c: Add pointer to struct variable.
31000 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
31001 referencing struct members.
31002
31003Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
31004
31005 * configure.in (mips-idt-ecoff): New target.
31006 * config/mips-gdb.exp: New file for remote board using MIPS remote
31007 debugging protocol.
31008
31009 * Redid configuration scheme. Removed gdb.t*/configure.in.
31010 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
31011 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
31012 distclean targets. Built executables via .o files. Adjusted
31013 tests to account for source files in $(srcdir) rather than
31014 $(objdir).
31015 * lib/gdb.exp (runto): Don't expect () after the function name,
31016 because it may have arguments.
31017
31018Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
31019
31020 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
31021 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
31022 expected failures for mips-idt-* and mips-sgi-*.
31023 * gdb.t00/default.exp (attach): Kill process if requested.
31024 * gdb.t00/help.exp (help target core, help target): Accept a gdb
31025 that does not read core files.
31026 * gdb.t01/run.exp: Removed checks for exit status code.
31027 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
31028 it is linked in.
31029 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
31030 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
31031 appropriate, rather than doing it by hand.
31032 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
31033 execution.
31034 * gdb.t10/crossload.exp: Kill existing program if needed.
31035 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
31036 appropriate, rather than doing it by hand. Always increase
31037 timeout for this test, not just for VxWorks.
31038
31039Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
31040
31041 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
31042 of Chill STRUCT types and STRUCT values.
31043 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
31044 than "char".
31045 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 31046 struct2): New struct definitions and initializations to test
c906108c
SS
31047 simple Chill STRUCT types.
31048
31049Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
31050
31051 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
31052 the null byte at the end of strings.
31053 * gdb.t00/default.exp: Make show version insensitive to copyright
31054 date.
31055 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
31056 to avoid dependencies on target char signedness.
31057 * gdb.t16/printcmds.exp: Update expected results for explicitly
31058 unsigned char.
31059 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
31060 now work.
31061 * gdb.t21/demangle.exp: Add many more patterns for template
31062 demangling, most of them being expected failures.
31063 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
31064 string we are matching for, to match on the whole string.
31065 * gdb.t21/demangle.exp: Add many new test strings to demangle,
31066 and fix a whole bunch that had incorrect expected output but were
31067 passing anyway because of the bug in "proc demangle".
31068 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
31069 type.
31070 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
31071
31072Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
31073
a9c64011
AS
31074 * gdb/testsuite: made modifications to testcases, etc., to allow
31075 them to work properly given the reorganization of deja-gnu and the
31076 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
31077
31078Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
31079
31080 * gdb/testsuite: Initial creation of gdb/testsuite.
31081 Migrated dejagnu testcases and support files for testing nm to
31082 gdb/testsuite from deja-gnu. These files were moved "as is"
31083 with no modifications. This migration is part of a major overhaul
31084 of dejagnu. The modifications to these testcases, etc., which
31085 will allow them to work with the new version of dejagnu will be
31086 made in a future update.
48efe704 31087
8d8cb839 31088 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 31089\f
8d8cb839
EZ
31090;; Local Variables:
31091;; mode: change-log
31092;; left-margin: 8
31093;; fill-column: 74
31094;; version-control: never
31095;; End:
902f2ccb 31096
28e7fd62 31097 Copyright 1993-2013 Free Software Foundation, Inc.
902f2ccb
MC
31098 Copying and distribution of this file, with or without modification,
31099 are permitted provided the copyright notice and this notice are preserved.